Skip to Content
Former Member
Aug 27, 2009 at 09:46 AM

BAPI or Direct Input method


Hi Experts,

For large data transfers, taking performance in to consideration, which method 'DIrect Input' or 'BAPI' is preferable ?

For Eg, for Volume upload of sales orders, I have the option to use BAPI , BAPI_SALESORDER_CREATEFROMDAT2 or direct input programs RVINVBT0 and RVINVB10 .

If I check the code in detail, for the BAPI and the direct input programs, both of them finally call standard function modules 'SD_SALES_HEADER_MAINTAIN', 'SD_SALES_ITEM_MAINTAIN' and u2018SD_SALES_DOCUMENT_SAVEu2019 to fiaally create the sales order.

BAPI is called with import parameter 'i_call_bapi' set to 'X', where as direct input have this parameter blank. This is the only difference I found.

Can anyone please clarify which method is more performance-oriented and how .

Thanks in advance,

Vishnu Pirya