on 03-22-2007 8:03 PM
Hi All,
System: SRM 5.0
I am getting a dump when i try to click on continue in shopping cart screen. It says template interpretation failed. I looked in ST22 it says template/system/dm/templatelibrarydynpro.html contains syntax errors and could not be compiled. has anyone out there ran in to this kind of scenario.am i looking at correction of the HTML templates?
Rgds
Krishna
Hello Krishna,
I had the same issue in SCM.
Issue was resolved after a complete publish of SYSTEM under Internet Service, Transaction SE80.
Regards,
Mohammed Wahabuddin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
When you get this dump ? Are you using Internal ITS ? What are the steps to re-produce the same. ?
Cany you paste the complete shortdump details here ?
<b>Please ensure that Internet Services based Standard HTML Templates using SE80 are not modified in your system.</b>
<u>Here is a complete check-list for all possible causes of the Dump.</u>
When you are using the Internal ITS,you need not run the report W3_PUBLISH_SERVICES.(only SIAC_PUBLISH_ALL_INT )
Also pls check the following:
-->activate the services through SICF tcode.
> Go to SICF transaction and activate the whole tree under the node Deafult host>sap>bc>gui>sap>its.
>Also maintain the settings in SE80>utilities>settings>internet transactuon server-->test service/Publish.
Table TWPURLSVR should have entries for the / SRM server line as well as gui and web server.
Could you please review again the following steps ?
Did you check that ICM was working correctly (TA SMICM) ?
1-Activate the necessary ICF services
With transaction SICF and locate the
services by path
/sap/public/bc/its/mimes
/sap/bc/gui/sap/its/webgui
2- Publish the IAC Services
With Transaction SE80 locate from
the menu Utilities -> Settings ->
Internet Transaction Server (Tab) ->
Publish (Tab) and set On Selected
Site = INTERNAL.
3- Locate the Internet Services SYSTEM and WEBGUI.
Publish these services with the Context
Menu -> Publish -> Complete Service
4- Browse to http://<server>:<icmport>/sap/bc/gui/
sap/its/webgui/! and login to the
webgui.
Hope this will help.
Please reward full points, incase it helps.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishna,
Have you tried publishing template again.
Use Transaction SE38
and publish W3_PUBLISH_SERVICES again.
Give more details dump copy in ST22 .
Regards,Nishant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nishanth ,
I have published all the services but still the problem persists. here is the dump
Runtime Errors ITS_UNEXPECTED_TOKEN
Date and Time 03/22/2007 16:21:11
What happened?
The template "templates/system/dm/templatelibrarydynpro.html" contains syntax
errors and could therefore not
be compiled.
Cause of error: the token "(" ("(") could not be recognized.
The syntax error is located in line: 206, column: 25
The erroneous HTMLB line is:
" inithandlerscript();"
What can you do?
Call transacton SE80 and correct the syntax error. In SE80, choose
'Internet Service' and browse to select the corresponding template.
You can find the service, theme and template name in the path of the
erroneous template:
"templates/system/dm/templatelibrarydynpro.html"
Make sure to publish the corrected template to the site 'INTERNAL'
so that the changes can take effect.
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.
Error analysis
The HTMLB Parser was unable to execute a HTMLB statement since
the token "(" ("(") could not be recognized.
This error may occur, for example, if a HTMLB backtick or the
parentheses are missing in a function call.
If you cannot locate the syntax error, you may comment out specific
HTMLB statements with the HTML comments ( <!-- und --> ) in order
to find the erroneous statement.
HTMLB example, error ITS_UNEXPECTED_TOKEN
`varA=;` <- ERROR, value missing
`if (varA == 0)`
`varA = 1;`
`end;`` <- ERROR, one backtick too much
Rgds
Krishna
Hi
As i told you in my earlier reply, seems to be somebody has modified some HTML templates and by mistake, has put some wrong code inside the template, which is causing the problem.
Ask your team whosoever has lastly modified any of the HTML templates in this case, needs to check the changes made carefully here.
Incase nothing is found, undo all the changes and bring back the template changes to Original - SAP standard.
Also, don't forgot to publish the complete service in this case on all the required Internet sites.
Do let me know.
Regards
- Atul
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.