cancel
Showing results for 
Search instead for 
Did you mean: 

ITS_TEMPLATE_NOT_FOUND - what to do

Former Member
0 Kudos

hi all,

when i try to start my service zmobi3 it seems to work at the first moment ... the web browser is opening and the first screen of my application is shown. then i scan a barcode into that field and press the F8 button to run the program.

now it get a error message with a rabax_state. under transaction code st22 i can see more about this failure.

here is some excerpt of the message in the st22:

Runtime Errors ITS_TEMPLATE_NOT_FOUND

Date and Time 26.01.2009 15:24:51

Short text

Template interpretation failed. Template does not exist.

What happened?

The ITS service "zmobi3" failed since not template could be found for

the screen with the number 120 in the program "SAPMSSY0".

The template was searched in the following ITS services:

"zmobi3"

Note that for language-dependent templates the language is included

in the search.

What can you do?

Call transaction SE80 and choose the Internet service "zmobi3". Check

if the template exists.

If the template exists in the service, publish the entire service

to the SITE INTERNAL.

Note down which actions and inputs caused the error.

To process the problem further, contact you SAP system

administrator.

Using Transaction ST22 for ABAP Dump Analysis, you can look

at and manage termination messages, and you can also

keep them for a long time.

has anybody an idea what i can do??

TIA!

christian

Accepted Solutions (0)

Answers (1)

Answers (1)

mick_pichaloff2
Explorer
0 Kudos

G'day Christian,

You need to create a template for all of the screens of your transaction.

You use SE80, and have the system generate you the template, and that should be it.

--> SE80

--> choose 'Internet Service' and enter your service name "ZMOBI3"

--> right click on "ZMOBI3" and choose 'Create' --> 'Template'

Choose: Generate HTML from Screen

enter your program name, screen number and generating style.

this will generate the template for you,

Remember to "publish" every template for your service

The quickest way to do this is to right mouse clcik on your service name and choose Publish -> Complete Service

In my initial tests of my ITS service, reading further through the ST22 dumps I found that I had to "publish" the Complete Service for services: SYSTEM and WEBGUI

Hope this helps.

Cheers,

Mick.

Former Member
0 Kudos

The Template the system search for is a system dynpro.

In the new release we also deliver in the standard the system templates.

So it seams that you dont use the newest SP or you dont implement the newest

notes for the topic / searchterm ITSmobile.

By the way - you can also create a template for the missing screen manual.

Just search the template a create a template over SE80.

KR

Christoph Persich

Former Member
0 Kudos

@Christoph Persich

At first great thanks for your help! It seems that it is really like you told me.

Which SP should we use for that problem or which notes should we implement??

Do you have any ideas where i can get some information how to create an own template?

@Mick

Also many thanks for your help I've done your steps before, but my prob was still there.

former_member316351
Active Contributor
0 Kudos

Hello Christian,

The SAPMSSY0 template is a standard SAP template for displaying an error message usually. That means your program is outputting a message that your templates are unable to handle. I would change the GUI Settings of the service in SICF to have ~webgui 1 for now and retest. This will allow the ITS to dynamically generate the page so that you can see what the error or message is and then adjust your template to handle this issue.

Edgar

Former Member
0 Kudos

Now i'm one step nearer to solve my problem

After putting in my input's on the first screen of the program i can execute it to go to the next screen of the program.

The results are shown there, but with a lot of failure messages and error frames ...

Here is the text of one of the error frames:

Error when processing your request

What has happened?

The URL http://sap-test-de:8010/sap/public/bc/its/mimes/system/page/menubase.html was not called due to an error.

Note

 The following error text was processed in the system AT1 : The theme extracted from PAGE/MENUBASE.HTML has more than 2 characters

 The error occurred on the application server sap-test-de_AT1_10 and in the work process 0 .

 The termination type was: ERROR_MESSAGE_STATE

 The ABAP call stack was:

Method: GIVE_MIME_CONTENT_USING_PATH of program CL_IAC_HELPER=================CP

Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_ITS_MIMES=========CP

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

Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME

Module: %_HTTP_START of program SAPMHTTP

What can I do?

 If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system AT1 in transaction ST22.

 If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server sap-test-de_AT1_10 in transaction SM21.

 If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server sap-test-de_AT1_10 . In some situations, you may also need to analyze the trace files of other work processes.

 If you do not yet have a user ID, contact your system administrator.

