cancel
Showing results for 
Search instead for 
Did you mean: 

file-RFC-file without BPM

Former Member
0 Kudos

hi all,

I have a file-rfc-file scenario,i will be having the input file and the response from the RFC is captured in another output file.Also the response should trigger a commit RFC(which has no input and output).Do i need a BPM for this?

Anyways i can avoid BPM(if required)?

Also i would like to know what is RFCping and can we use it in this case?

awaiting replies,

thanks

Nisheeta

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hey if u want to send a request to RFC and get response back from RFC u will need BPM as file adapter does not suport synchronous calls.

thanx

ahmad

Answers (3)

Answers (3)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

><i>Also the response should trigger a commit RFC(which has no input and output).</i>

Can you explain this further?

Regards

Bhavesh

Former Member
0 Kudos

hi bhavesh,

i give the input to an rfc with a file and the response i have to get in an output file.After receiving the above data XI has to call a commit RFC

QIRF_SEND_COMMIT_TO_QM.

I know with BPM i need to use a fork and then send the output to the commit rfc and also to the file(Ppz correct me if i am wrong!!)....but i was wondering if this can be done without a BPM(as we wud like to avoid it)

Also any idea abt wat is RFCping??

any suggestions

regards,

Nisheeta

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

As you have a communication between an Asynch System ( File ) and a Synch System ( RFC ) you would need to use a BPM. There are no work arounds to it.

There is one option though , there is a concept called RFC LookUp using which you can call an RFC and get the response from insde your message mapping with a User Defined function.

So, maybe you can get the file, and while mapping the same to the target file , you can trigger the RFC call using the RFC LookUp API and then map the response ot the target!

But, this should be used only in case of non transactional RFC calls. If the RFC is going to do some DB actions like Insert / Update you should not use this option.

Let me know if you need more details,

Regards

Bhavesh

Former Member
0 Kudos

hi bhavesh,

I think i would have to go for BPM as the RFCs i am using will be a transactional RFC.Thanks a lot for the other way of doing it in case of non-transactional RFC

thanks,

Nisheeta

bhavesh_kantilal
Active Contributor
0 Kudos

Nisheeta,

In case you do need to do RFC lookup's in the future, these blogs willhelp,

/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer

/people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes

But remember, never use this for Transctional Calls, as error handling can become difficult in such cases.

Regards

Bhavesh

Former Member
0 Kudos

have a look at the following thread

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

hopefully it will solve ur issue

thanx

ahmad

pl:Reward with points if ur issue is resolved

Former Member
0 Kudos

Hi,

Can you explain your scenario a bit more...

As such a file-rfc-file is not possible with out a BPM.

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

Regards,

Jai Shankar