cancel
Showing results for 
Search instead for 
Did you mean: 

Avoiding BPM in a rfc to file scenario

Former Member
0 Kudos

Hello,

I am using a RFC to access data and post a file, i donot need the response, can i avoid the BPM by anyways,

i donot want to use bpm, can this be done.

Regards,

Anirban.

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

but what is your scenario?

SAP RFC - File ?

if so why do you need BPM ?

Regards,

michal

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Anirban,

you don't need BPM for RFC(R/3) -> XI -> File. Can you tell us what is your exact scenario.

Thanks,

Prateek

Former Member
0 Kudos

Thanks for the enourmous response, here is my detailed scenario :

I am involved i a POC involving BW and sap xi, we decided to use Rfc for a case study.

I get data from BW server via RSA3 Tcode,

1. How i access data from data source in rsa3, so i found that standard RFC being used by BW and thats function module MCEX_BW_LO_API, i can't use that directly so added a wrapper zz_MCEX_BW_LO_API

so whats after that, ???

2. is this the correct way to intregate with BW.

3. It uses many table so i can't really code a proxy .

Anyhelp,

BTW I thought bpm would be needed for the asyn-sync bridge, correct me if i am wrong!!!

Thanks again,

Anirban.

MichalKrawczyk
Active Contributor
0 Kudos

if you don't want to use RFC (not very good if you send tons of data) you can use th RFC to get the data in the proxy

and just send it with proxy

but you can also use the RFC if you want

>>>>BTW I thought bpm would be needed for the asyn-sync bridge, correct me if i am wrong!!!

but why do you need sync? you only need async RFC to async file

Regards,

michal

Former Member
0 Kudos

Hi,

<i>RFC to get the data in the proxy

and just send it with proxy

</i>

Can you help me on this, any code snippets or link ??

Anirban.

MichalKrawczyk
Active Contributor
0 Kudos

hi,

1. you generate the proxy with

a structure similar to your RFC (the one that get the data from several tables)

then inside this proxy you execute the RFC

(to get the data easily) and just fill the

proxy tables from RFC tables and send the proxy call

to XI

nothing complicated, that all

Regards,

michal

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Anirban,

These links are 2 RFC lookups done by Michal and Sravya.

They contain the skeleton code to help you. if you need more info, do let me know, I have called a RFC in my Java Mapping and if needed I can pass that code to you,

/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/801376c6-0501...

Regards,

Bhavesh

MichalKrawczyk
Active Contributor
0 Kudos

but why does he need RFC lookup ?

he only wants to send data with RFC

no lookup needed I guess

unless I don't understand the scenario

which may also happen

Regards,

michal

Former Member
0 Kudos

Yes, i donot need a particular field maipulation, so lookups is not feasible, i need to send data via RFC.

Former Member
0 Kudos

Hi Bhavesh,

Can You please send me that code and please let me know where to paste it.

Thanks

Srinivasa

udo_martens
Active Contributor
0 Kudos

Hi Anirban,

yes, if i understand you right, you have a scenario like

RFC (R/3)->XI->File(3rd party)

where you call a function module at R/3 to send an asynchron message for writing a file. Very easy, you dont need BPM.

Regards,

Udo

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Anirban,

Yes, this is possible. <b>An RFC can be called inside a Java Mapping code itself</b>. Something we have done successfully, when we faced a similar situtation.

So, all we will need is something to trigger your process and this can be say a dummy file being picked by your file adapter.

If you need more info, on how to perfrom an RFC look up inside a Java Mapping code, do let me know

Regards,

Bhavesh

Former Member
0 Kudos

Hi

can u pls tell me

" how to perfrom an RFC look up inside a Java Mapping code"

thx in advance

bhavesh_kantilal
Active Contributor
0 Kudos

Kuldeep,

This blog explains it all ,

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

Regards

Bhavesh

Former Member
0 Kudos

Hi,

I want the Procedure for doing the same (how to call RFC)in the java mapping.

Please send the info to srinivas5780@gmail.com

Thanks

Srinivasa