cancel
Showing results for 
Search instead for 
Did you mean: 

Creating form in WAD 7.0

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

HI Sunitha,

This is possible in WAD 3.5 but I am using the new version WAD 7.0.WAD 7.0 does not support Javascript

Former Member
0 Kudos

Hello Sany,

Yes, WAD 7.0 doesn't support javascript. What is your exact requirement?

Regards,

Sunitha

Former Member
0 Kudos

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