Skip to Content
author's profile photo Former Member
Former Member

improve performance for ABAP web service

Hi All,

now I have the requirements to transfer 10MB data between two SAP system by web service. But it really took a long time(more than 60s) to finish. The network is LAN. The parameter is simple, a table type with one string field. Anyone knows how can I improve the performance?

Thanks in advance.

Best regards,

Jonas

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 10, 2008 at 11:22 AM

    I want to know how to optimise the performance. But I didn't see from these link..

    Add a comment
    10|10000 characters needed characters exceeded

    • >

      > I want to know how to optimise the performance. But I didn't see from these link..

      That's because a points hunter comments in the hope of getting points, when they don't really understand the question.

      First thing to check is the performance at the server end. If you run the selection on the remote SAP system, is it really quick? If so, then maybe you're running into a basic problem with Web services in SAP - they are not the fastest interfaces ever invented. There's an article in the May/Jun 2006 SAP Professional Journal that addresses this - "Web Services or RFCs — Choosing the Right Technology for Your SAP Integration Challenges". Some tests were performed, and the results were that an RFC is some 10x or more quicker than a Web Service doing the same job. The same article suggests that it's a well-known problem with Web Services (not SAP specific) that the overhead gets worse with increasing payload. It's the XML processing that takes the time. It's suggested that not more than a few hundred KB should be transported. There's a possibility of using attachments with SOAP to transfer larger amounts of data, but I've no idea how that is actually done.

      My conclusion is then, that unless the Web Service will be accessed from non-SAP systems, don't bother. Use RFC.

      matt

  • author's profile photo Former Member
    Former Member
    Posted on Apr 10, 2008 at 11:13 AM

    Hi,

    Check these threads.

    How do you take care of performance issues in your ABAP programs?

    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bd335c111d1829f0000e829fbfe/frameset.htm

    Web Services

    Check this link...

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9

    Check this link for Web Services Testing and SAP Netweaver Application Server

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60046fb9-ac5b-2910-08a6-b7b04b463c62

    <REMOVED BY MODERATOR>

    Cheers,

    Chandra Sekhar.

    Edited by: Alvaro Tejada Galindo on Apr 10, 2008 4:17 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 10, 2008 at 11:48 AM

    Hi matt,

    Thanks a lot. Actually, I have to use web service because our real system is non-sap system, I just want to know the performance, so I tested in SAP system.

    Good to know it's the basic problem for web service. But it seems there's no other choice but web service to transfer data.

    😔

    Add a comment
    10|10000 characters needed characters exceeded

    • Well, check out the possiblity of using attachments with SOAP. I've no idea how to do that, but I'm told it's a possibility. The problem is that it appears there's no standard way of handling attachments, which kind of defeats the idea of a web service.

      You may find that you lose some overhead when the server is a non-SAP one.

      matt

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.