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

Report Cursor Position

Former Member
0 Likes
394

Hi,

I have a report. In the report output, when I have the output for more than one page, I go to the 2nd or 3rd page. From there, when I double click on one value, it goes to a screen. and when I come BACK to the report output, it shows the report from the first page again instead of showing the output in the 3rd page.

My requirement is, when I come BACK from the screen, the cursor should stay in the same page where we double clicked earlier. We use a statement for the same. Could someone tell me how to do this..?

Thanks in advance.

Best Regards,

Paddu.

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
334

use sth like this in your dynpro:

MODULE exit INPUT.

IF ok_code = 'BACK'.

SET SCREEN 0.

LEAVE SCREEN.

ENDIF.

ENDMODULE. " exit INPUT

________

additional for refreshing alv-list use :

rs_selfield-refresh = 'X'.

rs_selfield-row_stable = 'X'.

rs_selfield-col_stable = 'X'.

A.

1 REPLY 1
Read only

andreas_mann3
Active Contributor
0 Likes
335

use sth like this in your dynpro:

MODULE exit INPUT.

IF ok_code = 'BACK'.

SET SCREEN 0.

LEAVE SCREEN.

ENDIF.

ENDMODULE. " exit INPUT

________

additional for refreshing alv-list use :

rs_selfield-refresh = 'X'.

rs_selfield-row_stable = 'X'.

rs_selfield-col_stable = 'X'.

A.