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

PRO+

Content

Find more PRO+ content and other member only offers, here.

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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close