Skip to Content

File - RFC - File without a BPM - Possible from SP 19.

All,

Just thought I'd add a quick note here.

<b>From SP 19 on XI 3.0 and SP 10 on PI 7.0, a File - RFC - File ( Asynch - Synch ) scenario can be done without a BPM.</b>

<i><b>Steps:</b></i>

<i><b>Integration Repository</b></i>

The Integration Repository will be similar to any Synchronous Scenario ( say HTTP - RFC ) . 1 Outbound Synch message Interface and 1 Inbound Synch Message Interface.

<i><b>Integration Directory</b></i>

This is where a few differences lie, so let me take some time.

1. The Receiver Determination , Interface Determination will be the same as in HTTP - RFC synch scenario. Create the Sender File Adapter, Receiver RFC Adapter and Receiver File Adapter.

2. Sender Agreement will be for the Sender File Adapter. Sender Agreement uses the Synch Outbound Message Interface.

3. Receiver Agreement will be for the Receiver RFC adapter. Receievr Agreement will use the RFC as thge Inbound Message Interface.

<b>4. We need to add a few modules in the Sender File Adapter.</b>

Go to the Modules Tab of the Sender File Adater, and add the following modules in the same sequence,

<b>Number - ModuleName - Type - ModuleKey</b>

1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
2- CallSapAdapter-Local Enterprise Bean - 2
3-AF_Modules/ResponseOnewayBean-3

<i><b>Parameters</b></i>

<b>ModuleKey - ParameterName - ParameterValue</b>

1 - passThrough - true
3-receiverChannel - Receiver File Adapter Name
3-receiverService - Receiver Business Service/ System

With this configuration, you can now handle the requirement without a BPM 😊

This feature been already blogged for JMS Adapters in these blogs ,

<a href="/people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19">Sync/Async communication in JMS adapter without BPM (SP19)</a>

<a href="/people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19">Async/Sync Communication using JMS adapter without BPM (SP 19)</a>

Dynamic Configuration is also possible,and this as well as many other options are discussed in the How To guide - <i>"How To Realize a sync-async and async-sync

bridge within the Adapter Framework"</i> available on the Service Market Place.

For info on the Modules used here, look into these links,

Request" target="_blank">http://help.sap.com/saphelp_nw04/helpdata/en/45/20c210c20a0732e10000000a155369/content.htm">Request Response Bean

Response" target="_blank">http://help.sap.com/saphelp_nw04/helpdata/en/45/20cc5dc2180733e10000000a155369/content.htm">Response Oneway Bean

Hope this info helps,

Regards

Bhavesh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

11 Answers

  • avatar image
    Former Member
    Jul 11, 2007 at 01:04 PM

    To Xi specialists

    I tried like this, but I got message error.

    Please give me your helps!

    My plan is that old File -> JDBC -> new File.

    -


    1.sender adapter is file and I sat modules.

    1 - AF_Modules/RequestResponseBean - Local Enterprise Bean - 1

    2 - CallSapAdapter-Local Enterprise Bean - 2

    3 - AF_Modules/ResponseOnewayBean-Local Enterprise Bean - 3

    1 - passThrough - true

    3 - receiverChannel - MY Receiver File Adapter Name

    3 - receiverService - MY Receiver Business System Name

    2.receiver adapter determination is JDBC adapter.

    of course select sync type.

    3.I prepared File type adapter.

    I sat this adapter name at "step 1"

    -


    Before "step 1", I tryed JDBC adaper from RWB test tool, And I got right value.

    But I set "step 1", I got messeage error.

    <b>com.sap.aii.af.ra.ms.api.DeliveryException: Object not found in lookup of RequestResponseBean</b>

    maybe I mistake my module settings, but I could not find out it....

    of course, My XI is SP10.

    thanks Naoki!

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 21, 2007 at 09:17 AM

    hey bhavesh

    thats indeed very useful info for budding xi consultants like us....thanks a ton for sharing these kinda info

    regds

    Prabhu

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 21, 2007 at 09:22 AM

    thnx for the note dude.

    I really wanted to try it out but unfortunately i have a 'server' with a 'very bad cold' 😔

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 08, 2007 at 10:52 AM

    Hi Bhavesh,

    I want to call the get the data RFC (from R/3) and send to file. In that case what is configuration required.

    I have two types of one is required parameter and second type of rfc is not required paramater.

    Regards

    Ravi K

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 12, 2007 at 02:18 PM

    HI bhavesh,

    Its Very useful..

    Regards

    Chilla..

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 20, 2007 at 05:10 AM

    hi Bhabvesh

    thanks a lot to track me in the right way.

    U have given a nice concept.

    I have used module tab on the CC only for the Mail purpose.

    regards

    sreeni

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 02, 2007 at 06:38 AM

    Hi bhavesh,

    I'm doing JDBC-RFC-JDBC Scenario. Pls let me know what kind of message interface i need to create for that

    Thanks in advance

    Regards

    Vijay

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 10, 2007 at 09:09 PM

    Hello

    Thanx to the blog that helped me understand the concept clearly, but i dont find any component with xi related

    i found only

    component highest support

    SAP_ABA

    SAP_BASIS SAPKB64015

    PI_BASIS SAPKIPYI66

    SAP_BW

    in my status list

    so culd any one please help me out to know my service pack and to execute the scenario.

    thanks a million

    hari

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 25, 2007 at 11:27 PM

    Hi ,

    I am trying a File RFC File scenario without using BPM with the help of the above thread:

    The XI system I am working on is PI 7.0 sp 12. When I am trying to acheive the above scenario, I am getting weird results i.e., when I observe in SXI_MONITOR, the message is showing as processed successfully, but when I watch the message status in communication channel monitoring, I am getting the following error:

    "Attempt to process file failed with com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=DEV120;TS=Test_Service;AN=MI_Invoice;ANS=urn:sap.com:test;"

    I am not able to understand what the problem is. By the way, one more thing, is, I have kept the File processing mode as "Delete" in the sender file adapter. But the file is not getting deleted. I think the reason could be because of the above error.

    Can any body help me out in getting my problem resolved?

    Thanks,

    Adithya K

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi All,

      Even I am facing little bit same problem. I have kept the File processing mode as "Delete" in the sender file adapter. But the file is not getting deleted.

      The error is,

      Error: com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException

      The messages are getting generated in SXMB_MONI but file is not getting created at target.

      Kindly Suggest.

      -Gouri

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

    Hi Bhavesh,

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

    my customer wants to indicate in the RFC.request 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.response

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

    Do you 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

    • Former Member

      David,

      I could think of using Java proxies to cater your requirements at the receiver end instead of a File adapter. File adapter does not have a provoision for dynamic file name (at the sender side).

      Thanks

      Jaishankar

      PS: This question is not realted to this thread. Better create a new thread for this topic.