What is BDC in SAP ABAP
BDC stands for Batch Data Communication which is used for transferring the data from the Non-SAP system to the R/3 system. It's a common tool used for data migration tasks and is essentially a batch input process. While SAP offers other data migration options, BDC remains a popular choice for this specific function.
Types of BDC (Batch Data Communication)
- CLASSICAL BATCH INPUT (Session Method)
- CALL TRANSACTION
CLASSICAL BATCH INPUT (Session Method)
The Session method is designed for handling large volumes of data efficiently.
Features:
- Asynchronous processing.
- Synchronous Processing in database update.
- Transfer data for more than one transaction.
- A batch input processing log will be generated.
- During processing, no transaction is started until the previous transaction has been written to the database.
CALL TRANSACTION METHOD :
The Call Transaction is ideal for updating small amounts of data.
Features:
- Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
- Updating the database can be either synchronous or asynchronous. The program specifies the update type.
- Transfer data for a single transaction.
- Transfers data for a sequence of dialog screens.
- No batch input processing log is generated.
How to transfer data into your R/3 System from a legacy system?
To transfer data into your R/3 System from a legacy system or another R/3 System you can use the batch input (BI), call transaction (CT) and direct input (DI) methods.
There are two methods to transfer data:
-
Standard transfer programs:
For many standard transfers, there are already standard data transfer programs in the R/3 System. You do not need to write your own batch input program. You need only to ensure that the data is available in the format specified by SAP.
-
Customer transfer programs:
Here you can create your data transfer program. You can also determine the structure of the data. The method used to transfer data determines the actual conversion of the data, as this decision establishes the structure of the SAP format
BDC is a techniques to transfer data from sap to non sap system and visa vesa and also sap system to sap system.
A bulk of mass data can be feeded in into the database of the sap tables rather then entering the data manually.
Use shdb transcation for recording and the cursor movement this cursor moment is notice by the sap software and according to our flat or exel file the data is send or stores to appropriate position.
Initially a seed is sown or in other words recording and all the rest data is transported in the same style.
Upload -> from the presentation server or local machine data is brought into your report program.
Download->writing our own document of file in to the presentation server.
Read dataset -> reading the file which is residing in the server.
Transfer-> to write our data to server into the given file name or by default file is created by sap by its own and data get strored there.
Sycronous -> each time the data is transfer user is alerted that data is moving to the desired file .
Anschronous-> mass or bulk of data is transported .
Contt-commit-> comobo box to give message to the developer that data has been transmitted or failed.
Always use mess-col funcation to trap any descripencies it its happen in read data set.
And use transation T100 for manually checking the occurred error while transmitting file or downloading.
Use shdb for recording.
When recording is successful create session and process it.
Check your file or database.