Change Documents for batch characteristics
Dear Guys,
Badly in need of your help !
In our project, we are required to report changes made on batches characteristics.
My program fetches records from CDPOS table that has change doc. object as 'CLASSIFY'.
The challenge is to find the new and old value. They are not directly stored in VALUE NEW and VALUE OLD. They are simply '1'.
I'm sure that they are stored somewhere in the database because the vlaue before and after change can be seen in the transaction mch3n via menu-> Display Change Documents.
I tried hard finding the table-field but looks like its not straight forward. This is really challenging.
Regards,
Ashok
Gert,
The change done in the project profile will only affect newly created projects.
Have you checked if change documents are created for new projects?
Hope this helps
Rgds
Martina
Similar Messages
-
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 adavanceCHANGING 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 -
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 ] -
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,
JulianHi 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 -
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
YBY1. 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 -
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.
MinterDear 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. thanksapart 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,
AnubhavHello 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 -
I know crm_jsto ,crm_jcdo,crm_jest, are table u used to document status changes in crm.Yet the quotation i create its guid is present in all the above tables except crm_jcdo.I need the old and new value of status on that particular day.I dont know y the inner join on crmd_orderadm_h and crm_jcdo returns no common guid.Kindly help.
Hi There,
Please take a look at the following table:
CRM_JCDS - Change Documents for System/User Statuses (Table JEST)
I hope it helps!
Kind Regards,
Gabriel Santana -
We use RAR 5.3 SP 14 and were wondering if there were any tables or reports that can show the change history upon mitigation added to a user. We can see the date that the mitigation was assigned to a user, but we can't seem to find the date when a mitigation was removed from a user.
For those that are questioning, we do use CUP for mitigations too, but we are mainly trying to find the change documents for RAR.
Thank you in advance.SAP Answered
"In 5.3, there is no change log for mitigation control assignment. The only option in 5.3 is if you configure the Workflow option for Mitigation, then a request would have been routed through CUP for
this change and then you could search in CUP for the history of the change. Specifically, under RAR in Configuration - Workflow - Mitigation, if this parameter is set to YES, anytime you would
add, remove or change a mitigation for a user, a workflow item would be sent through to CUP for approval before the change is actually posted.
However, if you don't have this configured, there is no change log of mitigation changes.
There is no change log table in RAR to track mitigation changes, sorry. The change log information is not retained in RAR for changes to mitigations. The only "change log" information in RAR is for
Configuration and rules. This data is stored in table VIRSA_CC_CDHDR and VIRSA_CC_CDPOS. Again, this is only for changes to configuration and changes to rules. This is the only data that RAR tracks
changes for.
Changes to mitigations are NOT stored anywhere in RAR. Please let me know if there is any concern." -
Change Documents for Reservation
Hi Masters
How to find the change documents for the reservation?.I have Checked it in MB22 and tables CDHDR and CDPOS.I found nothing.Is there any other T code for finding this?
Regards
MohanHi
Thank you for your reply
I checked with the Tcode TLR5.I have given user name only and i am not getting the change documents.Could you please tell me what i am missing?
Regards
Mohan
Maybe you are looking for
-
Itunes won't open Windows Vista Home Premium 32 bit
Today I bought an Itouch 8GB. I downloaded iTunes to get the latest greatest version. I ran the program and agreed to everything, took all the defaults. However when I launch it I get nothing. Just an hourglass and then nothing. I did a system restor
-
How do I attach a staccato to a note in Garageband '11
I'm trying to make a cover of the entertainer in Garageband using the score and effects, but I can't seem to figure out/find on the internet any way to attach a staccato in Garageband '11. A staccato is not a shorter note, but a sort of light, accent
-
How to use swing 3d to do a menu list ?
Is anyone know any good webpage to show some simples about swing 3d ? I want to do a menu which is using swing 3d . Thank you . regards jojo
-
Testing for applications associated with a file type
Dear contributors, while trying to open a simple *.txt file via java.awt.Desktop.open(File) the IOException is thrown. According to Javadoc there is "no associated application or the associated application fails to be launched" in this case. Interest
-
Hi, i dont know if the subject line makes any sense so allow me to elaborate. I have these two bytecodes, x.src and y.src. I use jcreator pro to write, compile and run these files. Is there any way i can set y.src to run as soon as x.src starts runni