Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- report zrep_local.
- types
- : begin of ty_tab
- , count type sy-tabix
- , field type char1
- , end of ty_tab
- , tt_tab type standard table of ty_tab with non-unique default key
- .
- * Пуст имеющиеся записи, твоя mt_maintab
- data(lt_tab1) = value tt_tab( for i = 1 then i + 1 while i <= 10
- ( field = sy-abcde+i(1) ) ).
- * Тут селект, вернувший 20 записей, lt_wa_tab
- data(lt_tab2) = value tt_tab( for i = 1 then i + 1 while i <= 20
- ( field = sy-abcde+i(1) ) ).
- * Тут в первую, сохраняя первый 10 записей, вставляются пронумерованные строки из второй таблиц
- lt_tab1 = value tt_tab( base lt_tab1 for <ls_line> in lt_tab2 index into lv_idx
- ( count = lv_idx
- field = <ls_line>-field )
- ).
- break-point.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement