You are on page 1of 4

2017-05-26 Page 1/4

1929964 - Typed model execution failed; see nested
exception for details
Version 4 Type SAP Knowledge Base Article
Language English Master Language English
Release Status Released to Customer Category Problem
Component BC-JAS-SEC (Security, User Management) Released On 22.12.2016

Please find the original document at https://launchpad.support.sap.com/#/notes/1929964

Symptom

Execute custom webdynpro java application in portal, following error throw out intermittently. Normally
issue get resolved temporarily after reboot of Java system, but after a while, error reoccurs.

There is following error written in newest defaultTrace.*.trc file located in usr/sap/<SID>/<xx>
/j2ee/cluster/server<x>/log directory.

JCoException while executing the Function ->''Z_test_function_module''
...
java.lang.Exception: Unknown error executing RFC:Z_test_function_module
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
...
Caused by: java.lang.Exception: Unknown error executing RFC.
...
Caused by: com.sap.tc.cm.arfc2.gci.exception.ARFC2ModelExecuteException:
Typed model execution failed; see nested exception for details
...
Caused by: com.sap.tc.cm.arfc2.exception.ARFC2ExecutionException:
JCO Exception occured while exceution of the ARFC2 Executable Model
Object for destination '{0}'
...
Caused by: com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE:
System received an expired SSO ticket on LIN mshost testserver
...
Caused by: RfcException: [null]
message: System received an expired SSO ticket on LIN mshost testserver
Return code: RFC_SYS_EXCEPTION(3)
error group: 103
key: RFC_ERROR_LOGON_FAILUREat com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:219)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1347)
... 95 more
Caused by: RfcException: [LIN|testserver]
message: System received an expired SSO ticket
Return code: RFC_SYS_EXCEPTION(3)
error group: 104
key: RFC_ERROR_SYSTEM_FAILURE

© 2017 SAP SE or an SAP affiliate company. All rights reserved
2017-05-26 Page 2/4
Exception raised by LIN|testserverat
com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:2034)
at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:187)
... 96 more
Caused by: com.sap.conn.rfc.exceptions.RfcGetException: System received an expired SSO ticket
at com.sap.conn.rfc.engine.RfcImp.ab_rfcerror(RfcImp.java:1157)
at com.sap.conn.rfc.engine.RfcGet.rfcget_run(RfcGet.java:131)
at com.sap.conn.rfc.engine.RfcGet.ab_rfcget(RfcGet.java:23)
at com.sap.conn.rfc.engine.RfcRcv.ab_rfcreceive(RfcRcv.java:33)
at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:1981)
... 97 more

Environment

SAP NetWeaver 7.3
SAP enhancement package 1 for SAP NetWeaver 7.3
SAP NetWeaver 7.4
SAP NetWeaver Composition Environment 7.1
SAP enhancement package 1 for SAP NetWeaver Composition Environment 7.1
SAP NetWeaver Composition Environment 7.2

Reproducing the Issue

1. Develop custom webdynpro java application to execute function module in ABAP system.
2. Use Adaptive RFC(ARFC2) model in webdynpro java application, and create RFC destination in NWA
instead of JCO destination.
3. Execute webdynpro java application in portal.

Cause

For metadata RFC destination, it is necessary to use "Technical User" option so as to log on ABAP with
one specific user. For the other RFC destination, it is necessary to use "Current User(Assertion ticket)". If
choose "Current User(Logon Ticket)", "Typed model execution failed" error happens intermittently even
though time of JAVA and ABAP systems are synchronized.

Resolution

1. Log on NWA http://<host>:<port>/nwa with administrative user and password.

2. Search out 'Destination' and find RFC destination that used by custom webdynpro java application.
Following screenshot uses destination SAP_R3_HumanResources as an example, custom RFC
destination should not use such name.

© 2017 SAP SE or an SAP affiliate company. All rights reserved
2017-05-26 Page 3/4

3. Change 'Authentication' from 'Current User(Logon Ticket)' to 'Current User(Assertion Ticket)'.

4. Restart system to make sure changes take effect.

Note: Above setting only can resolve exception "System received an expired SSO ticket" which happen
together with error "Typed model execution failed; see nested exception for details". It can not resolve
exception "System received an expired SSO ticket" for other situations.

Keywords

webdynpro, web dynpro, function module, fm, JCoException while executing the Function, Typed model
execution failed, arfc2, adaptive RFC, destination, current user, assertion ticket, logon ticket, technical user,
System received an expired SSO ticket, RFC_ERROR_SYSTEM_FAILURE, RFC_SYS_EXCEPTION,
ARFC2ModelExecuteException

© 2017 SAP SE or an SAP affiliate company. All rights reserved
2017-05-26 Page 4/4

Products

SAP NetWeaver 7.3
SAP NetWeaver 7.4
SAP NetWeaver Composition Environment 7.1
SAP NetWeaver Composition Environment 7.2
SAP enhancement package 1 for SAP NetWeaver 7.3
SAP enhancement package 1 for SAP NetWeaver Composition Environment 7.1

Other Components

Component Description

BC-MID-CON-JCO Java-Connector

BC-WD-JAV Web Dynpro Java

Terms of use | Copyright | Trademark | Legal Disclosure | Privacy

© 2017 SAP SE or an SAP affiliate company. All rights reserved