Skip to Content

Web service Time Limit Response.

Hi experts how can i by abap create a time limit to response of a web service created by PI?

Or  it isnt possibe in abap and only the PI Can´do it.?


           CREATE OBJECT lr_ser.

         CATCH cx_ai_system_fault.



           CALL METHOD lr_ser->solucao_sintegra


               output = output


               input  = input.

         CATCH cx_ai_system_fault INTO lr_oref.


Its sproxy service.

When it dont find data It takes a long time to response that doni find data.

I want to define a timelimit to ABAP.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 19, 2015 at 12:50 PM

    Hi Ronaldo,

    I think it would be better check why the WS from PI takes so long when it has no data to return....

    As far as i know, and maybe i'm wrong , the only way to achieve (to shorten) a HTTP connection timeout is with the ICM parameters, and you need hep from Basis people to do so...

    Anyway, if you force a timeout before the response comes you won't know if the call has been sucessfull...

    Within the ABAP proxies there's an option to make the call asyncronous... maybe you could try this approach, although i think you should first check the issue on PI.

    just some ideas .. 


    Add comment
    10|10000 characters needed characters exceeded