Code: Alles auswählen.
SET PARAMETER ID 'MAT'
FIELD wa_topli-matnr.
SET PARAMETER ID 'WRK'
FIELD wa_topli-werks.
SET PARAMETER ID 'CSV'
FIELD '6' .
* SET PARAMETER ID 'RC29N-DATUV'
* FIELD '01.01.2020' .
*
* SET PARAMETER ID 'RC29N-DATUB'
* FIELD '01.01.2020' .
CALL TRANSACTION 'CS03' .
Code: Alles auswählen.
clear it_bdcdata[].
PERFORM bdc_dynpro USING 'SAPLCSDI' '0100'.
PERFORM bdc_field USING 'RC29N-MATNR'
wa_topli-matnr.
PERFORM bdc_field USING 'RC29N-WERKS'
wa_topli-werks.
PERFORM bdc_field USING 'RC29N-STLAN'
'6'.
PERFORM bdc_field USING 'RC29N-DATUV'
'01.01.2020'.
PERFORM bdc_field USING 'RC29N-DATUB'
'01.01.2020'.
CALL TRANSACTION 'CS03' USING it_bdcdata.
Code: Alles auswählen.
DATA: ls_options TYPE ctu_params.
ls_options-dismode = 'E'.
ls_options-updmode = ''.
ls_options-defsize = ''.
ls_options-nobinpt = 'X'.
ls_options-nobiend = 'X'.
ls_options-racommit = ''.
clear it_bdcdata[].
PERFORM bdc_dynpro USING 'SAPLCSDI' '0100'.
PERFORM bdc_field USING 'RC29N-MATNR'
wa_topli-matnr.
PERFORM bdc_field USING 'RC29N-WERKS'
wa_topli-werks.
PERFORM bdc_field USING 'RC29N-STLAN'
'6'.
PERFORM bdc_field USING 'RC29N-DATUV'
'01.01.2020'.
PERFORM bdc_field USING 'RC29N-DATUB'
'01.01.2020'.
CALL TRANSACTION 'CS03' USING it_bdcdata options from ls_options.