cancel
Showing results for 
Search instead for 
Did you mean: 

Sending "on demand-files" from SAP

Former Member
0 Kudos

Hi gurus,

this is a scenario on which im workin on: SAP - PI 7.0 - Fileserver (RFCtoFTP)

my customer wants to indicate in the RFC some parameters and depending on them, access to some files located in some folders of the fileserver or others files in other directories...Them, to populate the content of these files to SAP via RFC.

In order to do this, the RFC should be a SYNCHRONOUS RFC (sRFC) but FILE adapter does not support synchronous exchange.

Do you guys know how to meet these requirements and which adapters to use??

I would prefer not using BPM as there are lots of interfaces running on it.

Thanks a lot in advance and best regards,

david

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

If you are looking for this kind of work means check this once

File-RFC-File With out Using BPM

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file%28without+bpm%29&;

Regards

Seshagiri

Former Member
0 Kudos

Hi

File - RFC - File without BPM

U shud also go through follwoing link for RFC sender. It may helps you...

Regard's

Chetan Ahuja

Former Member
0 Kudos

Hi again,

My scenario is as follows:

SAP sends to PI an RFC.request with some input parameters,

PI examines these parameters and depending on them, it looks for some specific files in some specific folders.

Once the files are in PI, they are mapped and sent back to SAP using the RFC.response

Is there any way to achieve that?

Any clue on this?

Best regards,

David

former_member181985
Active Contributor
0 Kudos

No this is not possible directly.

A work around is, write a HTTP Java program(servlet) which basically accepts the RFC input structure and read the paramters which are pointers to Files/folder, then access the corresponding data using Java FILE API and then map to RFC response(render the structure equilvalent to RFC response structure).

So your scenario become RFC>XI>HTTP

You can deploy the HTTP servlet program either in XI or in File system. Install tomcat webserver(XI or FileSystem) which hosts your servlet.

Thanks,

Gujjeti