Hi everyone,
here is my problem:
I put an ALV GRID control in my screen , it display some records.
and I create a new button on the toolbar, and in the "handle user command class" , I need to
select a record from DB table into a work area.
after I select the record I need, here is the key question:
*I want to insert the record into the ALV at a specific row position which the user decided,
what should I do?*
METHOD HANDLE_ON_USER_COMMAND.
CASE E_UCOMM.
WHEN CL_GUI_ALV_GRID=>MC_FC_LOC_INSERT_ROW.
WHEN 'FC_ASSIGN'.
***I do some selection here
select %%%$$%%%^&&** into GS_HOLIDAYS.
*** after the selection, what should I do then????
*** I want to insert the work area GS_HOLIDAYS into ALV at a specific position
*** e.g. into the 3rd row.
*** how can I achieve that????
***call a method or something??????I don't know
WHEN 'FC_DELETE'.
WHEN OTHERS.
ENDCASE.
ENDMETHOD.
pls don't let me go through the programs in package "SLIS",because I have already done that and
I haven't solved my problems yet.
Thanks for your help.