Hi,
Can someone please help me understand when ABAP stage should be used to extract data vs. BAPI? What is the main difference between these 2 techniques? And when one is supposed to use the IDoc stage?
Thanks !!!
Difference between ABAP,BAPI and IDoc stages!!
Moderators: chulett, rschirm, roy
Re: Difference between ABAP,BAPI and IDoc stages!!
ABAP Extract stage generates ABAP code from the SQL that you provide for extracting data from the R/3 tables. This ABAP program is then loaded onto the SAP server and when the job is executed this ABP program executes, fetching data from the source table. You have the option to run this ABAP program in the background mode by using the FTP method of data transfer instead of the default CPIC method. By running the ABAP program in the background, you can overcome any time-out that may arise due to the ABAP execution exeeding the timeout set in R/3.Bilwakunj wrote:Hi,
Can someone please help me understand when ABAP stage should be used to extract data vs. BAPI? What is the main difference between these 2 techniques?
BAPIs are RFC enabled Function Modules that can be used to extract or load data from/to SAP. The BAPI stage does not let you run the BAPI in the background, and so can cause the job to abort mid way if the runtime exceeds the timeout period. For data extraction, BAPI stage is used for low volumes.
For extraction involving multiple/complex joins and huge data volume, ABAP extract in FTP method with the ABAP program running in the background mode is employed.
When the data volume to be extracted is huge and is available in Idocs, an Idoc stage can be used.And when one is supposed to use the IDoc stage?
Aneesh