PROCEDURE OF WRITING A BDC:
1. Analyze the transaction(s) that you will use to process your batch-
input data.
You may have already done this when you wrote your data
transfer program.
2. Decide on the batch-input method that you wish to use.
- BATCH INPUT SESSION (Classical batch input)
This is a more comfortable method
Restart capability and detailed logging are supported by the
batch input management transaction for batch input sessions.
- CALL TRANSACTION USING method
It offers faster processing if you need it to get your batch input
done in the time slot that is available for it.
It offers, however, less support for error recovery and
management of batch input.
(see BDC Method)
3. Write the batch input program.
Your program will need to do the following:
- read data in, often from a sequential file that has been
exported from another system or prepared by a data transfer
program
- if necessary, perform data conversions or error-checking
- prepare the data for batch input processing by storing the data
in the batch input data structure, BDCDATA.
- generate a batch input session for classical batch input, or
process the data directly with CALL TRANSACTION US
(see BDC Method)