cancel
Showing results for 
Search instead for 
Did you mean: 

How To Change Font In TableView ECC6

Former Member
0 Kudos

Do you know what BSP Application and HTML Page or CSS or Class or any setting that manages this?

It's OK for me to change the standard font.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

RieSe
Contributor
0 Kudos

Hi,

the most flexible solution is to jQuery: (www.jquery.com)

Include this javascript library in your page:



      <s c r i p t language   = "JavaScript"   src     = "../../libraries/jquery.1.3/jquery-1.3.1.js"></script>

      <s c r i p t>
         $(document).ready(function(){

  
           $('.urTxtStd').css('font-size', '1.8em' );
         }
</s c r i p t>

for example set the font-size to 1.8em instead of 0.7em. With this approach you can

nearly adopt all according you needs.

urTxtStd is the css class for the bsp-element textView.

Use firefox with firebug and you inspect simply all elements to get their class.

Another way is to use the theme builder (sdn - >downloads, which is based on eclipse.

You can step through all elements for changing their look&feel. On the end you can

generate a theme with cass files.

You must import these file and you can refer to it setting the themeroot like.


<htmlb:content design = "design2003"  controlRendering = "SAP"  themeRoot = "/euh_tradeshow_plus">

Best regards,

Stefan

raja_thangamani
Active Contributor
0 Kudos

If you want to modify the font for single tableview then you can add the style/replace the style sheet at runtime in Tablewview Iterator methods.

For all the tableview, modify the SAP CSS. Look at below blog.

[BSP In-Depth: ABAP Look and Feel Service|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/650] [original link is broken] [original link is broken] [original link is broken];

Raja