on 03-06-2007 6:00 PM
Hi !
We made a complete interface that works OK in our development, and testing environments. When trying to execute it in Production, we receive a red flag in monitor with this info in the trace:
.....The message is: Exception:[com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect......
The scenario is File->XI->IDOC. In the graphical mapping, we use an advanced user definid function that uses JCO to call an RFC to map a value.
What should we try, to detect the origin of the problem?
What roles should have the R/3 user id, used to connect to R/3 via JCO ?
There are other interfaces working OK in Production environment, that use the same user id and password as we are, but it is set in the RFC RECEIVER comm. channels...does this mean that the user has appropiate permission to execute RFC via JCO from XI?
Thanks !
Hi Matias, Can you check the RFC destination of you IDOC adapter, may be this is the problem.
Regards
Omar Hernandez
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Omar !
I will check that right now. By the way, here is a more complete trace:
....com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /CREMAS04/IDOC. The message is: Exception:[com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Nombre o clave de acceso incorrectos (repetir entrada al sistema)] in class com.sap.xi.tf._MM_MA_xxxxxxxxxxxx_ method getLIFNR$[] at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:403) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram......
Inside my getLIFNR function, is where I try/catch to open de JCO connection.
Thanks !
Hi maybe this link could be useful:
http://help.sap.com/saphelp_erp2005vp/helpdata/en/6b/af429b12e9214d9a2d6cba921b162f/frameset.htm
Regards
Omar Hernandez
Hi Sreeram !
Via SAP Logon at the prod system, it says that the userid does not belong to a dialog user...I know that the user is created, because it is used by other interfaces, not in the same way as I do (inside a java function in graphical mapping)...it is used in several RFC Receiver type of communication channels.
Hi,
I know this is the production environment, and change cannot be done, but, using direct JCO calls in mapping is not recommened.Better way to deal with this is to use the RFC Lookup API ( with the Receievr RFC adapter ).
Also, one way to make sure what is happening is to add Trace Statements in your code. You can add trace.addWarning and print the exception message to understand why the error is happening. Again a Tip which I guess you cannot test directly on your Production box .
Regards
Bhavesh
Matias,
I missed this earlier "The scenario is File->XI->IDOC" .
then where are u using RFC adapter . are you using Any RFC lookup inside your Mapping.
Regards
Sreeram.G.Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>does this mean that the user has appropiate permission to execute RFC via JCO from XI?
Exactly, Check it
Regards
Agasthuri Doss
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.