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

RF transaction: Sample code for page down & page down

Former Member
0 Likes
1,227

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
Read only

andreas_mann3
Active Contributor
0 Likes
888

hi,

use sample-prg. DEMO_DYNPRO_TABLE_CONTROL_1

A.

4 REPLIES 4
Read only

andreas_mann3
Active Contributor
0 Likes
889

hi,

use sample-prg. DEMO_DYNPRO_TABLE_CONTROL_1

A.

Read only

Former Member
0 Likes
888

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.

Read only

Former Member
0 Likes
888

Thanks for your quick answers. Points have been given.

Read only

0 Likes
888

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