on 09-17-2014 8:44 PM
Hello experts,
Is there a way to determine the history of changes that were made to the Final Invoice Indicator field (EREKZ) in transaction ME22N? The value of field EREKZ is set either using the T-code or with BAPI_PO_CHANGE.
I've tried BAPI_PO_GETDETAIL, BAPI_PO_GETDETAIL1, BAPI_PO_GETITEMS... table EKBE doesn't store this values either.
It doesn't necessarily have to be a BAPI. Any idea would be very helpful.
Thanks,
Tudor
Tudor,
Have you tried the menu path Environment - Item Changes, from within ME22N? If that isn't showing changes, perhaps the indicator for 'change document' has been turned off for the data element.
To check that, put your cursor on the field, then use F1. In the Performance Assistant popup, select the Technical Information button. In the Technical Information popup, double click on the data element field, in this case EREKZ. This takes you to the data dictionary for the data element. Go to the Further Characteristics tab. If the Change Document field is checked, SAP should write a change document every time the field is changed for a PO.
- Jeff
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks guys!
I figured it out eventually.
For anyone else who happens to stumble upon this post: look for function modules: CHANGEDOCUMENT_READ_HEADERS for information regarding user/date/time/tcode and CHANGEDOCUMENT_READ_POSITIONS for old/new values (where TABLEKEY, in this case, is a concatenation of SY-MANDT & EBELN & EBELP.
Regards,
Tudor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tudor,
Changes to field EREKZ can be found in Table CDPOS as suggested by Adam above.
Enter the PO number in the 'Object Value' field in the initial screen and the field EREKZ in the 'Field Name' field.
Regards,
Akash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tudor,
Any changes to the values of a line item, including indicators such as EREKZ, in a PO can be found in table CDPOS.
Hope this helps,
Adam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
111 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.