Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

regarding change document objects

Former Member
0 Kudos
172

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

2 REPLIES 2

kesavadas_thekkillath
Active Contributor
0 Kudos
112

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]

Former Member
0 Kudos
112

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