Creating Batch Input Sessions

Use

One of the two recommended ways to process batch input data is to store the data in a batch input session. You can then run this session in the SAP system to enter the batch input data into the system.

Procedure

If you have generated a batch input program, the following function modules are automatically assigned the correct values.

If you want to write your own program, proceed as follows:

  1. Generate the batch input session using function module BDC_OPEN_GROUP.

  2. The proceed as follows for each transaction that the session contains:

    • In the BDCDATA structure, enter the value for all screens and fields that must be processed in the transaction.

    • Use BDC_INSERT to transfer the transaction and the BDCDATA structure to the session.

  3. Close the batch input session with BDC_CLOSE_GROUP.

  4. Start to process the generated session.