Fonction SAP BDC_INSERT - Insert batch input transactions in batch input session

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CTUPARAMS CTU_PARAMS u 7 SPACE X CTU Recording Parameter
POST_LOCAL BDCTH-MTYPE C 1 NOVBLOCAL X
PRINTING BDCTH-STATE C 1 NOPRINT X
SIMUBATCH SYBATCH C 1 SPACE X Simulate Background Processing (SY-BATCH='X')
TCODE TSTC-TCODE C 20 FILLER4 X Transaction code

Paramètre Reférence Long. Facultatif Description
DYNPROTAB BDCDATA 309 Table for screens of a transaction

Exception Description
INTERNAL_ERROR Internal error of batch input (see
NOT_OPEN Queue was not opened (see SYSLOG)
POSTING_INVALID
PRINTING_INVALID
QUEUE_ERROR Error reading/writing the queue (see SYSLOG)
TCODE_INVALID Transaction code is not known


Function module: BDC_INSERT
You use this module to pass data as a transaction to batch input.
Parameters:
Tcode (transaction code) required
post_local (switch on local update) optional
printing (switch off printing) optional
simubatch (save recording option 'SimualteBackground Mode') optional
ctuparams (Save 'Call Transaction Using Parameter')optional
Dynprotab (internal table with batch input data) required
Exceptions:
Do not have to be specified.
Without exceptions, the function modules provide error messages
upon invalid parameters or internal errors (refer to SYSLOG).
When specifying exceptions, error handling can be carried outindependently by querying SY-SUBRC.

1437811Batch input: BDC_INSERT parameter CTUPARAMS
433137Batch input: Simulating background mode
26703Creating batch input sessions and COMMIT WORK