cancel
Showing results for 
Search instead for 
Did you mean: 

How to have language-dependent text in Chart Texts (i.e. Axis title)

Former Member
0 Kudos

Hello,

I have a problem in having language dependent Chart Texts in X-Axis title and Y-Axis title, both of which are to be set in Chart Option (BW3.1Content) in Edit Chart dialog.

We created ABAP Programs for Maintaining Language-Dependent Texts "ZHTML_TEXTS " as is stated in manual, and now we can insert text in Web Template (i.e. Report title, Table title) by writing HTML like

" ZHTML_TEXTS: <SAP_BW_TEXT PROGRAM=’ZHTML_TEXTE’ KEY=‘001’>"

But for texts in Chart like X-Axis title and Y-Axis title, we cannot use this method. Could you teach me what is to be set to have language dependent text in Chart Option setting?

Uzawa

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

this works fine for us:

<object>

<param name="OWNER" value="SAP_BW"/>

<param name="CMD" value="GET_ITEM"/>

<param name="NAME" value="CHART_1"/>

<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CHART"/>

<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>

<param name="TITLE" value="ztitel"/>

<param name="TITLE_CATEGORIES" value="<SAP_BW_TEXT PROGRAM=’ZHTML_TEXTE’ KEY=‘001’>"/>

<param name="TITLE_VALUES" value="<SAP_BW_TEXT PROGRAM=’ZHTML_TEXTE’ KEY=‘002’>"/>

<param name="TITLE_SEC_CATEGORIES" value="<SAP_BW_TEXT PROGRAM=’ZHTML_TEXTE’ KEY=‘003’>""/>

<param name="TITLE_SEC_VALUES" value="<SAP_BW_TEXT PROGRAM=’ZHTML_TEXTE’ KEY=‘004’>""/>

ITEM: CHART_1

</object>

Kind Regards,

Alican

michael_koch9
Active Participant
0 Kudos

HI,

Alican´s method is the same as when enter the code directly into Chart Wizard:

in the certain text fields.

Regards Marcus