Change Documents : Enabling

Hi,
I have a table which is a part of Change documents Object in SCDO object. but none of the fields for this table is enabled for change documents (the tab further characterisitcs of the data element has a field Change Document which is disbaled).
Will just enabling this, set this ready for creation of change documents in the table CDHDR.
I actually tried this on a Z object and it did not work.
I created a table, set it up in SCDO transaction. And even enabeld change doucment for this data element.
Can somebody help ?
Should there be some coding ? Should i run trigger some program ?
Prashanth.

Hi,
In your custom program, after saving all the details into the table(after commit work).
you have to call function module which was generated by SCDO.
Prerequisites: In Data element, flag need to be set.
Make sure while generation of function modules in scdo, you should get
                X<TABLENAME>  indicates new values
                Y<TABLENAME> indicates old values
In case you are inserting new record. you need to pass object_change_indicator 'I'.
In case you are modifing the existing record. you need to pass object_change _indicator 'U'.
Find below the sample code
      CALL FUNCTION 'XXXX_WRITE_DOCUMENT'
             EXPORTING
                OBJECTID                        = c_cd_item_change_document(object id created in SCDO)
                TCODE                           = Sy-Tcode
                UTIME                           = Sy-Uzeit
                UDATE                           = Sy-Datum
                USERNAME                        = Sy-Uname
              PLANNED_CHANGE_NUMBER           = ' '
                OBJECT_CHANGE_INDICATOR         = c_Ci_Update ('U')
                PLANNED_OR_REAL_CHANGES         = c_Ci_Real_Changes ('R')
              NO_CHANGE_POINTERS              = ' '
                UPD_ICDTXT_ZFSEI03_CLAIMS       = c_Ci_Update
                UPD_ZFSEI03_CLAIMS              = c_Ci_Update
           IMPORTING
              CHANGENUMBER                    =
             TABLES
                ICDTXT_ZFSEI03_CLAIMS           = t_Text_Changes
                XZFSEI03_CLAIMS                 = Pt_Claims_New_Values
                YZFSEI03_CLAIMS                 = Pt_Claims_Old_Values.
        IF SY-SUBRC <> c_Ex_No_Errors.
           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
Thanks

