User Exit QM

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3
At a glance
Powered by AI
The passage discusses adding new fields to an existing screen in SAP by configuring a new subscreen, creating a Z append structure to the underlying table, and using specific function exits to retrieve and insert data.

The steps to add a new subscreen in SAP are to enter transaction code SPRO, navigate to the screen structure, double click on the relevant tab, define a new screen with a number, and create that screen at the specified function group.

The steps to add new fields to an existing screen are to create a Z append structure to the underlying table to add the new fields, create a project to modify the enhancement, and assign values to the new fields using the append structure.

User exit, screen exit, customer exit for

QM01 QM02 QM03


Posted on April 17, 2013 by btalexlee
Adding field into screen of transaction code QM01 For my requirement it was adding
two new fields under the Subject tab.

Step 1 – Adding new subscreen Config at SPRO is required. Following are the steps taken
to add a new subscreen.

1. Enter tcode SPRO


2. Click Display SAP Reference IMG
3. Go to Quality Management -> Quality Notifications -> Overview of Notification type
4. Select notification type then select Screen Structure for Extended View

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.

You might also like