Skip to Content

Gateway control the order request are called for an offline scenario

Hello fellow SAPers, I have come with a question regarding an offline scenario and some of our services.

We have a few GET requests for our app, most of them are done in typical Query code service from the Entity and we're using Deltas with Syclo. The app works in an offline scenario most of the time, so we have a synchronization process made using Kapsel and Pouch DB.

However our Front-End team has told us that they are having trouble with the synchronization because the GET services are not being called in a specific order, sometimes some of the services are called first and others is called after others, this apparently disrupts the app offline scenarios.

While the synchronization is out of control for GW, we want to know if there's any way to control when/how the services are called or in an specific set order all the time.

If you guys have any comment or idea on how to achieve this or a better idea on how to fix our issue will be appreciated.

Cheers.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 12, 2016 at 08:27 PM

    Hi Emmanuel,

    are you using parallelization of $batch requests?

    https://blogs.sap.com/2013/02/01/speed-up-your-gateway-services-using-parallelization/

    https://help.sap.com/saphelp_nw74/helpdata/de/d7/eeae71c0154f449a15cf331aef03c4/content.htm

    if yes, it is mentioned in the SAP Online help that "you can deactivate the parallelization of batch queries for a single service. This means that the service will run sequentially.".

    Best Regards,

    Andre

    Add comment
    10|10000 characters needed characters exceeded