SAP Virtual/Onsite Trainings

Document Categories:

What's New?

Contribute?

Sample Specs

What's Hot?

Web Dynpro for ABAP Tutorials 


Join the Mailing List
Enter name and email address below:
Name:
Email:
Subscribe  Unsubscribe 

Creation of Variants in Module Pool Program

By Deepan Ignaatious, Kaavian systems

Scenario: In this example, demonstrates on how to create selection screen variant for module pool programs. Module programming can be used with Selection Screens and similar to the report programming, variants can be saved and loaded.

Steps in short:

The steps to create Screen Variants are as follows.

  • Creation of Module Pool Program with Selection screen
  • Create a screen for saving the Variants
  • Load and Display the variant
  • Create and Execute the Transaction Code

Steps:

1.     Create a Z MODULE POOL program in SE38.

2. Right click the left hand side program name and create new screen 9000.

3.     The attribute screen of the screen 9000 is as shown below.

4.     Click on Layout button and create a subscreen area element and name it sub1 as shown below.

5.     Go back to element list and add 'OK_CODE' in the last empty field.

6.  Now go to the flow logic tab and uncomment those lines and the extra line as shown below to add the sub screen.

7. Now double click the module status and module user command to add in the program

8. Now the program looks like this. Now add the code lines for 901 sub screen as shown below.

9. Double click the zgui_900 to create a GUI status for the 9000 screen

Click here to continue...

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image