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

Access BSP application from abap

Former Member
0 Likes
859

Hello,

I want to access to bsp application and get data using abap program, i find  the class cl_http_client but the access is with http or https but i want that the access to bsp will be with relative path to the bsp to avoid the process of authentification.

Thank you,

Ameni,

Hello,

I want to access to bsp application and get data using abap program, i find  the class cl_http_client but the access is with http or https but i want that the access to bsp will be with relative path to the bsp to avoid the process of authentification.

Thank you,

Ameni,

4 REPLIES 4
Read only

Patrick_vN
Active Contributor
0 Likes
803

There is the class CL_GUI_HTML_VIEWER, and I think an url can be called with CL_GUI_FRONTEND_SERVICES as well

Read only

0 Likes
803

Hi Patrik,

In fact i need to call my files from bsp using a relative path not absolue path, because with http i should authentificate the user to acces to the system where is the bsp.

So i need to access to my files in bsp using abap program without need to authentification.

Thank you,

Ameni,

Read only

0 Likes
803

I'm sorry but I don't really get what you are trying to accomplish. What do you mean with 'files'?

And I don't think you have a lot of options to open a BSP on another system without any authentification at all.. but I'm curious to learn if someone will correct me.

Read only

0 Likes
803

In fact i'm using  cl_http_client=>create_by_url and i pass the url to my file on the bsp, then i'm using  lv_client->send to send the request and  lv_client->receive to receive the request : in this case i should authentificate because i access to the bsp file from http client,

But i need to do the same and get the data in my bsp file without authetification, that is why i'm thinking if a relative url to the bsp could solve the problem.