cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict Creation of Sales Order-BAPI

former_member185462
Active Participant
0 Kudos

Hi,

I came across a situation were when stock is not there,order quantity not confirmed Sales Order should not be created.

The below link was helpful,

Stop creating sales order if no stock | SCN

My doubt is can we do the same when Sales order is created through BAPI.

Can we restrict order creation only for particular order type.

Thanks,

Pradeep M

Accepted Solutions (0)

Answers (1)

Answers (1)

moazzam_ali
Active Contributor
0 Kudos

Hi

As per logic explained in the link the system should not create order even with BAPI as the userexit is called before generating the number. You need to test this and share the results but I hope behavior would be same with or without BAPI if you use that userexit.

Thank$