BDC Programming
Monday, July 3rd, 2006
Question 10: How do you write a BDC program?
Question 11: What are BDC function modules?
Question 12: What is BDCDATA structure for?
Have you ever wondered that what BDC is? I’ve never thought what BDC stands for! I knew that it is related with batch inputs. Here it is what BDC stands for Batch Data Communication.
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:
- Generate the batch input session using function module BDC_OPEN_GROUP
- The proceed as follows for each transaction that 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 BDCDATA structure to the session.
- Close the batch input session with BDC_CLOSE_GROUP
- Start to process the generated session.