‎2016 Apr 06 10:51 AM
Hello All experts,
I need to cancel the quotation using BAPI_QUOTATION_CREATEFROMDATA2 , if with this BAPI it is not possible then is there any way to cancel the quotation via code
can you please provide your inputs on the same.
Regards,
Parthi
‎2016 Apr 07 10:10 AM
Ok i Then conclude that the BAPI BAPI_QUOTATION_CREATEFROMDATA2 can only be used for create and Change and we cannot delete using the same.
Let me try with the other bapi mentioned and get back.
‎2016 Apr 06 10:54 AM
‎2016 Apr 06 11:02 AM
you can use 'BAPI_QUOTATION_CHANGEBOS'.
http://www.se80.co.uk/sapfms/b/bapi/bapi_quotation_changebos.htm
‎2016 Apr 06 11:10 AM
‎2016 Apr 07 9:56 AM
i think it can be used only for create, If you want more info then use below link.Let me try from my end and get back
‎2016 Apr 07 10:00 AM
If you want to do create, update and delete in same BAPI then use the below BAPI,
BAPI_QUOTATION_CHANGEBOS
Check out the documentation before using it.
‎2016 Apr 07 10:10 AM
Ok i Then conclude that the BAPI BAPI_QUOTATION_CREATEFROMDATA2 can only be used for create and Change and we cannot delete using the same.
Let me try with the other bapi mentioned and get back.
‎2016 Apr 07 11:10 AM
Hello Parthiban,
I just checked in SE37 with the BAPI BAPI_QUOTATION_CREATEFROMDATA2 , i was successful in both creation and also deletion.
When you want to delete in addition to all the inputs update the field
UPDATEFLAG = 'D',
this field will be in the table QUOTATION_HEADER_INX of the BAPI, this helps in deleting the Quotation successfully,
Ty from your end also and confirm.
Although for creation i did not given value for the field. Check and let us know.
Regards,
Satish