cancel
Showing results for 
Search instead for 
Did you mean: 

Create style sheet in Web Application Designer

Former Member
0 Kudos
117

Hi all,

I need to change the color from light-blue into green for text field "Last data refresh" in Advanced Web Items "Info Field Item".

I have an idea this should be fixed by style sheet integration - but could anyone please contribute how I managed this practical?

XHTML code for Info_Field_ITem is as mentioned:

<td >

<bi:INFO_FIELD_ITEM name="INFO_FIELD_ITEM_1" designheight="300" designwidth="300" >

<bi:DATA_PROVIDER_REF value="DP_1" />

<bi:WITH_TRAY type="CHOICE" value="" />

<bi:INFORMATION_ELEMENT_LIST type="ORDEREDLIST" >

<bi:INFORMATION_TYPE type="CHOICE" index="1" value="GENERIC_TEXT_ELEMENT" >

<bi:GENERIC_TEXT_ELEMENT value="ROLLUPTIME" />

</bi:INFORMATION_TYPE>

</bi:INFORMATION_ELEMENT_LIST>

</bi:INFO_FIELD_ITEM>

</td>

Many thanks in advance

KR. Thorsten

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Thorsten,

a little bit late but ...

Just try to use HTML commands like this.

    <td >

<font color="green">

                            <bi:INFO_FIELD_ITEM name="INFO_FIELD_ITEM_1" designheight="300" designwidth="300" >

                                <bi:DATA_PROVIDER_REF value="DP_1" />

                                <bi:WITH_TRAY type="CHOICE" value="" />

                                <bi:INFORMATION_ELEMENT_LIST type="ORDEREDLIST" >

                                    <bi:INFORMATION_TYPE type="CHOICE" index="1" value="GENERIC_TEXT_ELEMENT" >

                                        <bi:GENERIC_TEXT_ELEMENT value="ROLLUPTIME" />

                                    </bi:INFORMATION_TYPE>

                                </bi:INFORMATION_ELEMENT_LIST>

                            </bi:INFO_FIELD_ITEM>

</font

                        </td>

It worked for me in WAD to change the fond and everything. Also the portal did not change the colors with its theme.

best regards,

Martin

0 Kudos

Hello Thorsten Jensen,

I will sugest you to check the following documentation related with your question:

http://help.sap.com/saphelp_nw70/helpdata/en/47/a056340cfd3b8be10000000a421937/content.htm

check that:

"The output HTML must correspond with the design of the standardized BEx Web items. There is no tool and coding support for the generation of HTML in ABAP. You may use SAP style classes, but we reserve the right to make changes."

Those SAP style classes you can find at the mime repository and you can try to make a copy of it and change the web item class font color.

Also, you can refer to the following documentation in order to change the color of the web iten:

http://help.sap.com/saphelp_nw70/helpdata/en/44/317d1f955e3f0ae10000000a114a6b/content.htm

I hope that this information can help you.

Best Regards,

Diego Ferrary