2006 Nov 13 2:43 PM
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
2006 Nov 13 2:45 PM
Sorry, I forgot to mention that Im working in the 46.C version and we have no XI server(?).
Br.
Cristina
2006 Nov 13 2:48 PM
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
2006 Nov 13 3:19 PM
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
2006 Nov 20 8:08 AM
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
2006 Nov 13 7:13 PM
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.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |