Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Issue with function module 'REUSE_ALV_POPUP_TO_SELECT'

Hi ,

I want to put one of the field as editable when dispolay alv output by calling function module REUSE_ALV_POPUP_TO_SELECT.

i

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'

EXPORTING

i_structure_name = 'Zsd_structure_alv'

CHANGING

ct_fieldcat = lfieldcat[].

LOOP AT lfieldcat ASSIGNING <fs_fcat>.

CASE <fs_fcat>-fieldname.

WHEN 'menge'.

<lfs_fcat>-edit = 'X'.

<lfs_fcat>-outputlen = '13'.

WHEN OTHERS.

<lfs_fcat>-no_out ='X'..

ENDCASE.

ENDLOOP.

CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'

EXPORTING

i_selection = 'X'

i_zebra = 'X'

i_screen_start_column = 10

i_screen_start_line = 5

i_screen_end_column = 70

i_screen_end_line = lv_lines

i_checkbox_fieldname = 'CHECKBOX'

i_scroll_to_sel_line = 'X'

i_tabname = '1'

it_fieldcat = fieldcat[]

  • I_CALLBACK_USER_COMMAND =

is_private = ls_private

IMPORTING

es_selfield = ls_selfield

e_exit = lv_exit

TABLES

t_outtab = itab

EXCEPTIONS

program_error = 1

OTHERS = 2

but i am unable to see menge field as editable?

please suggest what is wrong in the code?

but i have to put menge field as editable on Output . right now not showing

Former Member
Not what you were looking for? View more on this topic or Ask a question