ALEAUD Ack handling in pi 7.3

Does ALEAUD ack handling need special setting in PI 7.3 like ALEAUD config in ECC and creation of distributin model. or we have to just checked the check box "ALAUD special handling needed" in sender CC .

Hi
I have configured according to this also.
I have configured scenario for aleaud and ALEAUD idoc sent to the sender system and it is created there.
But status of the sender system IDOC is not updating.
I checked the ALEAUD fields E1ADHDR-E1STATE-DOCNUM and found that some garbage value is coming instead of SENDER IDOC number.
- <E1STATE SEGMENT="1">
<DOCNUM>1326779744000001</DOCNUM>
<STATUS>51</STATUS>
<STACOD>SAPFD406</STACOD>
<STATXT>An error has occurred; application log created</STATXT>
<STATYP>E</STATYP>
<STAMQU>SAP</STAMQU>
<STAMID>FD</STAMID>
<STAMNO>406</STAMNO>
- <E1PRTOB SEGMENT="1">
<DOCNUM>0000000000008549</DOCNUM>
</E1PRTOB>
</E1STATE>

Similar Messages

  • Issue while handling the functional ack(CONTRL) through B2B

    Hi,
    My requirement is to handle the incoming CONTRL message through B2B and send the data to SOA/AIA application and update the CONTRL data in table. For that i have done the following settings in oracle B2B.
    Functional Ack handled automatically : false
    Functional Ack internal properties : false
    Notify Inbound Receipt Acks     : false
    Notify Inbound Functional Acks : false
    I am able to update the data successfully in the table for the successful scenarios. But if the transaction is failed in SOA/AIA application due to some error then it is creating 2 entries of MSG_ERROR in reports tab in B2B where as it is creating only one entry for MSG_COMPLETE state.
    Please guide me if i am missing anything here. I am getting below 2 errors for 2 separate entries at the same time.
    1)
    Error Code     B2B-52325
    Error Description     Machine Info: (elb1cn14.statoilfuelretail.com) Description: Error in the SOA Composite {0}
    Error Level     ERROR_LEVEL_COLLABORATION
    Error Severity     ERROR
    Error Text     Error in the SOA Composite
    2)
    Error Code     B2B-52325
    Error Description     
    Error Level     
    Error Severity     
    Error Text     Error -: B2B-52325: Error in the SOA Composite {0}
    Edited by: 901994 on Aug 22, 2012 3:36 AM

    But if the transaction is failed in SOA/AIA application due to some error then it is creating 2 entries of MSG_ERROR in reports tab in B2B where as it is creating only one entry for MSG_COMPLETE state.Are you really sure that you are seeing three report entries for SAME transaction?
    I guess B2B listening channel is trying to retry the same file in case of error.App message delivery is not retried in B2B rather failed messages are delivered to the IP_IN_QUEUE. Please enable the logging for B2B engine in TRACE 32 mode and run a test to reproduce the behaviour. Post the log here or mail across to my id (in my profile).
    Regards,
    Anuj

  • IDoc Packaging + Ack ALEAUD = bad behavior ?

    Hi,
    I'm in version PI 7.11 and I'm studying the IDoc packaging of EhP1 with Acknowledgment (ALEAUD).
    My scenario is a basic one: File -> PI --> ECC (100 idocs). And then ECC returns Ack.
    So for the returned Acknowledgment, I have that:
    - on ECC, I did ALE config, and I run programs RBDSTATE / RSEOUT00 to create one IDoc ALEAUD (Ack).
    - In PI, I use a sender CC (Idoc adapter) by using option "Idoc Packaging".
    - In PI, I use a Sender Agreement with Idoc ECC's ALEAUD and this sender CC.
    - In PI, I use program IDX_ALEREQUEST on ECC's ALEAUD idoc.
    My problem is:
    ECC send me ONE idoc ALEAUD which contains 100 segments corresponding to 100 Idocs received at the first step. BUT even if I used the "Idoc Packaging"... in IDX5 of PI, I have not one idoc ALEAUD, but I have 100 Idocs ALEAUD !
    And so after that my mapping is run 100 times instead of one ! Image if I need to return an email... with this PI behaviour, I will send 100 "Ack" emails.
    So does somebody know why IDoc Packaging does not work with ALEAUD whereas program IDX_ALEREQUEST is correctly used ?
    Thanks
    Mickael
    Note: I don't want to have to create a BPM to collect my ALEAUD Idocs. That's too heavy...
    And (for the moment), I don't want to create a specific ZALEAUD idoc...

    Hi Prashant,
    yes, I did not precise it, but of course IDXNOALE is used, else PI will generate an Ack of this ECC's ALEAUD... so a ack of a ack... but it's not really my problem.
    what I say is:
    - Request : PI -> 100 idocs MATMAS (for instance)
    - Ack : ECC return to PI only one idoc ALEAUD with 100 segments "E1STATE" corresponding to the 100 idocs MATMAS.
    - Ack : PI receive this only one ALEAUD... but in IDX5 and in SXI_MONITOR, we see in fact 100 IDocs ALEAUD with 1 segment E1STATE, instead of having only one idoc ALEAUD (like in ECC side) !
    So I'm searching a way to keep in PI the only one Idoc ALEAUD sent by ECC, in order to be able (for instance) to send only one email (and not 100 emails like it's the case for the moment).
    Regards
    Mickael

  • How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B

    Hi Friends,
    How to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    External Trading Partner is sending the EDI 856 via AS2 URL to our Oracle B2B Server.
    In the inbound 856 agreement, we have checked the option of Funtional Ack and also Functiona Ack handled by B2B is yes.
    We have the outbound agreement which is sending that Functional ack 997 (auto generated by oracle b2b) and we have specified the Outbound AS2 channel of the Partner.
    997 doc is being sent to external partner using AS2 channel, but the filename is generating as '40101'.
    Please can you let me know how to set the AS2 fileName for outbound Functional Ack 997 auto generated by Oracle B2B.
    Appreciate your valuable answers!!
    Thanks,
    Amirineni

    Amirineni,
    AFAIK, there is no option to set the file name when the 997 is generated automatically by B2B.
    Alternatively, if this is a must requirement, you can generate the FA from backend and  send to B2B with MSG_TYPE =9. In this case, you can set the header with filename (How to set the actionname property in B2B 11g)

  • Passing Func ACK(Rosettanet/EDI) back to application

    Hi
    We are setting up Oracle B2B 11.1.1.7 to send and receive Rosettanet/EDI X12 documents including functional acks
    We have a requirement to auto generate outbound functional ack(997) for EDI and Receipt acks(3A4c and 3A8c) for Rosettanet inbound docs.I believe this can be addressed by setting below B2B config property  to true
    Functional Ack handled automatically = true
    We also need to configure B2B pass Acks back to application.Can we achieve this by making below properties to true?
    Notify Inbound Functional Acks
    Notify Inbound Receipt Acks
    Thanks,
    Praveen

    Hi Ramesh,
    I case of exception in Inbound Request/Response, Oracle B2B will trigger a NAck but it could be sent only when B2B has sufficient information about the TP in the failed message. For more information please go through -
    http://www.oracle.com/technology/products/integration/b2b/pdf/B2B_TN_007_Exception_Handling.pdf
    Acknowledgement(positive) is sent only for the successfully received messages, so in case of exception there is no need of inbound data to be stored in IDC for mapping.
    As far as I know, if validation itself fails then B2B will not be able to send a negative acknowledgement to TP as TP identification happens after the validation. You may like to monitor such exceptions using the BAM monitoring.
    Regards,
    Anuj

  • IDoc Acknowledgement -  ALEAUDIT for partner type B

    Hi,
    I have a scenario where ALEAUD ack required for partner type B instead of LS.
    What are the ways by which i can configure ALEAUD ack for partner type B?
    Regards,
    Anurag

    Hi Anurag,
    ALE AUDIT is the technique of using IDocs for communication.
    ALE Audit it is used to check the cross-system IDoc flow and posting the data in the partner system.
    please gone through this related blog blog , it may be helpful for you.
    http://wiki.sdn.sap.com/wiki/display/Snippets/ALEAuditfor+DEBMAS
    Regards,
    Sudeepth

  • PI 7.4 java stack only, Acknowledgement creation not triggered

    Hello everyone
    I have one IDoc-To-File scenario working fine, including acknowledgements (ALEAUD) being sent back to the sending system. The message log in such cases looks like this:
    But I have another IDoc-To-HTTP scenario for which the acknowledgement (ALEAUD) creation is not being triggered, thus the system that originally sends IDocs doesn't get back any acknowledgements. In the message details I can see this:
    I believe that it is because of QOS = EO (async) and the http adapter continues (and fails) without waiting for a http status code coming back from the receiver.
    Just to try it out I would like to set QOS to BE (best effort). How and where to achieve this?
    Thanks anyone for some help!
    Kind regards
    Renaud

    ok, in the message log I found this:
    So this is clearly an error coming back from receiver system... sorry, didn't realize it somehow.
    But still... why is no acknowledgement (ALEAUD) being triggered?
    This is how I configured it in the Integration Builder and NWA:
    Business System A with a sender communication channel B of adapter type IDoc_AAE
    RFC Parameters = From NWA
    Resource Adapter Name = A_RA
    Ack Connection Factory Name (reuse NWA configuration) = A_CF
    On the Ack Settings Tab I checked "System Ack Ok Requested" and "System Ack Error Requested" and "ALEAUD Special Handling Needed"
    Connection from PI -> SAP ERP System A
    In NWA I created a new Destination of type RFC called ACLNT<CLIENT> pointing to sender ERP system (A)
    Connection Test (ping) is successful
    Connection from SAP ERP System A to PI
    In NWA I created a new Resource Adapter called A_RA and configured its properties like this:
    Binding Key = PI_AAE_IDOC
    destinationName = ACLNT<CLIENT>
    gatewayServer = <IP of ERP system>
    gatewayService = sapgw<instance n° of ERP system>
    local = false
    MaxReaderThreadCount = 5
    multiRepository =
    ProgramID = PI_4_A<CLIENT>
    In SAP ERP system in SM59 I created a new RFC destination, type = T, as registered server program with same ProgramID (PI_4_A<CLIENT>)
    Connection test (in SM59) is successful
    To enable / allow acknowledgements...
    I set the persistance parameter to true in the JavaIdocAdapter
    I created a JCA Connection Factory on the outboundRA Resource Adapter. Within this JCA Connection Factory I put in Configuration Properties the destinationName = ACLNT<CLIENT> (the RFC Destination Name created earlier and pointing to the sending SAP ERP System A which should receive acknowledgement ALEAUD Idocs).
    I did the same for the IDoc-2-File scenario mentionend in my 1st post... there acknowledgment messages are working fine.
    Best regards
    Renaud

  • IDOC Negative acknowledge not triggering system Exception

    Hi guys,
    I've a send step in my BPM which sends an IDOC and waits for the application acknowledge.  After watching several threads, and specially SAP Note 837285, we can read that:
    "Permanent negative acknowledgements: If the BPE receives a
    permanent negative system or application acknowledgment, the
    asynchronous send step waiting for it triggers a system error for
    which you can define an exception handling."
    Well, in my send step I've placed a system exception for handling this negative acknowledges but eventough I'm getting the negative application acknowlege from R3 (in SXMB_MONI I get the ack figure with a red cross indicating 'Ackonwledgment contains applic. errors'), the BPE doesn't trigger the system exception. Instead it enters in my deadline branch after quite a long time, ending the process....
    Can you guys give me a hand?

    Hi Ravi,
    What is happening is:
    After the idoc reaches R3, the Send step begins waiting for the ALEAUD ack from R3. I've got a System Exception for handling negative acks and a deadline branch for communication errors during the sending step... Meanwhile, the negative ack reaches XI (I can see it on the SXMB_MONI of XI) but the send step still waits for the ack. Of course, after the timeframe which was set for the deadline branch, the bpm will be completed because it jumps to that branch.
    I can't figure it out why isn't the BPM catching the negative acknowledges..... :S If the acknowledge is error-free, the send step catches it and proceeds to the next step....
    Any ideas? suggestions....? crazy attempts....?
    The only point possible is the acknowledge received not being a permanent negative ack but a transient negative ack.... How can I check this IMPORTANT point.... ?
    Message was edited by:
            Gonçalo Mouro Vaz

  • Receiver AAE IDoc adapter

    Hi All,
    I have a doubt regarding receiver AAE Idoc adapter. There are three options available in java IDoc adapter namely Default, Manual and From NWA. In Default option, we just need to configure a RFC Destination in NWA but in From NWA option, we need to configure RFC Destination as well as Resource Adapter(JCA Connection Factory). So, I just want to know what is the benefits of using From NWA option over Deafult and what is purpose of configuring Resource Adapter in NWA?

    Hi,
    see the below link.
    http://help.sap.com/saphelp_nw73/helpdata/en/bc/0341dd385945d49eb809c084cf3dea/content.htm
    as per this link i should check the checkbox.
    Configuring Acknowledgements for a Sender IDoc Adapter (AAE) Locate this document in the navigation structure
    Procedure
        Choose the sender communication channel on which you want to enable acknowledgement settings.
        Choose the Parameters tab and then, choose the Ack Settings tab.
        On the Acknowledgement Parameters area, enter the following settings:
            System Ack Ok Requested
            Choose this option to receive XI system acks.
            System Ack Error Requested
            Choose this option to receive XI system error acks.
            Application Ack Ok Requested
            Choose this option to receive XI application acks.
            Application Ack Error Requested
            Choose this option to receive XI application error acks.
            ALEAUD Special Handling Needed
            Choose this option to enable the sender Java IDoc adapter to apply special handling to the incoming ALEAUD message. The adapter replaces the IDoc number of the ALEAUD message with the original IDoc number.
            Initially, the receiver Java IDoc adapter generates a unique IDoc number, which replaces the original IDoc number of the outbound message. This IDoc unique number is referred by the ALEAUD message. However, the ALEAUD message is not converted to an XI Ack message in this case.

  • IDOC error msg has to be populated in Souce system Ztable

    Dear Forum,
    We had a following requirement.
    A sales order (ORDRSP) Idoc is being generated when ever the sales order is created in ECC 5.0 (Sender system) and the IDOC is being transferred via XI.Based on these inputs new purchase Order (PORDCR1) will be created in ECC 6.0 (Reciever system).
    In addition to that,PO status msg in ECC 6.0 need to be sent back to the ECC 5.0 through XI and the message has to be populated in Ztable in sender system(ECC 5.0).
    IDOC to IDOC scenario has been done.Scenario is working fine.PO has been created in ECC6.0.
    We have tried,ALEAUDIT ack for sending back the status msg to ECC 5.0.But Ack IDOC is not being generated.
    Request you to let me how to send back the status of the IDOC to sender and to populate this msg in Ztable.
    Looking forward to your quick response.
    Thanks & Regards,
    Naresh.K

    Hi Naresh,
    Check step by step guide for ALEAUD configuration
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    also using it via BPM
    Receiving ALEAUD as acknowledgment in ccBPM
    Thanks!

  • Strange behavior of JDBC Adapter

    Hello everybody!
    I found a pretty strange behaviour of JDBC Receiver Adapter during problems with network (big thanks to our Basis). According to the status in Adapter Engine, the message wasn't processed. In the database I can see these inserts. However, there are more lines in the XML than lines in the database. So, how it is possible that adapter commits only part of inserts. Logs and settings see below.
    My XML includes a SQL_DML statement and a few INSERT statements, each contains many inserts.
    It looks like that:
    <?xml version="1.0" ?>
    <MyMessage>
        <statement>
            <table1 action="SQL_DML">
                <access>here I delete old values</access>
            </table1>
        </statement>
        <statement>
            <table2 action="INSERT">
                <access>some data</access>
            </table2>
        </statement>
        <statement>
            <table3 action="INSERT">
                <access>some data</access>
            </table3>
        </statement>
    </MyMessage>
    Part of adapter log is here:
    Information
    Message successfully put into the queue
    Information
    The message was successfully retrieved from the receive queue
    Information
    Message status set to DLNG
    Information
    Delivering to channel: Adapter_Name
    Information
    MP: processing local module localejbs/CallSapAdapter
    Information
    Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    Information
    JDBC Adapter Receiver Channel Adapter_Name: Processing started; party / service BS
    Information
    Database request processed successfully
    Error
    MP: exception caught with message Ack handling failed: creation of messageFactory failed: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Connection JDBC_http://sap.com/xi/XI/System is currently not started.
    Error
    Exception caught by adapter framework: Ack handling failed: creation of messageFactory failed: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Connection JDBC_http://sap.com/xi/XI/System is currently not started.
    Error
    Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: Ack handling failed: creation of messageFactory failed: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Connection JDBC_http://sap.com/xi/XI/System is currently not started.
    Information
    Message status set to WAIT
    Information
    The asynchronous message was successfully scheduled to be delivered at ...
    Information
    Message status set to TBDL
    Information
    Retrying to deliver message to the application. Retry: 1
    Information
    The message was successfully retrieved from the receive queue
    Information
    Message status set to DLNG
    Information
    Delivering to channel: Adapter_Name
    Information
    MP: processing local module localejbs/CallSapAdapter
    Information
    Receiver JDBC adapter: processing started; QoS required: ExactlyOnce
    Information
    JDBC Adapter Receiver Channel Adapter_Name: Processing started; party / service BS
    Error
    Unable to execute statement for table or stored procedure. 'Table' (Structure 'statement') due to com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'fields'. Cannot insert duplicate key in object 'Table'. The duplicate key value is (field values).
    Error
    JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'Table' (structure 'statement'): com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'fields'. Cannot insert duplicate key in object 'Table'. The duplicate key value is (field values).
    Error
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'Table' (structure 'statement'): com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'fields'. Cannot insert duplicate key in object 'Table'. The duplicate key value is (field values).
    Error
    Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'Table' (structure 'statement'): com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'fields'. Cannot insert duplicate key in object 'Table'. The duplicate key value is (field values).
    Error
    Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'Table' (structure 'statement'): com.microsoft.sqlserver.jdbc.SQLServerException: Violation of PRIMARY KEY constraint 'fields'. Cannot insert duplicate key in object 'Table'. The duplicate key value is (field values).
    Adapter settings:
    Maximum concurrency: 20
    Persistence: Local
    Conflict Resolution: Redo
    Advanced Mode: On
    Number of Retries of Database Transaction on SQL Error: 0
    Transaction Isolation Level: serializable

    Dear All,
    Follow the steps below to resolve the "Connection JDBC_http://sap.com/xi/XI/System is currently not started." issue:
    1. Log in to NWA
    2. Navigate to Operations -> Systems -> Start & Stop
    3. Click on Java Services tab
    4. Search  the service Service "XPI Adapter: JDBC"
    5. Select the service XPI Adapter: JDBC and click on Restart button
    With the restart of JDBC Service in NWA, the channels should start working properly
    Regards,
    Shreyansh

  • IDoc to HTTP: Using acknowledgments

    Hi friends.
    I know the HTTP Adapter does not support acknowledgments.
    But we had a scenario in which we send an IDoc from SAP and transformed it in a HTTP Call.
    We get back to the SAP system a aleaud Ack IDoc from PI. It reports that the communication between SAP and PI works.
    The ack was not for the sucessfully or unsucessfully HTTP call.
    Now we updated our PI 7.0 system from service level 12 to 20.
    Since the update there comes no ALEAUD IDoc back.
    Any replies to that problem?
    Thanks!!!
    Stefan

    HI,
    please go through below blog instead of file you are using IDoc and instead of rfc you are using HTTP,
    http://wiki.sdn.sap.com/wiki/display/XI/FILETORFCTOFILEwithBPM
    regards,
    ganesh.

  • DB Lookup Problem

    Hi All,
      I am trying to use DB LOOKUP in the  mapping.
      I am getting the following error. Can you through some pointers?
       I am using
      1. Driver = oracle.jdbc.pool.OracleConnectionPoolDataSource
    2. Connection = jdbc:oracle:thin:@190.190.190.190:1528:PXI
    com.sap.aii.mapping.lookup.LookupException: Exception during processing the payload.Problem when calling an adapter by using communication channel DB_LOOKUP_CHANNEL (Party: , Service: DB_LOOKUP_SERVICE, Object ID: b2096509d2383857a480e38f3f4d2abe) XI AF API call failed. Module exception: 'Error ACK handling failed: java.lang.NullPointerException'. Cause Exception: (No information available). com.sap.aii.mapping.lookup.LookupException: Problem when calling an adapter by using communication channel DB_LOOKUP_CHANNEL (Party: , Service: DB_LOOKUP_SERVICE, Object ID: b2096509d2383857a480e38f3f4d2abe) XI AF API call failed. Module exception: 'Error ACK handling failed: java.lang.NullPointerException'. Cause Exception: (No information available). at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.execute(AdapterProxyLocal.java:131) at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.execute(SystemAccessorInternal.java:68) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:149) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:77) at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169) at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:296) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211) at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160) Root Cause: com.sap.aii.af.service.api.AFException: XI AF API call failed. Module exception: 'Error ACK handling failed: java.lang.NullPointerException'. Cause Exception: (No information available). at com.sap.aii.af.service.api.AdapterAccess.sendMsg(AdapterAccess.java:214) at com.sap.aii.af.service.api.AdapterAccess.execute(AdapterAccess.java:283) at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.execute(AdapterProxyLocal.java:123) at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.execute(SystemAccessorInternal.java:68) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:149) at com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:77) at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169) at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:296) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211) at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496) at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    Thank you
    Ganges Leaves

    Hi Ganges~
    <i>Exception during processing the payload</i>
    1) Check the Payload is a valid xml
    2) Check the JDBC Adapter connection Parameters -go to Adapter Monitoring and check is this is showing Active and Green..
    3) Check these blog- /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    4) Check this for Connection Parameters and drivers information-
    Using JDBC Adapter posting data from Oracle database to Falt file????
    For more-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/406642ea59c753e10000000a1550b0/frameset.htm
    Hope this helps,
    REgards,
    Moorthy

  • Error with Mapping Lookup API using JDBC

    All,
    I have an interface that uses a JDBC lookup user defined function.  Occassionally we get the following message:
    <i>Problem when calling an adapter by using communication channel myJDBCLookup (Party: , Service: myJDBCdbase, Object ID: 0cdb888150ee36638cbfb100ff2e7161) XI AF API call failed. Module exception: 'Error ACK handling failed: java.lang.NullPointerException'. Cause Exception: (No information available)</i>
    The only way I can duplicate this error is if I deactivate the myJDBCLookup communication channel and re-run the interface.  In this case I get the same exact error.  I know the commchannels were active when I ran and got the errors.  Typically what I do is just restart the erred message and it runs fine.
    I'm thinking I may be running into a timeout problem on the Oracle end of my call and XI is "timing out" or something like that.
    My questions are:
    1)  whether or not XI has some timeout setting that I could increase that would hopefully mitigate this issue (I'm not an XI admin)?
    2) would using a different Conflict Resolution (JDBC adapter config) or Number of Retries of Database Transaction on SQL error (JDBC Advanced adapter config) setting help?
    3) Is there something altogether different I should be looking at?

    Hi,
    This blog may help u on to optimize the lookup-
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    /people/sap.user72/blog/2005/10/15/jdbc-adapter-execution-mode-chained-or-unchained
    ALso check the Adapter Engine about time out parameters-
    hope this helps,
    Regards,
    moorthy

  • Synchronous webservice-Acknowledgement

    Hi Experts,
    I have a scenario where I need to communicate between a synchronous webservice and an Idoc(async).
    Webservice Interface:(Sync)
    Sender Message: Webservice Response
    Reciever Message: Acknowledgement
    Reciever Interface:(Async)
    IDOC: ACC_DOCUMENT
    The Webservice response message will be mapped to the IDOC.
    The acknowledgement message also needs to be sent to the webservice as a response and that ack depends on the value of the webservice response field value.
    Please suggest any design to execute the same.
    Regards,
    Akhil

    U can design in two manners
    1. The webservice execution could be done before message processing at XI, and directly webservice response is sent to XI to be mapped to the Idoc data. Here no ack handling would be required.
    2. Use a SOAP client which sends data to XI. Make a sync call to webservice to fetch its data (Again 2 options exists, use BPM or use SOAP lookup). Now the response received can be mapped to Idoc structure.
    Regards,
    Prateek

Maybe you are looking for