on 10-01-2014 6:40 PM
Hi,
I created HTML template for /SCWM/RFUI and everything works in Dev server.
I moved the Internet Service and SICF service to QA, but now it gives a dump.
--------------------------------------------------------------------------------------------------------
What happened?
The template templates/itsmobile/99/include/sound.html
contains syntax errors and therefore could not be compiled. Cause of
error: The token "(" ("(") was not recognized.
The syntax error is in row: 4, column: 130
The HTMLB row with errors is:
"` <bgsound src="`mimeURL(~service="itsmobile", ~theme=99,
~language="", ~name="sounds/all/sapsoundmsg.wav")`" loop="1" `sh()`>"
Error analysis
The HTMLB parser could not execute an HTMLB statement because it could
not recognize the token "(" ("(").
This error can occur, for example, if an HTMLB backtick or the
parentheses in a function call are missing.
If you cannot find the syntax error, you can use HTML comments ( <!-and
--> ) to comment out individual HTMLB statements and, in this way, at
least localize the statement that contains the error.
HTMLB example, error ITS_UNEXPECTED_TOKEN
`varA=;` <- error, value is missing
`if (varA == 0)`
`varA = 1;`
`end;`` <- Error, one backtick too many
------------------------------------------------------------------------------------------------------------
Parameters
~THEME | 99 |
~ITSMOBILE | 1 |
~SOURCES | /SCWM/RFUI, itsmobile |
~TRANSACTION | /SCWM/RFUI |
Am I missing anything?
Thanks
Krishna
Hi Krishna,
Try the following solution in the Quality System
Please perform the following steps:
Run report: SIAC_PUBLISH_ALL_INT
- then run Report SIAC_REGENERATE_TEMPLATES for the Service '/SCWM/RFUI'
use the Generator MOBILE04
- republish again with the report: SIAC_PUBLISH_ALL_INT
- then retest the service once again. (delete browser cache)
Regards,
Oisin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oisin,
I ran report SIAC_PUBLISH_ALL_INTERNAL in QA.
When I run SIAC_REGENERATE_TEMPLATES, it tries to create templates, which is not allowed in QA (Because QA is locked for changes).
So I have two options.
Run report SIAC_REGENERATE_TEMPLATES in Dev and transport them to QA. Or
ask Basis to open QA and run it SIAC_REGENERATE_TEMPLATES in QA itself.
What do you suggest?
Thanks
Krishna
Hi Krishna,
Is the error same as before? (Your first post)
Can you confirm that the only difference between DEV and QA is the Kernel version?
They both are on the same SAP_BASIS version?
Perhaps you will need to ask your "Basis team" to open QA and run it SIAC_REGENERATE_TEMPLATES in QA itself?
Regards,
Oisin
Yes, Oisin,
Thanks for the reply.
-> Yes, the error/dump is same as earlier.
-> Only difference between Dev and QA is the Patch level. Basis levels are same.
About generating templates in QA.
Can you please let me know if this is the SAP suggested right way? I do not want to do any un-reversible change to QA.
Since I already transported the templates of /SCWM/RFUI to QA after regenerating, do you think regenerating in QA is required?
regards
Krishna
Hi Krishna,
Yes it would be the normal way to update the templates by regenerating them on QA(as it's not on same Kernel as DEV)
If you compare the sound.html on QA and DEV do they differ for the section in the above dump:
The syntax error is in row: 4, column: 130
The HTMLB row with errors is:
"` <bgsound src="`mimeURL(~service="itsmobile", ~theme=99,
~language="", ~name="sounds/all/sapsoundmsg.wav")`" loop="1" `sh()`>"
If they don't - issue must be with the function sh()
Regards,
Oisin
Yes, it was generated with MOBILE4.
Here is the dump.
Short Text |
Template interpretation terminated, syntax error. |
What happened? |
The template templates/itsmobile/99/include/sound.html |
contains syntax errors and therefore could not be compiled. Cause of |
error: The token "(" ("(") was not recognized. |
The syntax error is in row: 4, column: 130 |
The HTMLB row with errors is: |
"` <bgsound src="`mimeURL(~service="itsmobile", ~theme=99, |
~language="", ~name="sounds/all/sapsoundmsg.wav")`" loop="1" `sh()`>" |
What can you do? |
Call transaction SE80 and correct the syntax error. In SE80, choose |
'Internet Service' and navigate to the corresponding template. Take the |
service, theme and template name from the path of the template causing |
the error: |
"templates/itsmobile/99/include/sound.html". |
Remember to publish the corrected template on the 'INTERNAL' site in |
order to activate the change. |
Error analysis |
The HTMLB parser could not execute an HTMLB statement because it could |
not recognize the token "(" ("("). |
This error can occur, for example, if an HTMLB backtick or the |
parentheses in a function call are missing. |
If you cannot find the syntax error, you can use HTML comments ( <!-and |
--> ) to comment out individual HTMLB statements and, in this way, at |
least localize the statement that contains the error. |
Hi Krishna,
Based on note
1963853 - Program termination in the Internet Transaction Server when you use
subscreens
you have the correction of this note as you are on SAP Basis 740 - SP7 (SAPKB74007)
Can you check the template manually to see if it has added the ";" as the solution of note #1963853 outlines.
Regards,
Oisin
Hi Oisin,
I did another round of "regeneration of templates". After that added the ";". Then published all. Then transported the new templates to QA. Again published all.
Now even in QA it is working.
Thanks for all your help.
Strange that changes by the note is not in our system, even though we are on SP7.
Thank you
Krishna
Hello Krishna,
Have you published the service in /nse80 in your QA system?
What is your system basis release and kernel patch level?
Best regards,
yuki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yuki,
Thanks for getting back to me.
In Development (Where it works well)
SAP kernel....... 741-40
SAP Basis 740 - SP7
In Quality (Where it dumps)
SAP kernel....... 741-44
SAP Basis 740 - SP7
Let me know if you find any issue with this.
Thanks
Krishna
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.