‎2005 Aug 22 9:45 AM
Hi friends,
I am calling a screen from a function module. After the processing in the PAI of the screen is done, I need to revert back to the FM which called the screen at runtime.
Please help.
‎2005 Aug 22 9:51 AM
Hi Soumya,
Just add "LEAVE TO SCREEN 0" in your PAI and you will get back to you FM.
Regards,
John.
‎2005 Aug 22 10:26 AM
HI John,
Thanks for the tip. I have tried the same but, in the PAI I have three values that I need to pass to the FM. How do I do that?
Thanks in advance.
‎2005 Aug 22 10:30 AM
Hi Soumya,
I suppose you call the screen from within the FM? Then you just have to define your variables globally (in the TOP include of the FM) and your data is available in the FM.
Regards,
John.
‎2005 Aug 22 10:50 AM