cancel
Showing results for 
Search instead for 
Did you mean: 

CDHDR and CDPOS Updation ( Change Pointers )

Former Member
0 Kudos

Hai,

I have created one custom enhancement for Project & WBS ( CJ20N Transaction )by using exits CNEX0006 & 007. I want to update those custom fields value modification / changes in the CDHDR & CDPOS tables. Please advice how to do this.

Giri

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Giri,

We are looking for solution to include change log in CJ20N screen like sales order change log works.

If you have any suggestion please suggest how to get change log of project in CJ20N.

-- Dhanraj

Former Member
0 Kudos

Hi Giri,

To maintain these chnage pointers in CDHDR & CDPOS the fields in question must meet two conditions:

1. The table they are part of must be marked for maintaining changes. Via transaction SE11 and giving the tablename, then select the technical settings button and view the checkbox "Log data changes". This checkbox must be checked.

2. The fields Data element must be marked also for this. Via transaction SE11 select "Data type" and enter the name of the Data element in question (or doubleclick on it in the table dictionary view). On tabpage 2 (Definition) in subsection Attributes the checkbox "Change document" must be checked.

If now this was truly a field from a table (or structure) used in a regular customer exit (or user exit), you're finished.

Regards,

Rob.

Former Member
0 Kudos

Hi Giri,

Rob's suggestion is good .But I don't think that is the right solution.It records changes in DBTABPRT table not in CDHDR & CDPOS .You need to use TCode SCU3 to view the log.

In your case read documentation in sap help-Abap Work bench-BC Extended Applications Function Library -Change Documents.You will get some Idea.

Regards

Venkat.