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: 

changing pricing date in line item of VA42

Former Member
0 Kudos
319

Hi,

I need to change the pricing date in a line item for each material in VA42.

I know this BAPI--BAPI_CUSTOMERCONTRACT_CHANGE, but i am not sure which field to pass in to update this pricing date.....VBKD-PRSDT

Can any experts let me know a solution for this

1 ACCEPTED SOLUTION

Former Member
0 Kudos
107

if you are passing individual conditions, then there is CONPRICDAT in CONDITIONS_IN segment

else there is PRICE_DATE in CONTRACT_ITEM_IN segment

7 REPLIES 7

Former Member
0 Kudos
107

Hi,

Yes you need to use VBKF-PRSDT field.

Read actual goods movement Date (LIKP-WADAT_IST), find the referring SO document from delivery (LIPS-VGBEL) and update the PRSDT field.

thanks

Dan

0 Kudos
107

Which field in the BAPI do i have to pass this date to update the pricing date...

Thanks

Former Member
0 Kudos
108

if you are passing individual conditions, then there is CONPRICDAT in CONDITIONS_IN segment

else there is PRICE_DATE in CONTRACT_ITEM_IN segment

0 Kudos
107

Hi MXG,

Thanks for your reply..

I reied changing the date using debug mode to pass in date to CONPRICDAT in CONDITIONS_IN

Here there is no corresponding field in conditions_inx and hence it did not update the date .

Is there any other way.

Thanks in advance

0 Kudos
107

did you try CONTRACT_ITEM_IN segment? or are you trying to change each individual condition?

0 Kudos
107

I am trying to change each individual line item.. Can you please let me know if there is a solution for this

0 Kudos
107

youc an change each line item using CONTRACT_ITEM_IN segment. try that and see