Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RFC connection to external Interface

Former Member
0 Kudos
246

Hello,

I want to write a ABAP program that take the use of RFC and gives the output what is there in the flat file.

Suppose in the flat file i have written 'HELLO WORLD' and now this i have to output in sap through writing one ABAP program with the use of RFC .i am not getting how to do it.

WIthout using of RFC i can do it.

But please tell me how to do it as soon as possible .

Thankful.

4 REPLIES 4

Former Member
0 Kudos
60

Hi Manish,

In the RFC read the file and return it as an internal table with the contents of the file.

In the report call the RFC by passing the file name and capture the contents of the file returned by it and print them thru report.

Award points if this is helpful.

Regards,

Ravi G

Former Member
0 Kudos
60

Hi,

By which non-RFC FM can u display? Use same by copying it and make it RFC enabled. Check Authority.

Reward if useful!

0 Kudos
60

suppose for this purpose i will use the function module 'GUI_UPLOAD' to upload the data from the flat file to my internal table and by yours point if i copy the function module GUI_UPLOAD to ZGUI_UPLOAD and make it as RFC enabled.then i want to ask what will be functionality of making RFC enabled .

Which things it will be going to check if i make it rfc enabled or it will same as gui_upload .

I am not getting the clear picture to how to use RFC connect non-sap to sap.

Thanks.

Manish.

Former Member
0 Kudos
60

hi manish,

with out using rfc u can download into ur local pc or to sap server. if you want to download to some other server then you have to use rfc.

for this u have to make rfc connection to that server in sm59..

i think now u got idea how to do it..

praveen