Hello Freinds,
After using SUBMIT i got error, please check and help me.
DATA: lr_pay_data TYPE REF TO data,
itab TYPE REF TO data.
FIELD-SYMBOLS: <lt_pay_data> TYPE table.
cl_salv_bs_runtime_info=>set( EXPORTING display = abap_false
metadata = abap_false
data = abap_true ).
SUBMIT zj3rflvmobvedh
USING SELECTION-SCREEN 1000
WITH so_bukrs EQ ‘1100’
WITH so_budat IN s_budat
WITH so_werks IN s_werks
WITH so_matnr IN r_matnr
AND RETURN.
TRY.
cl_salv_bs_runtime_info=>get_data_ref( IMPORTING r_data = lr_pay_data ).
ASSIGN lr_pay_data->* TO <lt_pay_data>. “Standard report output is available in <lt_pay_data>
CATCH cx_salv_bs_sc_runtime_info.
MESSAGE `Unable to retrieve ALV data` TYPE ‘E’.
ENDTRY.
cl_salv_bs_runtime_info=>clear_all( ).
BREAK-POINT.
LOOP AT <lt_pay_data> ASSIGNING FIELD–SYMBOL(<line>).
ENDLOOP.