cancel
Showing results for 
Search instead for 
Did you mean: 

Using my own CSS in ITS mobile

Former Member
0 Kudos

Hi,

I have created an ITS and generated some screens for LM00 etc. with the Generation Style "MOBILE". My parameters in my ITS are:

~DISCONNECTONCLOSE    1

~ITSMOBILE    1

~ITSMOBILECSSINCLUDE    ZZE

~LANGUAGE    E

~THEME    99

~TRANSACTION    LM00

And the same parameters I was adding in SICF.

Everything works fine and my source code of the shown internet explorer page also shows:

<link rel="stylesheet" href="https://answers.sap.com/sap/public/bc/its/mimes/zze_lm00/99/ZZE.css" type="text/css" />

But when I just change for example the background color of the whole mobiel screen, nothing is being changed:

/* --- MOBILE BODY -----------------*/

.MobileHtml {

}

.MobileBody {

  margin: 0px;

  padding: 0px;

  border-width: 0px;

  background-color:#00CCFF;

  /*background-color:#F5F9FC;*/

}

I was also refrshing the cache of my browser and refreshed the caches in SITSPMON. Nothing is happening... The strangest thing is, that I got it to run yesterday, but now I can't get it to run anymore, no matter what I do.

Any ideas? Your help is really appreciated, as this makes me totally crazy...

Thank oyu & best regards,

Michael

Accepted Solutions (1)

Accepted Solutions (1)

former_member194364
Active Contributor
0 Kudos

Hi Michael,

Did you republish the changed template in SE80 to site INTERNAL before you cleared the template cache in transaction SITSPMON?

If you do a view source - do you actually see the change made to the template?

i.e background-color:#00CCFF;

Regards,

Oisin

Following WIKI is useful if making changes to the visual of ITSMobile Services

ITSmobile Visual Editor - Wiki - SCN Wiki

Answers (1)

Answers (1)

jpeci
Explorer
0 Kudos

Hello

I have a similar problem, I think the css file is looking for it in a different path to where the service is.

I have followed the wiki but I don't know why the service is in one route and the css looks for it in another.

Chrome looks css file in /sap/public/bc/its/mimes but the service is not in that path

Internet Service is in /sap/bc/gui/sap/its/test/mobile/

I honestly don't know how to fix it. Could you fix it?

Thank you