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: 
Read only

New ZTable -CDPOS & CDHDR

Former Member
0 Kudos
522

Hi

We are making a new z table in which the data will be filled if one particular condition happens in one of the master data tables.

if if one field in LFA1 table has one particular value, the data entered in the screen will get saved in this new table.

My question is, if we change the data in this new table only - we are not changing anything in the LFA1 table, will there be any entry in the CDPOS or CDHDR table?

It would be of really helpful, if someone can explain how CDPOS / CDHDR works?

Jith

1 ACCEPTED SOLUTION
Read only

Clemenss
Active Contributor
0 Kudos
243

Hi Jith,

CDHDR and CDPOS always needs additional programming for the change object in question. See [Change Documents|http://help.sap.com/saphelp_nw73/helpdata/en/48/d1c0eff6c96745e10000000a421937/frameset.htm].

If you want own change documents, then, after defining the change object, you can [Create Change Documents|http://help.sap.com/saphelp_nw73/helpdata/en/48/d58566982b424be10000000a421937/frameset.htm] using function group SCD0.

Regards,

Clemens

3 REPLIES 3
Read only

brad_bohn
Active Contributor
0 Kudos
243

No, not unless you change the standard object and the code that calls the write function. Each change document object has generated functions that handle the posting of change data. See transaction SCDO or the help files for more info.

Read only

Clemenss
Active Contributor
0 Kudos
244

Hi Jith,

CDHDR and CDPOS always needs additional programming for the change object in question. See [Change Documents|http://help.sap.com/saphelp_nw73/helpdata/en/48/d1c0eff6c96745e10000000a421937/frameset.htm].

If you want own change documents, then, after defining the change object, you can [Create Change Documents|http://help.sap.com/saphelp_nw73/helpdata/en/48/d58566982b424be10000000a421937/frameset.htm] using function group SCD0.

Regards,

Clemens

Read only

brad_bohn
Active Contributor
0 Kudos
243

CDHDR and CDPOS always needs additional programming for the change object in question

Not necessarily, unless of course, you were referring to Z-tables only. If you add a ZZ field in an append structure to one of the standard tables, and, of course, the attached data element has changes flagged, nothing needs to happen with the standard object or code to record the changes.