cancel
Showing results for 
Search instead for 
Did you mean: 

XML file to send to SAP directory structure

hirakangshu_nag
New Contributor

Hi Team,

I am trying to send an xml file to SAP system. Client has provided hostname, port and the directory structure like /usr/…/…/ like this. Few queries I have :-

a. Is it possible to send an entire xml file to SAP system?
b. Does SAP directory is similar to our file structure that we use for Linux systems?
c. DO we need to use File writer snap for sending xml file in this case?
d. Which protocol to use here?

Regards,
Hirak

1 REPLY 1

igormicev
Contributor

Hi @hirakangshu.nag

Is it possible to send an entire xml file to SAP system? - this is actually copying of the file to the SAP location, and then a watch-dog process will take it for processing.

You can use the File Writer, check out the protocols it supports - https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1438927/File+Writer

You must get the information about the protocol, i.e. whether the SAP directory is: ftps, sftp, file, etc, …
and then use the same in your File Writer snap.

You can also check out the File Operation snap - https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/187072700/File+Operation