Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Show a dialog message while Consuming a Web Service

Former Member
0 Kudos

Hi pepople..

I am consuming a WevService in ABAP succesfully but it takes a long time to get the data.
The application get stuck for a while ( about 2minutes).

My question is:
Is there a way to show a DIALOG . (wait, loading, progress_indicator) to show the user.


This method takes too much time.

CALL METHOD obj_prxy->OBTENER_MICROS_VENTAS_DETALLE1

          EXPORTING

            input    obj_input

          IMPORTING

             output  obj_output.


Regards

Thank you

1 ACCEPTED SOLUTION

ec1
Active Participant
0 Kudos

To be able to do that, you will have to make asynchronous web service call and display the dialog box while waiting for the web service to return some values.

You need to make sure that the web service supports WS-RM (available from SAP NetWeaver 7.0 SP14) and you will need to code asynchronous call in ABAP.

For more information, go to the following links

https://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/9743916d1115ece10000000a114a6b/content.htm?fram...

1 REPLY 1

ec1
Active Participant
0 Kudos

To be able to do that, you will have to make asynchronous web service call and display the dialog box while waiting for the web service to return some values.

You need to make sure that the web service supports WS-RM (available from SAP NetWeaver 7.0 SP14) and you will need to code asynchronous call in ABAP.

For more information, go to the following links

https://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/9743916d1115ece10000000a114a6b/content.htm?fram...