Log change documents in EKPO

Hi Experts,
I wish to thank anybody replying this message first.
I have some questions to be cleared, may be you can provide me some help.
To log changes on specific fiekds from a custom table, one has to use SCDO to generate change object and fct modules.
These fct modules shoudl be called from program to log changes in tables CHDR and CDPOS.
In the process of modifying a PO (me22n), I have several additional custom fields added in SAP table EKPO. These fields are available in PO trhough a custom tab on PO screen. I want to log the changes on these custom fields. The data elements of these fields are checked within change document check box. I modify the PO on several fields including custom fields , examine the content of CHDR and CDPOS and then find out that changes are logged for SAP EKPO fields modified but not for the EKPO custom fields.
So here is my question:
Do I have to call the generated changed document fct modules from an user exit or BADI prior to saving to have  the log changes or SAP handle it automatically ? If Yes, then which user exit or BAdi should I use ?
Thank you for your time
Dean Q.

I found that SAP log the changes aumatically
Thank u all

Similar Messages

  • Infotype Audit Log - Change Documents

    Hi All,
    There is a requirement to track the changes made to an infotype record. Before I set up the Change Documents (T585A, T585B, T585C), I would like to know if there would be a performance impact because of the logging being turned on.
    Regards,
    Divya

    Yes; there should be performance impact if you are tracking the log for big population company.
    When you choose field group definition node, try to choose only key field in which you want to track changes instead of all fields(*).
    Regards,
    Alen

  • How to config History Log Changes Document for Mkt Plan/CPG/TP?

    Working in SAP 4.0...
    Dear Expert,
    I want to save the document changes for Marketing Plan, Campaign and Trade Promotion.
    How to config the document changes, since the information that recorded not complete.
    Please help....
    BR,
    Robin

    Hello Robin,
    In  CRM 4.0 follow the below path:
    SPRO --> Customer Relationship Management --> Marketing --> Marketing Planning and Campaign Management --> General Settings --> Edit Categories for Change Documents
    Then maintain the entry for application as MKT for each entry, then under object type: CPG, CPT, MPL, MPT, TPM, TPT  and then Check box the entry under change document for all the entries.
    If you want to display the change log history use report : CRM_MKTPL_CD_DISPLAY in CRM 4.0
    Thanks & Regards
    Raja Pamireddy
    CRM Marketing Forum Moderator

  • Change documents or logs for Analysis authorisation access changes

    Is there a way to review the change history or table logs in BI 7.0 to show who assigned analysis authorizations and when it was assigned or removed?  I presume there should be a SUIM change document that shows the Analysis authorization access changes that are assigned directly to users via RSU01 or RESEADMIN when these analysis authorizations are not included in roles.
    An example area of concern is with the assignment of 0BI_ALL, having an accurate log or mechanism to track the assignments to users.

    Hi Srinivas,
    you can activate in DDIC that your entry changes will be logged.
    Go to SE11 -> Your Tablenname -> CHANGE
    Button TechnicalSettings -> Activate checkbox Log data changes.
    From now on any chenge will be logged in table DBTABLOG.
    Kind Regards
    Henner

  • 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

  • Using a change document for Z table maintenance generatro to log changes

    Hi Forum,
    I have created a a change document for one of the Z tables now I want to use it in the table maintenance generator of this table so that any changes made to this table using maintenance generator are logged in table CDHDR and CDPOS.
    I am using the event 02     After saving the data in the database
    and have created a new FORM..ENDFORM for this event and it is working fine till here.
    But I am unable to find any table or structure where the information of the action performed in maintenance generator is kept for eg. what action was performed like add, delete or change and on how many records and contents of those records.
    I can update the tables CDHDR and CDPOS only if I have the above information.
    Please guide me as to where can I find all this information within the maintenenace generator program?
    Thank you,
    Anubhav

    Hello Anubhav,
    Are you calling the change document function module in your save event ? The function module needs to be first created using SCDO for your Z table, select the fields on which you want to track the changes.  Auto generate the programs for this change object. Once the FM is generated, you will have to call this FM in your SM30 event.
    The change document tracking also needs to be enabled at the data element level..
    Regards,
    Jay

  • Material bapi custom field change to be logged in change document

    Hello all,
    I have just added a custom field to MARA table (materials), and updated it successfully via BAPI_MATERIAL_SAVEDATA.
    I would like now to log changes via change documents but problem : after having changed value from "A" to "B" for example, I don't see the changes (to do this, I call function CHANGEDOCUMENT_READ with parameter OBJECTCLASS = "MATERIAL" and get results from returned EDITPOS parameter).
    What is surprising me is that I can see changes of other standard and custom fields (this was done by other people in my company 2 years before but I don't have any trace what they did).
    Do you have any idea what customizing need to be changed or what else need to be done, to log changes of new custom fields into change documents?
    Thanks a lot.
    sandra

    In this transaction, there is nothing related to fields; there are only objects (like MATERIAL) and tables (like MARA).
    I can't see anything which makes the difference between our 2 custom fields MARA-ZZCOLLANA (which is logged in change documents) and MARA-ZZSSCOLL (which is not logged in change documents).
    For info, my SAP version is R/3 46C.

  • 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.

  • Log HR infotype changes without a Mod like Change Documents

    We need some help with a requirement. We need to monitor HR infotype changes. We would like to be able to trigger a event like a change pointer and IDOC. However, we are trying to stay away from mods to our system. We are needed fields from 0000,0001,0003,0006,0105. Most of the fields do not have Change Documents set and would required us to create a mod to flag the data elements. We also tried to trigger and monitor these changes in ZXPADU02 until we realized that once we get to 0003,0006,0105 in zxpadu02 we don't know what the person is inserting in that specific infotype, because the exit function module does not bring in information on changes to those infotypes. We would really like to be able to trigger off of a event without creating a mod. We would like to not have to run a program to read the logging files because we like the responsiveness and real time actions of triggering and not running a periodic program. We are trying to push these changes out of SAP.
    Thanks

    Have a look at HRMD_A05 this idoc type can transport the infotypes you mentioned and of course you can activate change pointers for that in bd50 (message type hrmd_a)

  • 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 log for fields if change document flag is not maintained?

    Hi experts,
    My requirement is display the change log details for the transaction FAGLGA32.
    In this transaction we have the Field Groups block.if any change is happened for field group we need to capture the change.
    the field for the field group is RKAL1-FGFLG1 and the data element is FGFLG.
    In the data element FGFLG, the flag CHANGE DOCUMENT is not maintained.
    How to get the change log details for the fields for which the change document flag is not maintained at data element level?
    Regards,
    Ramesh

    do a modification for the data element or try Audit Trail (depends on your release)
        Audit Trail (electronic records) / Tx AUT10, AUT01, XX-PROJ-ELR, OSS 564743,517613,564645
            Note 1058984 - FAQ: Audit Trail (Transactions AUT01-AUT10)
            http://help.sap.com/erp2005_ehp_03/helpdata/DE/fc/89683c1b5fb712e10000000a114084/frameset.htm
    cheers
    carsten

  • 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

  • No change documents exist in action log @ PM order

    I have created Z order type copying PM01 , when I am testing this for action loge it is giving message No change documents exist
    Am I missing some config ?

    Make sure you have activated change documents for the order type /plant combination under SPRO > PM > Maintenance and service processing > Orders > Settings for order type > Define change documents.
    Regards
    Narasimhan

  • 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

  • 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.

Maybe you are looking for