DATA:ls_data TYPE REF TO data.
FIELD-SYMBOLS:<lt_data> TYPE ANY TABLE.
cl_salv_bs_runtime_info=>set( display = abap_false metadata = abap_false data = abap_true ).
SUBMIT 程序名
WITH pnpbegda EQ pnpbegda "p
WITH s_month IN s_month "S
WITH r10 EQ r1 "radiobutton
WITH c10 EQ c10"checkbox
AND RETURN.
TRY.
cl_salv_bs_runtime_info=>get_data_ref( IMPORTING r_data = ls_data ).
ASSIGN ls_data->* TO <lt_data>.
CATCH cx_salv_bs_sc_runtime_info.
MESSAGE '无法获取ALV数据' TYPE 'E'.
ENDTRY.
cl_salv_bs_runtime_info=>clear_all( ).
IF <lt_data> IS ASSIGNED.
LOOP AT <lt_data> ASSIGNING FIELD-SYMBOL(<fs_data>) .
ASSIGN COMPONENT '字段名' OF STRUCTURE <fs_data> TO FIELD-SYMBOL(<fs_value>).
IF <fs_value> IS ASSIGNED.
ENDIF.
ENDLOOP.
ENDIF.