Go to SE11 and open table MARC. Create a new append structure (YST_MARC_CUST) in MARC and add the field YYQTYMAX in it. Since this is a modification to SAP necessary requests need to be created.
Go to SPRO and open IMG.
Navigate to Logistics – General > Material Master > Configuring Material Master > Define Structure of Data Screens for Each Screen Sequence
Select screen sequence 21
Double click on Data screens folder on the left and select screen 11
Double click the subscreens folder on the left. Select subscreen 5.
Click view subscreen to check whether this is the same subscreen. (view V_T133C)
Go to SE80 and open function group MGD1 and subscreen 5802
This is the subscreen we need to copy and then customize. In order to do so, we create a new function group YFG_P2P_MGD1. This has to be done using report COPYMGD1
We can also use the menu from the IMG for the same purpose
Right click and copy the subscreen into the new function group
Edit the layout and add a field MARC-YYQTYMAX in the marked area
Write FIELD marc-yyqtymax. Somewhere in between get_daten_sub and set_daten_sub in the PAI so that changes to this field are recognised.
Save and activate
Change SAPLMGD1 5802 to SAPLYFG_P2P_MGD1 5802 in the IMG and save to map the new subscreen.
Open MM01/02/03 to check if the changes are reflected.