‎2012 Feb 15 5:51 PM
Hi All,
I have a report in which I am calling an ALV grid screen 1000. I select some line items and click on execute. On execution in the PAI I have called a function module which has a call screen statement inside it. This should call the screen 100 with tabstrip(This screen is not related to this report. This belongs to some other function group). But when I execute the report instead of calling the screen 100 again the screen 1000 is only being displayed. I have found that the PBO of screen 100 and all the subscreens in it are being called but after that this 100 screen not displayed as mentioned already. Please someone let me know if I am missing something somewhere.
Thank you,
Sri.
‎2012 Feb 15 6:24 PM
Hi Sri,
Can you copy the code you have written for calling screen??
Regards,
Harsh Bansal
‎2012 Feb 15 7:53 PM
Hi Sri,
Sometimes there are some screen program function groups which is part of a different process altogether, so that might be possible there is some global variable setting up in FM1 after which your calll screen 100 will happen, so try to debug the issue. Or else let us know which FM you are using we can give some idea.
Best Regards,
Tapodipta Khan.
‎2012 Feb 16 9:52 AM
Hi,
You should pass 'USER-COMMAND' in ALV grid FM & handle the interactive functionality in USER COMMAND module.
Regards,
‎2012 Feb 16 10:11 AM
Hi,
Can u tel where ur calling the screen at user command of ALV ?
or check in debug when u press execute the control goes to FM and then call screen then it goes to PBO of the screen then where the control goes ?
Or run the FM in se37 and check is it displaying the screen ?
revert back
Regards,
Madhukar Shetty
‎2012 Feb 16 2:25 PM
Hi Madhu,
I am calling the screen from PAI of the ALV grid screen. I have debuged and checked. The PBO of the screen and the corresponding subscreens is being called but after that instead of the wanted screen this ALV grid screen is being called. And when I press back button then again PAI of the actual screen is being called.
When the same FM is called from other classic reports without using ALV grid it is working fine.
Thanks,
Sri.
‎2012 Mar 01 9:42 AM
Thanks everyone for giving a try.I was able to solve the problem by calling the screen with starting at and ending at.
Sri.
‎2021 Mar 21 5:23 PM
while writing call subscreen subscreen_name under both pbo and pai . give the correct name of the subscreen that you have given in the layout. it will work fine .
regards,
Hrishikesh Konderu