Error code: ICF-IE-http -c: 000 -u: SAPSYS -l: E -s: AT1 -i: sap-test-de_AT1_10 -w: 0 -d: 20090127 -t: 161237 -v: ERROR_MESSAGE_STATE -e: The theme extracted from PAGE/MENUBASE.HTML has more than 2 characters

HTTP 500 - Internal Server Error

Your SAP Internet Communication Framework Team

former_member316351
Active Contributor
0 Kudos

Hello Christian,

What parameters and values are in the GUI Configuration of your service in SICF? It seems that the ~theme may not be there or is wrong, but you should look at the developer trace for the workprocess 0 for the time of the error to see more details (ST11).

Edgar

Former Member
0 Kudos

Hello Edgar,

the ~theme entry is in the GUI configuration of my service in the sicf.

The entries there are:

~THEME 99

~TRANSACTION ZMOBI_PROG

~WEBGUI 1

Is that ok?

Here is also a part of the trace of st11.

diag: ********** SAPDIAG-XKrnHandleResponse(session 0xfffffffb61a105c0)

diag: no dynpro properties specified

diag: Systemfields successfully initialized

diag: DiauBuildHtmlPageFromSubScreen ModulPool SAPMSSY0 DynproNr 120 (UpdateContext = 1)

xgdk: XWRpSQLExistsResourceCont : Failed to fetch.

xgdk: XWRpQueryExists : no resources found for: templates/zmobile_ser/99/zmobile_ser_de.htrc

xgdk: IRepQueryExists : does not exist [templates/zmobile_ser/99/zmobile_ser_de.htrc]

xgdk: XWRpSQLGetTemplateHeader : record not found.

xgdk: IRepQueryExists : does not exist [templates/zmobile_ser/99/sapmssy0_120.html]

xgdk: XWRpSQLGetTemplateHeader : record not found.

xgdk: IRepQueryExists : does not exist [templates/zmobile_ser/99/sapmssy0_120.html]

xgdk: XWRpSQLGetTemplateHeader : record not found.

xgdk: IRepQueryExists : does not exist [templates/zmobile_ser/99/sapmssy0_120_de.html]

xgdk: XWRpSQLGetTemplateHeader : record not found.

xgdk: IRepQueryExists : does not exist [templates/zmobile_ser/99/sapmssy0_120_de.html]

diag: EWT-FLAG is set to: FALSE

diag: Setting ~WEBTRANSACTIONTYPE to LIST

xgdk: MsgtBuildHtmlPage: accesspath and system template not set !

xgdk: MsgtBuildHtmlPage: using base service folder `WEBGUI'

xgdk: Copy ITS HTML response header > R3 HTTP response object (header length = 289)

xgdk: Ignoring pseudo heaader field >~response_line< = >HTTP/1.1 200 OK<

xgdk: Ignoring pseudo heaader field >~server_protocol< = >HTTP/1.1<

xgdk: Ignoring pseudo heaader field >~status_code< = >200<

xgdk: Ignoring pseudo heaader field >~status_reason< = >OK<

xgdk: Setting header field >content-type< = >text/html; charset=utf-8< to response header

xgdk: Setting header field >expires< = >0< to response header

xgdk: Setting header field >pragma< = >no-cache< to response header

xgdk: Setting header field >cache-control< = >private< to response header

xgdk: Setting ITS HTML response cookies > R3 HTTP response cookies

xgdk: Cookie set into http header: name: >~http_content_charset< value: >utf-8< path: >/sap(cz1TSUQlM2FBTk9OJTNhc2FwLXRlc3QtZ

diag: DiauBuildHtmlPageFromSubScreen generating HTML

diag: HtmgGenerateHtmlFromDynpro, Modulpool >SAPMSSY0< Dynpronumber >120<

diag: HtmgGetGeneratorInfo: using base service folder `WEBGUI'

xgdk: XWRpSQLGetTemplateHeader : record not found.

xgdk: IRepQueryExists : does not exist [templates/zmobile_ser/99/generator.html]

xgdk: IRepQueryExists : exists [templates/webgui/dm/generator.html]

xgdk: IRepQueryExists : exists [templates/webgui/dm/webgui_de.htrc]

diag: CmgrDeactivateAll

