Application Development and Automation 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: 
Read only

Call Screen problem in a report

sridhar_meesala
Active Contributor
0 Likes
1,563

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.

7 REPLIES 7
Read only

Harsh_Bansal
Contributor
0 Likes
1,038

Hi Sri,

Can you copy the code you have written for calling screen??

Regards,

Harsh Bansal

Read only

Former Member
0 Likes
1,038

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.

Read only

Former Member
0 Likes
1,038

Hi,

You should pass 'USER-COMMAND' in ALV grid FM & handle the interactive functionality in USER COMMAND module.

Regards,

Read only

Former Member
0 Likes
1,038

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

Read only

0 Likes
1,038

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.

Read only

0 Likes
1,038

Thanks everyone for giving a try.I was able to solve the problem by calling the screen with starting at and ending at.

Sri.

Read only

0 Likes
1,038

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