Application Development and Automation 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: 
Read only

RFC - WS

Former Member
0 Likes
941

HI all

I need to call-view a website from an abap aplication.

The guy from the BASIS depto created a RFC conexion and I guess that I need to use this RFC in my program, but dont know how.

Any idea ?

Many thanks in advance.

Cristna

HI all

I need to call-view a website from an abap aplication.

The guy from the BASIS depto created a RFC conexion and I guess that I need to use this RFC in my program, but dont know how.

Any idea ?

Many thanks in advance.

Cristna

5 REPLIES 5
Read only

Former Member
0 Likes
698

Sorry, I forgot to mention that Im working in the 46.C version and we have no XI server(?).

Br.

Cristina

Read only

Former Member
0 Likes
698

See if this fm is what you are looking ofr.

call_browser

Sample usage:

call function 'CALL_BROWSER'

exporting

url = 'http://service.sap.com'

window_name = 'SAPNet'

exceptions

frontend_not_supported = 1

frontend_error = 2

prog_not_found = 3

no_batch = 4

unspecified_error = 5

others = 6.

Regards,

Ravi

Read only

0 Likes
698

Thanks a lot Ravi, it did work. But unfortunatelly what my boss wants is not exactly this. Let me see if you or anybody can help me:

From my apliaction I will need to access a website and collect some datas (she guess we need to import this datas in XML format).

And then I will work with this information to display an ALV report.

I hope you understand what i mean.

Many thanks again.

Cristina

Read only

0 Likes
698

since you are on 4.6C you can simply use http_get fm to call the http url and get the data from there.

check the demo program

RSHTTP20

Regards

Raja

Read only

former_member199581
Active Participant
0 Likes
698

Hi Cristina,

I don't know if I understood well, but let me try:

I think you need to access an another DB or any kind of datawarehouse...maybe the RFC connection created by basis dept is intended to be used with some kind of BAPI or remote called Function Module?

You can use an RFC connection calling a FM and specifying the addiction

...DESTINATION "RFC_DESTINATION".

Could you please specify the kind of destination system?

Tnx.