on 01-08-2014 9:23 AM
Hi everyone, I am trying to customize the stylesheet of my mobile application. I have created and published a custom CSS in the MIME Objects called ZMOBILE.CSS and I added the -ITSMOBILECSSINCLUDE parameter to the SICF transaction (value is styles/all/zmobile).
When I connect to the application if I look at the HTML code I can see that the stylesheet is not correctly loaded, there is in fact an additional slash in the path. This leads to a 500 Internal Server Error if I try to connect directly to the CSS:
500 SAP Internal Server Error
ERROR: Error in interpretation of path "/SAP/PUBLIC/BC/ITS/MIMES//SCWM/Z_EWM_E001/99/STYLE".
Object name: "/SCWM/Z_EWM_E001/99/STYLES/ALL/ZMOBILE.CSS". (termination: ERROR_MESSAGE_STATE)
As you can see there is an additional slash plus a "SCWM" that comes out of nowhere.
This is my service configuration:
~THEME 99
~TRANSACTION /SCWM/RFUI
#MOBILE This is a mobile service
#SOURCES Template search sequence
~SOURCES /scwm/rfui,ITSMOBILE,ITSMOBILE00,Z_EWM_E001
~ITSMOBILECSSINCLUDE styles/all/zmobile
~ITSMOBILE 1
~XSRFCHECK 1
~AUTO_HTML_ESCAPING 1
~NEW_XSS_FUNCTIONS 1
~ITSMOBILENOCUAINCLUDE 1
~DYNPRO_COMPRESSION 1
~DISCONNECTONCLOSE 1
Thanks a lot.
Hello Daniele,
The extra "/" is probably because of the "/scwm/rfui" entry in the ~sources. I would recommend moving your templates to a different directory (ie: ZRFUI) and then changing the ~sources to match.
Cheers,
Edgar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Daniele,
The following NOTE
1323339 ITSmobile: Services with a namespace
may also be of interest to you. Especially section re: ~itsmobileNamespace
Regards,
Oisin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.