cancel
Showing results for 
Search instead for 
Did you mean: 

ITSmobile error in dev_icf1 - JavaScript error in Internet Explorer

0 Kudos

Hello,

I have configured an ITSmobile scenario on a customer system. It is a standard scenario using transaction LM01.

I created a service (zlm00) in SICF and the according service and templates in SE80.

Calling the service in Internet Explorer (http://<IP>:<Port>/zlm00) works fine regarding the logon screens and the menu structur after logging in. However all the buttons (menu of LM01 and SAP standard icons like the green and the red dot) don't work/are displayed correctly (Icons are "x"ed, menu buttons are not in the CSS design).

There is a CSS Sheet configured but it also doesn't work.

The IE is showing an JavaScript Error "Object expected".

I checked the whole configuration and compared it to another installation with the LM00 sceanario: Everything is similar and correct.

I republished the services SYSTEM, WEBGUI (which I tested aswell and it show the same problem: No icons are displayed and buttons don't work (no logon possible)), ZLM00 and the IAC.

I deleted the browser cache every time and the Template and MIME Cache aswell (TA sitspmon).

Running out of ideas I checked the trace files in the work directoy (/usr/sap/<instance>/work) and found the following entries in dev_icf1:

<ErrorInfo URL="http://172.25.3.79:8000/sap/public/bc/its/mimes/ZLM00/99/LOGOFF.GIF">

<ErrorMessage>Melden Sie sich mit einem Dialogbenutzer an</ErrorMessage> ---> translation: "Log on with a dialog user"

<Date>20101216</Date>

<Time>101537</Time>

<Client>000</Client>

<User>SAPSYS</User>

<TerminationType>ERROR_MESSAGE_STATE</TerminationType>

<ABAP-CallStack>

<Method>

<Name>EXECUTE_REQUEST</Name>

<Program>CL_HTTP_SERVER================CP</Program>

</Method>

<Function>

<Name>HTTP_DISPATCH_REQUEST</Name>

<Program>SAPLHTTP_RUNTIME</Program>

</Function>

<Module>

<Name>%_HTTP_START</Name>

<Program>SAPMHTTP</Program>

</Module>

</ABAP-CallStack>

</ErrorInfo>

</ErrorLog>

What can I do to fix the problem? User SAPSYS doesn't exist in client 000.

Thanks in advance and kind regards

Stefan Schaffert

Accepted Solutions (1)

Accepted Solutions (1)

former_member316351
Active Contributor
0 Kudos

Hello Stefan,

In SICF what parameters and values have you configured for the ZLM00 service under the "GUI Configuration" button? It sounds like you may be missing the following:

~itsmobile 1

~sources itsmobile,zlm00

Edgar

0 Kudos

Hi Edgar,

thanks for your replay.

The following parameters are set in SICF for service ZLM00:

~ITSMOBILE 1

~TRANSACTION LM01

~DISCONNECTIONCLOSE 1

~THEME 99

~SINGLETRANSACTION 1

~ITSMOBILECSSINCLUDE zits

~ITSMOBILEJSINCLUDE mobile

~ITSMOBILECUAINCLUDE cuaarea

I added the ~SOURCES itsmobile,zlm00 parameter and tested it, with the same result.

The webgui is showing the same error (icons und buttons), so I think it is some kind of a "bigger" error regarding all services. The error message in dev_icf looks like the Internet Explorer cannot access the sources like the GIF files containing the button graphics and the JS file containing Java Script.

former_member194364
Active Contributor
0 Kudos

Hi Stefan,

If all ITS Services are not displaying the images and icons correctly then check if the MIMES are actually activated.

Goto SICF and naviagate to the MIMES node.

Path is: default_host -> sap-> public -> bc-> its -> mimes

If its "greyed out" its inactive.

It should also have Handler: CL_HTTP_EXT_ITS_MIMES

and

the "GUI Link" should be "Not Specified"

Regards,

Oisin

Edited by: Oisin ONidh on Dec 17, 2010 10:52 AM

0 Kudos

Hello Oisin,

thanks for your replay.

I checked the MIMES node: it was already activated.

Handler is "CL_HTTP_EXT_ITS_MIMES"

GUI link is "not specified"

Error is still the same.

kind regards

Stefan

former_member194364
Active Contributor
0 Kudos

Hi Stefan,

Try calling using the Host name - rather than the IP address.

Goto transaction: /nsmicm

Hit "Shift + F1"

This will tell you the Protocol, port and hostname.

Then test

http://<hostname>:<port>/sap/bc/gui/sap/its/webgui?

Regards,

Oisin

0 Kudos

Hi Oisin,

calling "http://<hostname>:<port>/sap/bc/gui/sap/its/webgui?" shows the LogOn screen (all icons are red X again) but it is possible to login via PopUp. After entering username and password there is an HTTP 500 - Internal Server Error with the error message: "Log on with a dialog user"

Details:

Hinweis

Folgender Fehlertext wurde im System SGE prozessiert: Melden Sie sich mit einem Dialogbenutzer an

Der Fehler trat auf dem Applikationsserver SAPTEST01_SGE_00 und im Workprozess 0 auf.

Die Abbruchart war: ERROR_MESSAGE_STATE

Die ABAP-Aufrufhierarchie war:

Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP

Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME

Module: %_HTTP_START of program SAPMHTTP

regards,

Stefan

former_member194364
Active Contributor
0 Kudos

Hi Stefan,

Double check if the publishing was done correctly:

See the WIKI:

[ How to check the publishing Date of an Internet Service|http://wiki.sdn.sap.com/wiki/x/OYG8BQ]

Republish the ITS Services, WEBGUI, SYSTEM if need be

For the steps on publishing see the WIKI:

[How to activate, publish and test ITS services in the integrated ITS|http://wiki.sdn.sap.com/wiki/x/kmE ]

Then delete the Template and MIME Cache afterwards via transaction

/nSITSPMON -> Template and MIME Cache -> Select "System Wide"

for the MIME and Templates.

Then retest the WEBGUI service via transaction SICF:

transaction /nsicf > default host ->

sap -> bc -> gui -> sap -> its -> webgui

o Select Test service from context menu of the service node

i.e: Right Click -> Test Service

This will launch the webgui service in the browser - from here logon

to system again.

Regards,

Oisin

former_member182680
Active Participant
0 Kudos

Hi Stephan,

please check your user settings in SU01. Users for ITSMobile transactions are meant to be dialog users.

http://help.sap.com/saphelp_nw04/helpdata/en/52/67119e439b11d1896f0000e8322d00/content.htm

Uwe

Former Member
0 Kudos

Hi Stephan,

To get the testservices to work all used sources need to be published in SE80.

e.g. to use itsmobile00, the internet services itsmobile00 AND itsmobile need to be published in se80.

After that it will be displayed without errors.

Martin

Answers (1)

Answers (1)

volker_bock
Participant
0 Kudos

This message was moderated.