on 05-28-2014 4:57 PM
Hello,
I tried to follwo the SAP note 390635 in order to have change doc created when the field resb-vmeng is modified.
In the exit EXIT_SAPLCOZV_001 I get the old and new fields, I put them in internal tables xresb and yresb to call the function module ORDER_WRITE_DOCUMENT. And nothing happen.... I didn't modified the checkbox 'change document' of the data element VMENG as I understand from the note that it's not mandatory:
Important:
The creation of change documents using the SAP standard tool requires that the indicator for change
document creation is set for the data element that defines the affected table field. For example,
this indicator is not set for data element GAMNG (total order quantity) in the standard system which
is the reason why changes to the planned order quantity of the order header are not logged. The
reason for this is that the GAMNG field of the AFKO table is defined using data element GAMNG.
To be able to set the indicator for the creation of change documents without modifications and
display change document data at a later stage, refer to Note 394887 (Enhancements for installing PHELR_
100_46C) for Release 4.6C; as of Release 4.70 (SAP Enterprise), the Add-On is part of the R/3
standard system.
As we are in ECC6, seems to be OK, no need to change the checkbox => the user-exit seems to be enough.
However, I am not able to create change docs.
Is there someone who can give me some inputs on this topic? Which steps exactly need to be done to create change docs for this field. Concerning the flag at data element level, did I understand the note correctly? Is changing the checkbox 'change doc' is not mandatory?
Thank you very much for your help,
Olivier
Hello Olivier
The note provides the following information:
The creation of change documents using the SAP standard tool requires that the indicator for change document creation is set for the data element that defines the affected table field.
Since you are using function module ORDER_WRITE_DOCUMENT then you are using the SAP standard tool and the indicator must be set.
BR
Caetano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
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.