Skip to Content
avatar image
Former Member

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

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 02, 2017 at 06:43 AM

    Hi Varun,

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

    It is updated in new version.

    Thanks,

    Poovarasan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 02, 2017 at 08:36 PM

    HI ,

    there is no such API we have only HIDE and SHOW

    is there any way where we can make mandatory

    Thanks,

    varun

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 03, 2017 at 03:28 PM

    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

    Add comment
    10|10000 characters needed characters exceeded