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

ABAP - Interactive Report problem (NOT ALV Interactive)

Former Member
0 Likes
532

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
469

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

3 REPLIES 3
Read only

Former Member
0 Likes
470

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

Read only

0 Likes
469

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]

Read only

0 Likes
469

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