Documente Academic
Documente Profesional
Documente Cultură
“In this scenario, I would like to explain about Field exit enhancement for MK01 standard
transaction in Control tab under Tax information”.
Note : This field Enhancement will reflect in the transactions XD01, FK01 and MK01.
Go to “MK01” transaction
Enter the Vendor, Purchase Organization and Check the Control details in General data
The Enhancement fields are SS number, em no and Fiscal address under Tax Information (as
shown below)
ABAP_Interview 2 EXITS
Go to “CMOD” transaction
Press “Save”
ABAP_Interview 4 EXITS
Press “Save”
Press “Save”
2==============================================================
======
Requirement:
Add new field(s) to MM01 basic data 1 view (screen) and store the values into a
Ztable along with material number as primary key.
Solution:
3. Create a function group of your own with Y or Z. In this case the function group
name given ZMGD1.
4. Go to transaction SE80 and open the function group created, here the function
group is ZMGD1.
5. Open the screen 0001. Using screen design layout (SE51), customize the screen
according to the requirement.
ABAP_Interview 8 EXITS
6. Write the flow logic in PAI and PBO as per the requirement.
ABAP_Interview 9 EXITS
o Inactive the fields for input when material is displayed (MM03)
o Retrieve the data from Ztable for material change/display (MM02/MM03)
10. Select the corresponding screen sequence number and double click on data
screen button. In this case screen sequence ‘21’ has modified.
ABAP_Interview 11 EXITS
11. Select logical screen 07 (Basic Data 1) and double click on Subscreens.
12. In change view of subscreens, modify the program name of sub screen 21à07à08
to the subscreen program name which is created in step 6. In this case the program
name is SAPLZMGD1. Save the modifications.
13. Now to save the given enhanced field value in the Ztable, write the required code
in the user exit EXIT_SAPLMGMU_001.
o Import the data from memory ( The data which is exported in PAI event,
refer step 8)
ABAP_Interview 12 EXITS
=3=============================================================
=======
STEPS:
ABAP_Interview 13 EXITS
3.Create the required custom fields using the includes CI_EKKODB and CI_EKPODB
ABAP_Interview 14 EXITS
4.Screen: 0111 is used for adding custom fields. Design the screen with the above fields.
Code in PBO
ABAP_Interview 15 EXITS
5.The following two function Exits are used for adding custom fields at item level:
6.Go to transaction ME22N and check at item level. Custom tab with custom fields will appear as
follow.
ABAP_Interview 18 EXITS
===4=========================================================================
======