Where is the onAck() method in the ABAP proxy framework?

When working with client proxies there is the possibility of requesting acknowledgements from the receiving party. This will result in a acknowledgement message being sent back after successful delivery (technical acknowledgement) or successful processing of the message.
Java proxies support a callback mechanism by providing an interface com.sap.aii.proxy.xiruntime.ack.AckListenerLocal containing the method.
onAck(com.sap.aii.proxy.xiruntime.ack.AckMessage ack)
An implementation of this interface can be registered to handle the acknowledgment for a specific proxy.
How does this work for ABAP? Is there an ABAP OO interface? Is there a way of registering some handler for acknowledgements by any means?
Thanks for any response on this!

That is bitter truth to hear. I do not understand that because it sounds simple and obvious to provide. Thanks anyway Stefan.
If anybody has a good idea how to setup a trigger that will run upon the receipt of an acknowledgement (not with polling) it would be highly appreciated.
Edited by: Jochen Damzog on May 10, 2011 8:51 AM

Similar Messages

  • Error while invoking the ABAP Proxy via SOAP Adapter

    Hi,
    My scenario involves SOAP Client invoking a webservice hosted in PI which in turn invokes the ABAP Proxy asyncronously.
    SOAP Client -> PI -> ECC (ABAP Proxy) . This works fine.
    Next , I have exposed the ECC Service Interface as webservice using SOA Manager transaction. Now, once the service is created using SOAManager, i replaced the XI Adapter with SOAP Adapter and provided the target URL as the URL provided by the SOAManager.
    SOAP Client -> PI -> ECC (ABAP Proxy via SOAP Adapter)
    With this approach, i am encountering the below error message
    2009-05-29 12:17:55 Error Adapter Framework caught exception: null
    2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
    Any ideas on the above errror message? Any pointers or inputs will be appreciated.
    Thanks,
    Vinayak Kamath

    > 2009-05-29 12:17:55 Error Adapter Framework caught exception: null
    > 2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
    This is a generic error message which does not have any information about the error which has occurred.
    Do you see any error messages in the SOAP client?
    Regards
    Stefan

  • How The ABAP Proxy method gets triggered

    Hi All,
    I have created a ABAP Proxy for inbound interface.For this interface the data is coming from XI system.So i am writing the logic to read the XI data into an internal table and am populating the same data into a BAPI.
    So my question is,once the XI system sends the data, Will this ABAP Proxy Method automatically gets trigger or Do we need to make any settings?
    Please Help me As early as possible.
    Thanks in advance
    Regards
    Srinivas Kodukula

    Hi srinivas,
    Refer the below points for the configuration needed at R/3 side:
    1. Create a HTTP connection in the business system using transaction SM59
    2. Configuration Business system as local Integration Engine in SXMB_ADM
    3. Connection between Business System and System Landscape Directory. For this check the RFC destinations LCRSAPRFC and SAPSLDAPI
    4. Maintaining the SAP J2EE Connection Parameters for LCRSAPRFC and SAPSLDAPI in SAP J2EE engine
    5. Maintain SLD access details in Transaction SLDAPICUST
    Regards,
    Kiran Bobbala

  • Where is the http proxy setting?

    I need to set a proxy setting in order to browse internet over a wifi connection. I searched over the settings but couldn't find where to set the proxy. Where is the setting located?
    System: ZTE Open, Firefox OS 1.1 stock.

    hello rolando, the proxy settings are available under'' firefox > options > advanced > network > connection''.
    [[Advanced settings for accessibility, browsing, system defaults, network, updates, and encryption]]

  • Where are the data-binding frameworks for Oracle Objects?

    Oracle offers a few different options for data-binding frameworks to Oracle relational data. Amongst them they include TopLink and the Oracle Application Development Framework (ADF)in JDeveloper 10G. J2EE also offers the EJB standard framework. Both of the Oracle data-binding frameworks appear to work well with relational data but fail miserably when one tries to work with a fully fledged Oracle Object-Relational schema. I have spend much time with ADF but have not been able to create successful bindings to Objects with nested complex objects (such as a 2-level nested object) or objects containing nested tables. TopLink will not even touch Object tables.
    Have other people being more successful with this? Do we have to implement our own data binding framework? Does Oracle plan on improving these frameworks to fully support Oracle Objects?

    TopLink Runtime supports both fully fledged OX mappings and nested complex objects. These mappings can be setup in the code.
    TopLink ADF design time however currently does not have support for OX mappings.
    Hope this helps,

  • How to set ref_to_message_id in the abap proxy

    Hi,
    Does anyone have idea, how to set ref_to_message_id of a client proxy in the server proxy? My problem is, I send a message to a server proxy. The server proxy receives the message, retrieves the message id and tries to set the ref_to_message_id of the message, which will be sent to a client proxy, with its message id. Can anyone help?
    regard
    hu

    hi Bin,
    plz check this link it will be useful
    Re: Importance of Message ID in soap adapter
    How to retrieve file size and XI message ID?
    /people/michal.krawczyk2/blog/2005/02/25/simple-java-code-in-graphical-mapping--xi
    regards
    sasi
    <b>Reward if useful</b>

  • Performance problems processing big volumes using ABAP-proxy framework

    Hi
       We have a custom application ABAP program running on a ECC50 ( WAS640 ) box - that reads change pointer information based on a Z* msg type and generates proxy messages - sending them to XI. Now in every run, this ABAP program pushes out 5000 to 10,000 messages ( one /customer change ) to XI using a proxy framework.
    I find that the Z* abap takes very little time to read the change pointer information and generate the outbound messages out of the ECC50 box. The messages are queued in the ECC50 integration engine layer for a long time before they go out to XI. We even got a <b>HTTP_RESP_STATUS_CODE_NOT_OK</b> error for one of the outgoing messages since there is a long list of messages trying to go out to XI.
    1) Is the above error because of the timeout in the http connection between ECC50 and the XI box - where do we increase the timeout settings for this ?
    2)What are the tuning parameters that need to be set in such a scenario on the integration engine ( ECC50 ) and the XI box ( Integration server ).
    We are using QOS as EO when the messages are sent out.
    I set EO_INBOUND_PARALLEL and EO_OUTBOUND_PARALLEL tuning params in both of the boxes to 10 . Are these parameters enough - is there something else to be set to improve the performance ?( we have atleast two CPUs each on the WAS boxes ).
    Please share your experiences / thoughts on handling such a high volume situation.

    Hi Karthik,
    <i>
    1) Is the above error because of the timeout in the http connection between ECC50 and the XI box - where do we increase the timeout settings for this ?</i>
    >>>Check this blog-
    /people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts
    Also check this tuning guide
    https://websmp106.sap-ag.de/~sapidb/011000358700000592892005E.PDF
    But just one suggestion-
    In this scenario, is your target is File or something else?
    If it is a file, you can write your proxy in such a way that, for each proxy call only 100 messages will be pushed into XI, and in XI, you can collect these messages using BPM and get the one message at the end of the process.
    Hope this helps,
    Regards,
    Moorthy

  • Where is the 9ias proxy plugin?

    I can't find the download anywhere.

    It can be downloaded from the Oracle9iAS download page:
    http://otn.oracle.com/software/products/ias/devuse.html
    (at the bottom of the page).
    Ashesh Parekh
    Oracle9iAS product management

  • 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.

  • ABAP Proxy generation descrepencies with filed and method...

    Hello,
    I have two question regarding ABAP Proxies.
    The first one when i regenerate proxy for a interface, It is not generating the same filed as before and my ABAP program fails.
    I have Internal_organization_Descri -- Now, It is not giving same field rather It is giving Internal_organization_Descr
    It is missing 'i'
    One more problem is It is chaging method also
    Previously it was showing "Sales_order_Sync"
    Now, It is showing method as EXECUTE_SYNCHRONOUS
    Why It is these proxies behave differently, is there Service Pack dependency.. What is the best way to avoid these descripencies...Pls help
    Srinivas

    Hi,
    Please find the explantion about your doubts on ABAP Proxy.
    1. The field names might be changed based on the changes in XI in Data type for this field.
    Whenver you will be regenerating the ABAP Proxy, it considers the Message type and internally the Data types that have created in XI. So any changes in these objects may lead to change.
    Verify your field names in XI
    2. The Method to be used to call ABAP proxy is EXECUTE_SYNCHRON for Synchronous communciation and EXECUTE_ASYNCHRONOUS for async communication. These methods are used in ABAP source code. So please let me know where you had find this method "Sales_order_Sync"
    The EXECUTE_SYNCHRON is the proper method.
    Let me know if you need any more info.
    Refer
    ABAP Proxy outbound program - purchase order send
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
    ABAP Proxy inbound program - sales order creation - Community Profiles - Wiki
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation
    Thanks
    Swarup

  • Interfaces of different SCVs are always assigned to the same proxy object

    Hi,
    for clean versioning and maintenance of development branches we use different versions of a software component in the ESR. It looks like this:
    SC_NAME 1.1 of namespace.com
    +- http://namespace.com/project/a
       +- Service Interfaces
          +- Interface1
          +- Interface2
          +- Interface3
    SC_NAME 1.2 of namespace.com
    +- http://namespace.com/project/a
       +- Service Interfaces
          +- Interface1
          +- Interface2
          +- Interface3
    SC_NAME 1.3 of namespace.com
    +- http://namespace.com/project/a
       +- Service Interfaces
          +- Interface1
          +- Interface2
          +- Interface3
    Here is the problem:
    Service interfaces are assigned to proxy objects by using the key type/name/namespace of the repository object (refer SAP note [886682|https://service.sap.com/sap/support/notes/886682]). That means that the software component version of the repository objects is ignored when generating ABAP proxy objects.
    Since in our case (see above) all service interfaces have the same type/name/namespace combination, all services interfaces get assigned automatically to the same ABAP proxy object. That makes it impossible to maintain different versions of ABAP proxies for the corresponding service interfaces!
    As a workaround we only have two opportunities:
    Either we add the version number of the SCV to the namespace (e.g. http://namespace.com/project/a/v1, http://namespace.com/project/a/v2, ...) or we add the version number to the interface name (e.g. Interface1_v1, Interface1_v2, ...) in order to distinguish the service interfaces for the proxy generation.
    Both solutions are very ugly in my opinion, since they make our clean versioning with SAP's software component model useless.
    Are these solutions the only way to seperate the generated ABAP proxies for each version of a SVC? If yes, then I can hardly believe, that nobody else in the SDN ever mentioned this - in my opinion - huge flaw in the ABAP proxy generation.
    Please correct me, if I missed something.
    Regards,
    Adam
    Edited by: Adam Sosnowski on Dec 3, 2009 11:25 AM

    Hi Stefan,
    thank you for the quick response. It really looks like a bug, since it undermines the versioning with the software component model.
    Inside an SAP system, there is only one valid SWCV. So when you decide to use version 1.1 for one system, you cannot use 1.2 for the same system.
    I don't exactly know, what you mean with "inside an SAP system". We connect different versions of a client application to different versions of service applications. Newer version may contain an enhanced data model (new fields in the messages, etc.). For that reason, we split the development into branches using different SWCVs in order to handle e.g. change requests for older versions seperately. This approach is a common pattern and it is also the purpose of using software component versions.
    Regards,
    Adam

  • Exception when calling ABAP Proxy modelled in SAP PI: CL_SOAP_RUNTIME_ROOT

    Hi,
    We have a scenario where we:
    1. Modell an interface in SAP PI
       This interface contains a complex type from a different namespace
    2. Use it to create an ABAP proxy in backend system
    3. Configure it with SOAManager
    4. Call the ABAP proxy ws directly from a third-party system (biztalk)
    We're currently testing calling the ABAP proxy from soapUI, but get a strange exception thrown by the SOAP framework in ABAP backend.
    The test in soapUI is setup by importing the WSDL acquired from SOAMANAGER.
    The error message we in the SOAP response is:
    CX_SY_REF_IS_INITIAL:Exception CX_SOAP_ROOT occurred
    (program: CL_SOAP_RUNTIME_ROOT==========CP, include: CL_SOAP_RUNTIME_ROOT==========CM004, line: 130)..
    An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally,
    nor declared in a RAISING clause.Dereferencing of the NULL reference
    It is a very low level error from the CL_SOAP_RUNTIME_ROOT program and not a descriptive error message at all.
    We've checked the user and the authorizations it has, we've redone the SOAManager config but the problem persists.
    We find no dumps in the ABAP proxy since the request never reaches it.
    For a limited time I'll make WSDL and SOAP response available
    WSDL (some values anonymized) available at http://dl.dropbox.com/u/4379928/SOAP/project.wsdl
    Complete SOAP response is available at http://dl.dropbox.com/u/4379928/SOAP/soap_data.xml
    Any ideas on where to look?

    Hi,
    We've now managed to implement a workaround.
    The workaround was to create the endpoint in PI as well.
    So that the traffic goes from third-party solution->PI-> WS-enabled ABAP Proxy
    When we did this initially, we got some errors related to the asynch method of this call, but this was resolved by changing the channel from "best effort" to "Guaranteed delivery". 
    Still we don't know what the root cause of the initial problem was, but we assume it is related to the asynch nature of the service (though we have other asynch proxies that work without problems).
    Regards
    Dagfinn

  • Problem with Synchronous abap proxy time out

    Hi there.
    I have the following scenario:
                      sync                   sync
    3rd party <-->  PI    <--
    >  ERP
                       http                    abap proxy
    In the implementing class on the abap proxy i'm calling an standard BAPI, followed by a commit and returning the result.
    The 3rd party app has a mechanism that when a message fails, he'll retry each 5 mins until it gets the response.
    Last night there where some delays on ERP that cause the sync mesages to timeout, the 3rd party retried about 10 times to send the message until it finally went off. This morning i check and i have the same message 11 times on ERP!!, to my understanding if the sync comm timed out the process will abort and  the message will not be processed on ERP, does anybody knows if im missing some configuration for this to work this way??.
    Kind Regards,
    Roberto.

    Hi Roberto.
    There are a lot of time out configures in PI .
    Follow the link that explain about this:
    How to Investigate Timeouts In Synchronous XI PI Scenarios
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747
    I hope to help you.
    If you still keep this problem, you can ask me more about it.
    Regards..
    Bruno.

  • Performance problem in File to ABAP Proxy scenario

    Hi gurus,
        I have a scenario where the sender is sending a file and the receiver is ABAP Proxy.The file is a simple DAT file containing banking data.The file sample is as belo
    00000MM21901 PYM0901021531     
    704401020100005510000040000D0002
    704401020127147391000033500D0003
    704401020127147391000045000D0004
    704401020109341157000038800D0005
    70420!!!!10200000182174D
    704401021100006040000015158D0001
    704401021100006040000005034D0002
    7042010210000020192D
    The above file need to be split and mapped to the fields of the ABAP Proxy after doing some validations.
    Is Receiver Determination using mapping required? What is the most efficient way of splitting the file?
    Please give your replies keeping better performance of the interface in mind.What is the best way of doing the validations?
    regards
    Debansu

    Hi Satish,
        As you can see in my question above,the sender side contains a flat file(the file format is given in the question),I need to split the file into strings which can then be mapped to specific fields of the ABAP Proxy.A sample output of the xml file that is passed on to the ABAP proxy after mapping transformations is given below:
    <BATCH_TOTAL_RECORD_420>
      <BATCH_REPORT_DISTRICT>70</BATCH_REPORT_DISTRICT>
      <KEY_VALUE>420</KEY_VALUE>
      <BATCH_NUMBER>1021</BATCH_NUMBER>
      <BATCH_TOTAL>0000020192</BATCH_TOTAL>
      <FILLER_BATCH_TOTAL_SIGN>D</FILLER_BATCH_TOTAL_SIGN>
      <FILLER />
      </BATCH_TOTAL_RECORD_420>
    - <BATCH_TOTAL_RECORD_420>
      <BATCH_REPORT_DISTRICT>70</BATCH_REPORT_DISTRICT>
      <KEY_VALUE>420</KEY_VALUE>
      <BATCH_NUMBER>9999</BATCH_NUMBER>
      <BATCH_TOTAL>0000202366</BATCH_TOTAL>
      <FILLER_BATCH_TOTAL_SIGN>D</FILLER_BATCH_TOTAL_SIGN>
      <FILLER />
      </BATCH_TOTAL_RECORD_420>
    I hope now you can provide me some answers.
    Regards
    Debansu

  • Error handling in abap proxy

    Hi,
    In my scenario, I have written code in the execute_synchronous method of the abap proxy in ECC. I want to capture all possible errors that might occur here and for all of them i want to capture the message id and the text and send it out. what kind of possible errors/exceptions can occur and how to handle them. My proxy class simply selects data from multiple tables in ECC and returns the same.
    thks

    Hi,
    for outbound proxies the error handling should be done within R3 itself and there is no need to send errors to XI or receiving system for that matter. You would want someone from R3 side to take a note of it.
    For Inbound proxies, you will have to implement the Fault messages
    Fault message types are designed for application-specific errors that occur on the inbound side and that are reported back to the sender or persisted in monitoring.
    ·        In the synchronous case, when an application-specific error occurs on the inbound side, instead of sending a response message back to the sender, the application can send a fault message to handle the error.
    ·        The fault message of the application for an asynchronous ABAP server proxy is persisted for monitoring. In the case asynchronous of Java server proxies, the fault message is part of a negative application acknowledgement (see Acknowledgments).
    Application-specific means that the application on the inbound side triggers the error itself because, for example, the request message did not contain sufficient information.
    For more information on the same.
    http://help.sap.com/saphelp_nw04s/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm
    In your case, since you said that you are selecting data from some tables, the possibility is that an entry is not found in the DB tables you will have to simply populate the fault message data and raise an expection CX_FM. It also depends on what error handling requirements from the Business .
    regards,
    Advait.

Maybe you are looking for

  • Error while executing a procedure in pl/sql

    Hi, iam execvuting a procedure in pl/sql and i get the following error, proc Running: Wed Sep 7 06:13:20 IST 2005 Table truncated. BEGIN <procedure_name> ; END; ERROR at line 1: ORA-01555: snapshot too old: rollback segment number 75 with name "RBS74

  • Testing in billing, invoice and delivery

    Hi, I need some examples or details about testing in billing , invoice and delivery.

  • Itunes not launching, suggestions?

    So heres the deal, got a new comp a few weeks ago and installed itunes on it. I'm running windows XP pro (same as on old one) and when I try to run itunes it wont launch. It says its running in my task manager though. I've tried reinstalling it, but

  • MPB 17" Student backpack

    Ok, I just got my MBP 17" and I leave for college in August. I need a laptop backpack. But, I need one that lets me carry a couple books as well. I've looked on the site and a couple reviews say most of them are hard to fit the MBP in without pulling

  • Why do most apps make it so difficult to enter dates time and numbers

    Why is it that most apps when it comes to entering a date, time or number require you to go to the ridiculous motion of entering data using a scroll wheel. For dates it should be a calendar like interface, for time and numbers give me numeric keypad.