1. Analyze the data that is to be transferred to the SAP System to
determine how your existing data should be mapped to the
SAP data structure.
– Determine structure of the data that is to be transferred into
– Using the SAP data structure that you generate in step 2,
Determine how the data to be transferred must be mapped to
the SAP structure.
– Determine whether any data type or data length conversions
2. Generate SAP data structures for incorporation into your data
– Use the data structure generation function of the ABAP
dictionary to generate data structures for SAP tables in any of
several programming languages.
– If you are using one of SAP’s standard batch input programs,
then use of this function is required.
The standard batch input programs generally require that
you use a special predefined data structure.
– If you’re writing your own batch input procedure, then you will
need to determine the data structure on your own.
You’ll need to analyze the SAP transactions to find
the names of the fields that the transaction requires.
3. Code your data transfer program.
You can write the program in ABAP or as an external program.
4. Export the data that is to be transferred to a sequential file.
– The file must use the logical format required by the batch-
input program that will import the file (step 6).
– Reading and interpreting the file is much easier if you write it
in ASCII or EBCDIC (character) format rather than,
for example, writing numeric data in hexadecimal format.
Character format is required by the pre-defined SAP batch
5. If necessary, code the ABAP batch input program that will read
in the data to be transferred from your file.
SAP supplies ready-to-run batch-input programs for most of
the SAP applications.
6. Process the data and add it to the SAP System.
You can do this either by:
– Generating a batch input session; or
– by processing data directly in your batch-input program with
the ABAP statement CALL TRANSACTION USING.
7. Check that all data has been successfully processed.
Analyze the batch input-processing log.
If you are using CALL TRANSACTION USING, then you will need
to analyze the processing messages collected by your program.
8. Correct and re-process erroneous data.
Use the batch-input management function to process
erroneous transactions interactively.
You can correct data during this interactive processing.
SAP has provided special data structure for batch data input for
most of the objects.
Using these structures, one need not know what tables are
required for BDC.
SAP has also provided with pre-defined batch input programs for
But you may still need to write a BDC to meet the your
requirements since the programs given by SAP may not meet them.
You should therefore initialize all of the fields in your batch input data structure with the NODATA character.
The default is `/’.
If the BDC program does not find a value for a field then it sets the value of that field to.