‎2010 Oct 07 5:31 PM
ABAP - Interactive Report problem.
In Interactive report when I double click to one field a window arises (here sy-lsind = 0) displaying some required info. And again after double clicking the appeared window another window will open (here sy-lsind = 1). from the 2nd window I can't go to the previous window.
If there is only one way to go to the previous window is to activate the RIGHT UPPER CROSS OPTION of the particular window, then please help me giving the code or idea about how to activate it. Thanks.
‎2010 Oct 08 5:48 AM
HI,
have changed or set the PF status for each of the screen ? For the back button it will automaticaaly goto the previous screen .
Regards,
Madhukar Shetty
‎2010 Oct 08 5:48 AM
HI,
have changed or set the PF status for each of the screen ? For the back button it will automaticaaly goto the previous screen .
Regards,
Madhukar Shetty
‎2010 Oct 10 7:52 PM
Thanks for your advice.
But here in my code I use different windows for displaying the output. Can it be possible to set pf-status for each of the windows. when I don't use pf-status and at user-command then the upper cross activates. but it won't work with the pf-status. So I think made a button that help exiting each window . But what will be the code at user command of that button.
Here screen shot of interactive report is given. Please help me solving this problem.
[Click here for screen Shot:|http://freeimagehosting.in/images/536_Output_screen_of_interactive_r.jpg]
‎2010 Oct 11 9:57 AM
HI,
Try this code :
SET PF-STATUS '1001'.
WRITE : 'first list'.
AT LINE-SELECTION.
BREAK-POINT.
IF sy-lsind EQ 1.
SET PF-STATUS '1002'.
WRITE : 'Second list'.
ELSEif sy-lsind EQ 2.
SET PF-STATUS '1003'.
WRITE : 'third list'.
ENDIF.
AT USER-COMMAND.
IF sy-ucomm EQ 'EXIT' OR sy-ucomm EQ 'BACK' OR sy-ucomm EQ 'CANC'.
sy-lsind = sy-lsind - 1.
IF sy-lsind EQ 0.
LEAVE TO SCREEN 0.
ENDIF.
ENDIF.By this u can set different pf status for different window and thing in the function key of pf status write PICK for Choose
in every pf status you define
If any query get back
Regards,
Madhukar Shetty