cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to Multiple Files

0 Kudos

Hi SAP gurus,

Can anyone provide me the step by step procedure of RFC to Multiple files scenario .

I have Imported PO BAPI.My scenario synchronous.

In this case without BPM is possible?

Regards

Muni

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi ,

as per my knowledge , that is not possiable without bpm and possuable fill to rfc synchronous by using rfc lokkup.

please refer below blogs:

[rfc to multiple files with bpm|http://www.saptechies.com/multiple-occurrence-of-file-to-single-occurrence-of-rfc/]

former_member183909
Active Participant
0 Kudos

This may be of use

[File to RFC with multiple records using BPM|http://www.saptechnical.com/Tutorials/XI/FiletoRFC/BPM.htm]

rajasekhar_reddy14
Active Contributor
0 Kudos

File adapter will not support Sync call,better to split your requirement in to two scenarios.

or use BPM.

0 Kudos

I am new to XI.can you explain in detail of this asynchronous scenario.

I searched in Forums but i didnt found any link regarding this.

Former Member
0 Kudos

ur requirement is splited to 2 scenarios

1. rfc(ECC) to file(3rd Party)

2.File to Rfc

scenario rfc(ECC) to file(3rd Party):

step1: import RFc under imported objects.

step2:create datatype and mes.type and service interface for target system

step3:create OM and message mapping

id:

create communication channesl for sender as wel as receiver sys.

create agreements for sender as wel as receiver comm.channels

create receiver and interface determination. and

in receiver determination you will maintain condition for multiple receiver files

scenario 2: File to Rfc

you should follw same manner for second scenario also but now u ll create datatype and mes.type and service interface for source sys.

here dont need to provide any condition becase in sender communication channel , we have one option like

"Advances selection for source file"

Edited by: bhavanisankar.solasu on Jan 20, 2012 6:10 AM

0 Kudos

Is there any configurations need to be done on sender side RFC?

I am getting Runtime Error.....

Sender Comm.channel and Sender aggreement required for sender side RFC?

Regards

Muni

Former Member
0 Kudos

>>Is there any configurations need to be done on sender side RFC?

yes ..create sender agreement and assign sender RFC channel to the same. In case of any doubts search SDN for config...

0 Kudos

I Have done the configurations at Sender Side......Connection is OK...Recv comm.channel is OK...

But RFC Sendr CC is showing Red Colour....its not showing any error msg...

Regards

Muni

Former Member
0 Kudos

But RFC Sendr CC is showing Red Colour

once you have to change the dummy changes in sender communication chennel and reactivate .

same as in sender agreement and reactivate . mightbe the reason is cache updates.

0 Kudos

Thnks for the Response....

Its working now...But when when I am triggering BAPI from SE37 I am getting an error

Exception SYSTEM_FAILURE

Message ID: 00 Message number: 341

Message:

Runtime error CALL_FUNCTION_NOT_FOUND has occurred

How to Solve this????

Former Member
0 Kudos

have you seen below thread:

we need to test RFC(T) connection by using t.c:SM59

http://saponnet.com/callfunctionnotfound-runtime-error-sxmsgetmeteringrecords

0 Kudos

Thanks for the Response....

I checked the links...But I didnt understand y DT & MT required for RFC...

As we already Imported RFC...I thk only we have to create DT & MT,SI for file....with RFC req we have to map the fileds to File MT....

Can u Explain y we have to create DT,MT for sender RFC?

Former Member
0 Kudos

hi muni,

what link u checked, dont need any dt and mt ,si for Sender side , just i posted once you check RFC detsination type t by using SM59 because ur posted system related issue.

0 Kudos

I checked the RFC destination which i created in TCP/IP..a nd i mentioned the same in se37 RFC target system..

Connection is Ok

When I am Sending the data from BAPI to PI at tht Iam getting an error....

I think the scenario is failing because the receiver is file and it cannot send a response back.

Rfc is expecting a synchronous response and there is no mapping for the response ..as the scenario is Aynchronous..