Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Price update in VA42 through BAPI

ganeshthangam_e
Participant
0 Kudos

Hi

We are trying to update line item prices in VA42 through -BAPI_CUSTOMERCONTRACT_CHANGE. But it is not getting updated at line item level.

Kindly guide us.

Regards

Ganesh

3 REPLIES 3

Former Member
0 Kudos

Ganesh, please make use of 'CONDITIONS_IN' and 'CONDITIONS_INX' structures in 'BAPI_CUSTOMERCONTRACT_CHANGE'. Also, make sure to pass the correct parameters along with condition update flag which i'm sure you must be aware of however in case you need any further assistance on this feel free to ask. Thanks.

Lakshmipathi
Active Contributor
0 Kudos

Moved from SAP ERP SD Sales to ABAP Development as it is related to technical.  Ensure that there is no subsequent document for that line item in which case, you cannot update pricing.

G. Lakshmipathi

Jelena
Active Contributor
0 Kudos

Just to make sure this is not the same case as someone posted few days ago - you cannot do an update through BAPI that you cannot also do in the transaction manually. First check in the transaction and then post specific error/message you're getting from BAPI. We can't know that if you don't tell us.