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: 

CDHDR - vbak x ekko

Former Member
0 Kudos

Hello people!

- When I create a purchase order (table ekko), SAP logs it in cdhdr table with change_ind = 'I', but it doesn't happen when I create a sales order (vbak). Do you know why a po creation is logged and a so creation is not logged in cdhdr?

I need to get the exact date and time that a sales order was created. The problem is that erdat and erzet fields in vbak table show the time that the user has started to create it and I need the time when the user has pushed the "save" button (which would be the "commit" command in database).

Thank you in advance,

Alan Hansen.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

In transaction code SCDO. Check your change log setting if Sales Order log is turned on. Change log object should be VERKBELEG for VBAK.

If it is turned on, the sales order will be logged with OBJECTCLAS = "VERKBELEG".

Good luck.

2 REPLIES 2

Former Member
0 Kudos

In transaction code SCDO. Check your change log setting if Sales Order log is turned on. Change log object should be VERKBELEG for VBAK.

If it is turned on, the sales order will be logged with OBJECTCLAS = "VERKBELEG".

Good luck.

0 Kudos

Hello, Kok,

Verkbeleg log is already turned on in transaction SCDO, but it is logging just "updates" on vbak and not "inserts".

Also the einkbeleg log is turned on and this one is working correctly (logging inserts and updates on ekko table).

I've attached a "print-screen" of these two SCDO settings for comparing.

Thank you!