Unable to cancel messages in adapter engine

Hello,
We have implemented an interface with file connector. Since one week, all messages are hanged in the adapter engine with status TO BE DELIVERED.
I tried to cancel but the folowing error message appears :
Could not fail message. Reason: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Could not fail message 0013211d-2dc8-1def-a8a4-938b4635c3af(INBOUND), as triggered by admin action. Reason: Predecessor not in final state.
This interface is a proxy from ECC6-->csv file and i can't see the corresponding messaging in any queues SMQ1..
They are only available in the RWB/message monitoring/adapter engine
Can you tell me how to process these messages or cancel ?
Regards

Hi
    Messages will go in to the state Tobe delivered if there are no threads available for the particular adapter.. and lack of threads is due to the state of the messages in DLNG...
Check the messages which are in DLNG and the reason behing long time for processing the same..(can be restart of the target system...)
if you get the error saying predecessor is not in final state...
for this you need to check the parent message in the queue which is causing this. this can be done using messaging system url
http://host:port/MessagingSystem/
go here and check the tab EOIO message ..... and there check the messages which are blocked and check the queue names if need to find the paticular queue..and reprocess if the error occured can be rectified...
HTH
Rajesh

Similar Messages

  • Error : Unable to find URL for Adapter Engine

    Hi Experts,
    I have searched several forums , but i am not clear on how to resolve this error.
    I am using XI 3.0, my scenario is File->XI->File
    I am getting this error in SXMB_MONI.
    *Can any body suggest me a clear step-by-step procedure to solve it.*
       <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Message canceled
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.xd2.host-dev</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>no_messaging_url_found: Unable to find URL for Adapter Engine af.xd2.host-dev</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when reading the access data (URL, user, password) for the Adapter Engine af.xd2.hydrus-dev</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks
    sai

    Hi Debashish,
    Thanks for ur reply,
    I have executed
    --->Execute SAI_AE_DETAILS_GET from se37
    >Enter AE name:<host>.<systemid>
    After executing, i got these param
    Exception       NO_ADAPTER_ENGINE_FOUND
    Message ID:          SAI_GLOBAL                 Message number:           016
    Message:
    no_adapter_engine_found: Unable to find Adapter Engine host-DEV.XD2
    Exchange profile parameters are like this
    Calling function EXCHANGE_PROFILE_GET_PARAMETER
    Retrieving data from the XI Profile...
    Function call terminated sucessfully
    Retrieved value of
    section   = Connections
    parameter = com.sap.aii.ib.server.connect.webas.r3.ashost
    -> value  =
    and i dont have authorizations for SU01 fro lock/unlock.
    Any suggestions how to proceed.
    Thanks
    Sai

  • CPALookupException while sending a Test message to Adapter engine

    Hello Experts,
    I am getting following exception while sending a test message to Adapter engine through Runtime Workbench.
    Error while sending message: com.sap.engine.interfaces.messaging.api.exception.ConfigException: ConfigException in XI protocol handler. Failed to determine a receiver agreement for the given message. Root cause: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve outbound binding for the given P/S/A values: FP=<Configured Party>;TP=;FS=<Configured Communication component>;TS=;AN=<Configured Outbound Interface>;ANS=<Configured Namespace>
    This scenario works fine when I submits the message through Integration engine. So ID configuration is perfect. Also cache contents are upto date.
    Thanks in advance.
    Regards
    Rajeev

    Error is clearly saying that it is unable to find receiver agreement for that particular interface.
    Please check your receiver agreement for the interface.
    If your receiver agreement is fine then do CPA cache refresh using following URL:-
    http://<host>:<port>/CPACache/refresh?mode=full

  • Unable to find URL for Adapter Engine af.xid.xidev ?

    Hi,
    I have scenario.
    Abap proxy -
    > ccBPM -
    > RFC (synchronous).
    The error happen for ccBPM -
    > RFC
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>2: Unable to find URL for Adapter Engine af.xid.xidev</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Any idea for what happening ?
    Cheers
    Fernand

    Hi.
    Have you tried with this
    Re: Wrong Adapter Engine on RWB?
    Regards
    Seshagiri

  • Unable to find URL for Adapter Engine

    Hi,
    We have installed the XI 7.0 and I have realized a simple scenario "File > XI > File" in order to validate the installation... and on has a dump around Adapter Framework.
    Inside SXMB_MONI, on has the following error:
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.xid.bcnssap006</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>no_messaging_url_found: Unable to find URL for Adapter Engine af.xid.bcnssap006</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine af.xid.bcnssap006</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    It's probably a problem with aii but which one ?

    Hi Mickael,
    The problem that you are facing looks like it is unable to connect to the adapter engine itself, please check the following:-
    The userid being used must have the authorizations of group SAP_XI_APPL_SERV_USER on the Integration Server.
    *During the configuration of the adapter (From Help documentation):-
    <i>Specifications for the Integration Engine
    Enter the complete address (URL) of the Integration Engine that you want to send the message to:
    XI.TargetURL=http://IntegrationEngineHost:port/pipeline-arguments
    This specification is mandatory.</i>
    One suggestion:- Please try the following and see if you are still facing the problem, this might help you in decreasing the number of places to verifyconfigurations!
    Again, from help:-
    <i>The Integration Engine address can also be accessed dynamically from the SAP System Landscape Directory (SLD). The following entry is added to the configuration for this purpose:
    XI.SLDConfiguration=SLDaccessor
    In this case the URL of the corresponding Integration Server for the system specified with XI.SenderService is read from the SLD and used instead of the value specified under XI.TargetURL. Therefore, specify the following:
    XI.TargetURL=<fromSLD>
    To be able to access the SLD, the SLDaccessor service must be configured correspondingly and the respective entries must be maintained in the SLD.</i>
    Hope this helps!
    -Sushumna

  • How to see old successfully delivered messages in Adapter Engine

    We are unable to see the messages that were successfully delivered  by Adapter Engine more than a day.Ho do we see old successfully delivered messages by Adapter Engine.We are only able to see the messages that were 1 day old.We are using PI 7.1.
    We are able to see the older messages in Integration Engine as per the config  in sxmb_adm.
    Any Help greatly appreciated.
    Thanks,
    Aravind

    Only message that contain error,holding,not delivered are getting persisted not the sucessfully delivered ones.
    Is there any Archiving scheduled for your Adapter Engine?
    I want to see the old messages that were delivered sucessfully
    In Message Monitoring Itself select Archive (instaed of Database) and make a search.....if archiving is scheduled then you should be able to see the messages by this option.
    Regards,
    Abhishek.

  • Automatic restart of Error-Message in Adapter-Engine (Job?)

    Hi,
    we are working on PI 7.11 and facing following problem:
    Often in message-monitoring error-messages are forgotten because of wrong date-selections by the monitorer (not enough days back). It would be very nice, if there is a function witch is repeating error-messages in adapter-engine automaticly and witch can be scheduled.
    Does anybody know something about an excisting program / function on PI?
    Regards
    Jürg

    Hi,
         By default if any failure occurs in adapter engine (in case of receiver,during delivery to target system)
    it will retry 3 times after a period interval of 5 minutes..this is by default even this can be change if needed with the help of the proeprties at NWA/VA...
    but in case of failures at IE level (mappings,...) then you need to schedule the report RSXMB_RESTART_MESSAGES....
    search SDN if like to know more about the reports...
    HTH
    Rajesh

  • Archiving message in Adapter Engine in XI 3.0

    Dear all,
    Could you please explain the procedure of Archiving Messages in Adapter Engine in XI 3.0.
    I have read many blogs regarding deleting messages in Adapter Engine, but nowhere i can see about Archiving.
    I have been told that activating and scheduling "Default Version Archive Job" in RWB->Components->Adapter Engine->Background Processing would solve the purpose.
    But while activating, i am unale to set rules, as it gives error " Rules are not allowed for jobs with set 'archive edited messages only' flag."
    Thanks and regards

    Hi,
    Please check the [link|http://www.****************/Tutorials/XI/Archiving/Index.htm]
    Also check this
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50?quicklink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=147266890
    Regards,
    Naveen.

  • PI 7.1 - Message Monitoring - Adapter Engine (Database Overview)

    Hi Friends,
    In Message Monitoring --> Adapter Engine --> Database (Overview) is not working. It throws the following error message.
    no_connection Exception Message: RemoteException in Method: CentralViewManager: getIProfiles( IApplication, boolean ). Communication-related failure. Message: java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.wsdl2java.ClientProtocolException: An error occured while reading data from the destination sap.com/com.sap.aii.af.service.profile.proxy/com.sap.aii.af.service.statistic.proxy.ProfileProcessor/basicPort_Document. The error was: com.sap.security.core.server.destinations.api.DestinationException An error occurred while reading the destination sap.com/com.sap.aii.af.service.profile.proxy/com.sap.aii.af.service.statistic.proxy.ProfileProcessor/basicPort_Document, type WebService. The error was Internal error during the decryption process...
    But, Adapter Engine --> Database option is working. What could be the problem ?
    Kindly clarify, friends.
    Kind regards,
    Jegathees P.

    Hello friend,
    May be it is related with connection problem check with your basis people .
    Regards,
    Ravi.

  • Message in adapter engine

    Hi all,
    We monitor messages in adapter engine through RWB.
    Can anyone tell me where these messages are stored?

    hi,
    it has the misconception that RWB uses the same data base as of sxmb_moni.
    but this is not true. actually RWB has a java componenet and IE is  a abap componenet.
    RWB getting tha data from SXMB_MONI  db(abap table) through the jrfc call and storing it into the XI_AF_MSG table. this can be verified because, when u try to fatch payload for the sych message in RWB ,it is showing payload is deleted to save memory . but the same message with the payload can be displayed at SXMB_MONI .but  for this u need to set the retention period at sxmb_adm---intigration engine configuration.by default value for this is 0 days.please have a look of below link.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/xi%252btables
    the XI_AF_MSG_AUDIT  table stored the detail of all the audit log.thats why the no of entrieds in this table is more than XI_AF_MSG table.
    now Q is how to access these DB.
    these DB can be access through the DB tool say SQLplus.
    to get the total no of entries byststus u can use the fllowing query.
    select status, count(1) as
    current_number from sap[sid]db.xi_af_msg
    group by status;
    regards,
    navneet

  • SOAP messages not visible in RWB - Message Monitoring - Adapter Engine

    Hi,
    following scenario:
    ERP is sending IDocs to PI.
    Within PI an integration process sends the IDoc data through a SOAP (WS) receiver channel to a system far far away.
    In RWB -> Communication Channel Monitoring I can see all delivered messages selecting my SOAP channel.
    But:
    I can´t see the SOAP messages in RWB -> Message Monitoring -> Messages of Adapter Engine.
    In RWB -> Message Monitoring -> Messages of Integration Engine I only see SOAP messages with status "Error".
    Successful column is empty.
    Do I have to adjust some system / monitoring parameters also seeing SOAP messages in RWB->Message Monitoring?
    Thanks in advance,
    André

    Hi Ravi,
    thanks.
    But there are thousands of successful messages delivered to the receiver.
    These successful messages can only be seen in the Channel Monitoring.
    I can´t find these successful messages in Message Monitoring.
    Only some with status "Error" are displayed.
    Strange...
    Cheers,
    André

  • Reg Unable to find URL for Adapter Engine Error

    Hello,
    During execution of a scenario, i am getting these errors in sxmb_moni:
    AE_DETAILS_GET_ERROR
    3: Unable to find URL for Adapter Engine af.xip.poecspxioo4
    Error when reading the access data (URL, user, password) for the Adapter Engine.
    Seems like it is a problem of XI Server unable to locate the Central adapter engine due to some parameter not set properly.
    So, what are the points we can check while installation of XI so as to rectify this problem.

    Hi all,
    I got the similar error in my scenario and i solved the same.Actually i ma not pretty surte this will solve your problem.
    In my case proxy generation settings was mis configured in the sender system. so its caused the reason.
    I made an entry in the SPROXSET table and i did other activities like RFC and application system also.
    Then its worked for me. Its not matching with your case please do ignore this one
    Regards
    Vijay

  • Cannot resend messages in adapter engine

    Hi all,
    I encountered thousand messages in adapter engine yesterday with error category: XI_J2EE_ADAPTER_ENGINE, error code: JMS_TRANSMISSION_ERROR.
    First I checked the affected communication channel, and there was an error in MQ side. Also, our database crashed. But these issues were resolved already. Then I tried to resend the messages, but still it ended up in system error. As I looked in the log,
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Connector for ConnectionProfile of channel: JMS_--_Receiveron node: -having object id: - encountered error: MQJMS2007: failed to send message to MQ queue in sending to destination queue:///?targetClient=1, the message message: JMS Message class: jms_text  JMSType:         null  JMSDeliveryMode: 2  JMSExpiration:   0  JMSPriority:     4  JMSMessageID:    null  JMSTimestamp:    1193614619284  JMSCorrelationID:--
    Exception caught by adapter framework: Connector for ConnectionProfile of channel: JMS_----
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Pending message discovered: -
    .The channel is configured throw an recoverable, temporary error for this warning (default). Decide whether you want to bypass this message. If so, set the Pending Handling  channel parameter to 'Bypass' and restart the message afterwards.
    Exception caught by adapter framework: Pending message discovered: -
    .The channel is configured throw an recoverable, temporary error for this warning (default). Decide whether you want to bypass this message. If so, set the Pending Handling  channel parameter to 'Bypass' and restart the message afterwards.
    Every time I tried to resend the message, it ended up in error stated above. But there are successful messages today which means that the communication channel is working fine.
    How can I resend the messages stucked in the adapter engine? Hope someone can help me.
    Thanks a lot in advance.

    May be when u tried to send the message some of the message got stuck in AE due to some Error.
    As I no the message can stuck in AE when....Target Systems is down, Test data is not valid for receiver..then few of the messages goes in System Error and later message come in waiting/Holding/To be Delieverd state...
    Check all the messages that has in System Error status...
    Thanks
    Farooq.

  • No_messaging_url_found: Unable to find URL for Adapter Engine

    Hi,
    I am facing the same problem. I have configured a RFC-File scenario.
    I get the error"no_messaging_url_found: Unable to find URL for Adapter Engine af.<SID>.<server>"
    and <INTERNAL.AE_DETAILS_GET_ERROR>
    I get the error "no_messaging_url_found: Unable to find URL for Adapter Engine" when I execute the Function Module SAI_AE_DETAILS_GET.
    This error occured in the line 235( sap_xi_adapter_services = sld_accessor->associators( iref = sap_xi_adapter_framework assocclass = 'SAP_HostedXIAdapterServi) of the FM.
    The value is not filled and i get the error mentioned.
    I have gone through thread and verified all the points mentioned.
    I have checked SXI_CAHCE,there are no locked users in RSUSR200,
    SXI_CACHE, Goto->AdapterEngine Cache, I have an entry af.<sid>.<server>
    In SLD,Technical Landscape,Exchange Infrastructure I have the entry <SID>.<Server> against the Adapter Engine
    But as was mentioned in the thread the line 241 of the Fucntion Module has 'adapterType' and not 'Adaptertype' as in the exchange profile.I did not try changing 'a' to 'A'.
    Could you please let me know how to solve the problem.
    Thanks in advance.

    Hi Vani,
    Check the pipeline URL in the SLD
    Business System->URL
    It should be
    http://host:HTTPport/sap/xi/engine?type=entry
    Just check this thread- may be useful-
    File Adapter - Sender Problem
    RFC adapter - AE_DETAILS_GET_ERROR - no adapter engine
    https://websmp103.sap-ag.de/~sapdownload/011000358700002757652005E/HowtoMintorAF.pdf
    Hope this helps,
    Regards,
    Moorthy

  • Problem With Seeing Message in Adapter Engine

    Hello Everyone,
    We are facing a strange problem while running an <b>Integration Process</b>, <b>BPM</b> in PI. In the process, we are trying to read a .CSV File and convert it into a .XML File via FCC. The .CSV file is placed in the XI box itself, under a certain directory. We have configured the process such that whenever the .CSV file is read, its attributes are set to <b>'read only'</b>. After configuring the process, the required XML file did not show up. So we checked that whether the .CSV file was read and it showed up attributes of 'read only'.We cross checked
        -First by going to <b>SXMB_MONI</b>; here it said 'No messages available for selection'
        -Then by examining the 'channel monitoring' in AE; where we found both the sender and receiver channel are showing green. The sender channel first shows up that <b>'Processing started'</b> and then <b>'Processing Completed Successfully'.</b> The receiver channel does not show up any messages.
        -we checked for the XML messages that are in the Adapter in <b>IDX5</b>; it shows <b>'no messages selected'</b>.
        -We anticipated that it may be a cache problem and cleared all the caches; but when we tried to clear the Adapter Framework Cache, it popped up an authorization error and the problem persisted.
    We are using NW2004s with SP6 at the ABAP and BASIS stack and SP 9 at the Java Stack. Also, all the required connections made in SM59 are in order.
    Now, <b>What can be the problem? Is it the difference in SP level that is causing the problem? Or is it something else? What have we missed?</b> Guys, please help us solve this problem.
    Need Help. Pleae Reply. Points will be awarded.
    Thanking in anticipation.
    Amitabha

    Hi Shabarish,
    1.Document name <b>is indeed</b> the name of message type in our case.
    2. We did not use delete mode; but once the file was read- we manually changed its attributes from 'RA' to 'A'..and it became 'RA' again after 2 seconds; which is our polling interval.
    3. And we have discovered that the file is being read properly..because we can see the XML payload of it and it contains the correct data.But still it does neither show up in SXMB_MONI..nor in IDX5.
    <b>Can you please tell us what are the necessary roles for the User PIAFUSER?</b> We suspect that somewhere's an authorization error we are getting; because the AF cache refresh attempt shows "Forbidden" and we are getting an error in Tcode SXI_SHOW_MESSAGE as:
    <b>AE_DETAILS_GET_ERROR: no_adapter_engine_found: Unable to find Adapter Engine:</b>; Stack trace shows:<b>Error while reading access data (URL, user, password) for the Adapter Engine</b>

Maybe you are looking for