MII 12.1.4 JCO Credential Editor

Hi All,
I am running MII 12.1.4.
We are using JCO connections in our BLS.  We are aware that in 12.1.4 that there is a threading issue with credential editor.  So we were told to configure the username/password in the links section of the JCO action block.  We have done this and it appears to work.
My question is if we are supposed to change the JCO connection alias section to blank, or leave it selected?
I think that the action block "Links" takes priority over action block "configure".  Can somebody confirm/deny this for me?
How I ran into the questions:  We were testing a new MII server.  We setup the JCO action block to have a blank credential alias and username/passwd configured in links.  Then when we execute the transaction, an error occurred saying that "JCOProxy error: No credential alias defined".  I can then select the credential alias and have the BLS run.  However I don't want to encounter the threading issue. 
An additional note:  I am able to select the JCO credential alias, generate sample documents, go back delete credential alias, and finally NOT generate sample documents and get the BLS to work.  However I think that this method is really just still caching the credential alias from the generated sample docs.
Note:  Upgrading to a newer MII version isn't an option at this time.
Any help would be greatly appreciated!
Thanks,
Justin

It's been awhile since that specific version of 12.1, but if memory serves me correctly, you're running into an error that was fixed long ago.  The design time stuff in the WB is working as expected, but the runtime TRX stuff is not.  At runtime it should see the configured credential alias, look up the relevant user details and use them in the JCO call to ECC, which would supercede any specific user credentials in the configure dialog.

