Skip to Content

How to access request object of a BSP application

Jan 30, 2017 at 03:37 PM


avatar image


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!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Dominic Überall Jan 31, 2017 at 08:10 AM

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... :)

fc7kc.png (7.9 kB)
ovxdd.png (9.5 kB)
10 |10000 characters needed characters left characters exceeded