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

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 ]

  • How to use change document for AUSP table in MM02?

    Hi All,
    I am working with MM02. When I change the characteristic value in classification view, I want that change to be logged in CDHDR table.
    I have created a change document object for AUSP table and generated update program for that. Now that program needs to be called in some <b>badi</b> or <b>exit</b> which can be called upon saving in MM02 after changing the values in classification view.
    Can anybody give me some idea where can I call that program.
    Any help wud be appreciated.
    Regards,
    Pragya

    Hi
    You have 2 possible solutions to meet this requirement.
    Option 1: Implement point # 3 of SAP OSS Note 943559
    Option 2: This is a workaround solution to skip standard SAP check for activation of change documents of Classification system and allow entries to be written into CDHDR and CDPOS table through MM01 / MM02 / CL20N tcode
    Solution: Implement an implicit enhancement inside include program 'LCLVFF10', at end of subroutine 'FILL_REDUN' i.e. line number '337'.
    Here modify the entry of table 'REDUN' where OBTAB = 'MARA' and set the flag 'AEBLGZUORD' equal 'X'. This will activate the change document creation for Change Object 'CLASSIFY' in CDHDR and CDPOS tables.
    Sample Code
    LOOP AT redun WHERE obtab EQ 'MARA'.
           redun-aeblgzuord = 'X'.
    ENDLOOP.

  • Customize change docs for classification

    Hi all,
    I need to activate change documentation in order to be able to track changes for classification characteristics. In SPRO found that I can set it in Cross-Application Components >> Classification System >> Classes >> Maintain Object Types and Class Types
    I'm interested in tracking changes of materials so chose table MARA and class type Material Class but to activate change docs there is need to set first "multiple objs allowed" and to do it I had to start RCCLUKA2 program. I did it for my class type, program has finished, it has created 2 files in DIR_HOME (DSKSSK,DSAUSP). Files are still on application server.
    And here is my problem because checkbox "Multiple objs allowed" in SPRO still is not checked in spite of fact that program has finished without any errors. I tried to run report once again but got message: "Entries already exist in the INOB; check data"
    I checked table TCLA field MULTOBJ and it's is empty for my Class Type. I have no idea what to do. Please help what to do in such situation and how to activate this change documentation for classification.
    Thanks in advance for any help!
    Best regards,
    Darek

    There are a couple of reason but part of it is following the whole "Don't change SAP standard, rather create a copy with a z naming convention for changes principle".
    As a consulting company and given the fact that we are not the owners of the system, we sometimes don't have the opportunity to investigate if any objects are used elsewhere and in some cases, users themselves aren't aware that they are using the system in other areas (for example, some people don't realise that documents in the DMS are used in other areas like EH&S). By creating copies, we eliminate the possibility of making a change which may adversely affect another working area of the system that the project initiator is unaware of. It doesn't happen often that you make a change that impacts on others, but i'd rather take precautions than solve the issues afterwards.
    We've also found that in some cases customers are incorrectly using something for the wrong purpose. For example, we found someone using the document structure type for reporting areas in another area of PM so we couldn't implement EasyDMS because they had changed one of the standard object types.
    Edited by: Athol Hill on May 6, 2009 10:38 PM

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

  • 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

  • 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

  • Creation of Change document for HR Assignemnt Infotype in Transaction- CR02

    Hi,
       I have to create change document for HR Assignment in Transaction CR02.
    I have gone thru the documentation available in SAP help.
    Please help me if anybody has worked on it.
    Thanks & Regards,
    Alok.

    Hi Raja,
    I didn't quite understand what you mean by creating/changing data using transaction codes, because within SAP MDM 3.0 you are in a portal environnment and don't work with transaction codes.
    General remark: Information on the up-to-date MDM 5.5 is provided in the Service Marketplace. For an overview of MDM 5.5, see also http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/mdm/capabilities provided with sap mdm 5.5.pdf.
    Kind regards, Markus

  • Data for Classification View in Material Master

    Dear all,
    Can someone tell where the data for classification view is stored ??
    We are running a BDC and need to check whether classification view is maintained or not ??
    Thanks in Advance
    Regards,
    Vivek K

    Hi,
    Check the table MARA, there is a Field VPSTA. in this field the Material views will be stores with single charecters. so check for the Clasification view charecter
    also  it's PSTAT in MARA and MARC.
    Work scheduling                A                   
    Accounting                     B                   
    <b>Classification                 C</b>                   
    MRP                            D                   
    Purchasing                     E                   
    Production resources/tools     F                   
    Costing                        G                   
    Basic data                     K                   
    Storage                        L                   
    Forecasting                    P                   
    Quality management             Q                   
    Warehouse management           S                   
    Sales                          V                   
    Plant stocks                   X                   
    Storage location stocks        Z         
    Regards
    Sudheer
    Message was edited by:
            Sudheer Junnuthula

  • Change documents for created for Customer Master

    An existing program makes changes to the Customer master table KNA1. The changes are made at the table level using the UPDATE command. Since the changes are being made at table level, the change documents are not created.
    I need to create IDocs for all changes. So the question is, how to create change documents for changes to the particular fields being UPDATEd in the report program.
    I understand that a BDC program on XD01 screen should have been the best way for this, but I'm here to break-fix and trying to identify solutions with least development effort.

    Hi ganadeep,
    When an application makes any changes to an object it wrties change documents which are stored in the table CDHDR and CDPOS for each change made.
    BDCP table holds the change pointers which point to the change documents in the  CDHDR table.
    Regards
    Parag

  • 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

  • Export and import change document for user master data

    Dear Gurus,
    I have two queries on change document for user master data:
    1. Are there any approaches to export and import change document for user master data?
    We often do system copy from PRD to QAS for UAT and troubleshooting. Before system copy we export the user master data from QAS and then import after the copy process. We would like to keep the change document for user master data on QAS from being refreshed from PRD for security reason.
    2. Change document for Role change in QAS
    When the role is created or modified in DEV and then transported to QAS, the role change document doen't include this change log. The role change document in QAS only records those role changes directly made in QAS.
    Could you advise this is by SAP design or are there any approaches to record this transported role change  in the role change document in QAS?
    Thanks
    YBY

    1. Perhaps you want to consider a system copy to a "virtual system" for UAT?
    2. Changes in QAS (as with PROD as well) will give you the delta. They should ideally be clean... You need to check the source system.
    Another option is to generate the profiles in the target system. But for that your config has to be sqeaky clean and in sync, including very well maintained and sync'ed Su24 data.
    Cheers,
    Julius

  • Change document for LIKP

    Dear Experts,
        I need to create a customizing change event for LIKP,
    but I couldn't find the change document for LIKP.
        Did anyone has ever create change doc. for LIKP and
    share experience ?
    thanks in advance.
    Minter

    Dear Ramki,
           Thanks for ur first reply.But after I create event
    for the object LIEFERUNG, I could not see fields for table LIKP in SWEC.
    Regards,
    Minter

  • Shortcut to generate change documents for multiple user id access in ecc 6

    hi.
    i need to generate a report with changes to user ids within the last  month. i dont have access to sap notes. thanks

    apart from SUIM, you can also refer to below reports
    RSUSR100                                   Change Documents for Users
    RSUSR100N                                  Change Documents for Users
    RSUSR101                                   Change Documents for Profiles
    RSUSR102                                   Change Documents for Authorizations
    regards,
    Surpreet

  • 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

Maybe you are looking for