‎2009 Nov 24 6:20 AM
Hi ,
I have a quatation . i need to create a sales order based on the quatation in back end by any bapi or function module.
Please.advise me if any bapi or function module to create sales order based on the quataion .
Regards,
Kiran.
‎2009 Nov 24 6:25 AM
‎2009 Nov 24 6:29 AM
Hi
Please use FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2' and you need to specific the referece information in both header and item.
The additional fields that need to fill for creating with reference are as below
Header
bapisdhd1-ref_doc = reference document category
bapisdhd1-refdoc_cat = reference document number
Item
bapisditm-ref_doc = reference document number
bapisditm-ref_doc_it = reference document item
bapisditm-ref_doc_ca = = reference document number
‎2009 Nov 24 6:48 AM
Thnaks a alot for all your time.
i need one more help . is there any option we can change the quataion status change by bapi or any function module.
i need to put in block state when quatation is created by bapi.
Regards
Kiran