10-30-2014 2:48 PM
Hello guys.
I'm looking for an user-exit for VT01N that makes a validation other a data when the user hit the Ok button in Deliveries button.
Thanks in advance.
10-30-2014 3:11 PM
Hello Gabriel,
Use enhancement V56TDLIF - Filter Delivery Items for Shipment in CMOD
I hope you help.
10-30-2014 3:15 PM
10-31-2014 4:06 AM
Hi Gabriel
I also see the FM EXIT_SAPLV54U_001 under the enhancement V54U0001.
10-31-2014 4:12 AM
Steps:-
Now, Double clik on the program
USEREXIT_SAVE_DOCUMENT_PREPARE : 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.
So,Double click on theuser exit “FORM USEREXIT_SAVE_DOCUMENT_PREPARE”.
Now Put a break-point and test weather it is correct Exit or not.
Now,
Goto VL02
Give any delivery no : 0080003370
Press enter
Change any value and click on save.
Here Iam changing Delivery Quantity .Just remove 2085 and again enter 2086 only.
Click on save now.
Now our break-point shouldl be triggered.
If it is triggered means …then the exit is correct. It is triggered as below .
Now stop the debugging and write the code as below.
To write the below we need an access key. We got the access key in our company and Below is the code.
If lips-lgort = ‘ ‘ .
Message ‘ Please Enter storage Location’ type ‘E’ .
Endif .
Save->Activate->test it.