cancel
Showing results for 
Search instead for 
Did you mean: 

How to Send an File Using Web SErvice CustomerQuote

former_member497636
Discoverer
0 Kudos

Dear Friends;

I have a problem with a Web Service Standar ManageCustomerQuoteIn, because I'm trying send a file Txt using WebService but this can't function,

for example my request Test is:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global" xmlns:a2f="http://sap.com/xi/AP/CustomerExtension/BYD/A2FNZ"> <soapenv:Header/> <soapenv:Body> <glob:CustomerQuoteBundleMaintainRequest_sync_V1>

<CustomerQuote actionCode="02">

<ID>17998</ID>

<AttachmentFolder DocumentListCompleteTransmissionIndicator="true" ActionCode="01">

<Document PropertyListCompleteTransmissionIndicator="true" ActionCode="01"> <LinkInternalIndicator>true</LinkInternalIndicator>

<VisibleIndicator>true</VisibleIndicator>

<CategoryCode>2</CategoryCode>

<TypeCode>10001</TypeCode>

<MIMECode>text/plain</MIMECode>

<Name>DocumentName.txt</Name>

<AlternativeName>AltName.txt</AlternativeName>

<Description languageCode="EN">Desc foo</Description> <ExternalLinkWebURI>http://sap.com/anyURI</ExternalLinkWebURI>

<FileContent ActionCode="01">

<BinaryObject mimeCode="text/plain">YWJjZGU=</BinaryObject>

</FileContent>

</Document>

</AttachmentFolder>

</CustomerQuote>

</glob:CustomerQuoteBundleMaintainRequest_sync_V1> </soapenv:Body> </soapenv:Envelope>

but this test can't send file .Txt, please someone with the similar experience who could solve the problem,

I have used this reference https://my327218.crm.ondemand.com/sap/ap/ui/repository/SAP_BYD_UI/HTML5/cp5.html?objname=II_APCRM_MA... but without succes.

Best Regards

Luis Minaya

Accepted Solutions (1)

Accepted Solutions (1)

manideepsatya
Advisor
Advisor
0 Kudos

Hello luis.minaya.obregon,

Check this blog - if it helps you
https://blogs.sap.com/2015/10/08/read-and-write-bydesign-attachments-using-web-services/

Regards,
Satya

Answers (0)