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 entries
Hi
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
Similar Messages
-
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 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 -
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 -
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? -
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,
PragyaHi
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. -
Disadvantage of using change document
Hi all,
I am currently using triggering certain code (which is written in receiver fm in SWETYPV associated with an event) based on change documents using SWEC.
I just want to know are there any disadvantages associated with usage of change documents, creation of change document objects.
Pointers to any documentation on change documents would be helpful, I am aware on how to use change documents but I want to get in depth of what exactly happens behind the scenes.
Thanks.
кu03B1ятu03B9кI dont find any disadvantages with change documents.
http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm -
Sales order Change document user exit
A colleague of mine has been asked if there is a way of inserting a different username to the standard one when a change document is created for the sales order header. Is there a userexit that would suffice?
Thanks in advance
IanYou have only one option as far as I know:
All change document creation occurs in function
CHANGE_POINTERS_CREATE centrally.
The only option would be to apply a repair to this function to set the username (CDHDR-USERNAME) to the value you want. You would do this only for sales document change docs - object class is VERKBELEG I think. This is also held on CDHDR.
Hope this helps.
Cheers
Colin -
'creation date of the change document' in me23n or me22n
hi experts,
i want a help from you to find out where ( in which ) table the 'date' field is getting stored.if u go to me23n and give a po number and go to menu bar environment --> header changes, then we can find 'creation date of the change document', i need to capture that date when status is 9. can any one tell me where that date is storedHi Kiran,
You can search for table CDHDR & CDPOS for the change documents.
where CDHER-OBJECTCLAS = EINKBELEG
OBJECTID
Regards,
Anbalagan -
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 -
Restrict creation of Change Document without a change request
Hello Experts,
Is there a way within Charm to restrict the creation of a change document through crmd_order or a business transaction and instead force the creation of all change documents to start from a change request? Some users are bypassing the approval process through sdcr and are using the push button in crmd_order to create a normal correction without having the change approved.
Please advise on a possible solution to fixing this issue.
Thanks
MikeHi Raquel,
Thanks for the quick reply. The problem is that the individuals that have access to create an SDMJ or SDHF are the ones creating them directly from crmd_order instead of through the sdcr approval process. From what you are saying I guess there is no way to force them to go through sdcr instead of creating an sdmj directly from crmd_order if they already have access to create a change document?
Thanks
Mike -
Creation of change document to trigger workflow.
Hi,
I need to trigger a workflow when there is a change in the PO line item (EKPO). For this, I can use the standard change object EINKBELEG, but this only bears the purchasing document number as the key. hence when ever a change event is triggered in the custom BO, the key is just the PO#. This should be not the case.
The key field should be a combination of the purchasing document number and the line item number, hence I created a custom change object ZEINKBELEG refering to EKPO and generated it too. The steps in SCDO, SWED, SWEC has already been handled. But the custom event in the business object does not get triggered. I need some help regarding this.
Precisely speaking, if there is a change in the line item value (in ME22N). The business object event should trigger.
Thanks,
Sukumar.Hey Sukumar,
Do one thing instead of creating custom change document. create a new event in bus2012 using condition editor of SWEC only create a event only when there is a change in EKPO. that resolves your issue.. just a suggestion -
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.
Maybe you are looking for
-
Opening a T code in some other window
Hello All, We have a requirement where in we just need to display an Input box and a submit button in an iview / HTML Page (Similar to r/3's Command box) where the users can enter sap t-code. Upon Entering the t-code and clicking on the button the t-
-
Printing problematic after upgrading to Yosemite
I have an iMac (21.5 inch late 2010) and after upgrading to Yosemite with latest version 10.10.1 my HP Laserjet 1320 does not want to print certain files like .pdf & or screen shots. I am able to print an e-mail from Mac mail but nothing else. I have
-
Financing Delivery times?
Hey, last wednesday I ordered the new iMac 27' on financing with logic express and the printer with rebate offer. It all went well, and I got approved by barclays for financing, I've posted the paperwork and signed it, with freepost like instructed.
-
How can I make Skype Desktop the default for Call: links in MS Outlook?
How can I persuade MS Outlook to use Skype Desktop for Call: links (such as those for phone numbers in a Contact Card)? Right now it is using Skype for Business to open them (I have both Skype Desktop and Skype for Business - formerly Lync - install
-
How to change automatic translation of videos to the Apple TV?
In iTunes, videos get automatically translated to my Apple TV (3. Generation with newest OS-Version). I have every software on my Mac on the newest verion.