on 05-27-2018 7:36 AM
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>
Hello,
We have the same issue when creating a purchase order from a draft.
Have you solved your problem ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.