Code: Alles auswählen.
CALL FUNCTION 'FILL_INPUT_FIELDS_STRUCTURE'
EXPORTING
iv_structure_type_name = 'CRMT_ORDERADM_H_COM'
iv_table_type_name = 'CRMT_ORDERADM_H_COMT'
is_structure = <ls_orderadm_h_com>
IMPORTING
es_input_fields = ls_input_field
EXCEPTIONS
no_structure_type_name_given = 1
no_input_data_provided = 2
provide_structure_or_table = 3
non_existing_structure_name = 4
provide_one_input_table_only = 5
no_table_type_name_provided = 6
types_do_not_match = 7
no_ddic_info_available = 8
OTHERS = 9.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.