01-29-2007 6:31 PM
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
01-30-2007 9:32 AM
hi,
look help text to field "next screen" (RS37A-FNUM) in screen-painter (attributes)
A.
01-30-2007 9:32 AM
hi,
look help text to field "next screen" (RS37A-FNUM) in screen-painter (attributes)
A.
01-30-2007 9:38 AM
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
01-30-2007 9:41 AM
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
01-30-2007 9:46 AM
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
01-30-2007 9:58 AM
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.