on 10-10-2007 2:29 PM
Dear Friends,
I wanna know what are the processes and actions occur upon Quotation expiry.
Thanks
Hi Mostafa
VA25 for quotation list , V.04 for incomplete quotation
you can check in SDQ1 - expiring quotations
SDQ2 - expired quotations.
Depending on how the delivery is created, you can use table VBFA to suit and restrict.
From Delivery you can get the sales order number.
Step1: select vbelv from vbfa where vbeln = sales order number and vbtyp_v = 'B' " vbelv = quotation number
step2: select bnddt from vbak where vbeln = vbfa-vbelv
step3: if vbak-bnddt > sy-datum
-
Error
else
create delivery
endif.
From What I understand u need 2 check during the creation of Delivery(VL01N),whether the Sales Order is valid(depending on the Quotation Expiry Date).
Use the BADI - LE_SHP_DELIVERY_PROC.
Method - DELIVERY_FINAL_CHECK. Here u will get the Order No from the IT_XLIPS-VGBEL(Ref.Doc) of the Delivery.From this Pick the Qoutation data using VBFA table(Get the VBELV using VBTYP_N = 'C', VBELN = IT_XLIPS-VGBEL,VBTYP_V = 'B').
From this Qoutation No Pick the Expiry Date,
select bnddt from vbak into v_bnddt where vbeln = vbfa-vbelv.
If v_bnddt gt sy-datum.
Message E002(sy) with "Delivery cannot be created".
endif.
Check with the above things.
Reward if useful to u
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mostaga Ali
Go to T-Code: SDQ2 and release the Expired Quotation.
or
close the items with a reason of rejection
One more thing.
When u create a Quotation, no matarial is going to be reserved for that particular Quotation. Only when u create a sales order that Material will be reserved for that sale order. So there is no meaning of Releasing material from Expired Quotation
Reward if useful to u
Message was edited by:
narendran vajravelu
Hi Naredran,
Thank you for your help, i know the T-Code: SDQ2 i don't know how can i release the expired quotation in it.
N.B. i had changed the item category in the quotation to (tan) in order to reserve the material, but i do need this reserving to be released after the expiry date.
Thanks and waiting for your reply
User | Count |
---|---|
98 | |
12 | |
10 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.