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: 

function module for getting the change of pricing in sales order.

Former Member
0 Kudos

Hi  All,

          I have made changes in the pricing of items in va02 t-code and now i want to see the difference of the price for the items, so is there any function module for viewing the difference of price in items?

Regards,

Ajit P.

1 ACCEPTED SOLUTION

former_member188827
Active Contributor
0 Kudos

Check report RVSCD100 for this. You may incorporate the same logic in your program. Check following FMs

  • CHANGEDOCUMENT_READ_HEADERS
  • CHANGEDOCUMENT_READ_POSITIONS

Regards

4 REPLIES 4

former_member188827
Active Contributor
0 Kudos

Check report RVSCD100 for this. You may incorporate the same logic in your program. Check following FMs

  • CHANGEDOCUMENT_READ_HEADERS
  • CHANGEDOCUMENT_READ_POSITIONS

Regards

0 Kudos

Hi ,

      Thanks For the reply,these function modules are used for individual items to display the changes , but what i want is the function module which shows the difference for old to new value.
ex : old value 89$
       new value 100$.
    

result = 11.

Regards ,

Ajit P.

0 Kudos

That I guess, you will have to calculate yourself based on values returned by FM.

Regards

0 Kudos

Hi Ajit

If you want to compare only amount field old and new value then also you will have to use CDHDR/CDPOS table thats where the logs will be maintained.

The same concept SAP uses when it displayed changes via environment->changes

Nabheet