cancel
Showing results for 
Search instead for 
Did you mean: 

Get files on demand from XI to R/3

Former Member
0 Kudos

We want to program a button in R/3(ABAP) which will call XI and XI picks a predetermined file and sends into to R/3. in one call.

and the program in the ABAP can continue its processing with the file that it received from XI?

What we want to achieve is, get the a file from XI on demand from an ABAP Program.

No sure if this can be done. If so how can we do this?

Thanks,

Gopi.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey

As long as the ABAP program is able to send HTTP request to the adapter engine of XI,you can do it.

Thanx

Aamir

Former Member
0 Kudos

Thanks that helps.

So if we use that link to trigger the communication channel. XI will get the file and calls a service.

If i understand right, The ABAP program that initiates the call will not get the data. Instead XI send the file in another call.

But we want to program a button in our dialog program and the user triggers the call to get the file and he should be able to see the data in file instantaneously in the same session.

Thanks,

Gopi.

Former Member
0 Kudos

>>So if we use that link to trigger the communication channel. XI will get the file and calls a service.

Lets say you have a File to R/3 scenario but you want this file to be delivered only when R/3 requests it.

So you will design the whole scenario for File to R/3 and then do the configuration as specified in blog(setting external control On etc).after that you create a report in ABAP which will have a button,when u press this button,R/3 will send a HTTP request to adapter engine of XI system,this request will activate the sender file adapter which will pick up the file and deliver to XI system which will in turn deliver to R/3.You can have one more button which will send another HTTP request to adapter engine to de-activate the adapter once the messages have reached R/3 successfully.

Thanx

Aamir

Edited by: Aamir Suhail on Sep 10, 2008 2:52 PM

Former Member
0 Kudos

You can program an scenario with a sender channel that given a certain time check a folder to pick files from it and send them back to SAP server application (with a receiver channel)

For example, from an FTP folder to a folder in the server aplication in sap [trx: AL11]

The sender channels are used to pick files from folder and you can configure them by time (example: every 5 minutes,10 minutes, etc)

If you want a "button" to determinate when this starts that would be when you left the file in the folder

On the SAP side, you can create a job that given a certain time check for that file in the app server and process it

Former Member
0 Kudos

Thanks for you reply.

I know XI can be configured to poll a folder and get the file automatically and call R3 with that file data. Here the trigger is XI. But we want to trigger the "file getting" process from R3.

Thanks,

Gopi.