cancel
Showing results for 
Search instead for 
Did you mean: 

Preventing a user from adding a delivery not from their shipping point

Former Member
0 Kudos

When creating a shipment using transaction VT01N or VT02N has anyone developed a way to stop a user from adding a delivery that is not from their plant or shipping point? I have contacted OSS on this issue and they told me there is not way to prevent this from happening in Standard SAP. They told a customer would have to develop a custom solution to accomplish this.

Thank you.

Frank Hall

Goodrich Corporation

850 Lagoon Dr

Chula Vista, Ca

619-691-6513

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Frank,

You have to set up a Error Message in Userexit to stop saving.

Place : MV50afz1 userexit_save_document_prepare

you have xlikp ( use a loop ) and your User sy-umane

loop at xlikp assigning <xlikp>.

if sy-uname = 'TEST' and

<xlips>-vstel ne '1000'.

message e123(yv).

endif.

endloop.

best regards

hansl