diag: HtmgActivatePopupControls

diag: CmgrSetActivePopups

diag: CmgrSetActiveDynpro ModalNo >0< Dynpro-Name: >SAPMSSY0 < DynproNo: >120<

former_member316351
Active Contributor
0 Kudos

Hello Christian,

The parameters in the SICF for the service should be fine.

What is the zmobile_ser? Is it published? Is this a copy of the ITSMOBILE? The ITSMOBILE has a template for the sapmssy0 screen 120 so maybe you should copy it (and all the other ITSMOBILE/99/ files) over to zmobile_ser if it is not there already.

Edgar

Former Member
0 Kudos

Hi Edgar,

can you describe me how to copy the ITSMOBILE settings and files and so on to the zmobile_ser?

Sorry for that maybe dump question, but i've never done this before 😕

TIA!

Christian

former_member316351
Active Contributor
0 Kudos

Hello Christian,

After further thought, it is probably easier to just add a new parameter in the GUI Configuration of your service in SICF. Please add ~sources with a value of "zmobi3, zmobile_ser, itsmobile"

If you'd like to copy over the templates still then please follow the directions:

- go to transaction SE80

- go to the Internet Service that you want to copy from (itsmobile)

- right click on the template needed, select Copy...

- fill in the Target information (zmobi3), keep the Long Key and Screen Number

- Save

Edgar

Former Member
0 Kudos

Sorry but i seem to be to silly to get it working

I've now added the ~sources with the values of zmobile_ser, itsmobile to the GUI configuration of my service in the sicf. After that i've tried it again, but there was the same failure then before ...

In the st11 there was a lot of messages ... this here are some lines from it, where the failure seems to be.

The services searches for some template files, but it can't find any of these files 😕

W diag: ********** SAPDIAG-XKrnHandleResponse(session 0xfffffffb61aebd50)

W diag: no dynpro properties specified

W diag: Systemfields successfully initialized

W diag: DiauBuildHtmlPageFromSubScreen ModulPool SAPMSSY0 DynproNr 120 (UpdateContext = 1)

W xgdk: XWRpSQLExistsResourceCont : Failed to fetch.

W xgdk: XWRpQueryExists : no resources found for: templates/zmobile_ser/99/zmobile_ser_de.htrc

W xgdk: IRepQueryExists : does not exist [templates/zmobile_ser/99/zmobile_ser_de.htrc]

W xgdk: XWRpSQLGetTemplateHeader : record not found.

W xgdk: IRepQueryExists : does not exist [templates/zmobile_ser/99/sapmssy0_120.html]

W xgdk: XWRpSQLGetTemplateHeader : record not found.

W xgdk: IRepQueryExists : does not exist [templates/zmobile_ser/99/sapmssy0_120.html]

W xgdk: XWRpSQLGetTemplateHeader : record not found.

W xgdk: IRepQueryExists : does not exist [templates/zmobile_ser/99/sapmssy0_120_de.html]

W xgdk: XWRpSQLGetTemplateHeader : record not found.

W xgdk: IRepQueryExists : does not exist [templates/zmobile_ser/99/sapmssy0_120_de.html]

W xgdk: IRepQueryExists : exists [templates/itsmobile/99/itsmobile_de.htrc]

W xgdk: XWRpSQLGetTemplateHeader : record not found.

W xgdk: IRepQueryExists : does not exist [templates/itsmobile/99/sapmssy0_120.html]

W xgdk: XWRpSQLGetTemplateHeader : record not found.

W xgdk: IRepQueryExists : does not exist [templates/itsmobile/99/sapmssy0_120.html]

W xgdk: XWRpSQLGetTemplateHeader : record not found.

W xgdk: IRepQueryExists : does not exist [templates/itsmobile/99/sapmssy0_120_de.html]

W xgdk: XWRpSQLGetTemplateHeader : record not found.

W xgdk: IRepQueryExists : does not exist [templates/itsmobile/99/sapmssy0_120_de.html]

W diag: EWT-FLAG is set to: FALSE

W diag: Setting ~WEBTRANSACTIONTYPE to LIST

W xgdk: MsgtBuildHtmlPage: accesspath and system template not set !

