I have a BAPI that is taking a long time to run (it's an RRBbilling process and when the project is big it can take about 5 minutes to run). So I wanted to execute the BAPI asynchronously, so that i can display a loading page while the BAPI executes. I tried executing the BAPI in another thread but this doesn't work (The model can't find its scope).
Does anyone have any ideas how to achieve this in webdynpro? So to recap, i want to have one BAPI executing in the background and have a loading screen with a timed trigger to check if it has finished, and when the BAPI execution is finished the the loading page will forward to the main screen from the timedTriggerAciton.