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

alv & xxl_full_api

Former Member
0 Likes
615

hi,

pls send me a sample prog on alv grid display making use of set pf-status and fn mod xxl_full_api.

regards,

kb

hi,

pls send me a sample prog on alv grid display making use of set pf-status and fn mod xxl_full_api.

regards,

kb

2 REPLIES 2
Read only

Former Member
0 Likes
531

hi,

if u use REUSE_ALV_LIST_DISPLAY copy the standard GUI-Status named STANDARD from function group SALV in your program

if u use REUSE_ALV_GRID_DISPLAY_LVC or REUSE_ALV_GRID_DISPLAY copy the standard GUI-Status named STANDARD_FULLSCREEN from function group SLVC_FULLSCREEN in your program

after that you cas set the pf-status in this way:

CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'

EXPORTING

i_callback_program = sy-cprog

i_callback_pf_status_set = 'STATUS'

i_callback_user_command = 'USERCOMMAND'

is_layout = st_layout

it_fieldcat = st_fieldcat

TABLES

t_outtab = outtab

or

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'

EXPORTING

i_callback_program = sy-cprog

i_callback_pf_status_set = 'STATUS'

i_callback_user_command = 'USERCOMMAND'

is_layout_lvc = wa_slis_layout

it_fieldcat_lvc = tb_slis_fieldcat

TABLES

t_outtab = tb_app

where USERCOMMAND and STATUS are 2 forms in your program.

FORM status USING pfstat TYPE slis_t_extab.

SET PF-STATUS 'STANDARD' EXCLUDING pfstat.

ENDFORM.

...

FORM usercommand USING okcode LIKE sy-ucomm

wa_selfield TYPE slis_selfield.

CASE okcode.

....

ENDCASE

ENDFORM.

Reward if useful.

Read only

Former Member
0 Likes
531

thanks