Skip to Content
0

How to show pop for empty value in Filter panel (DS 1.6)

Feb 01, 2017 at 05:23 PM

123

avatar image
Former Member

HI Experts,

searched blogs before posting

https://archive.sap.com/discussions/thread/3756453

https://archive.sap.com/discussions/thread/3767941

We have Requirement in Filter panel if one dimension (Project no in below) is not selected then user need to see POPUP basically we need to make mandatory

i tried in a Following way but no luck

any help would be really appreciated

var a1= DS_1.getFilterExt("0PROJECT");
if(a1== " ")
{
POPUP_1.show();
}
else
{

vhw1m.png (5.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

avatar image
Former Member Feb 02, 2017 at 06:43 AM
0

Hi Varun,

Can you try code POPUP_1.open(); instead of POPUP_1.show();

It is updated in new version.

Thanks,

Poovarasan

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 02, 2017 at 08:36 PM
0

HI ,

there is no such API we have only HIDE and SHOW

is there any way where we can make mandatory

Thanks,

varun

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Feb 03, 2017 at 03:28 PM
0

Hi varun,

You are checking the filter value in the datasource assigned to the filter panel right.

Are you using auto apply option in filter panel?

If not the filter will not be applied, So your condition will not work.

Because there will not be any filter applied in it.

If you are checking filter value on chart or crosstab datasource that you are filtered, please check if there is any filter applied by default to it.

Thanks,

Poovarasan

Share
10 |10000 characters needed characters left characters exceeded