Quantcast
Channel: SCN : Popular Discussions - SAP Business Explorer (SAP BEx)
Viewing all articles
Browse latest Browse all 966

Set Scaling Factor by URL Command

$
0
0

Hi All,

 

I try to set the scaling factor of a structure member by URL Command. The solution is based on the example for the NO_OUTPUT Parameter of help.sap.com.

 

If I debug the java-script function all variables are correct. The generated URL is also sent to the the WAS. But the scaling factor does'nt change. Below you see the essentials parts of the source code. Any ideas?

 

Thanks allot

Andy

 

 

function set_scaling()

   {     

    i=1;          

    var optionnode=window.document.getElementById('structures').firstChild;

    while (optionnode!=null&&i<=4)

       {

        i=i+1;

        if((optionnode.nodeType=='1')&&(optionnode.nodeName=='OPTION'))

             {

             kyf=optionnode.getAttribute('value');

             if(kyf!='!ALL')

                  {

                   

SAPBWOpenURL(SAP_BW_URL_Get()'&CMD=SET_VALUE_PROPERTIES&STRUCTURE_MEMBER_1='kyf+'&SCALING_FACTOR=1');

 

       }

               }

              optionnode=optionnode.nextSibling;

 

         }

        url=SAP_BW_URL_Get();

        SAPBWOpenURL(url);

}

 

 

</script>

 

 

 

 

 

<P id="structures" >

<object>

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

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

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

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

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

         <param name="GENERATE_CAPTION" value=""/>

         <param name="IOBJNM" value="12ZNR9A0I26MSCTRWSSRG8LO8"/>

         <param name="SHOW_LABEL" value=""/>

         <param name="ONLY_VALUES" value="X"/>

         ITEM:            DROPDOWNBOX_1

</object>

</P></td></tr>

</table>

</td></tr></table>

<A href ="javascript:set_scaling()">Set Scaling factor</A>


Viewing all articles
Browse latest Browse all 966

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>