Skip to Content
avatar image
Former Member

Sending "on demand-files" from SAP

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 30, 2008 at 10:00 AM
    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • avatar image
    Former Member
    Sep 30, 2008 at 10:06 AM

    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

    Add comment
    10|10000 characters needed characters exceeded