Get change documents log

Hi Experts,
I need to get the same log that we get in transaction CRMD_ORDER when we go to 'Extras->Change Documents'.
This log didn't seemed to be quite difficult to find but I can't find a way to get it by code.
I have searched for many BAPIs and I have also searched the forum. There are many similar questions but I don't find an answer for this, so I'm asking you.
Can anybody help me with this?
Thanks in advance,
I won't forget the reward points.

Well, this has been a little hell.
I tried the CHANGEDOCUMENT functions before and it seemed I couldn't use those. I have been debugging for a long while and finally I have found this function:
CRM_CDORDER_DISPLAY
It's exactly the function I was looking for, it's the one the system uses to display the log. The only problem was that you have to mark the 'I_NO_DIALOGUE' flag to avoid the dialog window where you get the log and that you have to know which is your object type.
No problem with that so, question answered. I am writing this for people to know the solution.
Thanks anyhow to everyone who has replied.

Similar Messages

  • Change document log not created for customer in Batch input/BDC

    Hi Guys,
    Change document log is created when you manually change the customer using XD02 but when run the Batch/BDC the values are Changed but the change document is not created.
    Please someone can give me some hints?
    Luca.

    Any update guys????
    Regards,
    guru singh

  • Change document logs

    Hi experts.
    Do somebody know how can I plan the deleting of the change document logs?  It's the CDHDR table.
    This morning I've found that this log has been emptied and we need this information for some important workflow reports, on concrete words, this is being happening for some object class such like "material".
    Thanks and Regards.
    Ismael

    So you have the update (V2) FM to update change document, but did you also create an update (V1) FM to update the database table (Similar to following sample.)
    CALL FUNCTION 'Z_YOUROBJECT_UPDATE_V1' IN UPDATE TASK
       TABLES
         xztable = xztable
         yztable = yztable.
    CALL FUNCTION 'Z_YOUROBJECT_WRITE_DOCUMEN_V2' IN UPDATE TASK
       EXPORTING
         objectid                = objectid
         tcode                   = tcode
         utime                   = utime
         udate                   = udate
         username                = username
         planned_change_number   = planned_change_number
         object_change_indicator = cdoc_upd_object
         planned_or_real_changes = cdoc_planned_or_real
         no_change_pointers      = cdoc_no_change_pointers
         upd_ztable              = upd_ztable
       TABLES
         xztable                 = xztable
         yztable                 = yztable.
    COMMIT WORK.
    Regards,
    Raymond

  • Location where the change document log is stored

    Hi all,
    In SRM bidding process, I need the initial bid price and the final bid price, quantity before negotiation and after negotiation, PR or project number for that bid invitation number. Can anyone tell me where these are stored. Actually I want to know where the changed document log is stored.
    Regards,
    Asha

    Hi Asha,
    AFAIK there is no Project Number in Bidding Engine.
    Until Quote versionning (SRM 6.0 ?), there is no other way than looking at change documents.
    All changes are stored in change tables: CDHRD and CDPOS.
    You can try to reuse FM BBP_CHANGE_DOC_GET_NEW.
    Rgds
    Christophe
    PS: please reward points for helpful answers.

  • CJR2 Change Documents/Log

    Hi All,
    Searched threads but not found appropriate reply so raising this new thread.
    Can you please suggest where we can get change log/Documents for CJR2 transaction code? Or its not avaiable there in SAP?
    - Swapnil Kharul

    search the thread for plan cost line items, you will find many.

  • Get change document data

    How do we get the change document data to be used in a workflow,
    I have made entry in swec , there i associated the change object and my zbo delegeted from standard bo and specified the event as "on change". now i want to send a mail using this changed data.
    I have two options either i use an exit fm to trigger the mail or use a workflow to trigger tha mail, but how do i use the changed data that i get from cdhdr, i need to specify these fields in tha mail body.
    or if i choose to use an exit fm how to do it.
    regards,
    кu03B1ятu03B9к

    Hello,
    Create a new background method in the ZBO to get all the required details from CDHDR and CDPOS tables. Export them from the method as separate variables or as an internal table.
    Create a task in the workflow to execute this method before the sendmail step. Once the data is exported from the method, it is going to be available in the workflow container and so you can use the same in the SENDMAIL step.
    Hope this will help.
    Thanks,
    Samson

  • Change documents (Log) for TRs & TOs

    Dear Experts,
    Our requirement is to have change log for tracking changes related to TRs & TOs.
    Please let me know how can I achieve this.
    Thanks in advance.

    As per my best knowledge there's no change document for transfer orders (WMS) in standard system.
    CDHDR and CDHPOS are data tables as it was clearly said - but in this case you cannot use them.

  • Change document log for Infotype 0033 Statistics

    Dear experts,
    I must log IT0033 Statistics as we do for other infotypes using report RPUAUD00. As only subtype is filled log doesn't show changes for it.
    Could you help me with that? I've tried with SCU3 but as PA0033 in marked as not logged it doesn't work also.
    Thanks in advance and have a nice day,

    Please check if configuration is maintained in the below SPRO path:
    IMG->Personnel Management->Personnel Administration->Tools->Revision->Set up change document
    If infotype is not maintained, try maintaining it for :
    HR documents: Infotypes to be logged  - Tr Class - 'A', Infotype - '0033'
    HR documents: Field group definition    - Field group - '01', Field name - '*'
    Now re-run the report RPUAUD00 after making changes to IT033 record.

  • How to get change documents for Equipment Master Records of a document?

    Hi experts,
    I need a report for changes of Equipment Master for a document.
    There is a way to reach this for every document : Environement - > Display Changes. Then I can get a report for "Changes to Object Links". But this can only show me that which equipments are linked to this document. What I want to search is which documents are linked to the equipment. I want to search with equipment number and get the history of changes for documents, Which documents are attached to this equipments and when did these documents attach to the equipment.
    Can I get this report with standard SAP queries / reports? Where can I get this informations? From which tables?
    PS: If i run a search with Equipment Master Data form CV04N, I can see which documents are linked to this equipment but I can't see when they are attached.
    Thanks in advance.

    .. but I can't see when they are attached...
    In CV04n,in Object Links tab,provide your search input criteria.Once the results are displayed,navigate to Current Layout button.Herein,move the 'Output Date' value to Displayed Column list.
    Once done,you should be able to view the date on which the DIR with associated objects(Eg: Equipment Master) was created.Hope this helps!!
    Regards,
    Pradeepkumar Haragoldavar

  • Change documents log for Header texts of Sales order

    Hi ,
    Does any body came across seeing the changes in the texts in the change logs in the sales order ?
    Can anyone of you provide me the way to activate the change logs for the long texts
    Regards,
    Ajai.

    Kapil,
    Before my current project I was with the same opinion. But at my current client I saw the header texts being logged for the purchase order. I.e if we change the header texts for the PO, we can see the changes in the change log history of the PO.  Thats where I got trouble into.  The business shows the PO history and expecting the same in SO too.  I was unable to figure out how the PO header texts changes were being logged.
                Coming to performance, the clients volume of orders is not too high.
    Lets see any of our SDN friends come up with some hints..
    Regards,
    Ajai.

  • Get ZTABLE Old - New  Field Values for Change Document History Log

    I have done all necessary log configuration for ZTABLE and able to see change document log via SCU3. My problem is that I have to write FM which returns Log History for a specific period. As I have gone throught the Report RSVTPROT. But not able to get how the log data is displayed.

    Hi,
    Try checking the FMs..Sorry I am not sure which one gives the log....These are the FMs called in the program RSVTPROT.
    DBLOG_READ
    DBLOG_READ_WITH_STATISTIC
    Thanks,
    Naren

  • Change Document program Generation

    Hi all,
    We are trying to capture changes to several ECC tables. We want to capture any change to that table. We want to know what kind of change (Insert, delete or update) and then the key of the record that has changed. Our goal is to capture the most updated information from a table after a change.  In order to achieve that we are using a process in which change document objects are created and changes are logged as change document in CDHDR and CDPOS tables. I have generated a program to extract data from CDPOS and CDHDR table. The following link describes the whole process of change log enablement
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm
    a. Created a Change Document Object /TEST/ZXXXXXXXXXXXXX using transaction SCDO and assigned the tables to that Object.
    Following function modules and generated parts are automatically generated, followed the above SAP Help document.
    Include programs and function modules
    Data declaration, TOP...................... /TEST/FZXXXXXXXXXXXXCDT
            Consisting of............................. /TEST/FZXXXXXXXXXXXXCDF
               and....................................... /TEST/FZXXXXXXXXXXXXCDV
    Update function module..................... /TEST/ZXXXXXXXXXXXX_WRITE_DOCUMENT
    Call updates function module................ /TEST/FZXXXXXXXXXXXXXCDC
    I have included the generated /TEST/FZXXXXXXXXXXXXXCDT and /TEST/FZXXXXXXXXXXXXXCDC
    to the main program of function module SAPLZxxxxx.  But I am getting syntax error in the Include /TEST/FZXXXXXXXXXXXXXCDC xxxxxx variable is not in the main program.
    I need some help on this:
    a.       As per SAP response what steps are left?
    b.       Is there any other configuration step that we need to perform? The attached document talks about transactions SWED, SWEC and SWO1 in appendix D: Connecting Change document to work flow. We would like to understand if it will be relevant to our enablement work or can we by pass this and still be able to enable the change document logging for our tables
    Any help is greatly appreciated...
    Thanks,
    Mili.

    Instead of the main program SAPLxxx, try to put include /TEST/FZXXXXXXXXXXXXXCDT  into the TOP include of the main program. TOP include porgram name would be like LxxxxTOP. Try to compile it again.
    Regards,
    Naimesh Patel

  • BADI: BBP_WFL_EMPL_WI_BADI - Read change document

    Hi,
    I am implementing BADI BBP_WFL_EMPL_WI_BADI to be able to decide when the SC should return to requester or not. For some changes like increased value we want to send WI to requster and for some changes like decreased value we do not want to send SC to requester. To be able to decide this we need to read the change documents. I have tried to use FM BBP_CHANGE_DOC_GENERAL, but at the time the BADI is called the change doucment are not avaliable. Do anyone know if there is a FM (or other way) avaliable to read the change doc from memory instead?
    Our release is SRM 5.0 server 550
    Regards,
    Christine

    Hi
    <b>Please go through the following pointers which might help.</b>
    <u>Re: Is possible to avoid requester have to accept after a partial rejection
    Re: Vendor changes tracking, Payment term filtering, Vendor listing
    Re: location where the change document log is stored
    G/L Account for Extension Service PO Value In-Correct
    Re: Get PO modifications?
    Re: Change log table for Vendor Bidder information?</u>
    Regards
    - Atul

  • Change Documents for IBAN

    Dear colleaguesu2019
    Iu2019m developing a report and I need to get change documents for IBAN. I found a FM: BAPI_IBAN_GETDETAIL but this gives me the IBAN details, I also want to have when and by whom IBAN is changed.
    Although I search the forum but I wasnu2019t able to find a suitable way of getting this requirement.
    I need your valuable thoughts
    Best regards

    Have you checked the table CDHDR/CDPOS ?
    I don't remember the object class (Try to pass these info into CDHDR and check)
    OBJECTCLAS
    OBJECTID
    CHANGENR
    USERNAME = <== username
    UDATE = <==date
    May be this hint help you out.

  • Change documents for item class 015

    Dear Experts,
    Kindly guide me how to get change documents for notification item class 015.
    THANKS & REGARDS

    Hi,
    All the changes in the documents will be located in CDPOS and where as the status change documents are located in JCDS.
    What we have to do is to enter the  correct object number.
      i think by this you get the issue resolved.

Maybe you are looking for