Idoc to JMS

Hi Experts,
     I am recivieng an IDOC into PI and sending to legacy using JMS adapter in MONI i am able to see successfull flag but in RWB its showing      Status: System error
                         error code : CHANNEL_ DETERMINATION_FAILED
Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException
Error while processing message 'db0458de-26fd-11e1-8c18-000030facf5b';  detailed error description: java.lang.NullPointerException at com.sap.aii.adapter.jms.core.connector.ConnectorImpl.disconnectOnDemand(ConnectorImpl.java:225) ...
Can you help me on this.
Regards,
Prasad.

hi Prasad,
check in your CC the connection option like "Create Connection on Demand": [http://help.sap.com/saphelp_nw70/helpdata/en/c1/739c4186c2a409e10000000a155106/content.htm]
check also with your JMS provider, if connection is operational.
Mickael

Similar Messages

  • Idoc-xi-jms scenario

    Hi
    I want sender service name in the receiver payload header. How should we go abt ? I am talking abt the scenario like idoc-xi-jms.
    thanks
    kumar

    have a look at the following
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
    Thanx
    Aamir

  • IDOC-XI-JMS Adapter

    Hi
    I have to build interface for scenario IDOC-XI-JMS adapter and legacy syetem is MQ-series. All the jar files has been deployed which is the pre-requisite to use JMS adapter.
    Can anyone tell me if I should send data in file or as message.
    Also if you can tell me the steps to build this interface. Please refer to some relevant blogs but would appriciate if you can explain me steps.
    Points will be rewarded for the appropirate replies.
    Regards

    Hi,
    >IDOC-XI-JMS adapter
    Sender Side IDOC Adapter, Hence No Need Sender Agreement,  Import the IDOC in XI System , Declare the Data Type  for the Receiver side..Message Type..Message Interface as Ingoung..Do Message Mapping..Interface Mapping..In Configuratio Receiver JMS Adapter. Mention the Driver Information,User ID & Password and go ahead and test it
    Regards
    Agasthuri  Doss

  • IDOC to JMS (JBOSS) Interface

    HI,
    I am doing the interface from IDOC to  JMS (Jboss) and I am getting the below error message in the Communication Channel Monitoring.
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: No transition found from state: STARTING, on event: process_commence for DFA: CC_SAPSubobj_Receiver:dde2d0a49072388787ae2a0a2abdcf34
    the below parameters I used in the communication Channel.
    Access JMS PRovider with JNDI
    JNDI Lookup Name of QueueConnectionFactory: jmsfactory/default/TopicConnectionFactory
    JNDI Lookup Name of JMS Queue: queue name
    Name of JNDI Initial COntext Factory: com.sap.engine.services.jndi.InitialContextFactoryImpl
    JNDI Server Address: servername/port
    Is someone faced the same issue?
    Edited by: KISHORE RACHAMALLU on Feb 1, 2010 2:30 PM

    Hi Sunil,
    I folloowd the note, but I am getting the below error message
    Channel error occurred. Detailed error (if any) : com.sap.aii.adapter.jms.api.connector.ConnectorException: Fatal Error looking up connection factoryConnectionFactory, for profile: ConnectionProfile of channel: cc name node: 216615450 having object id: c836e3a216e9376982fc5d52d0a6eae1: SAPNoClassDefFoundError:
    org/jboss/aop/Advised at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createConnectionFactory(JndiConnectorImpl.java:141)

  • IDOC TO JMS CONFIGURATION

    Hello ,
               can any help me "HOW TO CONFIGURE THE IDOC TO JMS "
    plz send the screen shots for idoc to file
    thanking u

    in case of IDOCs involved you need to consider the following;
    Sent/Receive IDOC:
    you need to do the following:
    In XI
    SM59 - R3 connection pointing to R3
    IDX1 - define the port with the above dest.
    In R3
    SM59 - R3 connection pointing to XI
    WE21 - define the port with the above dest.
    WE20 - Partner profile type outbound/Inbound
    IDOC -> File
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    At the JMS end, ref:
    https://websmp205.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
    There are many how to guides on JMS here.
    Go through Following Weblog’s its very helpful in implementing you IDOC to JMS scenario.
    /people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process

  • IDOC to JMS and JMS to IDOC.

    Hi All,
       I read most of the thread and found also some good link . But failed to get the exact thing that i need to carry out for this implementation. So , i am looking forward for your valuable help to get a clear understanding on this.
    Scenerio : IDOC to JMS.
    1. What need to carry out for configuring the JMS adapter as the receiver.
       I know the configuration side from SAP[IDOC] to XI side. But dont have any idea on configuring the JMS adapter.
    2. What drivers that i need to instal on ? & how can i know which driver should i use for my scenerio ?
    3. What details do i need from the client ?
    Scenerio : JMS to IDOC.
    1. I have the same thing to configure from JMS to SAP[IDOC], SO for this what else do i need to configure?
    2. What need to carry out for configuring the JMS adapter as sender?
    Can anyone, please provide me the details on this..
    Thanks in advance.
    Jay.

    Hi,
    Check the links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c1/739c4186c2a409e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/65/52693cab05e079e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f8/24ee41c334c717e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/frameset.htm
    Thanks!

  • IDOC acknowlegment IDOC-PI-JMS Scenario

    Hi,
    I have a IDOC-PI-JMS scenario. (With msg branching, PI 7.1 EHP1)
    The message are processing but it seems that there is no acknolegment sent back to the ECC system; the outbound IDOC remains in status 03.
    By turning acknologement off in IDX_NOALE everything is OK except the IDOC remaining in status 03.
    I found this how-to document for the IDOC-PI-IDOC scenario, but I need to configure IDOC acknowlegment for IDOC-PI-JMS scenario, someone can point to some guide/how-to? Do I need to still do all the ALE Audit configuration?
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    Thanks,
    Martin

    Hi Martin,
    Please go this article [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe?quicklink=index&overridelayout=true] and [http://help.sap.com/saphelp_nwpi71/helpdata/EN/ab/bdb13b00ae793be10000000a11402f/frameset.htm] for information about How to handle the Idocs acknowledgements.
    Regards,
    Kalpana.

  • IDOC to JMS with Dynamic Configuration.

    Dear Experts,
    IDOC -> SAP PI -> JMS.
    We will receive a value in the IDOC-message, based on which the target queue is to be defined.
    1) So which property in Dynamic Configuration will help me?
    2) Will it be the normal procedure (UDF in Message Mapping and then select the ASMA attribute in receiver channel)?
    I went through: http://wiki.sdn.sap.com/wiki/display/XI/FAQ+J2EEJMS+Adapter (question 2.9 and 2.8)
    But in one thread it was mentioned that such configuration (of queue) is not possible.
    Any idea on how to proceed?
    ~Thanks.

    Hello Stefan,
    Thank you for the response.
                        -----> Company1
    IDOC -> SAP PI   -----> Company2
                        -----> Company3
    We have the above integration in place. Now without ASMA, we will have to create three different JMS Channels; one in each of the Business Service. This would mean that in future if the receivers increase, the corresponding channels have to be increased
    But now I am confused as to what the Q 2.9 in this wiki link means: http://wiki.sdn.sap.com/wiki/display/XI/FAQ+J2EEJMS+Adapter
    ~Thanks

  • Character Encoding for IDOC to JMS scenario with foreign characters

    Dear Experts,
    The scenario is desribed as follows:
    Issue Description:
    There is an IDOC which is created after extracting data from different countries (but only one country at a time). So, for instance first time the data is picked in Greek and Latin and corresponding IDOC is created and sent to PI, the next time plain English and sent to PI and next Chinese and so on. As of now every time this IDOC reaches PI ,it comes with UTF-8 character encoding as seen in the IDOC XML.
    I am converting this IDOC XML into single string flat file (currently taking the default encoding UTF-8) and sending it to receiver JMS Queue (MQ Series). Now when this data is picked up from the end recepient from the corresponding queue in MQ Series, they see ? wherever there is a Greek/latin characters (may be because that should be having a different encoding like ISO-8859_7). This is causing issues at their end.
    My Understanding
    SAP system should trigger the IDOC with the right code page i.e if the IDOC is sent with Greek/Latin code page should be ISO-8859_7, if this same IDOC is sent with Chinese characters the corresponding code page else UTF-8 or default code page.
    Once this is sent correctly from SAP, Java Mapping should have to use the correct code page when righting the bytes to outputstream and then we would also need to set the right code page as JMS Header before putting the message in the JMS queue so that receiver can interpret it.
    Queries:
    1. Is my approach for the scenario correct, if not please guide me to the right approach.
    2. Does SAP support different code page being picked for the same IDOC based on different data set. If so how is it achieved.
    3. What is the JMS Header property to set the right code page. I think there should be some JMS Header defined by MQ Series for Character Encoding which I should be setting correctly) I find that there is a property to set the CCSID in JMS Receiver Adapter but that only refers to Non-ASCII names and doesn't refer to the payload content.
    I would appreciate if anybody can give me pointers on how to resolve this issue.
    Thanks,
    Pratik

    Hi Pratik,
         http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42?quicklink=index&overridelayout=true
    This link might help.
    regards
    Anupam

  • IDoc To JMS Scenario

    Hi,
    My Scenario is to recieve IDocs from SAP Backend System and send it to MQ queue via JMS Adapter.
    When recieving the IDoc messages in XI from SAP Backend system I get the following error message in transaction SXMB_MONI:
    <?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>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.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=;TP=;FS=KMD_SAPR3_Z52002;TS=KMD_MQ;AN=IA_XITEST;ANS=http://kmd.dk/gfx/vl906/LoadTest/SingleClient/MQ;</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have checked that receiver agreement has been set up correctly.
    Hope that someone can help.
    Regards,
    Morten

    Hi,
    Check the receiver agreement is properly configured and edit  it then save and activate and try it out
    Regards
    Agasthuri Doss

  • Idoc to jms scenario issue

    Hi All,
    I have a scenario where I have PAYEXT IDocs and EUPEXR Idocs coming to XI which needs to be delivered to same target JMS queue.
    I have used two mapping as they are two different IDocs. The target message structure is same for both.
    Now at runtime I receive IDocs in random order, what I need to ensure is for a set of PAYEXT IDocs I have a following 1 EUPEXR IDoc. So I need to first guarantee that all PAYEXT IDocs have been sent then I can sent the EUPEXR IDoc for that set.
    There is a relation between PAYEXT and EUPEXR where for a set of messages coming to XI, for number of PAYEXT there will be one EUPEXR and the EUPEXR.E1EDRD1 contains all the IDoc numbers of PAYEXT.
    Thanks in advance.
    Ravijeet

    Ravijeet,
    As you mentioned earlier you both messages are relevant. You have two options..
    1. Create BPM so that you can decide which message need to send first.
    2. Or as suggested by michael at SAR R/3 level make sure you send PAYEXT before EUPEXR . However SAP XI side you need to assign one single dedicated queue so that all messages will be queue in one single Message queue. You can set dedicated queue to your interface ( SXMB_ADM-->Manage Queues) so that the messages willl be process in the sequence they have received.
    Hope this will help.
    Thanks,
    Nilesh

  • EDI Idoc -- Receiver JMS Adapter.

    Hi,
    I'm facing this issue from few days.
    Sender is EDI Idoc and contains header and Footer.
    This is placed in the application server of SAP system.
    From there xi picks the EDI Idoc and sends to JMS server.
    Facing problem on the receiver JMS Adapter.
    Find the error message.
    "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: No transition found from state: ERROR, on event: process_commence for DFA: CC_JMS_RCV_DEVWR0000000:165b1638fd823a8f822f0db8a9b1d488"
    I have provoded the "dict" and "doc" value also.
    Pls suggest.
    Thanks in advance,
    Jeevan.

    Hi Guys,
    There could be some problem while deploying the libraries. Check out the thread No transition found from state: STARTING
    Thanks,
    PP

  • How to convert IDOC-PI-JMS to IDOC-PI-File with exsting mapping?

    I have a scenario,  ECC-PI-Message broker. ECC sending IDOC to  PI, PI execute mapping and  sends data to Message borker(thru JMS channel).(with almost one to one mapping)., IDOC(AAE)-PI-JMS. Now my requirement is., from PI  after mapping we need to create file with same data what ever send to Message broker and put the file in SAP folder without touching mapping. Is it possible? Please advise with the steps. We are using the ICO for this senario. Quick response is appriciated.

    Hello,
    U can add one more receiver for file and reuse the same message mapping
    Thanks
    Amit Srivastava

  • IDOC to JMS Queue

    Outbound from SAP  and going to external system(Seibel) via jms queue.
    JMS adapter on the receiver side
    I need to set following properties in receiver JMS Adapter in adpater module kindly guide me.
    JMS Properties to be set:
    docType - CRMML Message
    subType - account
    sender - SAP
    receiver - CuDM
    Renu.

    Hi,
    Do you want to set these properties into JMS header? If yes then do it like this...
    Under Advanced Tab Page --->Additional Parameters, add the following entries
    Name                                    Value
    JMSMessageClass                         com.ibm.jms.JMSMessage
    JMS.Message.method.setStringProperty1   java.lang.String docType, java.lang.String CRMML Message
    JMS.Message.method.setStringProperty2   java.lang.String subType, java.lang.String account
    JMS.Message.method.setStringProperty3   java.lang.String sender, java.lang.String SAP
    JMS.Message.method.setStringProperty4   java.lang.String receiver, java.lang.String CuDM
    For your info, you can read this doc (look "Additional Parameters" at the end)
    http://help.sap.com/saphelp_nw04/Helpdata/EN/10/b1b4c8575a6e47954ad63438d303e4/content.htm
    Regards,
    Sarvesh

  • NWA Java Stack Trace: TechnicalLockException (Acknowledgment IDOC-PI-JMS)

    Hi,
    I got this error for each incoming message in the NWA Java Log, any idea what is the cause?
    We had a server crash and the tech sys says everything is back to normal, but I doubt it.
    com.sap.engine.frame.core.locking.TechnicalLockException: Cannot lock [I2011032313330536700000<host.domain>...........707125250, $service.msg_BC_MSG, EOIO_MD_XI_INBOUND_MMFSERIALIZE0077__BS_SYS1_DVE, X]; unknown return-code (returncode = -1).
    at com.sap.engine.core.locking.impl3.LockingManagerImpl.lockInternal(LockingManagerImpl.java:188)
    at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:462)
    at com.sap.engine.core.locking.AbstractLockingManagerImpl.lock(AbstractLockingManagerImpl.java:483)
    at com.sap.engine.core.locking.ServerInternalLockingImpl.lock(ServerInternalLockingImpl.java:42)
    at com.sap.engine.messaging.runtime.j2ee.sapengine.SAPJ2EEClusterController.blockAndSetLock(SAPJ2EEClusterController.java:1269)
    at com.sap.engine.messaging.impl.core.queue.consumer.AsyncConsumer.lockEOIOContext(AsyncConsumer.java:238)
    at com.sap.engine.messaging.impl.core.queue.consumer.ReceiveConsumer.onMessage(ReceiveConsumer.java:84)
    at com.sap.engine.messaging.impl.core.queue.Queue.run(Queue.java:921)
    at com.sap.engine.messaging.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
    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:169)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:266)
    Caused by: java.lang.Exception: class com.sap.bc.krn.enqu.EnquCommTimeoutException reported: NotificationObject: timeout expired (300000ms) -1
    at com.sap.engine.core.locking.impl3.LockingManagerImpl.transformToExceptionForApplication(LockingManagerImpl.java:622)
    at com.sap.engine.core.locking.impl3.LockingManagerImpl.lockInternal(LockingManagerImpl.java:187)
    ... 12 more
    The interface is "working" but it took about 4 hours to get the acknowledgment back.
    Any idea?
    Thanks,
    Martin

    Hi Martin,
    com.sap.engine.frame.core.locking.TechnicalLockException: Cannot lock
    The problem might be caused by an overflow of internal resources in the enqueue server process .
    Pleaser refer the notes#834589 and # 956870 to solve your issue.
    Cheers!!!!
    Naveen

