Application Development 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: 

Purchase Order Line Item Change History

itabhishek9
Participant
0 Kudos

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

4 REPLIES 4

PeterJonker
Active Contributor
0 Kudos

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

itabhishek9
Participant
0 Kudos

Hi Peter,

Yes they are blank.

I have checked in change document tables as well (CDHDR / CDPOS) and the values are blank.

Regards,

Abhishek

0 Kudos

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

0 Kudos

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