Adding Data to a Session: BDC_INSERT
Use
Use the BDC_INSERT function module to add a transaction to a batch input session. You specify the transaction that is to be started in the call to BDC_INSERT. You must provide a BDCDATA structure that contains all of the data required to process the transaction completely.
Function module BDC_INSERT
Import Parameter
|
Parameter |
Function |
|
TCODE |
Transaction Code |
|
POST_LOCAL |
Local update |
|
PRINTING |
Internal use |
Table Parameter
|
Parameter |
Function |
|
DYNPROTAB |
Internal tables with data for the screen. |
Exception parameters
|
Parameter |
Function |
|
INTERNAL_ERROR |
Internal batch input error |
|
NOT_OPEN |
Queue not open |
|
QUEUE_ERROR |
Error when reading/writing in queue |
|
TCODE_INVALID |
Invalid transaction code |
|
PRINTING_INVALID |
Internal use |
|
POSTING_INVALID |
Local updating not possible |
BDC_INSERT is the most important parameter:
-
TCODE
The code of the transaction to be executed.
-
POST_LOCAL
Flag if data is to be updated locally.
(See the ONLINE documentation for ABAP keyword SET UPDATE TASK LOCAL)
-
DYNPROTAB
The BDCDATA structure that contains the data that is to be processed by the transaction.
DYNPROTAB is a table parameter of the function module.