Register Login

Tables EKKO/CDHDR/CDPOS

Updated May 18, 2018

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.


Comments

  • 07 Jun 2011 6:43 am Shalesh Singh Visen
    The suggestion below won’t work, as there is no field that contains the ‘Release Date’.
  • 07 Jun 2011 8:40 am Shalesh Singh Visen
    AB-AEDAT - change date is the release date.
    or Other alternate
    Go to CDPOS table with Objectid = and OBJSCTCLASS = EINKBELEG and FNAME = FRGKE and NEW_VALUE = and get the CHANGENR from CDPOS. Then go CDHDR with the CHANGENR and get the update date..

×