11-19-2013 12:30 PM
Hello Experts.
I have a requirement
When a user changes quantity of a particular sales order ( In VA02 ) there is a change in net value.
So i need to display the difference in the net value in the condition tab of header item inside pricing element with some condition type.
I have successfully calculated the difference in net value. Now I am facing problem in updating that calculated difference amount in pricing element of condition tab under header item.
I have used BAPI_SALESORDER_CHANGE , SD_SALESDOCUMENT_CHANGE but its not working for my requirement.
Can anyone advise how to solve
Thanks
With Regards
Rounak Ghodke
11-20-2013 11:38 AM
Hi
See SAP Note 201830 - Calculation of the net price of an item to be aware about possibilities and how it behaves.
One idea is to use additional subtotal fields in pricing (see SAP Note 155012 - Further subtotal fields in pricing) and transfer to this fields the amount for NETWR. Use customer data elements with the option 'change document' and go to the log of modifications in the sales order item.
Maybe it works.
I hope this helps you
Regards
Eduardo
11-20-2013 7:27 AM
11-20-2013 8:48 AM
Hi Sai Ranjan Das
I have used that Include only to calculate the difference now I am facing problem to display in condition tab can u advice me how can i display the calculated value in condition tab
With Regards
Rounak
11-20-2013 9:05 AM
Rounak,
In the user Exit MV45AFZZ , USEREXIT_PRICING_PREPARE_TKOMP , put a break point and check the values in table XKOMV.It contains the Item wise pricing data .You can do the required manipulation here/for the table.
Hope it helps
Regards
11-20-2013 11:12 AM
Rounak,
I am not aware if there is any BAPI through which you can get this done but why not create a custom routine in VOFM for the said Application Area and accordingly populate difference in the net value in the Condition tab (table control) for the corresponding Condition type.Ideally this should be the way.
K.Kiran.
11-20-2013 11:38 AM
Hi
See SAP Note 201830 - Calculation of the net price of an item to be aware about possibilities and how it behaves.
One idea is to use additional subtotal fields in pricing (see SAP Note 155012 - Further subtotal fields in pricing) and transfer to this fields the amount for NETWR. Use customer data elements with the option 'change document' and go to the log of modifications in the sales order item.
Maybe it works.
I hope this helps you
Regards
Eduardo