Q

How to get the price data while creating the sales order using the BAPI

We are trying to create a sales orders for a variant material (with variant pricing) using the BAPI "BAPI_SALESORDER_CREATEFROMDAT2"....

The sales order is getting created using this BAPI along with the configuration data, but the price for the variant key is not picked.

After creating the sales order using BAPI, if we go to the sales order in change mode (transaction VA02) and visit the screen for configuration data and come back, the prices for the variant key are picked up correctly.

Please suggest how to get the price data correctly while creating the sales order using the BAPI.
Variant configuration is a special issue. First I needed to know what release you are on, as the VC changed completely from 4.0 to 4.6 (even the DB tables from AUSP to IBINxxxxx). Have a break-point in CUD0_CONFIGURE_OBJECT to see if it stops there. Alternative starting point for debugging FUNCTION CUXC_GET_CFG_FROM_MEMORY. However, please be aware finding errors in VC can take weeks.

This was last published in July 2004

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