2010 Jan 04 6:51 AM
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 AM
2010 Jan 04 11:42 AM
The 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]
2010 Jan 04 11:43 AM
Hi,
When ever you create new chane document object, you need to use below change doucmnet FM for updating data into CDHDR & CDPOS tables
CHANGEDOCUMENT_OPEN
CHANGEDOCUMENT_MULTIPLE_CASE
CHANGEDOCUMENT_CLOSE
Remeber to add IN UPDATE TASK for all above FM.
Thanks