cancel
Showing results for 
Search instead for 
Did you mean: 

Block creation of new line item in SO

Former Member
0 Kudos

Hi,

Scenario:

In the sales order, the order quantity of line item 10 is 10pcs, only 5pcs is shipped. I want to allow the remaining 5pcs to be able to ship at some other time. However, no modification is allowed in the order quantity of this line item 10. Also, no addition of new line item in this sales order.

Question:

How to block creation/addition of new line item or block modification in the order quantity of the existing line item, but allow the existing line item to be shipped in a sales order?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

pl check with your abaper if this user exit can be implemented to cover your scenario.

*USEREXIT_CHECK_VBAP *

This user exit can be used to carry out additional checks (e.g. for completion) at item level

and finally to check addition of new item to the sales document use " userexit_save_document_prepare ".

regards

sadhu kishore

Former Member
0 Kudos

Hi,

How to deactivate creation/addition of new line item, and activate for shipment? Activating user exit is the only method?

Thanks

Former Member
0 Kudos

hi,

one you can try the user exit which is suggested and two by way restricting authorization to VA02.

But when you give the required end user training that not enter a new line item in change mode, should also serve the purpose. right ?

regards

sadhu kishore

Answers (2)

Answers (2)

Former Member
0 Kudos

Closed. Thanks.

former_member204513
Active Contributor
0 Kudos

Hi Wooi,

You can control through User authorisation, you maintain the authorisation for VA02 for the specific User with the help of BASIS people.

If you donot want maintain the authorisation you need to activate the User Exit for the with the help of ABAPer.

You can use these User exits.

The program is MV45AFZZ

USEREXIT_READ_DOCUMENT

USEREXIT_SAVE_DOCUMENT

USEREXIT_SAVE_DOCUMENT_PREPARE

I hope it will help you

Regards,

Murali.