CJR2 Change Documents/Log
Hi All,
Searched threads but not found appropriate reply so raising this new thread.
Can you please suggest where we can get change log/Documents for CJR2 transaction code? Or its not avaiable there in SAP?
- Swapnil Kharul
search the thread for plan cost line items, you will find many.
Similar Messages
-
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 -
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.
IsmaelSo 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 -
Location where the change document log is stored
Hi all,
In SRM bidding process, I need the initial bid price and the final bid price, quantity before negotiation and after negotiation, PR or project number for that bid invitation number. Can anyone tell me where these are stored. Actually I want to know where the changed document log is stored.
Regards,
AshaHi Asha,
AFAIK there is no Project Number in Bidding Engine.
Until Quote versionning (SRM 6.0 ?), there is no other way than looking at change documents.
All changes are stored in change tables: CDHRD and CDPOS.
You can try to reuse FM BBP_CHANGE_DOC_GET_NEW.
Rgds
Christophe
PS: please reward points for helpful answers. -
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. -
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. -
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. -
Change documents log for Header texts of Sales order
Hi ,
Does any body came across seeing the changes in the texts in the change logs in the sales order ?
Can anyone of you provide me the way to activate the change logs for the long texts
Regards,
Ajai.Kapil,
Before my current project I was with the same opinion. But at my current client I saw the header texts being logged for the purchase order. I.e if we change the header texts for the PO, we can see the changes in the change log history of the PO. Thats where I got trouble into. The business shows the PO history and expecting the same in SO too. I was unable to figure out how the PO header texts changes were being logged.
Coming to performance, the clients volume of orders is not too high.
Lets see any of our SDN friends come up with some hints..
Regards,
Ajai. -
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 -
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 -
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 Documenthi 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 -
BADI: BBP_WFL_EMPL_WI_BADI - Read change document
Hi,
I am implementing BADI BBP_WFL_EMPL_WI_BADI to be able to decide when the SC should return to requester or not. For some changes like increased value we want to send WI to requster and for some changes like decreased value we do not want to send SC to requester. To be able to decide this we need to read the change documents. I have tried to use FM BBP_CHANGE_DOC_GENERAL, but at the time the BADI is called the change doucment are not avaliable. Do anyone know if there is a FM (or other way) avaliable to read the change doc from memory instead?
Our release is SRM 5.0 server 550
Regards,
ChristineHi
<b>Please go through the following pointers which might help.</b>
<u>Re: Is possible to avoid requester have to accept after a partial rejection
Re: Vendor changes tracking, Payment term filtering, Vendor listing
Re: location where the change document log is stored
G/L Account for Extension Service PO Value In-Correct
Re: Get PO modifications?
Re: Change log table for Vendor Bidder information?</u>
Regards
- Atul -
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 -
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 -
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
Maybe you are looking for
-
How to use delay using boolean inputs
dear sir I have created a AND logic where when both inputs are high using boolean switches output should become high green led should glow after 5seconds and other than it output should be false red led will glow. basically I want to use delay fun
-
How to see documents from my computer in icloud
I must be really slow because I have no idea how to see documents from one computer to another or my devices using icloud. I have Lion and Pages on my home computer and my laptop. I have an iCloud account. So how do I get the pages documents that
-
Control, design and simulation
Hello everybody, I am trying to run a simulation in Control Design and Simulation module. My simulation consists of various simulation systems. The subsystems are working as desired when run as separate units, but when I run the complete system, the
-
HP7520 Connected to Wireless Network, shows up on Wireless Laptop, Unable to Connect
After working fine for several months (aside from turning itself off and needing to be unplugged and re-plugged all the time) my HP7520 will no longer print from any of the Laptops in our home. The printer says it's connected to the network, shows up
-
Mac OS X 10.6 doesn't install on 10.7
I installed Mac OS X 10.7 Developer OS X on my Mac, After 2 days when I switch on it takes hours to boot but it Login screen doesn't show up.