CALL FUNCTION '/SAPAPO/TS_PLOB_LIST_GET'
EXPORTING
iv_bas_plobid = plobname
it_selection = lt_selection
it_group_by = lt_group_by
* is_read_options = ls_read_options
IMPORTING
et_plobs_in_view = gt_plobs_in_view
* et_plob_values = lt_plob_values
EXCEPTIONS
invalid_selection = 1
no_bas_plobid = 2
inherited_error = 3
coding_generation_failed = 4
OTHERS = 5.
" Material
CLEAR ls_selection.
ls_selection-iobjnm = 'Z_MATNR'.
ls_selection-sign = 'I'.
ls_selection-option = 'EQ'.
ls_selection-low = wa_data-matnr.
APPEND ls_selection TO lt_selection.
..."add other fields accordingly to specify the filter
CALL FUNCTION '/SAPAPO/TS_PLOB_DELETE'
EXPORTING
IV_BAS_PLOBID = lv_plobid
IT_SELECTION = lt_selection
IV_NOTE_DELETE = 'X'
EXCEPTIONS
NO_BAS_PLOBID = 1
INHERITED_ERROR = 2
INTERFACE_ERROR = 3
OTHERS = 4 .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |