cancel
Showing results for 
Search instead for 
Did you mean: 

How to add loader when calling rfc function from ui5 application

yes_sapteam
Participant
0 Kudos

Hello all experts,

I'm new to UI5 world.

I have to add a loader to an application when its calling the Ecc untill we get answer.

I think the Fm is called here.

       function_ZFI_VENDOR_INSERT_INVOICE.execute(gDestination);
        
        JCoTable result = function_ZFI_VENDOR_INSERT_INVOICE.getExportParameterList().getTable("ET_RETURN");

I need to add loader until we get answer .

Any suggestion how can i do this.

Thank you very much.

View Entire Topic
Sharathmg
Active Contributor
0 Kudos

Use sap.m.BusyIndicator. This will display the busy indicator to end user, implying a backend opeation.

Once you get the data, close the indicator.

Regards,

Sharath

yes_sapteam
Participant
0 Kudos

Thank you Sharath.