Skip to Content
author's profile photo Former Member
Former Member

CL_RSR_WWW_ITEM_FILTER_DDOWN

Hi folks !

Is it possible to get a filter value of one DropDown Web Template Object ? (With Service help ou Modify Class)

Item Class = CL_RSR_WWW_ITEM_FILTER_DDOWN

Tks a lot,

Bueno

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jun 14, 2005 at 06:58 PM

    Hi,

    You can get the value of one dropdown object with javascript as shown,

    <script language="javascript">

    SAPBWAddToMenu("OPEN LINK",

    "popURL",

    "1",

    "CHARACTERISTIC_VALUE",

    "ZCRMURL",

    "X",

    "BOTTOM",

    "DATAPROVIDER_1",

    "TABLE_1");

    function popURL(parameter,cell_type,filter,parameter1,parameter2,item,dataprovider,x,y){

    var indx;

    var found;

    switch (parameter){

    case "1":

    for( indx = 0; indx < document.URL.selected.length; indx++) {

    if( document.URL.selected.options[indx].value == parameter1) {

    found = true;

    break;

    }}

    if( found == true ){

    window.open( "http://" + document.URL.selected.options[indx].text + "/",

    "URL",

    "toolbar=yes, directories=no, location=yes, status=yes, menubar=yes,resizable=yes, scrollbars=yes, width=900, height=600");

    }

    }}

    </script>

    <span style="DISPLAY: none; VISIBILITY: hidden" id="Values">

    <form name="URL" style="VISIBILITY: hidden">

    <select name="selected">

    <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="DATAPROVIDER_1"/>

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

    <param name="IOBJNM" value="ZCRMURL"/>

    <param name="BOOKED_VALUES" value="Q"/>

    <param name="MAXVALUES" value="100"/>

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

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

    ITEM: DROPDOWNBOX_1

    </object>

    </select>

    </form>

    </span>

    Hope this helps

    Arun

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Arun I'll try this. But I think I need something more easy.

      Because we have in our query the infoobject 0PLANT, and one DropDown with 0PLANT.

      I'm trying to see with MODIFY_CLASS the values of 0PLANT.

      For now, I'm testing your script.

      Hugs !!

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.