2008 Nov 22 11:36 PM
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
2008 Nov 23 1:08 AM
if you are passing individual conditions, then there is CONPRICDAT in CONDITIONS_IN segment
else there is PRICE_DATE in CONTRACT_ITEM_IN segment
2008 Nov 23 12:03 AM
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
2008 Nov 23 12:58 AM
Which field in the BAPI do i have to pass this date to update the pricing date...
Thanks
2008 Nov 23 1:08 AM
if you are passing individual conditions, then there is CONPRICDAT in CONDITIONS_IN segment
else there is PRICE_DATE in CONTRACT_ITEM_IN segment
2008 Nov 23 3:02 AM
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
2008 Nov 23 3:05 AM
did you try CONTRACT_ITEM_IN segment? or are you trying to change each individual condition?
2008 Nov 23 1:44 PM
I am trying to change each individual line item.. Can you please let me know if there is a solution for this
2008 Nov 23 1:51 PM
youc an change each line item using CONTRACT_ITEM_IN segment. try that and see