cancel
Showing results for 
Search instead for 
Did you mean: 

Odata service Url executing after 8 seconds

Former Member
0 Kudos

hi,

I have a odata service to fetch the data from NGW system written in the view.The service is executing after 8 seconds and meanwhile my view has already rendered and i am able to bind the textview only after my service gets executed.so this field remains blank for 8 seconds and data will appear only after the service gets loaded.

guys help me out to solve this issue!!

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Anil,

why you not use an Busy Indicator on the Textview and register an callback on success for the OData Request.

So the TextView is Busy till the OData-Request is completed.

Hope this helps!

Regards!

Answers (2)

Answers (2)

scott_stefanich
Active Participant
0 Kudos

Hello Anil,

Is the service executing after eight seconds or does the service take eight seconds to execute?

The SCN blog NW Gateway: Tips & Tricks has a section Service Analysis and Debugging which contains tips for getting started with browser debugging, ABAP method timing & error analysis, and Gateway performance trace.

If you determine the performance issue is being caused in the back-end system, for example, a poorly performing RFC to which a web service operation is mapped, you perform run-time analysis with standard transactions such as SAT.

Regards,

Scott

Former Member
0 Kudos

hi scott,

Service is taking 8 seconds to execute

thank you.

Qualiture
Active Contributor
0 Kudos

Can you post some code?

Normally there shouldn't be a problem at all; just set up the databinding in your view, and once the data has been loaded, the content is automatically updated with the retrieved values

Qualiture
Active Contributor
0 Kudos

Taking a step back: why is your service executing after 8 seconds? That's a pretty long waiting time...