cancel
Showing results for 
Search instead for 
Did you mean: 

How to filter check box values in WAD.

raju_kota
Explorer
0 Kudos

Hi Gurus,

In my WAD i am having check box and the object name is defined as 0SEM_CGCOMP, it is a master data info object and having values like CG1,CG2,CG3....CG10. But i want to restrict the values to CG1,CG2,CG3,CG4 only. how can i filter the values?

</object>

</td>

<td class="SAPBEXHLevel2"><object>

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

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

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

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

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

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

<param name="BORDER_STYLE" value="NO_BORDER"/>

<param name="WIDTH" value="240"/>

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

<param name="IOBJNM" value="0SEM_CGCOMP"/>

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

<param name="TARGET_DATA_PROVIDER_1" value="DP_1"/>

<param name="HORIZONTAL_NUMBER" value="5"/>

ITEM: CKBOX_CONS

</object></td>

Thanks

Raju.k

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Raju,

Try this. Create another dataprovider within your web template? This new dataprovider refers to a similar query, but this query definition should restrict values CG1, CG2, CG3 and CG4. Assign this dataprovider to your checkbox. Then make sure the properties of the checkbox affect all other dataproviders.

Also, if this list is static, you could create an HTML checkbox object coding the options (cg1, cg2, cg3, and cg4) programmatically. Then add javascript code to produce the proper filtering based on the users' selections.

Let me know what happens.

Larry