cancel
Showing results for 
Search instead for 
Did you mean: 

How to access request object of a BSP application

former_member310342
Participant
0 Kudos

Hey,

I created a BSP application. Now I need to access the request object so I can write the code which handles an incoming request.

But how can I enter that object in a BSP? I didn't find a Object called request. Also I was wondering if I need an application class for that. After reading the documentation I don't think so but maybe someone here can help me out on this problem.

Thanks for any hints!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member310342
Participant
0 Kudos

Ok I found out how and where to access the request object. So if there is someone unexperienced like me I gonna give a brief explanation.

My first mistake was that I wanted to enter the object directly in the onRequest-Eventhandler. What you gotta do is that you create a controller for your BSP application. (Right click on application->Create->Controller). Then you assign a controller class to the created Controller:

This class must be inherited by CL_BSP_CONTROLLER or CL_BSP_CONTROLLER2.

After that you can Access the object 'request' inside of your controller class.

Hope this could help someone sometime... 🙂