cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Variable for an Attribute

Former Member
0 Likes
740

Hello,

Good Morning to all,

In a query a attribute is defined for an Infoobject. In the output, i am getting zero values along with values for that attribute.But i want to display only the values other than zero. If it is possible at the query level please provide me the solution.

Thanks in Advance

Regards,

Siv

View Entire Topic
Former Member
0 Likes

hai,

If u are using the webapplicationdesigner then u can use this script restrict it....

<script type="text/javascript" >window.onload=function() { var Elements=document.getElementsByTagName('td'); for(var i=0;i&amp;lt;Elements.length;i++){if(Elements<i>.innerText=='0'){Elements<i>.innerHTML=' ';Elements<i>.style.whitespace='nowrap';}}}</script>

Thankz & regards,

Prakasu.m

Former Member
0 Likes

Thank you replay. But i am not using WAD,

Former Member
0 Likes

Hi Siva,

Go to the query properties,

If Ur 3.5 in display tab page you can find suppress zeros,

If ur in bi 7 ,

Form rows and columns tab,

U an find suppress zeros,

According to Ur requirement choose the option.

Hope it helps.

Cheers!!

Srinath

Former Member
0 Likes

I did it. But same result.

Former Member
0 Likes

right click on ur structure name in columns or rows whereever u have used, if no structure, right click on key figures and check - Also use zero suppression for Structure elements

Former Member
Former Member
0 Likes

It is not a Key figure. I query i took attribute ( Not an Char or Keyfigure) of an infoobject.

Former Member
0 Likes

u mean to say ur attribute value is zero?

Former Member
0 Likes

Yes, the value of attribute is zero.

Former Member
0 Likes

u can restrict an attribute for values only if it is navigational.. and if it it available in the data target as navigational attr.. otherwise you wont be able to restrict the attribute values..

*helpful answers deserve some points*

Former Member
0 Likes

But it is an display attribute