‎2010 Feb 11 10:18 AM
Hi,
I am creating a sales order from Quotation using BAPI /AFS/BAPI_SALESORD_CREATEFDATA.
The Sale order is getting created and the document flow is updated. When i check the status of quotation it is "OPEN".
Ideally when a sale order is created in VA01 with reference to a quotation and if all items are added in the order from quotation, then the status of the quotation must be "Complete".
When i use the BAPI, the status of the quotation is sill "Open". Has anyone faced this issue?
Even if anyone has faced this issue with BAPI_SALESORDER_CREATEFROMDAT2, please let me know...
Regards
‎2010 Feb 12 3:19 PM
Hi,
Did you try replicating this by manually creating the order with reference to quotation?
I think order should be confirmed for closing the quotation. Just try this manually and let us know your update.
Thanks,
Vinod.
‎2010 Feb 12 3:19 PM
Hi,
Did you try replicating this by manually creating the order with reference to quotation?
I think order should be confirmed for closing the quotation. Just try this manually and let us know your update.
Thanks,
Vinod.
‎2010 Feb 12 4:33 PM
Hi Vinod,
Yes i have tried manually creating a order using quotation as reference using VA01. In this case when all items in the quotation are added to the sales order, the quotation status is "Completed".
But if the same is done through BAPI the quotation status is "Open".
Thanks
‎2010 Mar 04 12:41 PM
Solved . Customization was not maintained properly for the Order types !!
‎2010 Apr 15 2:14 PM
Hi Rv,
iam facing the same prb as you have faced earlier i am using the saem bapi but document flow is not updating,it is saying as open. You said taht there is some issue with customization in order types. Cud u please tel me. OUr fucntional consultants are not able to understand this.
Sai
‎2010 Nov 06 3:19 PM
Hi RV,
I am using BAPI to create order reference to contracts. I am facing same issue. Its not updating document flow (vbfa-plmin field). After creating orders I am forcing to update plmin field in vbfa. This worked fine. But now status in reference document not updating properly. I saw your thread. It looks like similar issue. I saw your comments "Customization was not maintained properly for the Order types ". Please can you explain little bit more about your solution. It will helps us lot.
Thanks,
srini
‎2010 Nov 07 1:02 PM
Issue resolved. I checked completion rules for contract in config. Everything looks good. But In user-exits we are updating cvbap internal table for contracts. After creation of contract we are not clearing the value in cvbap. If the User uses same session, then we are getting issue in document flow and staus. Now we are clearing cvbap value. Everthing working fine.
Thanks,
Srini
Edited by: srinivas kuchadi on Nov 7, 2010 8:03 AM
‎2011 Apr 05 6:45 PM
hi
Even I face the same issue.Can you let me know what routine needs to modified or what customizing needs to be done to reslove this issue.
‎2021 May 23 1:01 PM
Hi guys, could find any solution ? We face the same issue. we use BAPI_SALESORDER_CREATEFROMDAT2 create sales order with reference of a quotation but it does not update item status of quatoation. Any suggestion ?
‎2022 Apr 04 8:36 AM
Hello Everybody, I have same issue. Document flow is updated (I can see SO referencing quotation) but quotation status is not updated. Any idea how to make it work "as per standard"?
‎2023 Jun 07 4:57 AM
Hi, I have same issue. BAPI_SALESORDER_CREATEFROMDAT2 create sales order with reference of a quotation success but not update quotation status to "Completed". what is answer of this problem?