cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to File - Async Scenario How to trigger the RFC ?

Former Member
0 Kudos

Hi Friends,

I am working the Async scenario like RFC to File .My requirement is i like to trigger the RFC once a day ( That RFC has query to read data from Oracle ) then push the data to create flat file .

My question is

1.Is there no way to create background job for RFC ?

2. How can i trigger the RFC to push the data to File ?

Can u please tell me the steps to do that ?

Regards.,

Shyam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can schedule a job for this

Former Member
0 Kudos

Hi can u please how to schedule

Former Member
0 Kudos

Hi,

Y don't u create a program and call the RFC in that. In this way u can schedule the program

Former Member
0 Kudos

Create sample ABAP Program and then call the RFC inside it. U can schedule the same using SM36 transaction.

To call RFC async CALL FUNCTION <Fname> DESTINATION <dest> IN BACKGROUND TASK.

Regards

Rajeev

Shabarish_Nair
Active Contributor
0 Kudos

my suggestion is to go for a proxy. the proxy will be called via a report (look at the blog).

you can schedule the report.

More @

http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm

Former Member
0 Kudos

ur program extracts the data that u need and calls the rfc (RFC>XIFile) with the extracted data. in this case it is not the RFC which extracts the data...

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

Embed the RFC call in a Proxy and then redesign the scenario as ABAP proxy -> XI -> File.

So the reply of the RFC can thus be pushed into XI.

Further info:

Client Proxy (Sender Proxy)- /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy