WEBI prompt based on bex variable suppress not assigned hashtag value in LOV

Hi,
is it possible to suppress the "Not assigned (#)" value from the list of values in a webi prompt based on a bex variable?
This "Not assigned" value is something BW specific, BW adds this to each characteristic automatically?!
WEBI:
RSRT:
It needs to work in WEBI, not only in RSRT, and the filtering of data still needs to work.
For rsrt it works, when you exclude the not assigned value in "Filter > Characteristic Restrictions" and use the bex variable in/through "Filter > Default Values", but this does not work in WEBI, because the BEX Query Data is not filtered on the in the prompt selected value.
Thanks.
Regards
David

Thanks David for a quick reply !
I could manage to avoid # values in WebI prompt using BAdI implementation, here is the brief:
Problem:
WebI report prompt (which shows BEx variable) list of values shows blanks or # . Rrequirement was to avoid these blanks or #
Environment:
BW 7.3
BO 4.0
BW Cube > BEx Query > OLAP Connection > WebI report
Solution:
InfoObject Level1 in BW had # values in masterdata, this could not be deleted since it was in use with other Cubes.
Vaurable Var_Level1 displays # when pressed F4 running BEx query and in list of values in WebI report prompt.
I implemented BAdI on Level1 info object and variable Var_Level1.
Steps to implement BAdI are as in following link
BEx Query - Control the values which are shown on F4
Used following code to elimitate #.
METHOD IF_RSR_VARIABLE_F4_RESTRICT~GET_RESTRICTION_FLAT.
DATA: l_s_range     LIKE LINE OF c_t_range.
DATA: l_var_range   LIKE LINE OF i_t_var_range.
DATA: IT_MZLEVELS TYPE TABLE OF /BIC/MZLEVELS,
WA_MZLEVELS LIKE LINE OF IT_MZLEVELS.
DATA: L_ZLEVEL1     TYPE /BIC/OIZEVEL1.
  IF i_vnam EQ 'ZV_LEVEL1'.
SELECT /BIC/ZLEVEL1
FROM /BIC/MZLEVELS
INTO CORRESPONDING FIELDS OF TABLE IT_MZLEVELS
WHERE OBJVERS       = 'A'.
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
SORT IT_MZLEVELS BY /BIC/ZLEVEL1.
DELETE ADJACENT DUPLICATES FROM IT_MZLEVELS COMPARING /BIC/ZCLV1GP.
DELETE IT_MZLEVELS WHERE /BIC/ZLEVEL1 = ''.
l_s_range-iobjnm = i_iobjnm.
l_s_range-sign   = 'I'.
l_s_range-option = 'EQ'.
LOOP AT IT_MZLEVELS INTO WA_MZLEVELS.
l_s_range-low    =  WA_MZLEVELS-/BIC/ZLEVEL1.
APPEND l_s_range TO c_t_range.
ENDLOOP.
ENDIF.
ENDMETHOD.

