Skip to Content
avatar image
Former Member

Change log to be captured in Report

Dear All,

I have a requirement in which my client wants to capture the changes made to the "Order reason" field in Sales order.

Is there a way, either standard or enhancement, by which we can fetch all the changes made to a particular document in Order reason field in a Z report?

Kindly suggest.

Thanks & Regards,

Rohan Gudavalli.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 20, 2011 at 02:52 PM

    Dear Rohan,

    Try function module "CHANGEDOCUMENT_READ_HEADERS" and object class as VERKBELEG, from there record changenumber field. now run another function module "CHANGEDOCUMENT_READ_POSITIONS" and pass this change number in that and you will find the desired results. You can ask your ABAPer to fetch the respective values in the required format.

    Hope that the information is enough and clear.

    Regards,

    Himanshu Kashyap

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 20, 2011 at 01:54 PM

    Hi,

    Use below tables to develop a Z report.

    Change Log Header - CDHDR

    Change Log Item - CDPOS

    Link above 2 tables with the key - OBJECTID, where change doc. object field equals to "VERKBELEG", Then get the OBJECTID (sales doc numbers) where CDPOS / FNAME = AUGRU

    Best regards,

    Rahal

    Add comment
    10|10000 characters needed characters exceeded