Configuring IDOC Listener on MII 12.1

Hi,
I had a basic question around the configuration.
This is from 12.1 help:
"The SAP Java Resource Adapter (SAP JRA) server is used to connect to SAP ERP Central Component (SAP ECC) to receive remote function calls (RFC) and IDocs. You can use the asynchronous HTTP interface to post data to SAP MII for asynchronous transaction processing."
In this regard is it mandatory to first configure SAP JRA on NW and then proceed with the IDOC specific config both on the R/3 as well as NW side?
The reason I ask this is that we are currently struggling with this config on 12.1.8 (build 30) where the BASIS folks are observing that the system hangs when they try to add enteries to the XMIIIDOC component . Before going through with the IDOC config they made sure that the JRA is configured and followed the steps as mentioned in the 12.1 installation guide under "Configuring JRA for JRA Actions" & "Cloning the default JRA Config" sections.They are simultaneously also following up in the NW forums to find a solution.
Additionally I had another question (this one's specifically for MIke Appleby ). Would one have to follow similar config steps as IDOC when configuring the RFC listener , atleast from the NW CE perspective? We are trying to download Control Recipes from R/3.
Thanks
Udayan

Hi Udayan,
Yes, the configuration for the RFC Listener is essentially the same as the IDoc Listener, except the binding is different (do not change either type from the default values and you should be fine).
The differences between the two Listener types are really on the ECC side.  The installation instructions for Batch Manufacturing included the RFC Listener setup.  Keep meaning to write a separate document for RFC Listeners, but haven't yet.
One general note of caution for all readers:
Do not reuse ProgIDs from an IDoc Listener in an RFC Listener and vice versa.  Only use a unique ProgID once (and deleting them from one Listener or MII server to use them elsewhere is generally not advisable). 
Roughly 90% of the tickets entered for IDoc Listeners with MII are because of ProgIDs used in more than one place.
Regards,
Mike

Similar Messages

  • MII 12.1 and IDoc listener

    Hi.
    I have been trying to setup an idoc listener in MII 12.1, but can not figure out where in NWA to do this an how.
    Have anyone tried that? The help file might not be updated on this point.
    BR
    Poul.

    Hi.
    Thanks, I have found this location but could not se anything happening. To start with i missed the parameter setting MaxReaderThreadCount and needed to restart the listener.
    Now I get something in the log but my username and password is not working..
    Thanks a lot for this
    BR.
    Poul.

  • Updated IDoc Listener document

    Hi All,
    There is a new document for building an IDoc listener using MII 12.0 and ECC 6.0.  This will hopefully reduce confusion for those using the documents meant for use with xMII 11.5 and ERP R/3.  Please let me or Diana Hoppe know your comments and suggestions. 
    Since there are so many different ALE configurations possible, we know that we can't address them all.  Nor was that our intention.  We wanted to provide a template and reasonable starting point for building a simple Listener.  If our simple model does not work, you may need to bring an ALE expert into the picture.  We hope that it proves useful to some of you out there.
    [New IDoc Listener Instructions|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/bpx-community/manufacturing/how%20to%20send%20an%20idoc%20from%20sap%20ecc%20to%20the%20sap%20mii%20idoc%20listener.pdf]
    Thanks,
    Mike & Diana

    Thanks.

  • IDOC Listener for 12.1 to ECC 6.0 is now available

    [IDoc Listener|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a02bc706-15f2-2c10-1aab-a1927ada11f0]
    The ECC 6.0 side is virtually unchanged, but there were significant changes in NW and MII.
    Enjoy!  Or let me know if there are any areas that need improvement or clarification.
    Thanks,
    Mike

    Hi,
    There are no standard timeliness for the upgrade project. It depends upon number of factors like number of background processes, no of R3trans processes defined in configuration phase, Memory parameters etc. So, it is really difficult to give you an estimate for this. Best option is do the test upgrade, so that you will get an idea how much time it will take.
    Also, If you want to migrate your existing system to new hardware then I would suggest you to install your system as unicode system on new hardware as a result you can save a lot of time because of unicode conversion in CUUC.
    Thanks
    Sunny

  • Problem in IDOC Receiving on MII

    Hi
    I am using MII Version 12.1.4 Build(46). We have configured IDOC in SAP ECC, SAP Netviewer and in MII.
    We are able to generate iDoc from ECC but we are not able to receive it on MII Message Monitor.

    Manoj,
    The underlying NW CE installation must also be at SP3 (minimum).  Please check and let me know if you already have the update.  The IDoc Listener configuration changed a bit from 12.0 to 12.1 so there may be some other modifications needed.
    Regards,
    Mike

  • Where can I find IDOC Listener (xMII 12.05) .It is not in DataServices.

    Hi all,
    I can not find IDOC Listener in Data Services in xMII version 12.05.
    Where can I find the IDOC Listener? Must I set up it first? Or must I do some configurations for IDOC Listener?
    Thanks.

    Cemil,
    in MII 12.0.x you will find the Listener under Message Services -> Message Listener.
    If you need to run a transaction after receiving a IDOC, than you need also to configure
    a Rule under Message Services -> Processing Rule Editor.
    Under the link below you will find the Documentation for Message Services:
    http://wbhelp.sap.com/manufacturing/xmii_120/en/45/aa5d17b8f52e78e10000000a155369/frameset.htm
    Regards
    Pedro

  • IDoc Listener connecting to a clustered SAP

    We have SAP MII V12.1 loaded to Netweaver CE 7.11 EHP1, and want to connect one of the Resource Adapters (an iDoc Listener in this case) to a clustered SAP environment by connecting to a message server / system ID / logon group combination.
    I can successfully connect to a specific application server using server name / port number, but these don't exist within the clustered environment.
    When I point to the message server, I can get the iDoc Listener to sucessfully register a connection to the RFC destination, but it does not receive any iDocs when they are pushed out.
    Note that traditionally, I have used XMIIIDOC01 as a "Resource Adapter" within NW, and configured it to point to a "ServerName" and "PortNumber", but as mentioned these do not exist within a clustered environment.
    Has anybody ever managed to connect XMIIIDOC01 (or similar resource) to a clustered SAP environment, by pointing to a message server / logon group?
    I have been able to successfully configure a new JRA by cloning a "JCA Connection Factory", and call BAPI's etc, but now I want to be able to receive iDocs.
    To be honest, I'm not overly familiar with the NW architecture, nor the relationship between
    1. Resource Adapter
    2. JCA Resource
    3. JCA Connection Factory
    Any assistance greatly appreciated.
    Regards
    Kevin.
    Edited by: Kevin Hibbins on Mar 31, 2011 1:56 AM

    Hi Kevin,
    Were you able to figure out what the relationship is between those 3 components?  If so could you post what you have learned here?
    Thanks.
    Justin

  • IDOC Listener not calling BLS Transaction

    All,
    I am running xmii 11.5.4.  I have a single IDOC Listener configured with a Routing Rule for Message Type = "PROCESS_MESS_DOWNLOAD".  The Routing Rule is defined to trigger a BLS called "TEST_BLS".  The Listener is configured with the BLS Input Parameter.
    The Listener processes the incoming message by writing the XML file to the defined Path with no problems.
    The issue is the BLS Transaction will not trigger.  The Transaction has a single Transaction Property of data type XML with no default value defined.
    I have tried using a simple Transaction with nothing but an Event Logger or XML Trace actions to verify the Transaction is being executed. But nothing occurs.
    I have viewed the General Log and see no errors or warnings or fatal log entries.
    The Transaction works fine manually from inside Logic Editor and even runs from a URL invokation.
    Any ideas of what to look for or try would be greatly appreciated.
    Thanks,
    Chuck

    Udayan,
    The Transaction consists of only an Event Logger Action and an XML Tracer Action.  Neither of these are apparently executing.  No event is logged and no entry is made to the XML Tracer file. The Transaction has a Transaction Property defined as stated in my first post.
    I have noticed through trial and error that the IDOC Listener only works with the asterick message type.  The actual message type of the IDOC is evidently not being read by the Listener.  The IDOC being created is coming from a PPPI Process Message.  The first few lines are:
    <?xml version="1.0" encoding="UTF-8"?>
    <PROCESS_MESS_DOWNLOAD>
    <INPUT>
    <CLIENT>200</CLIENT>
    </INPUT>
    <TABLES>
    <MSEL>
    <item>
    <MSID>100000000000000537</MSID>
    Thanks,
    Chuck

  • IDOC Listener Exception

    Hello ,
    I configured an IDOC Listener in xMII to execute a transaction when it recieves an IDOC in routing rules. But when an IDOC is sent to xMII, it is saved to "\Lighthammer\JCO\Output" folder but the transaction is not executed. And i am getting an exception
    "error making call to xacute java.net.SocketException: Software caused connection abort:" .
    Thanks,
    Srinivas.

    Hi,
    The transaction is working fine. I tested it manually.
    I saw the error in the general log of xMII. This is really a weird behaviour. I am using xMII 11.5.1 b54.
    This is the exception i got :
    Error making call to xacute java.net.SocketException: Software caused connection abort: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.commons.httpclient.HttpConnection$WrappedOutputStream.write(HttpConnection.java:1360) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124) at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:790) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2271) at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2651) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1087) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497) at com.lighthammer.jco.system.XacuteHelper.run(Unknown Source) at com.lighthammer.jco.server.JCOServer.process(Unknown Source) at com.lighthammer.jco.server.LHiDocServer.handleRequest(Unknown Source) at com.sap.mw.idoc.jco.JCoIDoc$Server.dispatchRequest(JCoIDoc.java:10226) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(MiddlewareRFC.java:1368) at com.sap.mw.jco.JCO$Server.listen(JCO.java:6844) at com.sap.mw.jco.JCO$Server.run(JCO.java:6773) at java.lang.Thread.run(Thread.java:534)
    Thanks,
    Srinivas.

  • IDoc Listener Settings

    Hi,
    We have our SAP server in some other country and we access that SAP through the following settings in SAP Logon pad
    SID               :    XF5
    Group/Server  :   xpxcp5.xxx.dom.corp
    system #       :   09
    router            : /H/9.99.89.32/H/23.23.23.2/S/3297/H/
    In this case what values i should specify in iDoc Listener Configuration.
    server property : gwhost and in ahost of
    I tried all the combinations and ran out of ideas that I can think off.
    If some one can help me that will great.
    Thanks,
    Srinivas.

    ahost = /H/<saprouter IP>/H/<erp IP>
    The xMII IDOC listener is implemented via SAP JCO.  The SAP JCO documentation explains those parameters a little better than the xMII docs.  This <a href="http://www.sapfans.com/sapfans/forum/intface/messages/4132.html">thread</a> is where we got our answer - perhaps it will help you also.
    -tim

  • How to configure JMS listener in separate jvm

    Hi Guys,
    I am new to this forums so please let me know if iam making any mistake.
    I have 2 instances of tomcat running on different port numbers. I am using apache ActiveMq as my message broker for sending the jms message using queue. Code for sending the message is present in a servlet. So when I run that servlet message gets sent.
    In my other tomcat i retrieve this jms message. But for me issue is this messsage gets retrieved only if i write this code in a servlet and I run that servlet.
    Is there any way where i can configure a listener for my class present in tomcat 2. So that when message gets sent that piece of code gets triggered automatically and I can read that message.

    Sounds like you want basic JMS message consumer functionality.
    http://docs.oracle.com/javaee/1.4/tutorial/doc/JMS4.html#wp79145

  • Changing the name of the PC, I cannot configure the listener

    Hello,
    I use
    Windows 7 64 bit
    Apex 4.1
    Glass Fish server
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    I have changed the name of my PC ( for it contained "-" and "_") Then I did the following changes:
    I changed the name of my PC in tnsnames.ora and listener.ora and "Hosts" file (in windows\system32\drivers\etc).
    When I try to configure the listener, I get webpage saying Internal Error.
    How can I reconfigure it again ????
    Regards,
    Fateh

    Hello Fateh,
    I think there are two options on how to reconfigure. In both cases, you'll have to locate your apex-config.xml .
    h3. Option 1: Edit the apex-config.xml
    h4. Steps
    <ol>
    <li>stop APEX Listener
    <li>edit apex-config.xml (change hostname for the database connection)
    <li>start APEX Listener
    </ol>
    h3. Option 2: Delete the apex-config.xml
    h4. Steps
    <ol>
    <li>stop APEX Listener
    <li>delete apex-config.xml
    <li>start APEX Listener
    <li>re-run the configuration process by calling http://<yourAPEXListenerHost>:<port>/apex/listenerConfigure
    </ol>
    -Udo

  • Is it possible to configure IDOC with Business service

    hi
    Is it possible to configure IDOC with Business Service
                          Thanking you....
                                                                         aravind...........
    <Interview question locked, please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]>
    Edited by: Mike Pokraka on Sep 18, 2008 9:25 AM

    Hi Chary,
    Check this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    Regards
    Seshagiri

  • Configuring IDOC and RFC Adapters in both Sender and receiver side

    Hi ,
    Kindly tell me the steps to configure IDOC adapters in sender as well as receiver side.
    Similarly for RFC adapters.
    Regards,
    Sweta

    Hi,
    >>>Kindly tell me the steps to configure IDOC adapters in sender as well as receiver side.
    kindly try searching for them first yourself (there are tons of docs for that and similar questions)
    and come back if you any further issues
    Thank you,
    Regards,
    Michal Krawczyk

  • Struts 2 - SEVERE: Error configuring application listener of class mailread

    Struts 2 - SEVERE: Error configuring application listener of class mailreader2.ApplicationListener
    Ol�
    Hi
    All
    I'm getting this erro: when I run my app in struts 2, but I don't know what is going on ?
    Someone can help me
    What is going on?
    Thanks
    SEVERE: Error configuring application listener of class mailreader2.ApplicationListener
    java.lang.ClassNotFoundException: mailreader2.ApplicationListener
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3773)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Feb 1, 2008 10:46:31 AM org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Skipped installing application listeners due to previous error(s)
    Feb 1, 2008 10:46:31 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    Edited by: NetoJose on Feb 1, 2008 5:33 AM

    I think it's not a jar it's a java class on my package take a look, now i don�t know why the problem?
    Look the erro :
    Struts 2 - SEVERE: Error configuring application listener of class mailreader2.ApplicationListener
    this is my package and a java class:
    mailreader2.ApplicationListener
    package mailreader2;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import org.apache.struts.apps.mailreader.dao.impl.memory.MemoryUserDatabase;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletContextEvent;
    import javax.servlet.ServletContextListener;
    import java.io.*;
    public final class ApplicationListener implements ServletContextListener {
    * <p>Appication scope attribute key under which the in-memory version of
    * our database is stored.</p>
    public static final String DATABASE_KEY = "database";
    * <p>Application scope attribute key under which the valid selection
    * items for the protocol property is stored.</p>
    public static final String PROTOCOLS_KEY = "protocols";
    // ------------------------------------------------------ Instance Variables
    * <p>The <code>ServletContext</code> for this web application.</p>
    private ServletContext context = null;
    * The {@link MemoryUserDatabase} object we construct and make available.
    private MemoryUserDatabase database = null;
    * <p>Logging output for this plug in instance.</p>
    private Log log = LogFactory.getLog(this.getClass());
    // ------------------------------------------------------------- Properties
    * <p>The web application resource path of our persistent database storage
    * file.</p>
    private String pathname = "/WEB-INF/database.xml";
    * <p>Return the application resource path to the database.</p>
    * @return application resource path path to the database
    public String getPathname() {
    return (this.pathname);
    * <p>Set the application resource path to the database.</p>
    * @param pathname to the database
    public void setPathname(String pathname) {
    this.pathname = pathname;
    // ------------------------------------------ ServletContextListener Methods
    * <p>Gracefully shut down this database, releasing any resources that
    * were allocated at initialization.</p>
    * @param event ServletContextEvent to process
    public void contextDestroyed(ServletContextEvent event) {
    log.info("Finalizing memory database plug in");
    if (database != null) {
    try {
    database.close();
    } catch (Exception e) {
    log.error("Closing memory database", e);
    context.removeAttribute(DATABASE_KEY);
    context.removeAttribute(PROTOCOLS_KEY);
    database = null;
    context = null;
    * <p>Initialize and load our initial database from persistent
    * storage.</p>
    * @param event The context initialization event
    public void contextInitialized(ServletContextEvent event) {
    log.info("Initializing memory database plug in from '" +
    pathname + "'");
    // Remember our associated ServletContext
    this.context = event.getServletContext();
    // Construct a new database and make it available
    database = new MemoryUserDatabase();
    try {
    String path = calculatePath();
    if (log.isDebugEnabled()) {
    log.debug(" Loading database from '" + path + "'");
    database.setPathname(path);
    database.open();
    } catch (Exception e) {
    log.error("Opening memory database", e);
    throw new IllegalStateException("Cannot load database from '" +
    pathname + "': " + e);
    context.setAttribute(DATABASE_KEY, database);
    // -------------------------------------------------------- Private Methods
    * <p>Calculate and return an absolute pathname to the XML file to contain
    * our persistent storage information.</p>
    * @throws Exception if an input/output error occurs
    private String calculatePath() throws Exception {
    // Can we access the database via file I/O?
    String path = context.getRealPath(pathname);
    if (path != null) {
    return (path);
    // Does a copy of this file already exist in our temporary directory
    File dir = (File)
    context.getAttribute("javax.servlet.context.tempdir");
    File file = new File(dir, "struts-example-database.xml");
    if (file.exists()) {
    return (file.getAbsolutePath());
    // Copy the static resource to a temporary file and return its path
    InputStream is =
    context.getResourceAsStream(pathname);
    BufferedInputStream bis = new BufferedInputStream(is, 1024);
    FileOutputStream os =
    new FileOutputStream(file);
    BufferedOutputStream bos = new BufferedOutputStream(os, 1024);
    byte buffer[] = new byte[1024];
    while (true) {
    int n = bis.read(buffer);
    if (n <= 0) {
    break;
    bos.write(buffer, 0, n);
    bos.close();
    bis.close();
    return (file.getAbsolutePath());
    Edited by: NetoJose on Feb 1, 2008 7:25 AM

Maybe you are looking for

  • Block delivery creation if price has not been maitaned in sales order

    Hi, I have the following issue., Say if have a sales order with 4 schedule lines, where the price has been updated only for 2 schedule lines. The order is incomplete. Is it possible to block deliveries been created if all the schedule line prices are

  • Display Problem; return possible?

    Hello, On January 16th I purchased a 20" iMac. Up until a couple days ago I was primarily using it for general internet use, iTunes, and working in GarageBand. I finally got around to hooking up my external hard drive and loaded all my programs (CS4)

  • How do I get rid of malware/adware signed "ads by info" ?

    I've tried just about every anti-spyware and nothing is getting rid of ads and new tabs opening signed "ads by info". I believe that it goes by the name of superfish sometimes. I successfully removed it from Chrome but Firefox is still screwed. Pleas

  • JAAS and JBOSS

    I'm trying to use JAAS to log in a user on a JBOSS app, but am running into a problem. I'm able to successfully authenticate the user, and retrieve a Subject from my LoginContext. However, once that request is done (i.e. the browser displays the "log

  • IPCC Error 12005 agent login failed

    when I login to the agent desktop, the following error pops up.Login could not be performed.possible causes are invalid instrument, media termination problem or CM issue. I have installed 7.0ctios client along with ctios 7.1.4 release.