Skip to Content

How to access request object of a BSP application

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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

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

    Add comment
    10|10000 characters needed characters exceeded