Similar Messages

  • Trouble saving Credential Alias in Credential Editor

    Dear Experts,
    I am having trouble creating a Credential Alias for my JCO connector to an ECC6 system.  When I go to the Credential Editor in my MII 12.1.8(Build 36) system (using Firefox 3.6.17), which is on Netweaver CE 7.1 EP5, I do not have any buttons.  Very odd!  Shouldnu2019t I at least see u2018Newu2019, u2018Saveu2019, u2018Editu2019 and u2018Deleteu2019 buttons?  I am unable to save the password I am setting for the Credential Alias.  The alias name is there, but when I try to change the username or add the password I am unable to save it.
    I have tried creating a test transaction just to confirm I have a connection and I get u201CJCOProxy error: u2018passwordu2019 missingu201D when trying to get a list of available BAPIu2019s.  I have tried creating a local variable with the password and setting it directly in the links of the JCO Start Session, but I still get the same error.  Apparently the alias setting is overriding the link setting within the action block.
    Has anyone ever seen this issue?  Any ideas as to what I may be doing wrong?  Am I completely missing something?
    Thanks in advance for any and all help in this matter.
    Mari Santangelo

    Have you checked your role.
    It is SAP_XMII_Developer or SAP_XMII_Administrator/SAP_XMII_Super_Administrator.
    u2018Newu2019, u2018Saveu2019, u2018Editu2019 and u2018Deleteu2019 buttons will not be visible to you if you are not having Administrator roles.
    You can change the roles according to screens as well.
    Check the following Link: [Link|http://help.sap.com/saphelp_mii121/helpdata/en/48/d0c6efbcb810b6e10000000a421138/frameset.htm]
    after determine Credential Alias under the MII Admin Menu -> Security Services -> Credential Editor .
    open your TXN. In Configuration of your JCO Action Block you will find in the Credential Alias dropdown box the Alias that you created.
    Just map Credential Alias and test it again.
    Thanks
    Anshul

  • Credential Alias in JCO connection - xMII 12.1.4

    Hi All,
    We are using SAP xMII of version 12.1.4 Build (46).
    We are trying to add SAP server details over system configuration editor under data services.
    While adding entries for JCO connection, we didn't find any place to update login credentials for SAP server.
    Created connection successfully, we opened a new transaction and add SAP JCO interface as an action block.
    When we try to configure, there is drop down named "Credentail Alias".
    We could not see any data gets populated in drop down.
    On clicking "Get List" button, we got an error saying "JCO Proxy Error : No Credential Alias Defined".
    Kindly help us to overcome the error.
    Thanks.
    Rajesh.S

    Rajesh,
    you can define the Credential Alias under the MII Admin Menu -> Security Services  -> Credential Editor .
    After defining a New entry go back to your TRX and open again the Configuration of your JCO Action Block.
    Now you will find in the Credential Alias dropdown box the Alias that you created before.
    BR
    Pedro Iglseias

  • 9.2 Web Services Participating in JTA Transactions?

    If I set up a web service using JWS in Weblogic 9.2, and make this available to clients, is it possible to set up the web service so that it participates in a pre-existing JTA transaction (Transaction Required type setup)?
              In other words, if the client is a Transaction Required EJB and it uses the new web service, do the two share the same transaction, such that if the client rolls back, anything that occurred in the web service is also rolled back?
              If this is possible, I would appreciate any references to examples that do this.
              Thanks,
              ken clark

    Hello,
    From your description it looks like the SAP ME web services are configured correctly on NW side.
    The problem is most likely in SAPMEINT/MII configuration. Because the authentication properties for SAP ME web services are not configured in the transaction directly.
    These properties are configured in MII Administration Menu -> Security Services -> Credential Editor. The name is SAPMEINT_ME_AUTH
    Thanks
    Ivan

  • SAP ME SDK 2.0 : Browse functionality in custom UI.

    Dear Experts,
    I am new to the SAP ME SDK developement.
    I need to create a UI which has browse functionality like we have in activity maintainance and other places..
    I am struggling to get it.
    I know the steps to create custom UI in ME using SDK 2.0 and I am looking for some help in writing Servlet code to get this browse functionality.
    Any help is appreciated.
    Regards,
    Nitya

    Hello,
    From your description it looks like the SAP ME web services are configured correctly on NW side.
    The problem is most likely in SAPMEINT/MII configuration. Because the authentication properties for SAP ME web services are not configured in the transaction directly.
    These properties are configured in MII Administration Menu -> Security Services -> Credential Editor. The name is SAPMEINT_ME_AUTH
    Thanks
    Ivan

  • Services entry in Enterprise Managers Navigator

    Hi,
    in OEM 9.2.0 how to access to services entry in Enterprise Managers Navigator ?
    Many thanks before.

    Hello,
    From your description it looks like the SAP ME web services are configured correctly on NW side.
    The problem is most likely in SAPMEINT/MII configuration. Because the authentication properties for SAP ME web services are not configured in the transaction directly.
    These properties are configured in MII Administration Menu -> Security Services -> Credential Editor. The name is SAPMEINT_ME_AUTH
    Thanks
    Ivan

  • IDoc not received in MII

    Hi All, 
    I am using SAP MII 12.1.5 Build 87. 
    I am facing problem with iDoc Listner we have configured iDoc Listner properly in SAP ERP, SAP NW and in SAP MII. 
    We are able to send iDoc from SAP but we are not able to receive same in MII. 
    Port and iDoc Server is giving status connected previously it was working fine in SAP MII 12.1.5 Build 83. 
    Following are the log details for SAP MII Logger as well as SAP NW Log. 
    SAP NW Log: 
    Error processing JRA IDOC message  
    SAP MII Log: 
    Error processing JRA IDOC message  
    Error processing JRA IDOC message [server=xxx, client=xxx]  
    [EXCEPTION]
    java.lang.NullPointerException
    at com.sap.xmii.ejb.JRAListenerBean.onMessage(JRAListenerBean.java:130)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.invoke(Interceptors_MessageListenerType.java:110)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Lock.invoke(Interceptors_Lock.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    at com.sap.engine.services.ejb3.runtime.impl.MDBProxyInvocationHandler.invoke(MDBProxyInvocationHandler.java:77)
    at $Proxy943.onMessage(Unknown Source)
    at com.sap.mw.jco.jra.idoc.JRAIDocExtension$IDocMessageHandler.onMessage(JRAIDocExtension.java:72)
    at com.sap.mw.jco.jra.JRA$ReaderThread.sendDirectToMdb(JRA.java:6641)
    at com.sap.mw.jco.jra.JRA$ReaderThread.sendAsynchRequest(JRA.java:6601)
    at com.sap.mw.jco.jra.JRA$ReaderThread.handleRequest(JRA.java:6771)
    at com.sap.conn.jco.rt.DefaultServerWorker$RequestDispatcher.handleRequest(DefaultServerWorker.java:989)
    at com.sap.conn.jco.rt.DefaultServerWorker$RequestDispatcher.handleRequest(DefaultServerWorker.java:967)
    at com.sap.conn.jco.rt.DefaultServerWorker.dispatchRequest(DefaultServerWorker.java:142)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(MiddlewareJavaRfc.java:2927)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.executePlayback(MiddlewareJavaRfc.java:2659)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.playbackTRfc(MiddlewareJavaRfc.java:2478)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.handletRfcRequest(MiddlewareJavaRfc.java:2362)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:2207)
    at com.sap.conn.jco.rt.DefaultServerWorker.dispatch(DefaultServerWorker.java:259)
    at com.sap.conn.jco.rt.DefaultServerWorker.loop(DefaultServerWorker.java:322)
    at com.sap.conn.jco.rt.DefaultServerWorker.run(DefaultServerWorker.java:220)
    at com.sap.mw.jco.jra.JRA$ReaderThread.run(JRA.java:7260)
    at com.sap.engine.services.connector.jca15.work.TaskImpl.run(TaskImpl.java:255)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
    Please help me out on this issue.                                         
    Regards,
    Manoj Bilthare
    Edited by: Manoj Bilthare on May 19, 2010 12:57 PM

    Hi Manoj,
    Once you have configured your Listener have you checked pressing the update button and i dont want to ask you which version of NW SP you have installed as you said it was working for you with Build 83, but nevertheless NW SP Level should not be not less than SP3.
    If this doesn't help you,please try  restarting your server again.
    How about the credential editor have you configured this as well?
    Regards,
    Sudhir Kumar
    Edited by: Sudhir Kumar Shambana on May 19, 2010 10:46 AM

  • Pass user name from MII to SAP R/3 via JRA

    When calling in MII a BAPI that executes a goods movement in SAP R/3 via a JRA connection, the user name of the JRA connection is passed to SAP R/3 and not the user name of the person who executed the action in MII. This means that the documented goods movements in SAP R/3, that were created with the JRA connection, are all posted with the same user name. We would like to register the user name of the person who is logged into MII, because we want to know which person executed the goods movements. How can we achieve this?

    Thank you guys, enabling the autobind was a good tip.
    We don't use JRA anymore, instead we use JCO to pass the user name. This is how we did it:
    Prerequisites:
    u2022 Login name in ABAP must be the same as in Netweaver (Java) - when creating users in Netweaver, copy them from ABAP. An other option might be to map the users in Netweaver with the users of ABAP, in case users are different.
    u2022 SSO certificates have to be exchanged between the two systems, SAP R/3 and Netweaver CE.
    u2022 Profile parameters in SAP R/3 system should be correct
    Confirguration in SAP MII:
    u2022 In the JCO action block (for RFC or BAPI call) in the link editor, set SAPUserName property to u201C$MYSAPSSO2$u201D
    u2022 Define a transaction property MYSAPSSO2 and in the link editor from the JCO action block, link it to SAPSSO2Ticket property
    u2022 In MII Menu - Dataservers - XacuteConnector activate property u201CAutobindu201D
    u2022 In MII Menu - System Connection Editor - JCO (used JCO connection) - activate u201CSSOu201D

  • MII 12.1 vs. 12.0

    Just got access to 12.1.3 Build(65). Can somebody give some quick insight into the following items -
    i) Home -> System Management -> Transaction Manager
    ii) Home -> Security Services -> Credential Editor
    iii) Home -> SAP MII Workbench -> Meta-inf
    iv)  Home -> Source Control Service -> NWDI Configuration
    I don't see the "Home -> System Management -> PDF Actions" and "Home -> System Management -> Applet Debugging" in 12.1.
    Any other major changes?
    Regards,
    Chanti.

    Take a look at
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/901c6d6b-f6b2-2b10-6899-ce956d4efb5e?quicklink=index&overridelayout=true
    Jamie

  • Connection pool size limit error

    Hi all,
    I am trying to execute a BAPI function from MII, execution fails with the following message;
    [ERROR] Unable to make RFC call Exception: [Problem retrieving JCO.Function object: Connection pool <ECC_Server>:800:02:EN:ECCUser is exhausted. The current pool size limit (max connections) is 1 connections.]
    [WARN] [SAP_JCo_Function_0] Skipping execution of output links due to action failure.
    [ERROR] Uncaught exception from SAP_JCo_Function_0, Problem retrieving JCO.Function object: Connection pool <ECC_Server>:800:02:EN:ECCUser is exhausted. The current pool size limit (max connections) is 1 connections.
    Config:
    1. In 'SAP MII: Connections' of type JCO and have given pool size to 100.
    2. In 'SAP MII: Credential Stores' store is created and same is being used in Start Session.
    3. In  JCO_Function block, we can search for the Function Module and set it.
    MII Version:
    14.0.2 Build(82)
    Am I missing something?
    Has any one seen this? please advise.
    Thanks,
    Message was edited by: Shridhar N

    Check if there is another JCo connection configured with the same IP and User. I have found in the past that even though there are two connections configured because they have the same ip and user they are put into one pool with the lowest max pool of the two connections.

  • XMII SSO with Sharepoint

    I am new to xMII platform and would like to know few details on foll:
    SAP ECC users are authenticated on their own LDAP server.
    We are about to create a manufacturing portal using sharepoint that will access iview-webparts from MII platform.
    Sharepoint users will be on ADS.  Now how do i achieve SSO between Sharepoint and MII.
    Do i use credential mappings at Sharepoint side or is there a better way to do ? like SAML, etc

    Ajay,
    LDAP should work for your scenario. Sharepoint Active Directory can also use LDAP.
    I assume you are talking about SharePoint 2007. If so, it does support LDAP authentication by using the LDAP membership provider. Have a look on the link
    http://technet.microsoft.com/en-us/library/cc262069.aspx
    Below link can provide in detail information about the SSO on SAP landscape.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/47d0cd90-0201-0010-4c86-f81b1c812e50
    http://help.sap.com/saphelp_nw70/helpdata/EN/12/9f244183bb8639e10000000a1550b0/frameset.htm
    Thanks
    Ram Upadhyay

  • MII 12.1: SSO with JCO Connector

    Ok so I'm trying to setup MII 12.1.5 Build 87 to pass SSO ticket through JCO connector onto the respective SAP System.
    MII is getting the ticket because it logs in automatically. So that's covered.
    The checkbox for use of "SSO" in System Connection Editor is checked
    The checkbox for AutoBind in the XacuteConnector is checked
    Transaction property of "MYSAPSSO2" has been created and mapped to SAPSSO2Ticket property of JCO action
    Now is all this supposed to override the system and user alias in the configuration of the JCO block?
    What am i missing here that it's not working?
    One thing I haven't tried yet is to export the MII TicketKeystore - SAPLogonTicketKeypair - cert , certificate and import it into the respective R/3 system....will try now since it just came to mind.
    Anyone have any thoughts because i'm hitting a dead end here...

    Alin here is the solution...
    You are right to have these steps...
    The checkbox for use of "SSO" in System Connection Editor is checked
    The checkbox for AutoBind in the XacuteConnector is checked
    Transaction property of "MYSAPSSO2" has been created and mapped to SAPSSO2Ticket property of JCO action
    But you also need...
    Create a transaction property called MYSAPSSO2 and assign a value of SAPSSO2Ticket
    Open your existing JCO Action block --> Configure Links --> Incoming --> <JCO Action Name> -->
    Assign SAPUserName a value of "$MYSAPSSO2$"
    and
    Assign SAPSSO2Ticket a value of Transaction.MYSAPSSO2
    Start and Stop SAPMMC and test the SSO
    Also, there were some talks of SAP and MII servers having the same timezone, but I tested it with the same and without the same timezone and it appears to work either way.

  • RFC call from MII using JCO

    Hi All,
    I am calling custom function module from MII using JCO and I am facing one problem. Problem is that if any new field is added in function module in ECC side that is not appearing in RFC structure until we restart the MII server. Can anybody provide any solution. I am using MII 12.1 SP5.
    Thanks in Advance
    Chandan

    I faced this same issue. Only one solution is to reset the JCo Proxy by running following URL in the same MII server
    http://<MII Server>/XMII/JCOProxy?mode=reset
    This will reset the JCo cache and the new added fields in RFC at SAP end will be reflected in the Request/Response xml structure of the RFC in BLS
    Regards
    Som

  • JCo Error in Mii 12.1.4

    I am having problems with JCo in Mii 12.1.4.  When the JCo Function builds the Output XML structure properly but does not build the Input Structure at all.  When I look at the Log Viewer I see this error: 
    JCO Proxy Error: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. 
    [EXCEPTION]
    org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
    If I try to use JRA the Input and Output structures are generated correctly.  In this case the same message is inserted into the log but only as a warning.
    What is going on here?  Can someone please help?
    Thanks

    Jeremy,
    We are calling a custom BAPI.  I had the ABAP developer change one of the inputs in ABAP function module from a table to a flat structure and it is now working.  Very strange, indeed.
    The input table contained only one field with a length of 2 characters.
    Thanks

  • MII Profile Editor service

    Hello Experts,
    I have a question about MII Service: Specifically about Profile Editor service:
    http://<server>:<port>/XMII/Illuminator?service=admin&mode=ProfileEditor&Group=<user or role>&Type=[USER]&Payload=<xml>
    Could you please tell me how to use the Payload parameter? It says it takes xml as input. But I pass xml it throws me an error. My requirement is to change the "orgunit" value of the "Additional Information" tab in the Security Services.
    I am using MII 14.0
    I was following the thread
    Illuminator Services of SAP MII
    and
    http://help.sap.com/saphelp_mii140sp04/helpdata/en/92/af0bee70604f258024a646b560d3c5/content.htm?frameset=/en/4d/54cbe9071b60c5e10000000a15822d/frameset.htm
    Please help!
    Regards,
    Rajesh.

    Try this:
    http://server:port/XMII/Illuminator?service=admin&mode=ProfileEditor&Group=UsrID&Type=USER&Payload=<Profile orgunit='test' />
    It will show you success message but to surprise.. if you again try to check current profile..
    it displays old info!
    May be lil more look ahead and answer might be infront..
    Ruchir

Maybe you are looking for