2016 Mar 10 4:17 PM
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,
2016 Mar 10 4:25 PM
There is the class CL_GUI_HTML_VIEWER, and I think an url can be called with CL_GUI_FRONTEND_SERVICES as well
2016 Mar 10 4:31 PM
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,
2016 Mar 10 4:40 PM
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.
2016 Mar 10 9:07 PM
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.