Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

regarding Module Pool

Former Member
0 Kudos

hi.

this is Arijit.i have 2 askings. in module pool

assume that the screen number is not set dynamically in the PAI code.

1)if the next screen attribute for screen 9100 is 9100 then what will happen

after all its PAI module are executed??

2)if the next screen attribute for screen 9100 is 0 then what will hapne

after all its PAI module are executed??

plese give answer.

i will reward by point

1 ACCEPTED SOLUTION

andreas_mann3
Active Contributor
0 Kudos

hi,

look help text to field "next screen" (RS37A-FNUM) in screen-painter (attributes)

A.

5 REPLIES 5

andreas_mann3
Active Contributor
0 Kudos

hi,

look help text to field "next screen" (RS37A-FNUM) in screen-painter (attributes)

A.

Former Member
0 Kudos

please check that

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbab0f35c111d1829f0000e829fbfe/content.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbab0f35c111d1829f0000e829fbfe/content.htm</a>

regrads

shiba dutta

Former Member
0 Kudos

Hi Arijit Paul ,

1) if the next screen attribute for screen 9100 is 9100 and after the execution of PAI module, PBO of 9100 will called again be called and the process will go in a loop.

2) if the next screen attribute for screen 9100 is 0 and after the execution of PAI module, the control will returned to the program to the next statement of the call screen statement.

Regards,

Kasi S

Former Member
0 Kudos

Hi Arijit,

Assuming you do not set the screen number dynamically.

1)If the next screen no is 9100,then after the PAI module is executed,its PBO module is executed again ie. The PBO and PAI of 9001 are executed recursively.

2)If you set the next screen 0,then after the PAI of screen 9100 is executed,the control returns to the point from which the screen sequence was called or the previous screen from which the screen 9100 was called and its PBO is processed.

Regards,

Beejal

**reward if helpful

Former Member
0 Kudos

Hi Arijit,

To put it simple, the one difference is:

1. If you put the same screen number in the next screen value, then the same screen's PBO is called again after the PAI has finished execution.

2. If you put the next screen number as 0, then the PBO of the screen is NOT executed like in the previuos case and the control is just given to the next line in the program.

Hope this clears your doubt.

Award points if helpful.