thespot4sap.com independent sap information
 

New - get SAP Access - pay monthly

SAP Tutorials    Online SAP Training    SAP CBT's    Forums    SAP Articles    SAP Jobs    Resumes
  SAP Access    SAP Blogs    SAP Books     Links     Vendor Directory     Submit Content    Search

New Page 1

Previous Page

Next Page

Designing SAP Transactions
Example - Write Flow Logic

Page 7 of 13

Write the Flow Logic

Now let us write the flow logic for both the screens.

            Screen 100 

Process before output.

                Module status_0100.

*

Process after inout.

                Module User_Command_0100.

 

Screen 200 

Process before output.

                Module status_0200.

*

Process after inout.

                Module exitscreen at exit-command.

                Field ztryemp-name module check_name.

                Field ztryemp-phone module check_phone.

                Field ztryemp-basic module check_basic.

                Module User_Command_0200.

To add the code to each module, double click on the module. This will bring up a screen asking you to select the proper sub program from the module pool to place the code in it. Select the proper PBO, PAI and Form program to include the respective code. 

We will first see the PBO sub-program for both screens.

PBO modules are used for initializing variables, assigning the pf-statuses and titlebars for dynpros, and other screen processing to be done before the screen is displayed and re-displayed.

Next Page

Previous Page

 

New Page 1

 

 


About Us   Contact Us   Privacy   Disclaimer   Feedback   Email Discussion   Newsletter  

Copyright © - Independent SAP Information
Partners: Learn XML, SAPdox, Worldwide Guesthouses and B&B's