Skip to Content

Automatic upload of Data in WebDav folder

Hi, I am trying to automatically upload a file in WebDav folder using the predefined available Communication arrangement "Access Documents via WebDav". as mentioned in thislink

the uploaded file should be available in the below location Input and Output management-Fileinput

The below is the Request xml that we get when Iload WSDL file in SoapUI.

I am not sure of what values to be passed in the below fields, ObjectTypeCode, URI, etc.

This is similar to ManageAttachmentFolderIn interface but not exactly the same.

Any sample file would be helpful. Also where is the field where we specify the Service Interface name? As this file will be used for FileInput by an Interface.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
   <soapenv:Header/>
   <soapenv:Body>
      <glob:AttachmentFolderFileMaintainRequest_sync>
         <!--Optional:-->
         <BasicMessageHeader>
            <!--Optional:-->
            <ID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">?</ID>
            <!--Optional:-->
            <UUID schemeID="?" schemeAgencyID="?">?</UUID>
            <!--Optional:-->
            <ReferenceID schemeID="?" schemeAgencyID="?" schemeAgencySchemeAgencyID="?">?</ReferenceID>
            <!--Optional:-->
            <ReferenceUUID schemeID="?" schemeAgencyID="?">?</ReferenceUUID>
         </BasicMessageHeader>
         <AttachmentFolderFile>
            <ActionCode>?</ActionCode>
            <HostObjectNodeTechnicalReference>
               <ObjectNodeTechnicalID>?</ObjectNodeTechnicalID>
               <!--Optional:-->
               <ObjectTypeCode listID="?" listVersionID="?" listAgencyID="?">?</ObjectTypeCode>
               <!--Optional:-->
               <ObjectNamespaceURI schemeID="?">?</ObjectNamespaceURI>
               <!--Optional:-->
               <ObjectName>?</ObjectName>
               <!--Optional:-->
               <ObjectNodeTypeCode listID="?" listVersionID="?" listAgencyID="?">?</ObjectNodeTypeCode>
               <!--Optional:-->
               <ObjectNodeNamespaceURI schemeID="?">?</ObjectNodeNamespaceURI>
               <!--Optional:-->
               <ObjectNodeName>?</ObjectNodeName>
            </HostObjectNodeTechnicalReference>
            <!--Optional:-->
            <UUID schemeID="?" schemeAgencyID="?">?</UUID>
            <!--Optional:-->
            <TypeCode listID="?" listVersionID="?" listAgencyID="?" listAgencySchemeID="?" listAgencySchemeAgencyID="?">?</TypeCode>
            <Name>?</Name>
            <!--Optional:-->
            <AlternativeName>?</AlternativeName>
            <!--Optional:-->
            <Description languageCode="?">?</Description>
            <!--Optional:-->
            <BinaryObject mimeCode="?" characterSetCode="?" format="?" fileName="?" uri="?">cid:349310390213</BinaryObject>
         </AttachmentFolderFile>
      </glob:AttachmentFolderFileMaintainRequest_sync>
   </soapenv:Body>
</soapenv:Envelope>

Any help is appreciated.

Thanks

Abdul Rasheed

img.png (11.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 13, 2017 at 12:49 PM

    Hello Abdul,

    Have you already taken a look into the documentation at section 8.13?

    Furthermore - even as it is not exact the same, but it is similar: Mass Upload.

    HTH,
    Horst

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Horst,

      • I have access to all Business roles.
      • There is some WoC in Admin for WebDAV where we can maintain business roles for Communication. Tried this option as well

      I have raised an incident with SAP. Will update once I get any progress on this.

      Regards,

      Abdul Rasheed.