Similar Messages

  • Webi SelectionScreen based on BEx variable doesn't display dates correctly

    Hi,
    BEx query has a date variable. When this BEx query is executed in BW, the date variable shows a calendar in F4 selection screen.
    Webi is built based on this BEx query which is using the BEx date variable. When Webi is executed, in the selection screen, list of dates are displayed instead of a Calendar. Also, the list doesn't not contain all the dates.
    Please suggest how to get the calendar in the Webi Selecton Screen for Date field or atleast suggest how to get list of all dates in the webi selection screen.
    Thanks,
    Sai.

    Hi,
    Use this
    <FILTER KEY="ZV_DATE"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date (Previous Day)','D',,mono,free )"/></CONDITION></FILTER>
    - Changed 'A' to 'D' to set from Alphanumeric to Date (might give prompt in date format and calendar option)
    - Removed the reference to the LOV (which i think would remove the reference to getting values from BW)
    - Changed primary_key to free (which i think would allow the user to enter values themselves)

  • WebI report based on BEx query in Live Office document

    Hi
    We have a BEx query in BW that has one input ready variable (period). Then we have created a WebI report based on this BEx query (the WebI report itself does not have any prompts). When we run the WebI report we get asked to enter a value in the BEx variable (remember: this is not a WebI prompt). Until this stage everything works fine. Then we have created a Live Office document and added the WebI report. When we refresh the Live Office document, the BEX variable is not shown. The data that is retrieved is from the last time the WebI report run. The refresh option is set to u201COn demand: From the databaseu201D.
    Is there a way to get the BEx variables to be shown when refreshing the Live Office document? Remember, we do not use WebI prompts.
    We use BW 7.3 and BO BI 4.0.
    Kind regards
    Erik

    Hi,
    Unfortunately, this feature has not been developped the BICS connectiviy. It is only available for manda
    tory prompts based on universe. Others have noted the same problem, so there is an enhancement request for the feature to be available using BICS connection in the "Ideas Place".
    Use the link to vote for the idea, more votes gives a better chance that this will be picked up for development.
    [LifeOffice idea|https://cw.sdn.sap.com/cw/ideas/4094]
    Thanks,
    Marianne

  • BO BI 4.0: WebI report based on BEx query (OLE DB enabled)

    Hi Experts
    We are trying to create WEBI reports based on BEx queries, but we are experiencing some issues. We have created two BEx queries og two separate multiproviders and opened them for external use but checking the OLE DB enable checkbox. In WebI we are now only able to use on of the queries as a data source (even though both are OLE DB enabled).
    Are there any limitations to which multiproviders that can be used to create BEx queries for WebI reports?  
    We are using BO BI 4.0 and BW 7.0 SP 5.
    Kind regards
    Erik

    Hi again Henry
    We use BW 7.01 Support package 5 (we know it should have been at least 6), SAP GUI 7.20 patch 9, BEx 7.2 patch 6 and BO 4.0 patch 11.
    The BW user that is synchronized to BO has almost all rights (almost sap_all). When we log on to BEx directly with the same user we use in BO, we are able to run both BEx queries without any problems. When we then log on to BO (with the same user), we are only able to use on of the queries in WebI.
    As you say, we have to following setup:
    -     BO users are synchronized from our BW system and when they log on to BO they use the SAP authentication.
    -     The user that is synchronized from BW has been added to the Administrator group in BO  
    -     The OLAP connection is set to SSO so that the authorization in the BW system is used.
    It is really strange that we are not able to use on of our multi providers in BW in WebI. As you say, we just need to try debugging with changing the authorization concept, changing the OLAP connection setup and so on to see if that helpsu2026
    Kind regards
    Erik

  • ProcessdpCommandEx error when adding or removing object from WebI report (based on BEX query) query panel object list

    Hi,
    We have WebI reports build on BEX using BAPI connectivity. When we are trying to add a object in query panel in a existing report we are getting this ProcessdpCommandEx error. But error does not appear when we add at the end of the list of objects already added.
    Can you calrify whether this could be some setting issue or it is a known bug?
    Can you share SAP Note No in case it is a known bug?

    Hi Avijit,
    This error occurs in case of any failure in the connectivity. It is like the data providers are not getting processed.
    You have mentioned that the issue does not come with newly created reports
    Are you creating new reports on migrated universe or a newly created universe?
    If issue only comes with migrated universe, please check if the connection has been migrated properly and required middleware and database connectors are in place.
    If connections are in place, try importing and exporting the universe once and check.
    In case, new report works fine with migrated universe, then you can simply try to re-point the universe by editing the query and can run it again and check.
    Regards,
    Yuvraj

  • Default value for variable are not within permitted value range (precalc)

    Hello BW community
    Issue:
    I have created a variable (Characteristic Value/ Manual input-default value) and use the precalculated value set (details-basic settings). In the further variable definition I could select the  precalculated value set in 'Default values', which I have defined beforehand in the broadcaster..
    The precalculated value set in the broadcaster settings is just based on a master data query on 0CUSTOMER.
    Error:
    The variable gets the error E991/R9E Errors: Default values for variable 'XXX' are not within permitted value range.
    The detail description of the error is: You defined default values for variable 'Sold-to party precalc value set for manuel input' that are not appropriate for the variable type; for example, a range is defined as a default value for a variable that only permits a single value.
    So please has someone had the same issue and found out how to solve it? It would be excelent to get good solution for this issue.
    Best regards and thanks
    Christian
    PS-1: System BW 701 / SAPKW70105
    PS-2 : there has been a SDN entry with the same topic but not resolved too.
    link: /thread/980839 [original link is broken]

    Hello,
    Thanks for your response.
    I should have mentioned that in my post. I tried this very first time. I thought that this is the place where you provide default value. But I got following exception at that time, so I thought, may be this is used for something else.
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.faces.FacesException: javax.servlet.ServletException: OracleJSP error:
    oracle.jbo.NameClashException: JBO-25001: Object viewAllInd of type Control Binding Definition already exists.
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)Do I need handle something else when you put the default value?
    Thanks,
    Jai

  • Fill BEx Variable with more than one value via Custom Exit

    Dear SDN comunity,
    I want to fill a BEx Variable via a custom exit. My problem is, I don't know how to fill this variable with more than one value.
    I try to give you some background info based on an exaple:
    <u><b>Variable-Details</b></u>
    <b>Type of Variable:</b> Characteristic Value
    <b>Variable Name:</b> ZCCD
    <b>Description:</b> Company Code Selection
    <b>Processing by:</b> Custom Exit
    <b>Characteristic:</b> Company Code
    <b>Variable Represents:</b> Multiple Single Values
    <u><b>This is the used ABAP code:</b></u>
    WHEN 'ZCCD'.
    CLEAR l_s_range.
    l_s_range-low = '2002;2004'.
    l_s_range-sign = 'I'.
    l_s_range-sign = 'EQ'.
    APPEND l_s_range TO e_t_range.
    <u><b>The system returns this message:</b></u>
    Value "2002;2004" is too long for variable ZCCD
    appreciate your help!
    //michael

    Eugene, Marcus
    it works now, thx a lot!
    Please find attached the final code:
    CLEAR l_s_range.
    l_s_range-low = '2002'.
    l_s_range-sign = 'I'.
    l_s_range-<b>opt</b> = 'EQ'.
    APPEND l_s_range TO e_t_range.
    CLEAR l_s_range.
    l_s_range-low = '2004'.
    l_s_range-sign = 'I'.
    l_s_range-<b>opt</b> = 'EQ'.
    APPEND l_s_range TO e_t_range.
    (Delta to Marcus's code is bold)

  • Urgent Help plzzzzzzzzz Hierarchy in Bex displaying like Not Assigned Mater

    Hi Experts,
    plz solve my problem like displaying Hierarchy in Bex ,
    I loaded hierarchy from R/3 system into Bw 0Mterial.
    In Bex 0material Properties I Selected heirachy on Material , this heirarchy having 8 levels,
    but in the out put it showing only one level displayng
    like Not Assigned Material.
    i did all the bex setting well, but i dnot know why i am getting this ...
    plz any one help..
    Thanks in advance
    Anil

    Hi Anil,
    Your query is built on an infoprovider, right? The way the hierarchy is displayed depends on TRANSACTION DATA IN INFOPROVIDER. To display the hierarchy normally you need to have in the provider not blank values of the characteristics you used in the query and not blank material code. Unassigned node means that this requirement doesn't met.
    If would be much more useful if you describe what you have in the query and what - in the provider.
    Best regards,
    Eugene

  • Global variable are not assigned to other files

    Hello
    I have defined & assigning some values to Global files in one of the project files, But the same i am not able to read in other files of the same project.
    i have defined as  'extern int  x ' in one file  & also called in other file by defining 'extern int  x'
    let me know if you more info needed
    Hussain

    Hello
    I am trying to implement this in my program .. but assigning the Global variable is not working 
    NOTE: I am using LABWINDOWS CVI 5. (Old version)
    /////***Test 1 contents****///
    extern ViInt32 A= 0;   // Assigning  ‘0’  to Global variables 
    extern ViInt32 B= 0;
    extern ViInt32 C= 0;
    extern ViInt32 D= 0;
    if (revision = =1)
    A=Confirm Popup (“Verifiy”,"Does this unit also have hardware A”);
    ///*** end of Test 1 ***//
    If I am trying the access above global variable to Test 5 or some other test program within same project
    /////***Test 5 contents****///
    If (A)
    printf (“the Hardware mod is REV A”);
    Else
    Printf(“NO Hardware mod find”);
    //*** end of Test 5 ***//
    Now the query is whichever option (YES OR NO) in the confirm POPUP in Test 1. I am getting the output: “NO Hardware mod find”
    The reason is the Global Variable is not passing.  

  • Netweaver 04s F4 on Fiscal Year / Period Variable does not retun any value

    Netweaver 04s
    F4 on Fiscal Year / Period Variable does not retun any list. When I tried to run the same query in RSRT, It gave a screen where it stopped at a break point.
    62     *_____________________________________________________________________
    63
    64     *              error in >> l_repid       <<
    65     *                       >> l_include     <<
    66     *                       >> l_source_line <<
    67     *__________________________^^^^^^^^^^^^^^_____________________________
    68                 BREAK-POINT.                                   "#EC NOBREAK
    69                 l_message = rs_c_true.
    70               ELSE.
    71                 CALL FUNCTION 'RRSV_SYSTYPE_GET'

    Press F5 after that..lets see wat happens to it.
    and tell wat value is there in your 0FISVARNT infoObject.
    Regards,
    San!

  • How to build an URL to filter a variable with the # (Not Assigned) as value

    Hello Gurus,
    We need to build the URL that is calling a query with a filter value = #.
    We need to query only those records that have "Not Assigned" in a particular Infoobject.
    Example of our URL: that is not working
    http://ustwa427.xxx.com:8000/sap(bD1lbiZjPTQwMA==)/bc/bsp/sap/zlabw_tempos/main.htm?INFOCUBE=CRMLORSLM&QUERY=ZCRMLORSEL_SELLOUTMT_Q006&VAR_NAME_1=L_TOSALE&VAR_NAME_2=ZLOBWCTY&VAR_NAME_8=0S_MAT&VAR_NAME_9=0S_MAT&VAR_OPERATOR_2=EQ&VAR_OPERATOR_8=EQ&VAR_OPERATOR_9=EQ&VAR_SIGN_2=I&VAR_SIGN_8=I&VAR_SIGN_9=I&VAR_VALUE_EXT_1=3&VAR_VALUE_LOW_EXT_8=000000000030002200&VAR_VALUE_LOW_EXT_9=#&VAR_VALUE_LOW_EXT_2=CR
    You can see in VAR_VALUE_LOW_EXT_9 that we are asking for the Not Assigned values with #.
    Any suggestions?
    Regards,
    Andrea.

    Hi,
    finally we found the way, is with %23.
    So the URL is :
    http://ustwa427.xxx.com:8000/sap(bD1lbiZjPTQwMA==)/bc/bsp/sap/zlabw_tempos/main.htm?INFOCUBE=CRMLORSLM&
    QUERY=ZCRMLORSEL_SELLOUTMT_Q006&
    VAR_NAME_1=L_TOSALE&
    VAR_NAME_2=ZLOBWCTY&
    VAR_NAME_8=0S_MAT&
    VAR_NAME_9=0S_MAT&
    VAR_OPERATOR_2=EQ&
    VAR_OPERATOR_8=EQ&
    VAR_OPERATOR_9=EQ&
    VAR_SIGN_2=I&
    VAR_SIGN_8=I&
    VAR_SIGN_9=I&
    VAR_VALUE_EXT_1=3&
    VAR_VALUE_LOW_EXT_8=000000000030002200&
    VAR_VALUE_LOW_EXT_9=%23&
    VAR_VALUE_LOW_EXT_2=CR
    Regards,
    Andrea.

  • AE CC 2014 - Wiggle Expression not assigning similar values on scale

    So I've just noticed that the wiggle expression no longer works how it used to. I found a released article explaining changes in the Noise Algorithm used for the wiggle expression what’s new and changed in the 2014 update to After Effects CC  |  After Effects region of interest and am referring to the "fixed bug in implementation of Perlin noise algorithm" section.
    I'm not sure if this is what's causing the issue but let me explain.
    I'm just adding a wiggle expression on to an object's scale.
    wiggle(5,50);
    This would normally scale the object's parameters with the same value. so it would be (100,100) to (125,125) and so on.
    Now however with CC2014 the expression is assigning different values to each value so getting (125, 115) or something even if the 'constrain proportions' button is enabled.
    So I tried to trick it:
    temp=wiggle(5,50);
    [temp[0],temp[1]];
    Still got different values even though i'm telling it to insert the same variable?
    temp=wiggle(5,50);
    temp;
    Still got different values... I don't get it can anyone help?

    Try this. Add an expression control slider to the layer with the following expression:
    wiggle(5, 50)
    Then add this expression to your scale property:
    w = value[0] + effect("Slider Control")("Slider");
    [w, w]
    The problem exists because wiggle will act on all of the values in the array of the property you have selected independently. so you have to set up something with only one value like an expression control slider.

  • BC installed BEx Variables are not visible in Query Designer

    Hello,
    I have installed SAP Exit BEx Varibales from Business Content (0P_KEYDT, 0P_KEYD2 and 0P_KEYD3)
    sucessfully.
    But when I am not able to see these variables in the Query Desginer ( Need to restirct these on Net Due Date, Posting Date).
    Please advise me on this.
    Thanks,
    Geetha

    Are you sure you have the characteristics on which these variables are defined  y SAP are in your data target?
    Pl check this out. Alsso, sometimes, if you log out and get back, it may help.
    Ravi Thothadri

  • Calendar Year variable is not showing listed values

    Hi,
    I have a query which I am running based on the standard variable ( 0CALYEAR ) input. When I run first time it shows the list of values in the selection editor and displays the result. But after executing when I am trying to change filter values in the output, it doesn't show list values as well if I enter manually, I am not getting the result. I am getting out put no data available....
    I created new variables on 0CALYEAR info object, but same problem. My query structure is
    In rows I just defined Calendar Year / Month ( so that I can get all months for that user entered Year ).
    In Columns I defined one Key Figure.
    Thanks
    Ganesh Reddy.
    Edited by: Ganesh Reddy on Mar 8, 2012 8:39 AM

    Problem is resolved my self. Removed 0CALYEAR from Char Restrictions to Default.
    Thanks
    Ganesh Reddy.

  • How to verify that the variable "does not contain" a value?

    Hi
    I am using CP 7.0.1.237.
    We want to use Text Area widget for a custom quiz and verify an answer. While we figured out how to verify the existence of certain keywords, we are not able to figure out how to verify that the content should NOT contain certain keywords. For example, we want to ensure that the text entered in this widget should not contain "Transformation" and "Non-compliant".
    Is this possible at all?
    Thanks
    Sreekanth

    Here's what the solution might look like in JavaScript.  This would be for SWF output and aimed at Cp 7.  For Cp 8, this would still work for SWF output, but you'd probably want to take advantage of the new unified JS API that gets and sets Cp variables for both SWF and HTML5 output.  You can read more about that here:  Common JS interface
    //Get the text area value from Captivate (SWF output Only)
    var cpTextAreaValue = document.Captivate.cpEIGetValue('m_VarHandle.v_TextArea);
    //convert the value to lower case to properly compare
    cpTextAreaValue = cpTextAreaValue.toLowerCase();
    //Check if text area value contains the words "transformation" or "non-compliant"
    if(cpTextAreaValue.indexof('organizational') > -1 && cpTextAreaValue.indexof('behavioral ') > -1 && cpTextAreaValue.indexof('managerial') > -1 && cpTextAreaValue.indexof('transformation') < 0 && cpTextAreaValue.indexof('non-compliant') < 0){
      //the text area has the correct answer so increment varScore
      //get the current score from Captivate
      var score = document.Captivate.cpEIGetValue('m_VarHandle.varScore');
      //increment score by 1
      score++;
      //set score in Captivate
      document.Captivate.cpEISetValue('m_VarHandle.varScore', score);
    } else {
      //the text area does not have the correct answer so show message to user inside of Captivate
      document.Captivate.cpEISetValue('m_VarHandle.v_message', 'Answer is not correct');
    This JS has not been tested.  Note that the "does not contain" operator is done using the "indexof" operator in JS. 
    Jim Leichliter

Maybe you are looking for

  • Flash player problem on dailymotion

    Hi I'm using the flash player version 11.8.800.94 on firefox on window 8. Starting from a few days ago, while watching videos on dailymotion, after the video played for some time, the whole video will just freeze up, but the timeline is still running

  • Was the Smart Playlist podcast order bug on iPod nano fixed in iTunes 11

    iTunes 9 broke the order in which Smart Playlists play podcasts in on the Nano.  See "Smart Playlist order not respected on ipod nano after upgrade to iTunes 9" (https://discussions.apple.com/thread/2154509).  Has this been fixed in iTunes 11?

  • Regarding division and megadivision of infotype 1

    Hi Experts, I need to rename existing megadivision to something else, can you please tell me how to do that and where i need to do the changes. Also i need to create new division, so please tell me how to do that ?? Thanks.

  • VAT code with 4 decimals

    Hello, Please, Is it possible to create a VAT code with 4 decimals? (exe: 9,5234%) And how can I customize it ? Thanks,

  • ACCTIT Tables in Oracle

    Hello, Our ACCTIT table is very large and we are researching if we can deactivate it per Notes 178476 and 48009.  What are some (functional) things that were researched to determine whether they were needed or not?  Note 178476 lists a few questions