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: 

Updating Purchase Pricing list using BAPI_PRICES_CONDITIONS

VijayaKrishnaG
Active Contributor
0 Kudos

Hello Experts, Good Day!

I am trying to update Purchase pricing list using BAPI_PRICE_CONDITIONS.

After executing this, the tables KONH and KONP tables are getting updated but the relevant combination tables like A502 is not getting updated. So, in the transaction MEK3... the price getting updated but not the validity date.

I have passed all the required data for TI_BAPICONDCT TI_BAPICONDHD TI_BAPICONDIT.

Can anyone please suggest me where I have gone wrong or what I may have missed?

Thanks & Regards,

Vijay

1 ACCEPTED SOLUTION

VijayaKrishnaG
Active Contributor
0 Kudos

Sorry, that was my mistake. I have passed in correct value to the VARKEY field in tables TI_BAPICONDCT TI_BAPICONDHD. I have missed leading zeros for the Vendor number.

This is a straight forward BAPI and parameters should be passed properly.

Thanks, closing this thread.

Vijay

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

Did you try the IDOC way, like calling IDOC_INPUT_COND_A?

0 Kudos

Hello Raymond,

Nope. I didn't try that way.

VijayaKrishnaG
Active Contributor
0 Kudos

Sorry, that was my mistake. I have passed in correct value to the VARKEY field in tables TI_BAPICONDCT TI_BAPICONDHD. I have missed leading zeros for the Vendor number.

This is a straight forward BAPI and parameters should be passed properly.

Thanks, closing this thread.

Vijay