Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

create sales order from Quatation by bapi or function module

Former Member
0 Likes
771

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.

3 REPLIES 3
Read only

amit_khare
Active Contributor
0 Likes
569

Check [this|;.

Always search the forum befor eposting the query.

Read only

Former Member
0 Likes
569

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

Read only

Former Member
0 Likes
569

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