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)

Similar Messages

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

  • JMS & JBoss

    Hi folks,
    i am trying to a simple JMS app (see below for code) with a JBoss server but it doesn't seem to work.
    I get a: 'javax.naming.CommunicationException: Can't find SerialContextProvider' error everytime i run it. I am sure that the jboss server is running.
    Another thing: when i run j2ee -verbose on my local machine the application is able to find the ContextProvider.
    I am using jdk1.3 with j2ee offcourse.
    This is my code:
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.enterprise.naming.SerialInitContextFactory");
    env.put(Context.PROVIDER_URL,"jnp://crater:1097");
    Context initialContext = new InitialContext(env);
    Object tmp = initialContext.lookup("ConnectionFactory");
    Can somebody pl help me?
    Bart

    Hi,
    Try this
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "org.jnp.interfaces.NamingContextFactory");
    env.put(Context.PROVIDER_URL,"jnp://crater:1097");
    Context initialContext = new InitialContext(env);
    Object tmp = initialContext.lookup("ConnectionFactory");

  • General questions on IDOCs and IDOCs for 2 Accounting Interface BAPIs

    This post involves several questions pertaining to the topic of IDOC creation. I downloaded a couple of PDFs and tried googling for material on that, but things are far from being clear in my mind.
    I tried to put my questions in some order, so we can follow a line of reasoning. Here we go, then:
    I have one code where I there are calls to 2 BAPIs:
    - BAPI_ACC_ACT_POSTINGS_REVERSE and
    - BAPI_ACC_GL_POSTING_REV_POST
    I am supposed to prepare/create an IDOC to perform the activities these BAPIs are responsible for, for the sole purpose of providing us much more details on the activities being executed in the system - this is one of the IDOC's features, if I got it right, its highly detailed logging of everything that is going on behind.
    Now, the 1st question arises:
    From the material I read, I understood that IDOCs are nothing more than data containers, whose sole purpose is to provide a means of communication between two different systems/parties - one of them would usually be SAP. If this is right, than what sort of IDOC would be this one I am supposed to build - if there's not going to be any inter-system communication ? Doesn't it sound strange that pure "data containers" can work as "logging functions" ? Please share some light here.
    The 2nd question - after I understand what an IDOC really is - is
    then connected to the job I have to do. I found 2 IDOCs which I think have the proper/correspondent basic types for the 2 aforementioned BAPIs. They are, respectively:
    - ACC_DOCUMENT_REVERSE01 and
    - ACC_GL_POSTING_REVERSE01
    Getting back to my understanding of IDOCs, I got that every IDOC is generally made of one control record, data record(s), and status record(s). 3rd question: Where do the segments fit in ? Are the segments definitions of the Data Records ? And why is it that some IDOC types have header segments only and others doesn't have one ? (header segments are not the same as control records, right ?)
    Finally, what is the general process flow for creating/preparing an IDOC ? I looked over a couple of forum posts about this but some of them differ one from another in the order of the steps, some don't mention this or that step, so I am still confused.
    4th and last question: what comes first ? The definition of a partner, the bonding of a message type with an IDOC basic type, definitions of the inbound/outbound interfaces ?
    Any help here would be highly appreciated.
    Thanks in advance,
    Avraham

    Hi Jaya,
    Answer 1. Class is a template for creating objects. Object can also be called as instance.
    Interfaces allow you to use different classes in a uniform way (polymorphism).
    Answer 2. Normal abap is a procedural programming where as by using abap objects we can achieve object oriented programing.
    Answer 6. Source code:
    In below code i have created a interface and a class which is implementing the interface. I have declared a reference variable of type interface and created a object. Then i have called a method.
    REPORT  ZABAPOBJECTS_INTERF.
          INTERFACE I1
    INTERFACE I1.
      METHODS METH1.
    ENDINTERFACE.                    "I1
          CLASS C1 DEFINITION
    CLASS C1 DEFINITION.
      PUBLIC SECTION.
        METHODS: METH2.
        INTERFACES: I1.
    ENDCLASS.                    "C1 DEFINITION
          CLASS C1 IMPLEMENTATION
    CLASS C1 IMPLEMENTATION.
      METHOD I1~METH1.
        WRITE: / 'This is a method one'.
      ENDMETHOD.                                                "I1~METH1
      METHOD METH2.
        WRITE: / 'This is a method two'.
      ENDMETHOD.                                                "METH2
    ENDCLASS.                    "C1 IMPLEMENTATION
    START-OF-SELECTION.
      DATA : REF1 TYPE REF TO I1.
      CREATE OBJECT REF1 TYPE C1.
      CALL METHOD REF1->METH1.
    Question 7: Yes we need to create a class but most probably we use the existing classes.
    Regarding BAPi's go through the below links,
    http://www.sapgenie.com/abap/bapi/example.htm
    http://www.sapdevelopment.co.uk/bapirfc/bapirfchome.htm
    Regards,
    Azaz Ali.

  • Inbound IDoc incurs FI/CO interface error: Line item entered several times

    We encountered an error in an attempt to post a financial transaction document with multiple line items. The Paid In/Paid Out IDoc 210266 was created in the transaction WPUF as follows:
    Customer: 711
    Transaction Date: 08/22/2008
    Transaction Type: ZPOU   (Paid out)
    Item __ Acc.assgnt obj. ____ Cost Ctr __ Amount __ Crcy
    1________________________7110150____100______USD
    2________________________7110150____100______USD
    1________________________7110150____200______USD
    2________________________7110150____200______USD
    The IDoc status was 64 (ready to be transferred to application).
    Next we ran the interface program RWPOS_PARA_ENQUEUE and saw the message that the IDoc was fully posted. However, when we checked it in WE02, we saw the IDoc had actually failed. In WPER, we saw the error message:
    u201CFI/CO Interface: Line items created several times.u201D
    We double clicked on the error message to bring up the following diagnosis:
    FI/CO interface: Line item entered several times
    Message no. RW014
    Diagnosis
    The following document information was transferred several times:
    *Reference document "U0000001M8"
    *Reference organization ""
    *Item number "0000000001" .
    System Response
    The document information keys must be clear.
    Procedure
    This is a system error of the application which was called up.
    I drilled down to the SAP code trying to find what condition triggered this error message. The only place where this message is called is in the include program LRWCLF01, inside the subroutine CHECK_ITEMS. It seems that the system doesn't like the repetition of the item numbers in the IDoc. We consulted a functional consultant to see if we should change the second pair of items 1 and 2 in WPUF to 3 and 4. His answer was no.
    We would like to get the expert advice from this forum to help us solve this problem. Your time and effort will be appreciated.
    Thanks,
    Ning
    Edited by: Ning Hu on Aug 22, 2008 2:45 PM
    Edited by: Ning Hu on Aug 22, 2008 2:50 PM

    Just a guess, instead of
    Item __ Acc.assgnt obj. ____ Cost Ctr __ Amount __ Crcy
    1________________________7110150____100______USD
    2________________________7110150____100______USD
    1________________________7110150____200______USD
    2________________________7110150____200______USD
    try:
    Item __ Acc.assgnt obj. ____ Cost Ctr __ Amount __ Crcy
    1________________________7110150____100______USD
    2________________________7110150____100______USD
    3________________________7110150____200______USD
    4________________________7110150____200______USD
    Rob

  • XI unable to post IDOC to ECC the interface is FILE-to-IDOC scenario

    Hi All,
    The XI interface is a FILE-2-IDOC scenario and some times IDOC's in the receiver system are not posted.  I did see successfully message for that particular messages but the IDOC's were not created in the ECC.  If the messages is reprocessed then IDOC's are posted successfully to the ECC system.  The message has checkered flag in the SXMB_MONI tcode.
    This issue is occurring intermittently so could some point me in the right direction how to trouble shoot the issue.
    Thanks,
    Sarvesh

    Hi,
    Interesting problem...since its intermittant..
    You cannot use any of the traditional RWB or message monitoring or cc chanel monitoring here as the error is in the ecc system, so from an XI standpoint it has left XI succssfully..that explains all the chequered flags..indicating success.
    we19, we12, we14(process all idocs) test out the whole process with a load..use transaction we46..this can tell you why it is failing....in r/3
    from the ecc system to check inbound queue monitoring.
    from there you can select the IDocs or queues which you want to monitor, using the specified selection parameters available.
    Look at the status record for the idoc that should give you more information, processing status of the idoc...that should tell you the status code assigned to it..
    There is one other option here....if you can figure out what sequence they need to be posted in...that might be the reason for the failure..you can specify the sequence to post the idocs in, use qRfc ..
    Hope that helps
    Regards
    Ravi Raman

  • 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

  • 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

  • IDOC to JDBC Synchronous interface

    Hi Experts,
    I am using PI 7.1.
    Having requirement of IDOC to JDBC synchronous scenario. When data is coming from SAP to DB it is updating data in to u201CXu201D table, when data response from DB is u201CYu201D table.
    How can I configure this interface, Please suggest me.
    Best Regards,
    Pasi...

    Hello,
    For special problematic of IDOC -> JDBC and sending back acknowledgement have a look to One Logical System Name for serveral BPM Acknowledgements
    One Logical System Name for serveral BPM Acknowledgements
    Step by Step JDBC Synchornous
    JDBC Receiver Adapter -- Synchronous Select – Step by Step
    Integration with database made easy
    Integration with Databases made easy – Part 1.
    SOAP <=> JDBC Synchronous
    SYNCHRONOUS SOAP TO JDBC - END TO END WALKTHROUGH
    Serialize IDOC XML
    How to serialize IDoc XML messages fed into XI
    Regards,
    Phani

  • IDOC to File : "no interface found"

    Hi all,
    I have an IDOC to file scenario and I'm getting the error "no interface found" at sxmb_moni. The scenario is only for test purposes, very simple, using the IDOC /ISDFPS/T01./ISDFPS/T0101. I have configured
    -> receiver and interface determination
    -> receiver agreement with the receiver channel for file output.
    Receiver interface (sender) is /ISDFPS/T01./ISDFPS/T0101 and receiver agreement I configured the inbound interface to /ISDFPS/T01./ISDFPS/T0101 (same interface, no mapping needed).
    I don't know why I'm getting "no interface found" error... Some tips?
    thanks!
    roberti

    Yes, Bhavesh, I think the same. But all of it seems to be ok, lets see...
    <i><b>Rec. Determination</b></i>
    <b>Sender</b>
    Service: ED0
    Interface: /ISDFPS/T01./ISDFPS/T0101
    Namespace: urn:sap-com:document:sap:idoc:messages
    <b>Receiver</b>
    Party:*
    Service:*
    Type: Standard
    Configured Receivers: Service: SAE_NAS (no conditions or partys)
    <i><b>Interface Determination</b></i>
    <b>Sender</b>
    Service: ED0
    Interface: /ISDFPS/T01./ISDFPS/T0101
    Namespace: urn:sap-com:document:sap:idoc:messages
    <b>Receiver</b>
    Service: SAE_NAS
    Type: Standard
    Configured Inbound Interfaces
    Inbound Interface
    Name: /ISDFPS/T01./ISDFPS/T0101
    Namespace:urn:sap-com:document:sap:idoc:messages
    No mapping (are the same messages, but I have already tried with mapping)
    <i><b>Rec. Agreement</b></i>
    <b>Sender</b>
    Service: ED0
    <b>Receiver</b>
    Service: SAE_NAS
    Interface: /ISDFPS/T01./ISDFPS/T0101
    Namespace: urn:sap-com:document:sap:idoc:messages
    Receiver com. channel: CHN_RCV
    I think the problem is in a little bit detail... but I couldn't find it. Some tip?
    thanks!
    roberti

Maybe you are looking for

  • Connection with Windows 7 PC by USB - PlayBook not Recognized on File Explorer of BlackBerry Desktop

    When I connect my PlayBook (OS 2.1) to my Windows 7 PC using USB cable, I do hear the familiar two-tone sound indicating connection, but the Windows File Explorer does not create a Drive Designation letter (such as Z:\). And BlackBerry Desktop Softwa

  • Convert document to PDF

    Dear All, My function module downloads the content of a document into a path specified (For example E drive). My requirement is to convert the document(textfile) to a pdf and then upload the data. All of this should be done automatically ( i mean no

  • 4.0 and 2nd gen ipod

    does anyone know the advantages that the 3rd gen iPod will have over the 2nd gen when 4 is released, and are any of the features worth the cost of replacing a second generation ipod?

  • Can I install my old version of Audition (v.1 build 3211.2) on Windows 8 system?

    I have used Audition v.1 (build 3211.2) (from 2003) for years and am very happy with it.  It does exactly what I need.  But my old computer is dying, and I have just bought a new Windows 8 system.  The tech doing setup says this version of Audition w

  • Help with implementing two different programs

    I need help with a couple of Java programs that I downloaded. I hope someone can help me. They work great if they're on their own, but if they are both on the same page, the 2nd one works, and the 1st one stops working. I'm pretty new to Java, so I d