cancel
Showing results for 
Search instead for 
Did you mean: 

how to block sales order against quotation

former_member657193
Contributor
0 Kudos

Plz answer immediatly because we have to do golive in coming week.

Hi Experts,

I created a quotation using VA21 and a sales order using VA01. It includes certain items and related to every item there is a fixed quantity. eg -- Rice(10000 KG), Sugar(500 KG) and Oil(2000 Lit). User can order the full quantity at a time or in part. What I want to do is, if we create Sales Order in reference to this quotation, it should give a message whenever any particular quantity limit gets exceeded. e.g. for the same quotation if user orders 200 KG Sugar in first order, 100 KG in the second order and then 250 KG in the third order, then during the entry of third order it will generate a message showing the current limit of that item.

Sales Order Type -- ZSOR, Quotation Type -- Z001.

regards,

rishi/anil

Edited by: Rishi B on Apr 24, 2009 1:23 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member657193
Contributor
0 Kudos

closed

former_member657193
Contributor
0 Kudos

Hi Shailaja Ainala,

Plz i am not able to do that. Plz help me how to code it.

Thanks

former_member262988
Active Contributor
0 Kudos

Hi,

use the filed vgbel in vbak in MV45AFZZ in USEREXIT_MOVE_FIELD_TO_VBAK and get the quantity against that quotation .....and check the qunatity in USEREXIT_MOVE_FIELD_TO_VBAP where the values of the line item will be held in XVBAP table....and throw error message.....

Thanks,

Shailaja Ainala.