cancel
Showing results for 
Search instead for 
Did you mean: 

Stocks Validation in Sales Orders

Former Member
0 Kudos

Hi experts,

I have the following requirement and I would like to some advice about how I should to face it.

For specific sale documents, I need a validation that doesn't let save orders if there is any position with material who hasn't stock.

Maybe I could make this validation by applying a user exit checking confirmed quantity and then using a pop up message error who doesn´t let to save the order.

Does any have any idea? or What user exit can i use?

I'll appreciate a lot any suggestion.

Best regards

José

Accepted Solutions (0)

Answers (5)

Answers (5)

johnattan_company
Participant
0 Kudos

Hi Jose,

I have checked if the customizing for Sales and Distrbution, in the Log of Incomplete Items, and I have found that you can define the procedure in the group B, for Sales- Item using the field VBEP-BMENG (Confirmed Quantity).

Hope it can help you.
JCR

Lakshmipathi
Active Contributor
0 Kudos


You can try with either of the following sale order exits.


1)  USEREXIT_CHECK_VBEP in program MV45AFZB

2)  USEREXIT_SAVE_DOCUMENT_PREPARE in the program MV45AFZZ

G. Lakshmipathi

johnattan_company
Participant
0 Kudos

Hello Jose,

Did you thonk the possibility to use the Log of Incomple Items, for your sale document? It would be less harder and less complicated than a user exit

The path is: sales an distribution, basic functions, log of incomplete items.

Hope it helps you.

Regards
JCR

former_member211462
Active Participant
0 Kudos

hi jose

Go to the t.code SE93 enter the tcode you want and click display.  View the development classes and after that go to t.code SMOD then click F4 , give that same developemt class there and click enter  you will be displayed with a list of user exits for a particular tcode. Hope this could be helpful .

Regards

JNM

Former Member
0 Kudos

Please try

  USEREXIT_SAVE_DOCUMENT(Include:MV45AFZZ)