To better understanding which user exits and when you can use please read SAP Note 415716
User exits in delivery processing.
Where they can be used: MV50AFZ1, VL01, VL02, VL01N, VL01NO, VL02N, VL04, VL10, SAPMV50A
User Exit Purpose Reference
The FORM routine USEREXIT_REFRESH_DOCUME NT is used for the initialization FORM routine of your own data areas before USEREXIT_REFRESH_DOCUMENT the processing of a new SAP Note (include MV50AFZ1) delivery document 415716 If a delivery is deleted, you FORM routine can delete your own USEREXIT_DELETE_DOCUMENT dependent data using this SAP Note (include MV50AFZ1) FORM routine. 415716 FORM routine The exit is used to make your USEREXIT_READ_DOCUMENT own data available for SAP Note (include MV50AFZ1) processing in the delivery. 415716 The exit is used to provide FORM routine your own additional fields of USEREXIT_MOVE_FIELD_TO_LIKP the header table LIKP with SAP Note (include MV50AFZ1) data. 415716 FORM routine The routine is used to provide USEREXIT_MOVE_FIELD_TO_LIPS your own additional fields of SAP Note (include MV50AFZ1) the table LIPS with data 415716 You can use the routine to determine the batch, which is FORM routine to be assigned to the delivery USEREXIT_BATCH_DETERMINATIO item, in accordance with your SAP Note N (include MV50AFZZ) own criteria. 415716 FORM routine This routine can be used for SAP Note USEREXIT_SAVE_DOC_BEFORE_PRE the final change of all delivery 415716, P (include MV50AFZ1) data. At the time of the call, SAP Note 75100 the delivery is complete and 0 consistent; only the document number has not yet been determined in the creation case and the final processing of the requirements has not yet taken place. Therefore, changes to the delivery at this time must be made with particular care because no subsequent checks can prevent possible data inconsistencies. Since requirements processing has not yet occurred, this user exit is, in particular, suitable for changes relevant for requirements when the delivery is saved.
This routine is the most
powerful exit in delivery processing and can be used for the final change of all delivery data. At the time of the call, the delivery is complete and consistent, only the document number has not yet been determined in the creation case. Therefore, changes to the delivery at this time must be made with particular care because no FORM routine subsequent checks can USEREXIT_SAVE_DOCUMENT_PREP prevent possible data SAP Note ARE (include MV50AFZ1) inconsistencies. 415716 The routine is used to save your own data when saving deliveries. Delivery data cannot be changed here FORM routine anymore since it has already USEREXIT_SAVE_DOCUMENT been transferred to the SAP Note (include MV50AFZ1) update. 415716 Related