cancel
Showing results for 
Search instead for 
Did you mean: 

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

bhavesh_kantilal
Active Contributor
0 Kudos

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,

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

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

Hope this info helps,

Regards

Bhavesh

Accepted Solutions (0)

Answers (11)

Answers (11)

Former Member
0 Kudos

Hi Bhavesh,

I am working on File - RFC -File Scenario With our BPM, I am getting below Error..

Could you please guide me...

Errors are:

1. Received XI System Error. ErrorCode: MSGGUID_EXISTING ErrorText: ErrorStack: Message ID 8EA4BE7484B5415D32A3FC63EB00E99E for pipeline CENTRAL, version already exists in system

2. Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.

3. Transmitting the message using connection http://xxxxx/sap/xi/engine?type=entry failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.

4. The message status set to FAIL.

5. Returning to application. Exception: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:

6. Attempt to process file failed with com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:

Edited by: S R on Nov 20, 2008 5:03 PM

Edited by: S R on Nov 24, 2008 9:25 PM

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

former_member186078
Active Participant
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Log On to the XI Home page , Go to the Administration Link and you will find a link called Details / Software Build Information and here you will find the details of which SP you are on.

Regards

Bhavesh

Former Member
0 Kudos

Hi Kantilal,

Can the process you mentioned handle the following scenario

IDOC --> XI --> HTTP (Request )

HTTP --> XI --> FIle ( Response )

I asked this becos for IDOC we dont configure sender Adapter ??

Former Member
0 Kudos

Hi Bhavesh,

I am having some issues working with the File-RFC-File without BPM. I have already posted the query regarding this in forum

Could you please provide some inputs to the issues I have....

Regards,

Nithiyanandam

Former Member
0 Kudos

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!

bhavesh_kantilal
Active Contributor
0 Kudos

Can you confirm if you are on XI or PI?

If PI 7.0 then it works on SP 10 if XI 3,0 then it is Sp 19.

Apart from that the config looks good to me .

Regards

Bhavesh

Former Member
0 Kudos

sorry I didnt say it.

Of course PI7.0 SP10

bhavesh_kantilal
Active Contributor
0 Kudos

Hmm.. not sure why it aint working for you. The exact parameters worked for me.

Maybe a typo somewhere is what I can think of and also do check if both the java and ABAP stack where upgraded to SP 10.

Regards

Bhavesh

Former Member
0 Kudos

To XI specialits

till I know what happened.JDBC adapter has bugs.

I tried File -> RFC -> File, I found new File was made.

but I tried File -> JDBC -> File, I could not find new File...

maybe, JDBC adapter have to manage transaction.

I think way of management taransation is different at Be, EO.

My plan is File -> ABAP Proxy -> File.

So I ll use this function.

Thank you Mr Bhavesh Kantilal.

bhavesh_kantilal
Active Contributor
0 Kudos

Actaully , now I realise this as well. There is infact a bug with JDBC adapters and there has been a note released by SAP for this. Will get back to you if i do get the note number.

Meanwhile a search on Market place should give you the solution to this problem.

Regards

Bhavesh

henrique_pinto
Active Contributor
0 Kudos

Hey Bhavesh,

the note is described in this thread:

The number is 1039779.

Regards,

Henrique.

Former Member
0 Kudos

Thanks Bhavesh. Would you want to publish this as a Blog for the Newbies and lazzy people like me!!!

Kuddos to you.

henrique_pinto
Active Contributor
0 Kudos

> Thanks Bhavesh. Would you want to publish this as a

> Blog for the Newbies and lazzy people like me!!!

I double that.

Regards,

Henrique.

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

Bhavesh,

I have just this requirement to implement, but i must use FTP adapter,

is the same configuration? or is possible just for NFS??

I receiver a a file via FTP and i have to execute the BAPI_GOODSMVT_CREATE which return a document_movements, this movements i have to send back to a file via FTP.

Let me know please.

former_member181985
Active Contributor
0 Kudos

Rodigro, This is possible for FTP as well. only communication protocol is different.

Former Member
0 Kudos

Asyn-syn brige without BPm work for file only ?

else can i use it for JDBC scenario also?

Regards,

vasudeva

swatantra_vijay3
Participant
0 Kudos

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

former_member201264
Active Contributor
0 Kudos

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

bhavesh_kantilal
Active Contributor
0 Kudos

Nice to know that this helped

Regards

Bhavesh

Former Member
0 Kudos

Hi Kantilal,

nice job this sure will help guys like us ....thanks for sharing ur good thoughts

Regards,

Azeez khan.

Former Member
0 Kudos

HI bhavesh,

Its Very useful..

Regards

Chilla..

Former Member
0 Kudos

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

Shabarish_Nair
Active Contributor
0 Kudos

thnx for the note dude.

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

prabhu_s2
Active Contributor
0 Kudos

hey bhavesh

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

regds

Prabhu