cancel
Showing results for 
Search instead for 
Did you mean: 

PCUI:How to change color/Font at fields level in PCUI BP

Former Member
0 Kudos

Hi All experts,

In PCUI BP(BUS1006) application we have to change the font size and color of some fields.

Example: Show the Phone number in larger font and also in Red color?. All PCUI applications are generated dynamically ,so is there any way to control font/color at field level?

Would you give me some advices on this topic?

Thanks,

Kavitha.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Kavitha, as you already mention in your question, PC-UI applications are rendered dynamically - which is it's power - and I do not believe it is possible. The stylesheets of the iViews that are rendered are not controlled through the PC-UI applications itself. Since the rendering occurs through the generic BSP application (CRM_BSP_FRAME) you can have a look at manipulating these attributes here... Anyone any ideas? Tiest.

vijayakm
Advisor
Advisor
0 Kudos

hi Tiest van Gool,

I agree with you.

hi Kavitha,

To provide you with few more inputs,

PCUI framework uses HTMLB/ XHTMLB / PHTMLB controllers brovided by BSP Basis. (our Brian McKellar's team ).

If you look at any of the views of PCUI application,

basically use ResultList(ListView) / StructureEdit (FormView)/ TreeTableview (Tree) tags to display the results. These tags internally use HTMLB/ XHTMLB / PHTMLB controllers to display the HTML Fields.

The Style i.e color/font size etc are by default provided or rendered at the HTMLB/ XHTMLB / PHTMLB basing on the Design (STANDARD/DESIGN2002 etc ...)Provided in the view

<htmlb:content design="DESIGN2002" sessionManagement="TRUE">

1) Its not recommended to have unique changes like yours which will deviate from the standard look and feel with rest of the applications.

2) You need to look into below css files , there are few more css files also,to vary anything related to look and feel but if you do any change this wil be reflected throughout.

/sap/public/bsp/sap/public/bc/htmlb/design2002/controls_ie6.css

/sap/public/bsp/sap/public/bc/xhtmlb/xcontrols_ie6.css

/sap/public/bsp/sap/public/bc/xhtmlb/tbv_ie5.css

regards,

Vijaya Kumar M.

Answers (0)