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: 

generating index in an ALV

Former Member
0 Kudos

hi,

i am calling FM 'REUSE_ALV_LIST_DISPLAY'. i m passing an internal table with a column containing serial nos. it goes fine untill i make some filter and re-generate the ALV. After using filter option , the serial nos. dont come in the correct format. Could anyone help me out in this regard ?

thanks,

Tanuj

2 REPLIES 2

Former Member
0 Kudos

can u post ur code how u built the fieldcaalog

0 Kudos

hi,

here is the code :

form fill_catalog1 USING p_fieldname TYPE any

p_ref_table TYPE any

p_scrtext TYPE any.

CLEAR : wa_fld_catalog.

wa_fld_catalog-fieldname = p_fieldname.

wa_fld_catalog-TABNAME = p_ref_table.

wa_fld_catalog-scrtext_s = p_scrtext.

wa_fld_catalog-scrtext_m = p_scrtext.

wa_fld_catalog-scrtext_l = p_scrtext.

APPEND wa_fld_catalog TO it_fld_catalog.

endform. " fill_catalog1

also, i m using new FM

'cl_grid->set_table_for_first_display'

thanks,

Tanuj