‎2005 Nov 22 3:52 AM
Can someone tell me the difference between save_docuemnt and save_document_prepare user exit?
Thanks...
‎2005 Nov 22 3:56 AM
These two are sales order form exits.
<b>USEREXIT_SAVE_DOCUMENT</b>
Use this user exit to fill user-specific statistics update tables.
The user exit is called up by the FORM routine BELEG-SICHERN before the COMMIT command.
Note
If a standard field is changed, the field r185d-dataloss is set to X. The system queries this indicator at the beginning of the safety routine. This is why this indicator must also be set during the maintenance of user-specific tables that are also to be saved.
<b>USEREXIT_SAVE_DOCUMENT_PREPARE</b>
Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.
The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.
‎2005 Nov 22 3:56 AM
These two are sales order form exits.
<b>USEREXIT_SAVE_DOCUMENT</b>
Use this user exit to fill user-specific statistics update tables.
The user exit is called up by the FORM routine BELEG-SICHERN before the COMMIT command.
Note
If a standard field is changed, the field r185d-dataloss is set to X. The system queries this indicator at the beginning of the safety routine. This is why this indicator must also be set during the maintenance of user-specific tables that are also to be saved.
<b>USEREXIT_SAVE_DOCUMENT_PREPARE</b>
Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.
The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.