Skip to Content
Former Member
Sep 02, 2011 at 05:17 AM

issue in creating sales doc wirth reference contract


hi friends,

my requirement is to create a sales order with reference to contract.i had tried it by using bapi 'BAPI_SALESORDER_CREATEFROMDAT2' but i am getting message like this

Sales dcoument:

S SALES_HEADER_IN has been processed successfully

S SALES_ITEM_IN has been processed successfully

W The sales document is not yet complete: Edit data

i am getting sales document number but when am trying to open the docu i am getting error message saying that

sales docu is not in database or has to be archived.

please share the valuable information if u have send me sample code.

please help.

regards sravani.