1
"BAPIs are remote enabled function modules that provide external access (from standalone JAVA or VB) to an SAP Business Application like ""Create Sales Order"" wrapped in Business Objects. BAPI cannot contain Exceptions.
RFC is a protocol for communication between different systems within SAP environment similar to HTTP. It can contain Exceptions."
1
"Sort the 2 tables based on key fields.
Loop over the 1st table.
Use a table operation or READ TABLE on the 2nd table based on the key fields of the 1st table's work area or field symbol.
This would provide the sy-tabix value.
Loop over the 2nd table based on this sy-tabix.
Advantage: We would be processing only the relevant entries from the 2nd table."
1
Create a custom FM in SE37 by selecting Remote-enabled module. Go to SM59 and create an RFC Destination from current system to target system. Logon details have to be saved which will be provided by Security/BASIS. Click on Test Connection. If connection fails we will get an error otherwise we would see KBs of data transferred.