cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

External ID field in Inbound delivery to be made mandatory during Inbound delivery creation

JPIND
Explorer
View Entire Topic
MariusSiegel
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear @JPIND,

you could use Badi LE_SHP_DELIVERY_FINAL_CHECK for that.

e.g.:

    IF documentprocessingmode = 'CREATE'.
      IF delivery_document_in-DELIVERYDOCUMENTTYPE = 'EL' AND delivery_document_in-DELIVERYDOCUMENTBYSUPPLIER IS INITIAL.
          message-messagetype = 'E'. " saving of the delivery document will be prevented
          message-messagetext = |Error: External Delivery ID is missing.|.
          EXIT.
        ENDIF.
    ENDIF.

For future questions, please make sure you also add a more detailed description instead of just placing your request in the headline.

best regards