W xgdk: MsgtBuildHtmlPage: using base service folder `WEBGUI'

W xgdk: Copy ITS HTML response header > R3 HTTP response object (header length = 289)

W xgdk: Ignoring pseudo heaader field >~response_line< = >HTTP/1.1 200 OK<

W xgdk: Ignoring pseudo heaader field >~server_protocol< = >HTTP/1.1<

W xgdk: Ignoring pseudo heaader field >~status_code< = >200<

W xgdk: Ignoring pseudo heaader field >~status_reason< = >OK<

W xgdk: Setting header field >content-type< = >text/html; charset=utf-8< to response header

W xgdk: Setting header field >expires< = >0< to response header

W xgdk: Setting header field >pragma< = >no-cache< to response header

W xgdk: Setting header field >cache-control< = >private< to response header

W xgdk: Setting ITS HTML response cookies > R3 HTTP response cookies

W xgdk: Cookie set into http header: name: >~http_content_charset< value: >utf-8< path: >/sap(cz1TSUQlM2FBTk9OJTNhc2FwLXRlc

W diag: DiauBuildHtmlPageFromSubScreen generating HTML

W diag: HtmgGenerateHtmlFromDynpro, Modulpool >SAPMSSY0< Dynpronumber >120<

W diag: HtmgGetGeneratorInfo: using base service folder `WEBGUI'

W xgdk: XWRpSQLGetTemplateHeader : record not found.

W xgdk: IRepQueryExists : does not exist [templates/zmobile_ser/99/generator.html]

W xgdk: IRepQueryExists : exists [templates/webgui/dm/generator.html]

W xgdk: IRepQueryExists : exists [templates/webgui/dm/webgui_de.htrc]

W diag: CmgrDeactivateAll

W diag: HtmgActivatePopupControls

W diag: CmgrSetActivePopups

W diag: CmgrSetActiveDynpro ModalNo >0< Dynpro-Name: >SAPMSSY0 < DynproNo: >120<

W diag: HtmgBuildMenuTree: MenuVarsAsString = true

W diag: HtmgBuildMenuTree >arMenu_1<

W diag: HtmgBuildMenuTree >arMenu_1_1<

W diag: HtmgBuildMenuTree >arMenu_1_1_2<

former_member316351
Active Contributor
0 Kudos

Hello Christian,

It seems that you are back at the beginning again.

Let's go through the steps:

1. need to create templates for your service (zmobi3) in SE80 for all of the programs and screens into theme (topic) 99

2. create service in SICF for zmobi3 with the following GUI Configuration parameters:

~theme 99

~transaction zmobi_prog

~sources zmobi3, zmobile_ser, itsmobile

~itsmobile 1

3. publish zmobi3, zmobile_ser and itsmobile from SE80 to your internal ITS

If the issue is still there then:

1. make sure the zmobi_prog can accept the input that you're giving. Try on the SAPgui for Windows and the webgui.

2. debug. note 870454

Good luck,

Edgar

Former Member
0 Kudos

Hello Edgar,

1. do you mean that i have to create a new template for the screen following the dynpro 1000 of the ZMOBI_PROG? i sadly don't know how to do this ...

2. the ZMOBI_PROG transaction works fine!

Under this link you can see a screenshot of the web page that i get after my input screen, maybe this helps you a little bit?

[Web page screenshot|http://www.starbulls-fotos.de/screen.jpg]

Another screenshot, this time from se80 transaction:

[se80|http://www.starbulls-fotos.de/se80.jpg]

Another screenshot from sicf transaction:

[sicf|http://www.starbulls-fotos.de/sicf.jpg]

Edited by: strobbel on Feb 4, 2009 10:49 AM

former_member316351
Active Contributor
0 Kudos

Hello Cristian,

Idealy, yes, you should create template for each screen when using the ITS Mobile. It will result in better performance as the ITS Mobile screens have less screen elements. You can create a template just as you did for the Z_HALLO 1000 screen. Just right click in SE80 and choose create template. Then make sure to use the ITS Mobile generation.

From the screen shots:

First off the Parameters for ZMOBILE_SER in SE80 have no meaning. For the Integrated ITS these need to be in SICF GUI Configuration instead. So if ~sources should be "ITSMOBILE02, ZMOBILE_SER" then that needs to be in SICF.

Second, the error seems to indicate that the SYSTEM Internet Service is not published (from SE80) or the mimes are not active (from SICF).

Edgar