Wednesday, February 2, 2011

Screen Exit for Notification Header (TCode: IW21) and show the custom fields in standard report for notifications (IW28, IW29)

The user exit used is QQMA0001. Steps are given below.


1. Create a project YPM01 in CMOD transaction code.

2. Add the enhancement assignment QQMA0001 in the project.

3. Go to Components and double click on the screen 0100.

4. Before creating the customer fields in screen, create the fields in QMEL table of structure CI_QMEL.

5. Then create the custom fields in screen 0100.

6. Open FM EXIT_SAPMIWO0_008 and create include ZXQQMU0. This FM is used to pass the value from table to screen fields.

7. Open FM EXIT_SAPMIWO0_009 and create include ZXQQMU08. This FM is used to pass the value from screen to structure to store the value in table.

8. Activate the project. Now go to IW21 and see the custom fields. Functional consultant will do the configuration where to show these fields.

9. Now we can see how we can get these values in the standard report for notification. The transaction codes are IW28 and IW29.

10. Implement the BADI BADI_EAM_SINGLELEVEL_LIST, and in method FILL_ADD_FIELDS write your logic to fill alv.

11. You can also add separate group using the method CHANGE_FIELD_CATALOG.


12. Now run tcode IW28 and execute. If you are not finding the custom fields, then choose Settings->Layouts->Current.

13. You can view your group in the filter. Choose the custom fields from that.

14. Now you can view the fields in ALV




No comments:

Tutorials on SAP-ABAP

Adobe Interactive Forms Tutorials

Business Server Pages (BSP)

Userexits/BADIs

Web Dynpro for ABAP (Step by step procedure for web dynpro,Tutorials on Web Dynpro,)

ALV Tutorials

Blog Archive

goodsites