I have a task to add selected rows from alv grid to the transport request.
At this moment I already have:
Name of transport request
Selected rows (I put them in a table because I don't know what the type they should be if I want to put them into the transport request):
First I get indexes:
call method grid->get_selected_rows
importing
et_index_rows = lt_rows.
Second I get rows that I need and put them into a new table:
if lt_rows is not initial.
loop at lt_rows into ls_row.
read table lt_variable index ls_row into ls_variable.
append ls_variable to lt_variable_changed.
endloop.
endif.
- As I understand I need to use all of this in the function
TR_OBJECTS_INSERT
, but unfortunately I didn't get any information that could help me to understand that I did it correctly.