Hello Folks,
I need help on DI - Server, I am trying to add StockTransfer Draft Document - StockTransferDraftService
but getting the following error - Failed to create Business Service.
Any help will be appreciated,
Now the weird part - Its working on Test Database but getting failed on the production server.
Please find the request and response sample for your reference -
Request
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<MsgHeader xmlns="http://www.sap.com/SBO/DIS">
<SessionID>29051362-EB01-4BD7-970A-34D8945E45A2</SessionID>
<ServiceName>DraftsService</ServiceName>
</MsgHeader>
</soap:Header>
<soap:Body>
<Add xmlns="DraftsService"><Document xmlns="http://www.sap.com/SBO/DIS">
<CardCode>60003126</CardCode>
<NumAtCard>Service Call No. 2122669781</NumAtCard>
<Comments>t</Comments>
<PaymentGroupCode>84</PaymentGroupCode>
<ContactPersonCode>4775</ContactPersonCode>
<Series>1214</Series>
<DocObjectCode>23</DocObjectCode>
<ShipToCode>V V Marine Products</ShipToCode>
<DocumentsOwner>111</DocumentsOwner>
<PayToCode>V V Marine Products</PayToCode>
<U_Region>South Region</U_Region>
<U_SerRepNo>2122669781</U_SerRepNo>
<U_Srrep_date>2022-01-01</U_Srrep_date>
<DocumentLines>
<DocumentLine>
<LineNum>0</LineNum>
<ItemCode>51730050</ItemCode>
<Quantity>1</Quantity>
<DiscountPercent>5</DiscountPercent>
<WarehouseCode>1001</WarehouseCode>
</DocumentLine>
</DocumentLines>
</Document>
</Add>
</soap:Body>
</soap:Envelope>
Response
<?xml version="1.0"?>
<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>-1</env:Value>
</env:Subcode></env:Code><env:Reason><env:Text xml:lang="en">Failed to create Business Service</env:Text></env:Reason><env:Detail>
<Service>DraftsService</Service>
<Command>Add</Command><SessionID>EDBED807-F7DB-496D-89BD-D2D6D32C0DE3</SessionID></env:Detail>
</env:Fault>
</env:Body>
</env:Envelope>
24/01/2022 14:30:07 Response (Fault)