1.

What Are Session Method And Call Transaction Method And Explain About Them?

Answer»

Session method – Use the BDC_OPEN_GROUP to create a session. Once we have created a session, then we can INSERT the batch input data into it with BDC_INSERT. Use the BDC_INSERT to add a transaction to a batch input session. We specify the transaction that is to be started in the call to BDC_INSERT. We must provide a BDCDATA structure that contains all the data REQUIRED to PROCESS the transaction completely. Use the BDC_CLOSE_GROUP to close a session after we have INSERTED all of our batch input data into it. Once a session is closed, it can be processed.

Call Transaction - In this method, we use CALL TRANSACTION USING to run an SAP transaction. External data does not have to be DEPOSITED in a session for later processing. Instead, the entire batch input process takes place inline in our program.

Session method – Use the BDC_OPEN_GROUP to create a session. Once we have created a session, then we can insert the batch input data into it with BDC_INSERT. Use the BDC_INSERT to add a transaction to a batch input session. We specify the transaction that is to be started in the call to BDC_INSERT. We must provide a BDCDATA structure that contains all the data required to process the transaction completely. Use the BDC_CLOSE_GROUP to close a session after we have inserted all of our batch input data into it. Once a session is closed, it can be processed.

Call Transaction - In this method, we use CALL TRANSACTION USING to run an SAP transaction. External data does not have to be deposited in a session for later processing. Instead, the entire batch input process takes place inline in our program.



Discussion

No Comment Found