05-19-2017 1:53 PM
Hi SDNites,
I have added a custom tab in PO Line item which contains custom fields for PO Line Items. All the new custom fields have Change Document checked in Data element. I wanted to create the change history and it is getting created but with old and new values as blank. Can you please let me know what could be the reason and how to resolve it.
Regards,
Abhi
05-19-2017 2:13 PM
Are you sure it is blank ? I am asking because the fields that hold old and new value are very big. Sometimes you have to scroll in these fields to see the value all the way at the end
05-19-2017 2:17 PM
Hi Peter,
Yes they are blank.
I have checked in change document tables as well (CDHDR / CDPOS) and the values are blank.
Regards,
Abhishek
05-19-2017 2:27 PM
OK, I gues the first step would be to set a breakpoint in the generated include at the call of the change document function modules to see if a value gets transferred to the tables.
Did you follow the procedure as described in this link ?
https://wiki.scn.sap.com/wiki/display/TechTSG/Change+Document
05-19-2017 4:04 PM
Hi Peter,
I have checked that the the function module EINKBELEG_WRITE_DOCUMENT gets called and the vale of XEKPO[] (Changed values) is present while YEKPO[] (Current Values) is not filled. This results in populating blank values in CDPOS table.
Regards,
Abhi