cancel
Showing results for 
Search instead for 
Did you mean: 

Scenario File-XI-RFC-File

0 Kudos

hi,

I have send a file to a RFC using XI.The RFC.response is being received by XI correctly in XI Monitor.

Now,I need to send this RFC.response to Flat file.

For this,What i need to do? The only way is using BPM?

¿all the interfaces should be async?

Can any body help me step by step in this regard..........

I'm with XI 3.0 SP9.

Regards,

Antonio.

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi Antonio,

yes, you're right you have to use BPM in this case as

File adapter can only work in async mode.

your BPM can look like this:

Receive step(file) -> transformation step -> send step ->

receive step(if you use async RFC) -> transformation step -> send step (file)

if you want you can use sync RFC then you won't have to use the second receive step and you won't have to do the correlation - but it depends on the time of your RFC response

this weblogs shows the scenario with sync RFC (file -> sync RFC -> file 😞

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

If you want a guide on BPM take a look at this weblog:

/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm

Regards,

michal

0 Kudos

Hi michal !

Indeed preparing a BPM I have noticed that it works.

The scenario finally is

File Adapter Received -> XI BPM (async)-> RFC call (sync) -> RFC.Response in File Adapter Send (async), and it already works (and with a fantastic system time response). A million thanks!

Regards,

Antonio

MichalKrawczyk
Active Contributor
0 Kudos

no problem Antonio:)

Regards,

michal

Answers (2)

Answers (2)

former_member187339
Active Contributor
0 Kudos

Hi Antonio,

No problem....

Regards

Suraj

former_member187339
Active Contributor
0 Kudos

Hi Antonio,

In the <b>Integration Repository</b> (Design) :

1. Create Data type, Message Type for Input file and Output file.

2. Import the RFC.

3. Now create Message Interface for both input (outbound type, asynchronus)and output (inbound type, asynchronus) files. Create Abstract Intefaces (asynchronus) for these two files.

4. Create a synchronus Message interface for the RFC.

5. Create the request (input file and RFC) and response( RFC.response and output file) Message Mapping.

6. Create Interface Mapping (between the synchronus inteface created in step 4 and RFC)

7. Create a <b>BPM</b> (Integration Process)with receive (input file), send (synchronus) and send(asynchronus).

In <b>Integration Directory</b> (Configuration)

1.Create new Scenario. Assign the Business System from which RFC is being picked and new Business Service.

2.Specify three communication channel. One each for input (sender) and output file (receiver) and one for RFC (Receiver).

3. Create the Integration Process.

4. Create a sender Agreement (between File Service and RFC(Business System))

5. Do three Receiver Determination and Corresponding Interface Determination

a. File Service and BPM

b. BPM and RFC(Business System)

c. RFC and File Service

6. Create two Receiver Agreement

a. BPM and RFC (Business System)

b. BPM and File Service.

Hope this will be helpful.

Regards

Suraj

0 Kudos

Hi Suraj!

Your step-by-step guide was helpful to me. I already have working a BPM that run correctly my scenario

Thanks a lot!

Regards,

Antonio !