Similar Messages

  • How to display list of TCodes with Change Documents enabled

    Hi
    I have 42 transaction codes (e.g. QA11, QA12, QE51N, QE01, QE02, MM01, MM02) and I want to verify if "change document" logging is enabled for the critical data elements in these transactions. 
    I'm aware that you can individually check "change document" setting per table via SE11 > Enter Table Name > Technical Settings > “Log Data Changes” option.   Given the number of transactions (with multiple data elements) I need to check though, is there a  table in SAP where the field, table, tcode and existing change document setting can be viewed?
    Thanks
    T-code
    Description
    MM01
    Create material
    MM02
    Change material
    ME01
    Maintain source list
    MSC1N
    Create batch
    MSC2
    Change batch
    QA01
    Create inspection lot
    QA02
    Change inspection lot
    QA11
    Record usage decision
    QA12
    Change usage decision
    QA14
    Change usage decision without history
    QA16
    Collective usage decision for OK lots
    QA32
    Inspection lot selection
    QAC1
    Correct actual quantity in inspection lot
    QAC2
    Transfer inspection lot quantity
    QAC3
    Inspection lot – reset sample calculation
    QE01
    Record results
    QE02
    Change results
    QE51N
    Work list: results recording
    QM01
    Create quality notification
    QM02
    Change quality notification
    QP01
    Create Inspection Plan
    QP02
    Change Inspection Plan
    CS01
    Create BOM
    CS02
    Change BOM
    CC01
    Create Change Master
    CC02
    Change Change Master
    SU01
    Maintain authorizations
    SE38
    Execute program
    COR2
    Change process order
    CC22
    ECM Change Object Management Records
    MMDE
    Delete all materials
    COR1*
    Create process order with material
    QA08*
    Mass change of quality management inspection data
    C201*
    Create Master Recipe
    C202*
    Change Master Recipe
    C298*
    Deletion of Task Lists without Archiving
    QPR4*
    Process Physical-Sample Drawing
    COEBR*
    Batch Record Approval
    QPR1*
    Create physical sample
    QPR2*
    Change sample
    CV01N*
    Create Document
    CV02N*
    Change Document

    hi Raphael,
    you can also use following two table to view the change log at data element level:
    CDHDR - Change document header
    CDPOS - Change document items
    e.g. give the table CDHDR in SE16N enter your transactions field "TCODE", and date parameter, you can see the results.
    Regards
    Javed

  • Unable to proceed in change document are not updating in CDHD, CDPOS tables

    Hi all,
    This is a question related to Change document.
    I created one custom Change document object ‘ZBUDGETS’.
    As I am trying to place a trigger on FMIT (Total Funds Management) table I created a Change document object ‘ZBUDGETS’.
    I included some of the authorized fields from FMIT table on which we placed the trigger.
    And of course all those fields are change document enabled in the data element level. I generation of the update program was completed. And I got the function module zbudgets_write_document along with some include programs and structure.
    Everything is fine, But i am unable to get this change document generated information to these tables are CDHDR and CDPOS.
    the problem is when I make any expenditure like PO Posting, it will be logging in the FMIT table and the respective fields also updating. With this the Change document object should trigger and it should send the record in CDHDR and CDPOS tables. This is not happening. If the records are getting updated in the CDHDR and CDPOS tables I can use those include programs and function modules in my program to retrieve the changes in FMIT table.
    Since I am unable to proceed further since the documents are not updating in CDHDR and CDPOS tables.
    Prabhakar

    CDHDR and CDPOS will not be populated with entries only by creating the change document object.Change documents will be written to CDHDR and CDPOS tables only if the function zbudgets_write_document is called in the transaction which updates FMIT.
    You need to find an use exit in the transaction updating FMIT and call the function zbudgets_write_document in that exit.
    Refer the below link http://help.sap.com/saphelp_47x200/helpdata/en/2a/fa01b6493111d182b70000e829fbfe/content.htm
    -Kiran
    *Please reward useful answers

  • Activating change documents for standard tables

    Hi all,
    Can someone please tell me how I can activate change documents for a standard table.
    I created a change document object in SCDO and included the standard table I am working with. This table does not have "LOG DATA CHANGES' enabled in its technical settings. I checked the data element of the field I am interested in and it has "Change Document" enabled.
    Is there any way to activate change documents for a std table without writing code to create change documents? 
    Thanks.

    Hi,
    Check this transaction SCU3, this is to activate the change logs for the tables.
    Regards,
    Satish

  • This document enabled extended features in Adobe Reader. The document has been changed...

    I am trying to distribute an interactive order form to approx. 50 recipients with Acrobat X Standard which I purchased recently.  Computer is Windows 7.
    I can go through the form editing and distribution as usual, but when I (or a recipient) opens up the distributed form with Adobe Reader, they get the message: “This document enabled extended features in Adobe Reader. The document has been changed and use of extended features is no longer available. Please contact the author for the original version of this document.”
    Oddly enough, sometimes is does work, but 90% of the time it doesn’t.
    And I have another, older XP computer with Acrobat X installed, and it works fine 100% of the time – weird....can anyone help?

    Hi Ken
    We have so many people who have not updated they are trying on 9. I might just have to tell them we can’t support under reader 10.
    Thanks
    Tania
    Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity. -General George S. Patton
    Tania Lindenmayer \ Manager Organisational Shared Services \ Jabiru Community Youth & Children’s Services Assoc (Inc) \ Ph: (07) 3269 0044  Fax: (07) 3869 0675 \ [email protected]<mailto:[email protected]> \

  • MM02 - Enable options change number, change overview and change documents

    I am with the following problem: I enter the transaction MM02, I enter the material 1000765, I select the view "Classification". Later I access the environment option from the menu bar and options for change number, change overwiew and change documents are disabled.
    How do I enable these options change number, change overview and change documents?
    Regards,
    Sérgio Salomã

    Hi Sergio,
    If we activate the change documents for classification data, then we will be able to see the CHANGE DOCUMENTS for characteristic values through CL20N transaction (CL20N via menu ENVIRONMENT --> Change Documents) or MM02.
    For reference please check SAP Note 65124.
    For enabling change documents for classification data in SPRO --> Cross-Application Components --> Classification System --> Classes --> Maintain Object Types and Class Types.
    In this enter into MARA table entry. Inside that corresponding to the respective CLASS TYPE (say 001) enable the CHANGE DOCS check box in Classifications part (For enabling this please check SAP Note 65124). Then for this CLASS TYPE (say 001) inside the OBJECTS folder, enable the CHANGE DOCS CLASS checkbox also.
    Now in MM02 and in CL20N under menu Environment --> Change Documents you can view all the changes done to that characteristic values.
    Once the change documents is activated, then we can get the change documents details in CDHDR and CDPOS tables. The OBJECTCLAS may be "CLASSIFY". We can also use the "CLLA_CHANGE_DOC_CLASSIFICATION" function module to fetch the data from these tables.
    Hope this helps in solving your issue.
    Thanks and Regards,
    Harish kumar.

  • Problem with Change Document FM  - Not all fields are tracked in CDPOS

    Hello everybody,
    Using transaction SCDO and following necessary steps described in forum, I have created a change document ZFBR to track changes of a table ZFBR. The problem is, the generated FM ZFBR_WRITE_DOCUMENT does not track changes of some fields of the table (inserts are always ok, problem is with updates). After some debugging I realized that the FM DDIF_NAMETAB_GET was returning the table DFIES_TAB where the LOGFLAG was empty for some fields (which are not tracked) so that changes of these fields were not visible in table CDPOS. However, fields with LOGFLAG = 'X' are tracked succesfully (changes are visible in table CDPOS).
    I did not specify any fields to be get logged or not during the steps in SCDO (can we do such a specification anywhere?), does anyone know why the field LOGFLAG has the value '' (space)?
    Best regards;
    Ozcan.

    Hi again,
    The problem has been solved.
    The data elements used in a table are the reason for the problem I have described above. When displaying the details of a data element, under tab "Further Characteristics" , the "Change Document" checkbox has to be selected to enable change document tracking. I have copied the problematic data elements with Z prefix and made the necessary enabling. I have replaced the data elements with their Z equivalents.
    Best regards.
    Ozcan.

  • The Document Enabled Extended Features in Adobe Reader.

    Hi Experts,
    We are facing a problem while opening a PDF form that is editable. get below error message:
    The Document Enabled Extended Features in Adobe Reader,  The document has been changed since it was created & use of extended features is no longer available. Please contact the author for the original version of the document.
    Our requirement is like we received a PDF template from client. we added an image field by using Adobe LiveCycle designer to achieve user signature on the field & save the PDF form, once signature field is added; PDF form is opened in Adobe Acrobat X pro to enable readers extensions (open PDF form in Adobe Acrobat X pro -> File -> Save As - > Readers Extended PDF -> Enable Additional features.).
    Once this reader Enabled PDF form is uploaded in sharepoint Document library where from user can download this form on their local, open this PDF form is opened in Adobe Reader on their local system the Above mentioned message appears.
    Here we are using trial version of Adobe Acrobat X Pro, Can you please confirm if this error is because of this trial version? or some alternate approch.
    Thanks,
    Ram

    Check your computer's date.

  • Change documents for hr fields

    Hi All,
    I have a requirement in which we need to get the changes happening at field level in some Employee related (like PA0002) HR master data. We have checked that related fields, in those data elements check box is not enabled. For those changes we need to create interface program.
    I already created change document object in scdo T-code. For triggering the generated function module there is no relevant user-exit.
    For this we found one way of keeping the event trigger at database table level, and we found that we need to keep the form routine AB. But we don’t have any idea about the process methodology.
    Could you please tell me how to write the code in that related process routines in the standard tables? Or if there is another way is available to trap the changes at field level.
    Thank You.
    Regards,
    Srinivas.
    Edited by: Mike Pokraka on Aug 19, 2008 3:47 PM

    Hi ,
    Were you able to solve this problem , I am facing the same right now , Please advice .
    Sudheer

  • Remote Function Module for Change document Items.

    Hi Experts,
    I want a Remote Function Module to read Change document Items, can any please help me out. <removed by moderator>
    Thanks,
    Sridevi
    Edited by: Jan Stallkamp on Aug 25, 2008 8:25 PM

    If you are looking for the fm here it is.....
    you can check this CHANGEDOCUMENT_READ_POSITIONS fm and its documentation.
    If it is suitable for your requirement copy the same fm and make it remote enabled.
    I think it should work for you.

  • 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

  • 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

  • Change document required in CL20n

    Hi,
    I have prepared class (002) and assigned in CL20n.
    Now i change the value in CL20n.
    The "change document" or "Change history is not enable in CL20n.
    I want to check the change history / Change document that tell me which value got changed with user ID, time, date.
    Can anyone help me out.
    Thanks,
    Kruti

    Hi Kruti
    The creation of change documents for classification has to be activated for every class type. Go please to the customization of the appropriate class type:
    Cross-Application Components
    -> Classification System
      -> Classes
       -> Maintain Object Types and Class Types
    You will find there a flag to activate change documents.
    As a precondition you'll have to activate the flag 'Multiple objects
    allowed' before. If you already have classified objects
    for this class type these classifications has to be converted before.
    For the conversion of already existing classifications use please report
    RCCLUKA2. It processes the conversion and sets the flag 'Multiple
    objects allowed'. Regard please the documentation of report RCCLUKA2.
    Thereafter you'll be able to activate change documents for this class
    type.
    Please read the 2 notes which explain the process for activating change documents in Classification
    80907 Setting the several objs.for each class type indctr
    65124 Classification Change Documents
    I Hope the information helps
    Enda.

  • [svn:fx-trunk] 11027: Changes to enable using multiple style managers.

    Revision: 11027
    Author:   [email protected]
    Date:     2009-10-20 08:50:09 -0700 (Tue, 20 Oct 2009)
    Log Message:
    Changes to enable using multiple style managers.
    Multiple style managers are not the default yet. Can be enabled by compiling with -create-style-manager.
    QE notes: None.
    Doc notes: None.
    Bugs:
    Reviewer: Alex, Paul
    Tests run: checkintests, all mustella
    Is noteworthy for integration: Yes.
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColu mn.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItem Renderer.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexChangeEvent.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
        flex/sdk/trunk/frameworks/projects/halo/src/mx/skins/halo/BusyCursor.as
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension. java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceGenerator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
        flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependenc yRules.java
    Added Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSMergedStyleDeclaration.as

    add type: 'random', to the script below and see what, IF anything happens. I've added after fit: and height: (see below)
    <script type="text/javascript">
    // BeginOAWidget_Instance_2559022: #slideshow         slideshowAddCaption=false;
    $(document).ready(function() {
    $('#slideshow').cycle({
      after:   slideshowOnCycleAfter, //the function that is triggered after each transition
      autostop:   false,     // true to end slideshow after X transitions (where X == slide count)
      fx:    'fade,',// name of transition effect
      pause:   true,     // true to enable pause on hover
      randomizeEffects: false,  // valid when multiple effects are used; true to make the effect sequence random
      speed:   2000,  // speed of the transition (any valid fx speed value)
      sync:   false,     // true if in/out transitions should occur simultaneously
      timeout:  5000,  // milliseconds between slide transitions (0 to disable auto advance)
      fit:   false,
    type: 'random',
      height:     '600px',
      width:         '0px'   // container width (if the 'fit' option is true, the slides will be set to this width as well)
    function slideshowOnCycleAfter() {
    if (slideshowAddCaption==true){
       $('#slideshow-caption').html(this.title);
    // EndOAWidget_Instance_2559022
      </script>

  • A report for the changed document histroy ...

    Hi experts,
    I want to write a program which can display all the delivery documents changed history ...
    Of course i only care the delivery number , qty & date ...
    As i know there has one TCODE : VL22 can display only one delivery document's detail .
    but it is not easy to looking for some delivery documents at the same time ...
    if i want to display all the delivery document how to do it ???
    Has some BAPI i can use in here ????
    Best Regards,
    Carlos

    You can refer to the tables - CDHRD and CDPOS for this.
    In CDHDR pass the Object class = 'LIEFERUNG'
    and  Object value = Your Delivery Number .
    You will get the list of Change Documents. With same information you can go to CDPOS to find out what exactly was changed.
    You can use the following FMs also -
    CHANGEDOCUMENT_READ_HEADERS
    CHANGEDOCUMENT_READ_POSITIONS
    Hope this will enable to you to come up with your own report for viewing history of multiple Deliveries.
    As these CDHDR and CDPOS contains all the change related informations , the performance of your report might be not very impressive if you try to do a wildcard search. Make sure you have some Delivery Numbers with you before you go into CDHDR/CDPOS.

Maybe you are looking for