cancel
Showing results for 
Search instead for 
Did you mean: 

Increasing the number of displayed lines on a single document web item

Former Member
0 Kudos

The standard single document web item has a default maximum number of displayed as 25. We have been trying to increase this without changing the SAP standard objects.

In the class CL_RSR_WWW_ITEM_DOC there is a parameter used called MAX_TEXT_LINES for this purpose but I am having trouble getting a value in there. I have tried adding the parameter in the HTML of the web template but no success.

We are running BW 3.5 stack 11 with BI Content 3.5.2 stack 4

Any ideas on how to pass through a value for this parameter?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try to use the WebItem Parameter "MAX_TEXT_LINES":

<object>

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

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

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

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

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

<b><param name="MAX_TEXT_LINES" value="50"/></b>

ITEM: DOCUMENT_1

</object>

Former Member
0 Kudos

Thanks for the suggestion but that is what we have been trying. However, when the method RENDER_TEXT_INPLACE runs the parameter is not in the table P_Ts_PARAMETERS.

Do you know why this is or how to get it in there?

Answers (0)