Is it possible/recommended to call a BAPI with another BAPI? If I am using a custom_BAPI to create a sales order...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
(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.
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.