Maybe you are looking for

  • Can we use 1 computer w/1 Apple ID, but with 2 different iPhones?

    My husband is getting his first iPhone for Christmas, and I'm wondering if we can both use the same computer and same iTunes account for our syncing?  Right now, he has an iPod, and we're sharing the same iTunes Apple ID, and it's working okay for us

  • 11.1.2 64 bit on Windows 7

    Hi, Has anyone faced an issue where it says "IIS is not installed" when you try to install 11.1.2 64 bit on Windows 7 x64? IIS and WWWeb Services are fine as when I call http://localhost, I can see multilingual welcome screen of IIS7. The problem occ

  • Recover Files From TimeMachine ? HDD mounted in Caddy.

    Hello Apple Form, I will try and include as much information as I can in my first post. I was using the apple time machine ( Model A1254, the flat white 1T version ) for backups of my 17" macbook pro using Mountain Lion. My macbook was stolen and i d

  • How can I start any application with buttons

    Hello, I want to start any kind of applications with Buttons. I want to make me a GUI with buttons and with one button I want to start Outlook, but I dont know how this will work! THX for your help

  • Retrigger an Inbound IDoc to Become an Outbound from PoSDM to ECC

    Dear PoSDM Experts, I'm trying to browse and search for solutions on whether retriggering the inbound IDoc to an outbound IDoc from PoSDM to ECC without changing its details and had no luck.  The scenario has no aggregation and it is merely passing t