cancel
Showing results for 
Search instead for 
Did you mean: 

How to get change log for z-fields in VBAk(Sales order)

Former Member
0 Kudos

Hi All,

Please help me in this.

My requirement is get the change log for z-fields in sales order.

In the sales order header level we have one tab Additioanl data.

In this we have z-fields, if we change any of the field value, it is accepting the same and updating in data base as well.

But it is not appearing in change log<. I.e. Environment->changes.

How to get the change log for the z-fields.

In data element level enable the check box of change document.

Please help me in this.

Thanks in advance

Jaya,G

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jaya,

For this you need to do some coding. Here is a link which tells you, step by step procedure how to activate Change log for the Z tables.

THe Object that you need to use for Sales Document is VERKBELEG

[https://wiki.sdn.sap.com/wiki/display/ABAP/Maintaining%20Change%20Log%20for%20Database%20Tables]

Hope this helps..

This is Primarily a Technical Consultant Job. Take his help before you make any changes.

Thnks

Srini

Answers (1)

Answers (1)

alex_zheng
Contributor
0 Kudos

Hi Jaya,

If the field is correctly filled up in the internal SD tables

xvbap/yvbap according to note 178328 the system automatically

writes the change documents (if they were correctly activated).

This is the generic part.

So before you can use the generic part you have to make sure

that the preconditions (internal tables) are fulfilled.

For example,

Please notice, for the logging of fields of the tables VBAP

it is important to set the flag UPD_VBAP.

Please compare this with the standard coding FV45PFAP_XVBAP_AENDERN.

Regards,

Alex