Skip to Content
avatar image
Former Member

How to add loader when calling rfc function from ui5 application

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jul 18, 2017 at 08:04 PM

    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

    Add comment
    10|10000 characters needed characters exceeded