2011 Jan 10 6:07 PM
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
2011 Jan 10 8:30 PM
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
2011 Jan 10 7:24 PM
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.
2011 Jan 10 8:30 PM
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
2011 Jan 10 9:06 PM
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.