Application Development 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: 

RF transaction: Sample code for page down & page down

Former Member
0 Kudos

Hi ABAP Gurus,

I need to create an RF Transaction. Considering that the screen should sport a certain limited size, I would need to implement a "page down" & "page up".

In this light, I would like to request for a sample code for "page down" and "page up".

Points will be given accordingly. Thanks in advance.

Best Regards.

Brando

1 ACCEPTED SOLUTION

andreas_mann3
Active Contributor
0 Kudos

hi,

use sample-prg. DEMO_DYNPRO_TABLE_CONTROL_1

A.

4 REPLIES 4

andreas_mann3
Active Contributor
0 Kudos

hi,

use sample-prg. DEMO_DYNPRO_TABLE_CONTROL_1

A.

Former Member
0 Kudos

hI ,

Here is the sample code .

WHEN c_down.

  • Display next record

where v_lines is total no of records .

IF v_currec LT v_lines.

CLEAR s_lqua_makt.

v_currec = v_currec + 1.

READ TABLE t_lqua_makt INDEX v_currec INTO s_lqua_makt.

ENDIF.

WHEN c_up.

IF v_currec GT 0.

  • Display previous record

CLEAR s_lqua_makt.

IF v_currec <> 1.

v_currec = v_currec - 1.

ENDIF.

READ TABLE t_lqua_makt INDEX v_currec INTO s_lqua_makt.

ENDIF.

Please reward if useful.

Former Member
0 Kudos

Thanks for your quick answers. Points have been given.

0 Kudos

anyone with more sample codes? please feel free to post. thanks again.