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

regarding oops alv

Former Member
0 Likes
437

Hi,

I am calling screen '2000' in report program to display OOPS ALV. I have created 'BACK' function key on screen '2000' to return to selection-screen of ALV by statement 'CALL SCREEN 1000' 'which i s working fine but after reaching at selection screen of report program, am not able to control the flow. I checked in debugging, the control is going to PAI of screen of '2000', when i do any operation on displayed selection screen.

Please suggest how to identify user command as sy-ucomm value as blank when i do any processing on selection screen.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
401

HI,

Do not write 'CALL SCREEN 1000' on the BACK command.

Instead write 'LEAVE TO SCREEN 0'.

SAP will take care of the screen sequence automatically.

Regards,

Ankur Parab

2 REPLIES 2
Read only

Former Member
0 Likes
402

HI,

Do not write 'CALL SCREEN 1000' on the BACK command.

Instead write 'LEAVE TO SCREEN 0'.

SAP will take care of the screen sequence automatically.

Regards,

Ankur Parab

Read only

Pawan_Kesari
Active Contributor
0 Likes
401

I didn't got your question completely. But I notice the use of CALL SCREEN to call selection screen.

You should use CALL SELECTION-SCREEN 1000. statement instead of CALL SCREEN .

quote from sap help

The statement CALL SCREEN is not to be used to call selection screens, as otherwise the proper execution of the selection screen processing cannot be guaranteed.

Edited by: Pawan Kesari on Aug 5, 2009 7:21 PM