on 04-18-2008 10:58 AM
Hi,
In 3.5 WAD we can create a form for 2 dropdown buttons using the following code
<form name="form_1" method="post" action="<SAP_BW_URL DATA_PROVIDER='DATAPROVIDER_1' FILTER_IOBJNM_1=MYOBJ_1 FILTER_IOBJNM_2='MYOBJ_2'>">
<select name="FILTER_VALUE_1" size="1">
<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="MYOBJ_1">
<param name="ONLY_VALUES" value="X">
ITEM: DROPDOWNBOX_1
</object>
</select>
<select name="FILTER_VALUE_2" size="1">
<object>
<param name="OWNER" value="SAP_BW">
<param name="CMD" value="GET_ITEM">
<param name="NAME" value="DROPDOWNBOX_2">
<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="MYOBJ_2">
<param name="ONLY_VALUES" value="X">
ITEM: DROPDOWNBOX_2
</object>
</select>
<input type="submit" value="Submit ">
</form>
Is there any command to create the form .How can we create a form in WAD 7.0
Thanks
Sany
Edited by: Sany on Apr 18, 2008 12:21 PM
Hello Sany,
Try creating a dropdown with javascript. It is quite easy to tanmper the script rather than from WAD.
Here is an ex :
<select name="SelectOptions">
<option value="A">ORDERS</option>
<option value="B">SALES</option>
<option value="C">PROFIT</option>
</select>
Regards,
Sunitha R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunitha,
I have 2 drop down boxes in my template ,generally as soon as we select some value from the drop down box the template gets executed but my requirement is such that after selecting the values from 2 drop down boxes and when I click on the button submit my template should get executed
Eg:- I have the dropdown box for characterstic Region and other dropdown for the characterstic Industry
Generally for example I select the value Region = APJ from 1st dropdown my template gets executed
But what I need is after selecting the value for Region = APJ and Industry = Banking and then click on submit button then my template should get executed based on the filter values selected
Sany
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.