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 with quotation status after conversion to Order

Former Member
0 Likes
682

Hi all,

I have a problem with conversion from quotation to order using the SD_DOCUMENT_CREATE function module.

After creation, for converted quotation:

- the overall status should change to Completed and the Reference status should change to Fully Referenced

- in the document flow should change from open to completed

If I try to convert my quotation using VA01 transaction, it works.

If I try to convert my quotation using SD_DOCUMENT_CREATE fm, it doesn't work: the order was created but the status for quotation were not changed.

Any help? Which parameters I have to change?

Thanks in advance,

Francesca

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
567

The solution is to use the Bapi BAPI_SALESDOCUMENT_COPY.

There is an OSS note "https://service.sap.com/sap/support/notes/370988"


Note 370988 - BAPIs in SD: Creation with reference

The solution is to use the Bapi BAPI_SALESDOCUMENT_COPY.

There is an OSS note "https://service.sap.com/sap/support/notes/370988"


Note 370988 - BAPIs in SD: Creation with reference

1 REPLY 1
Read only

Former Member
0 Likes
568

The solution is to use the Bapi BAPI_SALESDOCUMENT_COPY.

There is an OSS note "https://service.sap.com/sap/support/notes/370988"


Note 370988 - BAPIs in SD: Creation with reference