Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Odata backend progress indicator

$
0
0

Hi,

 

I was wondering whether it is possible to send some sort of progress indicator from the backend to the frontend.

 

My situation is as follows:

In my application i have a button which triggers an odata function import that has to sequentially create (and test) a bunch of rfc connections in the backend.

Now due to the fact that testing an rfc (using rfc_ping) might take some time the entire operation can take over a minute to complete.

 

Thus my question whether i could for example after every rfc-test trigger some sort of action to notify the user of the progress.

Then my busydialog in the frontend would become something like:

 

"Testing rfc 1 of x"

next: "testing rfc 2 of x"

etc...

 

Is this possible using only one function call, or do i have to split it into x completely seperate odata calls and implement the counting/looping logic in my frontend?

 

Kind regards,

Pieter Verhoeven


Viewing all articles
Browse latest Browse all 2823

Trending Articles