Showing results for 
Search instead for 
Did you mean: 

BSP set external theme at runtime

Former Member
0 Kudos

Hi community,

I need to set my external theme for a BSP application called in popup from EP6. I know that if I use in the following link


everything work correctly.

I saw the post :

BUT I need to set it at runtime. I have a BSP with MVC and I have tried the following code

  DATA: theme     TYPE string.
  theme = 'http%3A%2F%<server>%3A<portal_port>'.
  CALL METHOD me->runtime->set_external_theme_root
      path = theme.

and i doesn't work.

Does anybody have any suggestion to set the theme (for me a custom portal theme) at runtime?



Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor
0 Kudos

When setting this via the URL, there theme path is escaped, thus : == %3A, / == %2F, etc. When you call the method directly, don't do this URL escaping. Just write the URL like you would normally do in the browser.