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

Problem creating sales document with reference to a quotation

Former Member
0 Likes
487

Hi, i'm creating a order using the function SD_SALESDOCUMENT_CREATE, i put a reference to a quotation filling the following fields :

SALESDOCUMENT <- quotation_ref

ORDER_HEADER_INX-UPDATEFLAG <- U

sales_header_in-ref_doc <- quotation_ref.

sales_header_in-refdoc_cat = 'B'.

sales_header_inx-ref_doc = 'X'.

sales_header_inx-refdoc_cat = 'X'.

For each item:

sales_items_in-ref_doc <- quotation_ref.

sales_items_in-ref_doc_it = '000001'.

sales_items_in-ref_doc_ca = 'B'.

sales_items_inx-ref_doc = 'X'.

sales_items_inx-ref_doc_it = 'X'.

sales_items_inx-ref_doc_ca = 'X'.

The order is recorded well but the status of the quotation is pending, how can I change this state to complete?

Thanks

1 REPLY 1
Read only

Former Member
0 Likes
396

Any idea please?

thanks