cancel
Showing results for 
Search instead for 
Did you mean: 

SAP DI Server Error Invalid value [ORDR.Posted][line: 0]

former_member584121
Discoverer
0 Kudos

I want to convert an approved sales order draft to sales order document using DraftsService's dis:SaveDraftToDocument function. I always getting this error but I do not know what is wrong.

Request:

<?xml version="1.0"?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header> <SessionID>971FC79F-7B98-4FD2-896C-3879CB13BDC6</SessionID> </env:Header> <env:Body> <dis:SaveDraftToDocument xmlns:dis="http://www.sap.com/SBO/DIS"> <Service>DraftsService</Service> <Document> <DocEntry>28</DocEntry> <Confirmed>tYES</Confirmed> <DocumentLines> <DocumentLine> <LineNum>0</LineNum> <ItemCode>B10000</ItemCode> <Quantity>1.000000</Quantity> </DocumentLine> <DocumentLine> <LineNum>1</LineNum> <ItemCode>A00006</ItemCode> <Quantity>10.000000</Quantity> </DocumentLine> </DocumentLines> </Document> </dis:SaveDraftToDocument> </env:Body> </env:Envelope>



Response:

<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Body> <env:Fault> <env:Code> <env:Value>env:Sender</env:Value> <env:Subcode> <env:Value>-5002</env:Value> </env:Subcode> </env:Code> <env:Reason> <env:Text xml:lang="en">Invalid value [ORDR.Posted][line: 0]</env:Text> </env:Reason> <env:Detail> <Service>DraftsService</Service> <Command>SaveDraftToDocument</Command> <SessionID>971FC79F-7B98-4FD2-896C-3879CB13BDC6</SessionID> </env:Detail> </env:Fault> </env:Body> </env:Envelope>

Accepted Solutions (0)

Answers (1)

Answers (1)

jlvilloue
Discoverer
0 Kudos

Hello,

We have the same issue when creating a purchase order from a draft.
Have you solved your problem ?