User Exit QM
User Exit QM
User Exit QM
Step 1 – Adding new subscreen Config at SPRO is required. Following are the steps taken
to add a new subscreen.
5. Inside the extended view you may noticed there how the tab is structure according to
screen QM01
For the two fields to be added falls under Subject tab. Double click on 10\TAB02
6.Initially Screen 3 is empty, so I define it with 091 with screen 100. Screen 100 will be
created in the later in the next stage. You may create the screen beforehand.
7. Create screen 0100 and design it up as per requirement at Function group XQQM. At
this point you might want to check if this subscreen exist by going to tcode QM01. There
should be subscreen display. Make sure to transport the changes if development is in
a separate environment.
8. Create a Z append structure to table QMEL and fill it up as necessary. For my
requirement I added two new fields.
8. Create a project at tcode cmod and look into this Enhancement QQMA0001. The two
function exit to be used are EXIT_SAPMIWO0_008, EXIT_SAPMIWO0_009. Notice that
move statements in the function exit. There are the structure that contains the value
from the screen.
9. Assign the value using the structure. To retrieve data, use EXIT_SAPMIWO0_008
while to insert data use EXIT_SAPMIWO0_009. Make sure you set those newly added
field to be screen-input = 0 when the transaction is QM03.