on 2018 Nov 06 11:04 AM
Dear Community,
I have a question on how to use WebDAV.createfile function located in Platinum engineering
It has 4 parameters:
- SifInterfaceCode located in Repository data types
- FileName - this is a string
- ContentType - is this the same as MIME code? ie. text/csv or image/jpg
- BinaryContent - this is the data itself in binary format
Many thanks in advance for your response,
Regards,
David Pacovsky
Hi David,
the Platinum Engineering library contains mainly internal reuse functions and only a very few of them are released (for example the session ID). Unfortunately the reuse function WebDAV.CreateFile is not released and cannot be used so far.
Please create an improvement request in our Customer Influence session for SAP Business ByDesign if you see a need to provide a function to create files in the ByD WebDAV folder using SAP Cloud Applications Studio.
Best regards,
Knut
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Knut,
May I ask you for further guidance on this problem, if at all possible:
We create a .csv file from SAP data and put this file in an Attachment folder of our custom business object. Our customer needs to have an access to this file through his third-party system ( they are looking to upload the file from ByD to an FTP server from which the file would accessed by third-party system)
Would you see any other way to achieve this besides using WebDAV? We are considering using OData, however, this is not a preferred method in this particular scenario therefore another approach besides OData would be very welcomed.
Many thanks in advance for your response.
Best Regards,
David Pacovsky
Hi Dávid,
the easiest approach to extract attachments would be using the Soap service ManageAttachmentFolderIn (see Read and Write ByDesign Attachments using Web Services) or via OData. The connection to an FTP server could be realized using a middleware or some local app to getthe file from the ByD web services.
Best regards,
Knut
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
10 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.