I am trying to extract all Purchase Orders that have been released, but have had changes made to them, thereafter.
Firstly reading table EKKO, then CDPHDR, and then Function Module: CALL FUNCTION 'CHANGEDOCUMENT_READ'.
This part is working fine.
However the report is returning all purchase order documents that have changes made to them.
I need to limit my program to only Purchase orders that have been changed, after been released.
For Example, if the PO was released on 01.01 2010, and no further changes made, then the report should exclude these change numbers.
If the PO was released on 01.01 2010, and further changes made on 02.01.2010, then the report should include these change numbers.