Regarding Change Document
Hi,
I need the reading material for Change document ( SCDO ).
Hi,
Check this link.
http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/content.htm
Thanks
Naren
Similar Messages
-
Regarding change document creation
hi all
I created the change document & there i mentioned the master data table name TCJ1T (Project types)
Updation to this table is done via standard tcode SPRO
but my log entirs are not going in CDPOS , CDHDR
now my question is :
by creating the change document, when i run the standard tcode where exactly the change document will be called to log the entriesHi
Where you have created the change doc?
in <b>SCDO</b> tcode
Activate the object after creation and giving the table name
Once it is created entries should come into CDHDR and CDPOS tables.
Reward points if useful
Regards
Anji -
Regarding Change document read
Hi All,
Am using Change Document read function module to find out the changed material details. i want to fetch the plant from marc to filter the records am having the only relationship i.e material to fetch the details from marc and mara,with this i can't filter because for one material four plants will be there.so am using the tabkey from that function module to fetch the plant i don't think is this a right way can anyone explain how i can get a plant.Think you query is misleading...
As per my understanding you are trying to find all changes for materials in a specific plant right????
If so below code can give you some idea:
TABLES: mara.
SELECT-OPTIONS: so_date FOR mara-laeda. " Date Criteria
PARAMETERS: p_werks TYPE werks_d obligatory. " Plant
CONSTANTS: c_tcode TYPE sytcode VALUE 'MM02'.
TYPES: BEGIN OF ty_marc,
matnr TYPE matnr,
werks TYPE werks_d,
END OF ty_marc.
DATA: i_cdocs TYPE STANDARD TABLE OF cdred, " Change Docs
wa_cdocs TYPE cdred,
i_marc TYPE STANDARD TABLE OF ty_marc, " Plant Existence
wa_marc TYPE ty_marc.
START-OF-SELECTION.
" Read Change documents
CALL FUNCTION 'CHANGEDOCUMENT_READ'
EXPORTING
date_of_change = so_date-low
objectclass = 'MATERIAL'
date_until = so_date-high
TABLES
editpos = i_cdocs
EXCEPTIONS
no_position_found = 1
wrong_access_to_archive = 2
time_zone_conversion_error = 3
OTHERS = 4.
" Delete documents where materials are not changed
DELETE i_cdocs WHERE tcode NE c_tcode.
CHECK NOT i_cdocs[] IS INITIAL.
* Check for Material existence in Plant
SELECT matnr werks INTO TABLE i_marc
FROM marc
FOR ALL ENTRIES IN i_cdocs
WHERE matnr = i_cdocs-objectid(18)
AND werks = p_werks.
LOOP AT i_cdocs INTO wa_cdocs.
READ TABLE i_marc INTO wa_marc
WITH KEY matnr = wa_cdocs-objectid.
IF sy-subrc EQ 0. " Material Defined in specified plant
" Further Processing statements
ENDIF.
ENDLOOP.
Correct me if my understanding is wrong.
Regards
Eswar -
Regarding change document generation
Hi,
In t-code SCDO, for one object class STUE_V I have added one new table MAST and generated the same. But while I execute my t-code CS01, the same is not appearing in exporting parameters in the standard program where it is calling my generated fucntion module.
Hence it is giving dump. This is part of BOMMAT idoc change pointer creation.
Could someone shed some light on this as I am really stuck here.Hi
Have you tried generating after adding the table in the class ? This is more a generation issue. Might be the include LCSVBF30 has not got properly generated.
What I feel is if you are adding a table to a standard class then you must also change the code yourself and SAP is not changing the where used list of the update function calls.
Refer
http://www.scribd.com/doc/12627676/Logging-Using-Change-Document
http://help.sap.com/saphelp_nw04/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm
http://wiki.sdn.sap.com/wiki/display/ABAP/Change+Document
note - 0000391833 - No change documents for object dependencies change
Regards
Vijay -
Regarding change document objects
hi to all,
I created one change document object for one transaction say /tmw/tmw . Now I am trying to make changes in /tmw/tmw . table cdhdr and cdpos table are not updating anymore. but cdhdr and cdpos table are updating while passing data to function module /TMW/CHG_OBJ1_WRITE_DOCUMENT in se38 program. MY problem is tables are not updating while make changes in transaction(/tmw/tmw) screen . please help me .
thanks in advance
Edited by: mohankumarreddy on Jan 4, 2010 10:22 AMThe transaction you are using must contain the write document function modules.
steps:
1. Create the change document. (Use the transaction SCD0.)
2. Activate the change document for the object. (Use data element maintenance: transaction SE11.)
3. Generate an update for the object. (Use the transaction SCD0.)
4. Insert the appropriate calls in the corresponding programs "<----
Your write document will be havng fm's like CHANGEDOCUMENT_OPEN etc.
The same must be incorporated in your transaction also.
check sap help
link:[http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/content.htm] -
Regarding change documents in Project module
Hi All
Can we write change pointers in CDHDR table when we change the status of the project .
When I change the status of the project then status of the network is also changed.
Now my requirement is , as soon as the status of the network is changed ,entry should be recorded in to CDHDR.
I am able to record the changes when description or other things of the nework are changed but facing problem for status change.
Can we achieve this ?Thanks Sreenivas,
This I am already doing and I am getting the records in JCDS as well as JEST table .
I just need to know is there any way through which we can write these records in CDHDR and CDPOS table. Because I am using SMD tool .
So i have created my own message type and done some configurations in BD52 transaction . When I run program RBDMIDOC program , this program reads all entries from CDHDR and CDPOS table based on the selection criteria defined in BD52 and log them into BDCP table. From BDCP table then I read these entries and perform my functionality.
When I change anything apart from status in the network it is logged in CDHDR and CDPOS. Status is going into JCDS and JEST table.
Now I need a advise from you , if i have to send the network record as an idoc to third party as soon as the project is released then what should i do. Is there any userexit on the save of CJ20N transaction or some other technique? -
Quirey regarding BOM change documents display -records not able to underst
Hi,
While viewing Change documents of BOm through CS03--Environment --change documents ....the following is being displayed
what does it really refers to ?
user id is ofcourse :RNDCORE
can any one provide some inputs ? what it refers and where to get the entire details of these deleted ....records ?
55564677 16.07.2008 12:24:33 RNDCORE CS02
STAS 777M00016605010000013300000267 Deleted
STPO 777M000166050000013300000266 Deleted
regards,
Madhu Kiran>
> STAS 777M00016605010000013300000267 Deleted
>
> STPO 777M000166050000013300000266 Deleted
>
>
> regards,
> Madhu Kiran
Hi,
It says:
STAS 777M00016605010000013300000267
777 -Client
M -Material BOM
00016605 - BOM
01 - Alternative
00000133 - Item Node
00000267 - Counter
Similarly for STPO 777M000166050000013300000266 also.
Hope this Clarifies.
Regards,
Siva -
Regarding Workflow trigerring using change document
Hi all,
I am trying to trigger a workflow using change document object.
I want that to trigger the workflow on the material master change through MM02.
I have created a business object ZBUS1001 and wanted that on change of material master
the custom change document object should call the workflow
I went through all the material avaialable over SDN ,but can not find a change object for change in material master through MM02 for std business object BUS1001.
Please tell me how to find one.
Please reply if any one of you have some solution.Hi,
Thanks for your reply.
I am using an existing change object - MATERIAL_N of Business Object - BUS1001 and the event
BASICMATERIALCHANGED.
I have mentioned the details in the tcode SWEC.
And even in the workflow i have given the start of event as the BUS1001 and event BASICMATERIALCHANGED.
But workflow not called .
Do we need to maintain an entry in SWED?
If yes then in function module column what we need to mention. -
Regarding a Change Document Function Module ----- VERY VERY Urgent
I am using a Change Document Function module "CHANGEDOCUMENT_READ". It is taking a long time.
I am using the parameters:
Start date is the first date of the current month
Enddate as last date of the current month
Object class as 'MATERIAL'
Table Name as 'MBEW'Hi ,
When you want to read the change documents, please follow the below process.
1. Read the change documents headers with function modules
call function 'CHANGEDOCUMENT_READ_HEADERS'
exporting
date_of_change = cdhdr-udate
objectclass = cdhdr-objectclas
objectid = cdhdr-objectid
time_of_change = '000000'
username = cdhdr-username
tables
i_cdhdr = gt_cdhdr
exceptions
no_position_found = 1
wrong_access_to_archive = 2
time_zone_conversion_error = 3
others = 4.
2. From above step you will get data of change documents very quickly into Itab (gt_cdhdr)
3. Read the details on change documents with functiion module by using Itab in loop for each document.
loop at gt_cdhdr.
call function 'CHANGEDOCUMENT_READ_POSITIONS'
exporting
changenumber = gt_cdhdr-changenr
importing
header = cdhdr
tables
editpos = gt_cdshw
exceptions
no_position_found = 1
wrong_access_to_archive = 2
others = 3.
Above is the best way to read the change documents.
Rewards please if above info is useful.
Thanks. -
Issue in generation of Change Document - ChaRM
Dear All,
We are implementing ChaRM, I have copied the standard transaction type to z.
I am able to create request for change with transaction type zmcr but when the normal change or urgent change document are created they have standard transaction type.
I have made the changes in SPRO (Defining copy control of transaction type) but still document are getting generated with standard transaction type.
Please attached document of copying control.
Thanks in advance
Regards
SushantI have removed zmcr - smmj but now the change document is not getting generated. Please see the screen shot attached.
Regards
Sushant -
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. -
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 -
F150 dunning- create change documents in FI journal
hi all,
when running F150 in update mode the dunning information is updated in the FI posting.
however, no change documents are created for the FI posting.
Is this possible to achieve and how?
If I change dunning fields manually via FB02 I get the change document for those fields. I would like to get this also for the F150 program execution.
Thanks in advance
HeinHi,
maybe SAPNET note 609773 is helpful (depending on your SAP Release).
best regards, Christian -
Change Pointers - adding a new field to existing Change Document
Hi,
We have a requirement to capture the changes made to the Material object through the transaction C223. The changes to field MKAL-PRFG_F have to be captured.
There is an exisitng Change Document Object - MATERIAL. This is included in Message Type MATMAS. These are the steps we have done:
1. In SCDO - added the Z structure to the Change Document Object - Material. [Z structure contains the field MKAL-PRFG_F. Change pointer option is checked for this Data element.
2. Created a Z Message Type with reference as MATMAS.
3. In BD52 - we have listed the fields for the new Z Message Type created.
4. The Change Pointers - reactivated after the steps are done.
The changes to the field MKAL-PRFG_F through C223 Tcode are not recorded in BDCPV table.
Have we missed any steps here?
Thanks,
PallaviHI,
I don't think a new zmessage type is required in this case.. is the structure added to MARA table??The change document programs are there which triggers the iodcs... In SCDO transaction code , click on generation info for MATERIAL.. You will find the includes. The FM MATERIAL_WRITE_DOCUMENT creates entries in CDHDR and CDPOS, if we maintain entries in BD52 , the entries wil be written in BDCP and BDCPS tables.
Try to add your structure in MARA table as append strucre and then you can debug the IDOC from WE19 and use the FM "MASTERIDOC_CREATE_SMD_MATMAS" and then you also need to switch on Update Debugging on, to debug the changes in update FM MATERIAL_WRITE_DOCUMENT.
Please see if the change is reflected or not....
ELSE.
may be you need to create a new entry in SCDO and do all the ALE configurations for change pointers.
Please find the link for change pointers and also you can get lot of information on change pointers in SCN.
http://help.sap.com/saphelp_nw70/helpdata/EN/12/83e03c19758e71e10000000a114084/content.htm
Regards,
Nagaraj -
Decimal places for JPY currency in change documents
Hi Gurus,
For opportunities in SAP GUI the change documents for JPY show incorrect numbers.
The number is divided by 100 (two decimal places added).
Checked the CDPOS table and found the values already divided (two decimal places added).
SPRO->General Settings->Currencies->Set decimal places for currencies is set for 0 decimals for JPY.
Is there any way I can get correct values in the change documents?
Please advice. Any hint is useful.
Thx,
Martin KumaHi Naren,
Thank you for the tip, however the TCURX table is changed via customizing and should be changed only during the system initialization.
What I would like to do, is to assure that the system displays the values in change documents correctly. It should apply the currency conversion for the data displayed the same way it does for all the tables.
Do you have any idea, how should I do this?
Regards,
Martin Kuma
Maybe you are looking for
-
Letter of Credit consumption value and open value
Hi Friends, I have created a Financial Document for my Letter of Credit (LC) value of Rs.1000. I have assigned the same to the sales order for the value of Rs.800. So the available value in LC is Rs 200. Next I create one more Sales order against thi
-
HT1766 how can i recover calendar data that i lost when converted to icloud
i have lost most all of my data on my iphone when i went from mobilme to icloud...is there any way to recover it?
-
How to maintain street2 and street3 in customer master
Hello All, I m uploading customer master data through xd01 tcode, but while recording there is no field called street2 and street3 but if create customer manually through xd01 only i can extend tht tab. pls let me knw how i can maintain street 2 stre
-
How to create an InDesign document with link to file hyperlinks in InDesign to PDF and still be able to use via a USB flash drive?
-
How can I place listeners on actions or get the action events
I want to add listeners to photoshop actions. For example, if a user use brush to draw a line, how can I get this event and use it to trigger something else? Does any PS SDK doc include this area? Thanks