Q
Problem solve Get help with specific problems with your technologies, process and projects.

Calling a BAPI with another BAPI

Is it possible/recommended to call a BAPI with another BAPI? If I am using a custom_BAPI to create a sales order (because I need 8-10 more fields which are not there in the standard BAPI_CreateSalesOrder,) can I first call BAPI_SimulateSalesOrder and based on the return parameters call my Custom_BAPI?

Is it possible/recommended to call a BAPI with another BAPI? If I am using a custom_BAPI to create a sales order...

(because I need 8-10 more fields which are not there in the standard BAPI_CreateSalesOrder,) can I first call BAPI_SimulateSalesOrder and based on the return parameters call my Custom_BAPI?


In your specific case, I don't think so. Instead, use the ExtensionIn parameter of SalesOrder.CreateFromDat2 and fill the appropriate exit in the BAPI. Check the SAP BAPI Programming Guide for details.


This was last published in November 2001

Dig Deeper on SAP ABAP

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchHRSoftware

Close