ABAP Proxy for 10 million records

Hi,
I am running a extract program for my inventory which has about 10 million records.
I am sending through ABAP proxy and  job is cacelled due to memory problem.
I am breaking up the records while sending through ABAP proxy..
I am sending about 2000 times proxy by breaking the number of records..
do you think ABAP proxy would able to handle 10 million records..?
Any advice would be highly appreciated.
Thanks and Best Regards,
M-

Hi,
I am facing the same problem. My temporary solution is to break up the selected data into 30.000 records and send those portions by ABAP proxy to PI.
I think the problem lies in the ABAP to xml conversion (call transformation) within the proxy.
Although breaking up the data seems to work for me now, it gives me an other issue: I have to combine the data back again in PI.
So now I am thinking of saving all the records as a dataset file on the application server and using the file adapter instead.
Regards,
Arjan Aalbers

Similar Messages

  • For R/3 to CRM Scenario ,creating ABAP Proxy for CRM which is in Target

    In R/3 to CRM scenario it is ok creating ABAP Proxy for CRM which is Target system.if it is possible it is Client Proxy.it is correct or not

    Hi,
    Client Proxy. When you need to create Proxy for your Sender system then the proxy is generated on the client side and the Class created in Proxy generation is called in a report/FM etc.
    Server proxy. The server proxy is created when you are sending the data from SAP XI to the receiving system.
    The generation of proxy in both the cases happens on the sender or the receiver system.
    Regards
    Vijaya

  • WSDL error during generation of  ABAP proxy for web service

    Hi friends,
    I am getting error during the generation of ABAP proxy object for web service developed in .NET .
    Error : Proxy generation terminated: WSDL error (<extension> not supported).
    How to make this WSDL file compatible  for  ABAP proxy.
    I have tried to edit WSDL file in XML Spy but did not get any option to replace/remove the tag <extention>.
    If any one worked on this. Please help me its urgent.
    Thanks and regards,
    Shivanand.

    HI ,
    I am having the same issue!!!
    Does ABAP Proxy Generation support <extension> ?
    Is there a list available of what is supported and what not (please consider I do not have access to sap notes)?
    Thanks

  • SAP Standard ABAP Proxy for PO 855 SRM-R/3

    Hi :
    855 PO Confirmation in R/3 from SRM
    Can I use the ABAP Proxy "PurchaseOrderConfirmation_In" to Confirm the PO response in SRM from R/3
    ( In R/3 i get a idoc formatted file as 855 from vendor and can do PO Confirmation uisng custom program in R/3).
    PurchaseOrderConfirmation_In is standard abap proxy out of the sap box  for the SRM-SUS integration.Sender Interface is PurchaseOrderConfirmation_Out(SUS) and receiver Interface is PurchaseOrderConfirmation_In(SRM) for the PO Confirmation for SUS-SRM scenario.
    The 855 file from vendor is in the form of IDOC structure and how to customize the file to be used in conjunction with PurchaseOrderConfirmation_In(as this is based on XML).
    How to Convert the 855 IDoc to XML format and feed  it to standard SAP Interface PurchaseOrderConfirmation_In  via XI ,if yes will this work and how??
    Thanks in advance..

    Hi Srivatsan,
    How are you?  Hope you remember me..We got a similar kind of requirement in our project. Do you have solution for this issue?
    regards
    Paris

  • How to create ABAP Proxy for SSL secured ABAP Service

    Hi guys,
    I try to set up transport security for my ABAP web service. The service should be called via a ABAP Proxy.
    These are my steps to create the ABAP web service:
    1. Create function module (se80)
    2. Create web service (web service definition) (service wizard)
    2.1 Authentication = STRONG
    2.2 Transport Guarantee = BOTH
    3. Activate service (wsconfig)
    4. Control service (wsadmin)
    Afterwards I tried to create the proxy but when I add the WSDL URI I always get an
    HTTP error (return code 407, message "ICM_HTTP_SSL_ERROR")
    I tried to find a "How to" but I was not successfull. Also the saphelp http://help.sap.com/saphelp_nw04/helpdata/en/65/6a563cef658a06e10000000a11405a/frameset.htm was not helpful for me.
    Hopfully you can help me! Every comment is appreciated!
    Regards

    I advise to have a look into the ICM trace file (dev_icm) - either by using ABAP transaction ST11 or SMICM.
    There you should find error details. Most likely it's about the "chain verifier" complaining that he's unable to verify the certificate of the communication peer.
    In that case [SAP Note 1094342|https://service.sap.com/sap/support/notes/1094342] might be helpful.

  • Abap proxy for 2 PI server with 1 ERP server

    Hi expert,
    I have 2 production PI server that require abap proxy and RFC adapter communication with 1 production ERP server. In the ERP server sxmb_adm integration server configuration only 1 rfc destination that possible but i have 2 PI server. Is that anyway to set 2 rfc destination?
    Thanks..

    Hi
    If you want to connect by proxies, then it will not be possible to connect 1 ECC to 2 PI systems.
    Pls check replies from Mark Smyth  & Amir from the following thread.
    XI and PI
    Regards
    Abhijit

  • Create batches for million record table

    I have took this out for some reasons...
    Thanks for your support guys...
    Edited by: Srichan on Jun 17, 2009 2:19 PM

    Well, OK then:
    SQL> select * from t
      2  /
           COL
             1
            20
            56
            78
            80
            82
            88
            91
            95
            99
           100
           110
    12 rows selected.
    Elapsed: 00:00:00.03
    SQL> select min(col) stkey
      2  ,      max(col) endkey
      3  ,      count(*) recs
      4  ,      grpid
      5  from ( select col
      6         ,      ntile(5) over (order by col) grpid
      7         from t
      8       )
      9  group by grpid
    10  order by stkey;
         STKEY     ENDKEY       RECS      GRPID
             1         56          3          1
            78         82          3          2
            88         91          2          3
            95         99          2          4
           100        110          2          5
    5 rows selected.
    Elapsed: 00:00:00.01
    SQL> select min(col) stkey
      2   ,      max(col) endkey
      3   ,      count(*) recs
      4   ,      grpid
      5   from ( select col
      6  ,      ntile(3) over (order by col) grpid
      7          from t
      8        )
      9   group by grpid
    10   order by stkey;
         STKEY     ENDKEY       RECS      GRPID
             1         78          4          1
            80         91          4          2
            95        110          4          3
    3 rows selected.
    Elapsed: 00:00:00.06
    edit
    All credits to Salim here, I like the 'rownum-thing' to get the sets into 5-5-2, very nice and just had to run it ;) :
    SQL> select min(col) stkey
      2  ,      max(col) endkey
      3  ,      count(*) recs
      4  ,      rn
      5  from ( select col
      6        ,       trunc((rownum -1)/5)+1 rn
      7         from t
      8       )
      9  group by rn
    10  order by stkey;
         STKEY     ENDKEY       RECS         RN
             1         80          5          1
            82         99          5          2
           100        110          2          3Edited by: hoek on Jun 16, 2009 6:24 PM

  • [MESSAGE.GENERAL] How can take the actual error text for ABAP proxy error?

    Hi...
    I'm a ABAPer.
    I got to create outbound abap proxy for synchronous server proxy and described below.
    My problem is program can not catch the actual error message when occurred error during send data to XI.
    The return message is just 'MESSAGE.GENERAL'.
    But according to the XI part, 'Key error' is actual reason.
    So... how can i take the actual error text like 'Key error'?
    <b>* Only MESSAGE.GENERAL is return message for all kind of errors.</b>
    Thanks.
    Below----
      TRY.
          CREATE OBJECT abap_proxy.
          CALL METHOD abap_proxy->execute_synchronous
            EXPORTING
              output = gs_out
            IMPORTING
              input  = gs_in.
      Exception Handling
    <b>    CATCH cx_ai_system_fault  INTO  go_sys_exception.
          g_sys_result = go_sys_exception->get_text( ).</b>
        CATCH cx_ai_application_fault INTO go_app_exception.
          g_app_result = go_app_exception->get_text( ).
      ENDTRY.
      COMMIT WORK.
    Return status 'D' is succeeded.
      if  gs_in-sales_group_rer_sap-xstat <> 'D'. 
         WRITE:/ 'System Error Message      :', g_sys_result.
         WRITE:/ 'Application Error Message :', g_app_result.
      endif.
    *--Result--
    System Error Message      : MESSAGE.GENERAL
    Application Error Message :
    Message was edited by: Miju cho
    Message was edited by: Miju cho

    Thanks guys, this was useful.
    My scenario is for Asynchronous communication.
    I guess Fault messages are used in case of Synchronous communication for handling application errors. So if there was something wrong at the JDBC end then I could use the fault messages.
    Have i got this right?
    I also came across this piece on Acknowledgements. But is says that they can be used with the following Receivers:
    The following receivers support acknowledgments:
    ABAP and Java proxies (XI 3.0 SP1 for the latter)
    Integration processes
    IDocs (note that IDocs only return acknowledgments when they have been configured using the ALE audit)
    Receiver adapters support system acknowledgments but not application acknowledgments
    My Receiver is JDBC. So I guess I cannot use acknowledgements either.
    Hence, I need to know what I can do to replicate the system errors eg. failed server etc...so that I can get catch these errors during sending.
    I'll tell you abt what happened earlier.
    My XI server was down. I executed the code for the sender ABAP Proxy and it did not catch the error. In SXMB_MONI in the R/3 system, I could see the messages queued up. When the XI server started, the messages were transferred to XI.
    I need to handle such errors...ie. If  the server is down or message did not reach XI then my ABAP program that sends data via ABAP proxy needs to know that something went wrong.
    Thanks and Regards,
    Ashwin

  • Xsd validation in Database for 1 million record

    Hello All,
    I would like to know the pros and cons to do the xsd validation of a million record in 11g database and if possible the processing time taken to do xsd validation for million records.
    What would be good datatype to load this xml file of million records, should it be blog/clob or varchar2(200000000).
    Thanks.

    varchar2(200000000).SQL VARCHAR2 is limited to 4000
    PL/SQL VARCHAR2 is limited to 32767

  • Transaction Update Error using ABAP Proxy

    Hi Experts,
    I am facing an issue using ABAP Proxy.
    File is coming from PI to SAP system and it will update the Transaction IE02 using this inbound ABAP Proxy. If records fails then a mail is going to concerned team.
    Issue:
    When File has been sent from PI to SAP through ABAP Prxoy, it shows that record has been updated in the Transaction IE02 but when I checked manually the record, it has not updated the same. But when I test the same record through my ABAP Prox, it updates the record and when I checked it, Reocrd hs been updated.
    Can anybody help me in this case?
    Regards
    Sachin

    Hi Anup,
    Can you please explain me for the same? If I need to put External Commit then how It is working when I running it manually
    Regards
    Sachin

  • Receiver as ABAP Proxy

    Hi
    I am trying to implement the following scenario:
    - A SQL database is pooled and updated records and with the help of XI i have to call a BAPI in the R/3 system to create a sales order using ABAP Proxy.so before i create the Sales order i have to do a lot of validations like whether the customer code is existing,whether the material is a an existing material or not and many more.so can someone tell me how will i do all these validations before creating the sales order.
    Thanks and Regards,
    Jishi

    Hi,
    <i>Since the ABAP proxy code is written in the XI server</i> is not correct perception.
    Let me clarify a few things...
    ABAP Proxy code is not written in XI Server. U generate an ABAP Proxy for the ,message Interfaces developed in XI, in your target SAP system.
    When u generate the Proxy for the Message Interface in SAP system, it helps you in marshalling and unmarshalling of XML data.
    In the Execute synchronous/ execute asynchronous method of the generated proxy, u actually write the code/ busineess logic for ur validations.
    If all validations are successful then u call the sales order BAPI.
    Cheers,
    siva Maranani.

  • Response message error in queue when using ABAP proxy

    I am using an abap proxy for the first time, and some of the response messages are getting stuck in the sender's (R/3) inbound queue.  To resolve them, I have to either reset the status or execute the LUW.  Sometimes, this doesn't even work. 
    Here is my "asynchronous" scenario:
    R/3 -> <proxy> -> PI -> <file adapter> -> File
    The R/3 system that I'm using has not used PI before, so I'm thinking something is missing from the set-up on the R/3 side.  On the errors I finally do get to process, I get the following error in the SXMB_MONI on the sender (R/3) side (the PI SXMB_MONI shows successful).  Can someone help me understand what a response message is and how it is different from an acknowledgement?  Also, help me to understand what could be causing the response messages to get stuck in the R/3 queue.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Integration Server -->
       - <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
        <SAP:Context />
        <SAP:Code p1="MessageId"
                          p2="4962B2EDB60A003BE1008000A2844D1A"
                          p3="00000000000000000000000000000000"     
                          p4="">PROTOCOL.WRONG_HEADER_IN_RESPONSE</SAP:Code>
        <SAP:Text language="EN">Response message header contains the value 00000000000000000000000000000000 in element MessageId instead of the expected value 4962B2EDB60A003BE1008000A2844D1A</SAP:Text>
      </SAP:ErrorHeader>

    Ultimate testing tool for services is soapUI (Freeware)
    http://www.soapui.org/
    If you can invoke your service from soapUI and you receive a response, then PeopleSoft is working fine and the request handling in the calling system is incorrect.
    Try downloading soapUI and try invoking your service (not that a fan of SendMaster).
    Hakan

  • Consume web service in ABAP proxy with SOAP header

    Hi Thomas ,
    I am trying to consume web service in  ABAP . I have followed the procedure from one of your web blog <a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap a Developer's Journal Part XIV - Consuming WebServices with ABAP</a> . (640 release).
    I need to pass SOAP header along with SOAP body. As you mentioned I have used if_wsprotocol_ws_header interface to pass header but it is still failing.
    Please see below code and please give some direction to fix the issue.
    1.Create ABAP proxy for WSDL (http://ws.strikeiron.com/SwanandMokashi/StockQuotes?WSDL). It has created structures only for SOAP body.
    2.Create Logical port
    3.Create following program to call proxy
    REPORT  zproxy.
    DATA: ref_stock TYPE REF TO zzco_stock_quotes_soap ,
          ws_header TYPE REF TO if_wsprotocol_ws_header,
          name TYPE string,
          namespace TYPE string.
    TRY.
        CREATE OBJECT ref_stock
      get WS_HEADER protocol
        ws_header ?= ref_stock->get_protocol('IF_WSPROTOCOL_WS_HEADER').
      set somehow header as iXML-DOM tree
        DATA: ixml TYPE REF TO if_ixml,
              xml_document TYPE REF TO if_ixml_document,
              xml_root TYPE REF TO if_ixml_element,
              xml_element TYPE REF TO if_ixml_element,
              xml_node TYPE REF TO if_ixml_node.
        DATA l_xstring        TYPE xstring.
        DATA l_string         TYPE string.
        FIELD-SYMBOLS <fs_xstring> TYPE xstring.
      Additional Header:
        CONCATENATE
    '<soap:Header>'
    '<s1:LicenseInfo xmlns:s1="http://ws.strikeiron.com">'
    '<s1:RegisteredUser>'
    '<s1:UserID>[email protected]</s1:UserID>'
    '<s1:Password>aaaaaaaa</s1:Password>'
    '</s1:RegisteredUser></s1:LicenseInfo>'
    '</soap:Header>' INTO l_string.
      convert to xstring
        l_xstring = cl_proxy_service=>cstring2xstring( l_string ).
        IF NOT l_string IS INITIAL.
        create iXML DOM document from XML xstring
          CALL FUNCTION 'SDIXML_XML_TO_DOM'
            EXPORTING
              xml           = l_xstring
            IMPORTING
              document      = xml_document
            EXCEPTIONS
              invalid_input = 1
              OTHERS        = 2.
          IF sy-subrc = 0 AND NOT xml_document IS INITIAL.
            xml_root = xml_document->get_root_element( ).
            xml_element ?= xml_root->get_first_child( ).
          add header element by element to SOAP header
            WHILE NOT xml_element IS INITIAL.
              name = xml_element->get_name( ).
              namespace = 'http://swanandmokashi.com' . "xml_element->get_namespace_uri( ).
              IF NOT xml_element IS INITIAL.
              ENDIF.
              ws_header->set_request_header(
                          name = name
                          namespace = namespace
                          dom = xml_element ).
              xml_element ?= xml_element->get_next( ).
            ENDWHILE.
          ENDIF.
        ENDIF.
      CATCH cx_ai_system_fault .
    ENDTRY.
    *Call soap body using abap proxy class.
    DATA: get_quotes TYPE zzget_quotes_soap_out .
    DATA: get_quotes1 TYPE zzget_quotes_soap_in .
    get_quotes1-quote_ticker = 'GE'.
    TRY.
        CALL METHOD ref_stock->get_stock_quotes
          EXPORTING
            get_quotes1 = get_quotes1
          IMPORTING
            get_quotes  = get_quotes.
      CATCH cx_ai_system_fault .
      CATCH cx_ai_application_fault .
    ENDTRY.
    4.It is throwing cx_ai_system_fault error.
    SOAP details:
    Input:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding" >
    <soap:Header>
    <s1:LicenseInfo xmlns:s1="http://ws.strikeiron.com">
    <s1:RegisteredUser>
    <s1:UserID>[email protected]</s1:UserID>
    <s1:Password>aaaaaaaa</s1:Password>
    </s1:RegisteredUser>
    </s1:LicenseInfo>
    </soap:Header>
    <soap:Body>
    <tns:GetQuotes xmlns:tns="http://swanandmokashi.com">
    <tns:QuoteTicker>GE</tns:QuoteTicker>
    </tns:GetQuotes>
    </soap:Body>
    </soap:Envelope>
    Thanks,
    Kavitha.

    Hi ,
    Thank you for the response. Did you passed user email and password ([email protected] /aaaaaaaa) part of licenseinfo->resisteredUser along with Quoteticker GE in analyzer?
    <a href="http://www.strikeiron.com/Analyzer/OnlineAnalyzer.aspx?WSDL=http://ws.strikeiron.com/SwanandMokashi/StockQuotes?WSDL">ANALYZER</a>
    Thanks,
    Kavitha.

  • Problems in ABAP Proxy Generation

    Hi All,
    I tried to generate an ABAP proxy for outbound message interface "Interface_ABC", which is under software component "DEF".
    In our development system, I had successfully created ordinary function modules and structures under the package "/XYZ/UVW" using the prefix "/XYZ/".
    When I began the proxy generation, the system asked me to specify the package and prefix. So I specified the package to be "/XYZ/UVW" and prefix to be "/XYZ/".
    Then a warning window pops up. It reads "Package /XYZ/UVW does not belong to DEF". I clicked "OK". The "Create Proxy" screen shows up. Then I clicked the "Save" button. This time an error window pops up. It reads "Cannot extend package /XYZ/UVW". The action is thus cancelled by the system.
    Does anybody know what is the reason for this problem and how to solve it?
    Best Regards
    Jerome

    Please check the properties of the package in which you are tyring to save the PROXY.
    In your case it looks like the property PACKAGE NOT EXTENDABLE is switched on. Once you uncheck you should be able to save the proxy in that package.
    Regards,
    Ravi
    Note : Please reward points if you find the answer useful.

  • Message not going to the receiver ABAP Proxy

    I have a File-XI-ERP scenario.  The file communication channel is working fine but the sending to the ABAP proxy for transfer to ERP is not working.  I have created the right ID objects for the scenario.  Using the communication channel monitoring, the file gets to be read, transformed into the right message but sent to the wrong integration server (http://xidev:50000/sap/XI/engine?type=entry) instead of what is given in the communication channel.  Any suggestions on what to look at?

    Hai,
        Check whether the ABAP Proxies are enabled in your ERP System or not. To do this Login to your ERP System --> Goto tcode: SPROXY
    select option --> Goto --> Connection Test. this will check the connection b/n your ABAP proxy and the Integration Builder. the following parameters should be checked,
    1.The address of the Integration Builder must be stored in the SAP system
    =>Check/maintain with report SPROX_CHECK_IFR_ADDRESS
    2.The HTTP connection of the ERP application server must function correctly
    =>Check with report SPROX_CHECK_HTTP_COMMUNICATION
    3.The Integration Builder server must be running correctly
    =>Check with report SPROX_CHECK_IFR_RESPONSE
    4. Proxy generation must interpret the data of the Integration Builder correctly
    ==>Check with report SPROX_CHECK_IFR_CONNECTION
    Hope this helps..
    regards,
    Gopinathan.

Maybe you are looking for

  • Problem in creating purchase order document

    Hi, I created a new business document : Purchase request that once it is validated we can copy it to Puchase order. when i save the purchase order doc and then launch the creation of the purchase order the operation succed. But when i try to copy an

  • How to use customer-specific fields with FI-CA event 940?

    The following text can be found under FI-CA event 940: You can also set customer-specific fields if you have defined the predefined include for customer enhancements CI_FKK_ACCIT_CUS in the structure FKK_ACCIT_CUS. The fields included here must have

  • Itunes download page - failure to display

    Anyone know the secret for getting the itunes download page to display properly? Windows XP, IE6 is what I use. Thanks in advance for any help,

  • Changing of sapum.properties problem

    Hello, I was manually changing content of sapum.properties.bak file - after that I naturally cut the .bak suffix to take effect after restart. More precisely, I changed: - ume.logon.security_policy.password_change_allowed to FALSE - ume.logon.securit

  • Download/save oracle binaries on vm machine

    I downloaded 11g binaries on my windows desktop, how to move them on my vm machine(linux) which also resides on same desktop? or any other workaround to mv to linux machine, so that i can run oui on linux?