cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:sales order

Former Member
0 Kudos

Dear sapsd team,

I am having one scenario in sales order.

the scenario is when we enter zero quantity it should block the order before saving the document can u please suggest me any answers for this.

Thanks and regards,

shiva

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

can u check once copy controls of sales documents

in item details there wil be one options zero quantity is not allowed

i hope it wil solve ur issue

if wrong get back to me

Former Member
0 Kudos

Hi Shiva

configure your in completion procedure at item level (VBAPtable) and (KWMENG- Field) and activate warning check qty =0 with error message, based on that system will not allow you to save the sales order..

Former Member
0 Kudos

Hello,

Both the replys are valid. You may define an incompletion procedure and put a validation on Qty =0, so the system will not allow you to save the order if the item qty is 'Zero'.

Otherwise you can go for an enhancement. Use the exit USEREXIT_SAVE_DOCUMENT_PREPARE and put a vlidation for Qty=0. This need ABAP help for the developement.

Regards,

SAM

Former Member
0 Kudos

Hi Shiva,

configure your in completion procedure to check qty =0 with error message, based on that system will not allow you to save the sales order until your sales order quantity enter.

Regards

Nishad

Former Member
0 Kudos

Hi,

Use include MV45AFZZ and

USEREXIT_SAVE_DOCUMENT_PREPARE.

System has to check the buffer value for quantity in sale order if it is equal to space or zero system should block the order.

or else save.

Thank you,

Former Member
0 Kudos

Do your checks in MV45AFzz and put a Delivery Block.

Or, configure incompletion procedure to check qty =0.