SAP BDC – PROCEDURE OF TRANSFER BDC USING BATCH INPUT


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 
      the system. 
   
    – Using the SAP data structure that you generate in step 2, 
      Det
ermine how the data to be transferred must be mapped to 
      the SAP structure. 

    
    – D
etermine whether any data type or data length conversions
      are required.

 

2. Generate SAP data structures for incorporation into your data 
    export program.

    – 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 pre­
defined 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.   
     Requirements:

     – 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 
       input programs.

 

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.

       (see BDC Method) 


7.  Check that all data has been successfully processed.

     Method:
     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 
data transfer. 

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.

Advertisements
Categories: BDC | 1 Comment

Post navigation

One thought on “SAP BDC – PROCEDURE OF TRANSFER BDC USING BATCH INPUT

  1. I can tell that this is not the first time you write about the topic. Why have you chosen it again?
    p.s. Year One is already on the Internet and you can watch it for free.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: