Change Documents for Material Class

Hi,
I activated the change logging for a specific Material Class. However, when I check the change log, there is a material class which will show the characteristic change in the following format. For example I modified characteristic ABCDEF from 1 to 2. The log will show the following:
Document Number 099999
ABCDEF - 1       Deleted
ABCDEF - 2       Created
There are other class types/characterisitcs whose change logging is also activated but the change log will only show the "Created" part. The old value (before change) is not shown.
Document Number 088888
ABCDEF - 2       Created
How do I turn on the logging in such a way that the deleted value (old value) will always be shown in the log ?
Thanks

We have the same issue just come up last night.   A test on one class last week yielded the 2 record change history model (old value deleted, new value created).  Applying the same change to a different material class, we get only the single record model - no help or oss notes seem to mention that there are two different change history models in SAP.
CHECK THIS -- check your single record change log in table CDPOS ... you may have values in both value_old and value_new fields there.  The 2 record model stores value_old on the "deleted" record and value_new field value on the "created" record.
That still does not answer why there are two models and how one controls which model is implemented for change history on a class/characteristic ... but it sheds just a little more light on it.

Similar Messages

  • Change Documents for Material Classification data Changes

    Dear Friends,
    We have configured custom classification objects for material master and also we are able to maintain the material characteristics using MM01, MM02 and also using ALE interface. But I am not able to find the Change Documents in any of the table CDHDR & CDPOS. Please let me know what needs to be done to capture the change documents for a material classification changes in this case.
    Many thanks for you inadvance.
    Beast regards,
    Mallikarjun.

    Change logging of all Classification (including Material Classification) is controlled in the Class type configuration.
    SPRO -> Cross Application Components -> Classification System -> Classes -> Maintain Object types and Class types -> Select Object Table = MARA -> Double Click Class Types under MARA -> Select Class Type 001 and Display -> Check whether "Change Docs" check box is checked on.
    Also check that another flag "Chg. docs for Class" is set on all Objects under the Class type too (by double clicking the Objects folder for a Class type).
    If the Change docs flag is checked on for the relevant Class type and Object then change docs are logged in CDHDR and CDPOS tables for object "CLASSIFY"
    Also the "Change docs" flag cannot be set unless the "Multiple objects allowed" flag is also set in the Class type configuration.
    Please refer [SAP Note 65124 - Classification Change Documents|https://service.sap.com/sap/support/notes/65124]
    Also the above note says and I quote: If "Multiple objects allowed" indicator is not set, start the RCCLUKA2 program. The classification data are converted and the indicator 'Multiple object types allowed' is set. Now you can set the indicator 'Change documents' in Customizing of the class type. However, it only says that change documents are generally possible for this class type. Therefore you have to select objects under 'OBJECTS' for which the change documents are to be written.
    So if the Class type doesn't have "Multiple objects allowed" set (along with Change docs flag not set), there is also a conversion that needs to be run using program RCCLUKA2.
    Also when you transport the configuration to a target system, the program RCCLUKA2 should be run again, refer [Note 379180 - Classification data disappeared|https://service.sap.com/sap/support/notes/379180 ]

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

  • Change document for material determination

    Hello all,
    I dont find the details of the changes ( change documents) made for a material with material determination, I think this is not stored in the standard SAP.
    Can someone help me activating this functionality  in the material determination table KOTD001.
    Thanks and Best regards,
    Ajit Patro

    go to SE11: enter the table name CDHDR, click display
    Then press CtrlShiftF10 ( in the field OBJECTCLAS enter "MATERIAL")
    AND execute you will get all the changes made to the material
    you will get the change number
    then take number and go to table CDPOS & Repeat the same and enter the number in OBJECTID field & execute
    hope this fixes your problem
    Cheers

  • Activating 'change documents' for notification item class 015

    Dear Experts,
    Kindly help me in activating  'change documents' for notification item class 015.
    Thanks and Regards,
    R N Sabat

    Hi R N Sabat
    The creation of change documents for the 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 check the 2 notes :
    80907 Setting the several objs.for each class type indctr
    65124 Classification Change Documents
    If you have any questions , please let me know .
    Enda.

  • Can't display archive change documents for agreement (COND_B)

    Hello,
    I want to display archive change document for object class : COND_B (agreement) via transaction MEB3:
    The archive works fine, and I can found the archive change documents form SARA.
    (Archive Objetc = CHANGEDOCU
    Archive info structure = SAP_CHANGEDOCU2 (is active))
    But the display from the application transaction : MEB3 doesn't work.
    In the DEBUG:
    the Function module is called automatiquely: COND_B_DISPLAY_DOCUMENT
    THEN SUBMIT RSSCD100
    THEN The function module is called with the no parameter READ_CHANGEDOCU (ie with space value)
    THEN the program reads only from DB
    Question : HOW I oblige the program to read from the archive  (READ_CHANGEDOCU = 'X') ?
    I checked these SAP notes 1050935,1299903, 1308024, 1128954, 1050335
    but no results.
    May be I forgot some customizing ( SARA,, AOBJ )?
    Thanks for your help.

    Hi,
    As I understand, the change documents archived using the CHANGEDOCU archiving object are no longer available using the application object.
    Refer to Notes 1257133 and 140255 where they mention the above point.
    If you want to read change documents along with the application, then you must first archive the change documents along with the application.
    In your case, for agreements, you should use object SD_AGREEM so that the change documents also gets archived along with the agreements. Refer to note 761281 to check whether the archiving class CHANGEDOCU is already defined along with object SD_AGREEM in your system.
    Hope this helps,
    Naveen

  • Change documents of material master classification class type 001 and 300

    Dear guru ,
    I want to see the history of change documents of material master classification using MM02.
    The system allow to see the history only for class type 023.
    For class type 001 or 300 the change document isnu2019t available.
    I must do some settings or the function for these class type arenu2019t available ?
    Thanks.

    Dear ,
    changes in values for a characteristic can be monitored in CL20N but as for MM02/MM03 transaction only for class type 023.
    For class type 001 or 300 the change document isnu2019t available.
    Thanks.

  • Generate change documents for characteristic value changes in material master

    Hello,
    I am currently using material class (class type: 001) and assign some characteristics to material master. I am going to create a query/custom report to track all changes in the characteristic values in that material master. However, I could not find any change document in CDHDR table.
    I have activated "Change Docs" parameter in class type 001 customizing as described in SAP note: 65124 Classification Change Documents as follow:
    Is it possible to generate change documents for characteristic values in material master?
    Regards,
    Julian

    Hi Rajen,
    Thanks for your reply. It seems that I missed one more step in the customizing. Once the multiple object is activated, I need to activate the change document parameter for each assigned object.
    Thread closed.
    Regards,
    Julian

  • Change documents for Classification View

    Hi,
    Can anyone please tell me how to activate Change documents for the Classification view of material master.  if we activate that one what will be consequences?
    Thanks in adavance

    CHANGING CLASSIFICATION VIEW FOR MATERIAL USING BAPI
    ->CREATE CHARACTERISTIC USING TCODE CT04
    ->CREATE CLASS USING TCODE CL01 .
    -> RUN THIS PROGRAM TO CHANGE THE CLASSIFICATION VIEW
    PARAMETERS: P_MATNR TYPE MARA-MATNR. "MATERIAL
    DATA: OBJECTKEY TYPE BAPI1003_KEY-OBJECT,
    OBJECTTABLE TYPE BAPI1003_KEY-OBJECTTABLE,
    CLASSNUM TYPE BAPI1003_KEY-CLASSNUM,
    CLASSTYPE TYPE BAPI1003_KEY-CLASSTYPE,
    ALLOCVALUESNUMNEW TYPE TABLE OF BAPI1003_ALLOC_VALUES_NUM WITH HEADER LINE,
    ALLOCVALUESCHARNEW TYPE TABLE OF BAPI1003_ALLOC_VALUES_CHAR WITH HEADER LINE,
    ALLOCVALUESCURRNEW TYPE TABLE OF BAPI1003_ALLOC_VALUES_CURR WITH HEADER LINE,
    RETURN TYPE TABLE OF BAPIRET2 WITH HEADER LINE.
    OBJECTKEY = P_MATNR.
    OBJECTTABLE = 'MARA'.
    CLASSNUM = 'MTS_CABLE_BIN1'. "CLASS(CREATED USING CL01)
    CLASSTYPE = '023'. "CLASS TYPE (023 FOR BATCH)
    CALL FUNCTION 'BAPI_OBJCL_CHANGE'
    EXPORTING
    OBJECTKEY = OBJECTKEY
    OBJECTTABLE = OBJECTTABLE
    CLASSNUM = CLASSNUM
    CLASSTYPE = CLASSTYPE
    STATUS = '1'
    STANDARDCLASS =
    CHANGENUMBER =
    KEYDATE = SY-DATUM
    NO_DEFAULT_VALUES = ' '
    IMPORTING
    CLASSIF_STATUS =
    TABLES
    ALLOCVALUESNUMNEW = ALLOCVALUESNUMNEW
    ALLOCVALUESCHARNEW = ALLOCVALUESCHARNEW
    ALLOCVALUESCURRNEW = ALLOCVALUESCURRNEW
    RETURN = RETURN
    LOOP AT RETURN.
    WRITE: / RETURN-TYPE ,RETURN-MESSAGE.
    ENDLOOP.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT =
    IMPORTING
    RETURN =
    BY VENKAT

  • What is the impact - Activating Change Logs for Material Classification Dta

    To activate Change Logs for Material Classification Data I must first set the flag for "Multiple Objs Allowed" for the Class Type 001 Material Class. I am curious of what the impact of setting this flag will be. Also, is there a way to measure the DASD impact of activating the Change logging for this data.
    Thankyou
    Kevin

    In addition to the performance impact the process of turning on Change Logs for Classification data will convert the tables KSSK and AUSP to use an internal SAP number as a key instead of the Material number. This will cause problems for any custom programs that access those files directly and expect the material number to be the key. This file conversion occurs during the execution of program RCCLUKA2 which is used to Flag the change logs for existing records. This can be reversed by running report RMCLINOB. Because of the above impact we decided here to NOT implement this change in production.

  • Change documents with persistent class

    Hi,
    I have created a persistent class and want to use a set-method to change data in the mapped table - nothing special.
    But: Does anybody know if there's a possibility to write change documents for the changed field without calling FMs like CHANGEDOCUMENT_SINGLE_CASE?
    There would be the event if_os_state~changed but unfortunately no information about the changed field itself is available in this event. Is it possible to redefine events?
    Thanks a lot for each answer!
    Best regards
    Jörg

    Hi Narin,
    thanks for your answer!
    The first point is plain to me (although I don't really feel happy about this ) but I have problems understanding your second point because I don't really know what "Business object events" are... I'll try a different phrasing, maybe this is better:
    My persistent class inherits the event if_os_state~changed. Can I redefine this event in my class so that I can add an additional parameter where I can put the information about the changed attribute?
    Jörg

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

  • Changes documents for BOM and Routing

    How Can I find the change documents for a BOM and routing?

    Change Documents For BOM
    CS80 - Material BOM
    CV80 - Document Structure
    IB80 - Equipment BOM
    IB81 - Functional Location BOM
    CS81 - Standard BOM
    CS82 - Order BOM
    CS83 - WBS BOM
    Change Documents for Routings
    CA60 - Task List Changes
    CA61 - Routing
    CA62 - Reference Operation Set
    CA63 - Rate Routing
    CA64 - Reference Rate Routing
    Hope the above may help you.

  • Change Document for Status Management

    Hi,
      I have a process order in which I have deleted a material component. If you click on the material button, then select a material which has been deleted and press the magnifying glass it will take you the details. Then beside the status field there is a Information button. Press it and it will take you to the change status field. Choose one of the status and in the menu click on extras -> change documents -> for status. I need the table fields for the change status which contains the object key, etc. I chekced the report behind it and have tried to pick up the status with regards to the material component. It does not display the material component status but the process order status which have been changed. I need the details for the changed material document and not the process order. ( Tried Table Jest but with no luck ).
    regards
    Aveek

    It is strange that you don't find any information for Change Documents in CDHDR or CDPOS. All change documents are stored in these two tables.
    You might want to check this as well :
    http://www.members.tripod.com/abap4/SAP_Functions.html and search for Change Document in that page
    Regards,
    Subramanian V.

  • Table to look for change documents for users

    Hi friends,
    Is there any standard table to look for change documents for a user?change document through SUIM does not give the correct log.
    Thanks for you support.

    Julius
    Looking at another of Tracy's other post (http://scn.sap.com/thread/3598947) she's trying to use ACL. Hence needing to know the tables to write joins/queries to hit tables within ACL
    I've seen ACL used and have had the fun experience of Auditors using Google to find tables to perform checks on without context of what has actually been implemented in their particular system.
    Regards
    Colleen

Maybe you are looking for