Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

If delivery exists and changing the sales order through va02

Former Member
0 Kudos

Hi all,

Here is my requirement.

If the user is changing the order through transaction VA02 AND a delivery exists, do not allow the following changes:

•Add an item

•Reject an item

•Change item quantity

Plz anybody can suggest which user exit i can use and how to handle.

Thanks in advance,

Regards

Rajan

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

Hi,

in the Include <b>MV45AFZZ</b> you can do these check under the form <b>USEREXIT_SAVE_DOCUMENT_PREPARE</b> , here you can raise the messages.

Regards

vijay

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

Hi,

in the Include <b>MV45AFZZ</b> you can do these check under the form <b>USEREXIT_SAVE_DOCUMENT_PREPARE</b> , here you can raise the messages.

Regards

vijay

former_member404244
Active Contributor
0 Kudos

Hi rajan,

go to se80->give program name (SAPMV45A)->use subroutine name node u will find lot of exits . i guess

USEREXIT_SAVE_DOCUMENT_PREPARE might the exit which helps u

for ur requiremnet.

Regards,

Nagaraj

0 Kudos

Hi,

Thanks for reply,

How to handle fallowing cases

•Add an item

•Reject an item

•Change item quantity

Whether I have to Gray out the fields so that user can not add an item …

Or any other alternative solution.

Regards

Rajan