Excluding a fixed value with variable defined

Hi
In Bex report , a variable is defined already.
Now the requirement is to exclude (FIXED VALUE) i.e batch with value #.
if using the restrict option of this charactersitic, i am not able to select both fixed value(which is to be excluded)  and the variable (already defined) simultaneously.
Message is coming as variable is complex...so cannot select both FIXED VALUE and FIXED VALUE)
Please suggest a solution
Regards
DJ
Message was edited by:
        Vidyut Kichambare

Vidyut,
It seems to work fine for me - select the variable you want and also the fixed value you want to exclude and it should work fine.
select the variable and then go to the fixed values tab and select the value you want to exclude and select it and do an exclude on the same - ideally when you select a value using a variable - the # would get automatically excluded - not sure why you want to exclude # along with the variable.
Arun
Assign points if useful

Similar Messages

  • LSMW  - Maintain Fixed Values, Translations, User-Defined Routines

    Hi all,
    I know a little about LSMW.I can perform all the steps and I have uploaded from flatfile to standard tables for transaction XK01. I just want to know what we can perform in sixth step.If I want to write a user defined routine how can I do that ? Can anyone explain me with a simple example and detailed description.
    Regards,
    Vijay.

    hi, you means the 'Maintain fixed values, translations, user-defined routines'.
    You can definite some fixed values and translations rule in this step.
    And go back to the 'Maintain field mapping and conversion rules' steps.
    You can utility these pre-defined in the data mapping.
    E.G.
    You defined a fixed valued name 'BUKRS'
    Through click the button in the application bar in step 5,
    you can use a FV_BUKRS in data mapping.
    FV_BUKRS is the name of the fixed value name in data mapping.
    thanks

  • Query with variable defined date no idea how

    Hello to all,
    i have a problem with a query, in this query i need a variable date that can be entered in the SQL statement.
    If the CREATE TABLE and INTO Values are needed, they can be found here:
    Re: Need Help with complex query for productio database
    with t2 as (
                select  t.*,
                        lead(step_date) over(partition by order_nr order by step_date) next_step_date
                  from  table_2 t
    select  t1.*,
            nvl(
                max(
                    case t2.wo_step
                      when 'U' then t2.step_date
                    end
               sysdate
              ) - t1.create_date age_1,
            nvl(
                max(
                    case t2.wo_step
                      when 'R' then t2.step_date
                    end
               sysdate
              ) - t1.create_date age_2,
            sum(
                case
                  when t2.wo_step in ('B','5') then t2.next_step_date - t2.step_date
                end
               ) step_b_5,
            sum(
                case t2.wo_step
                  when 'C' then t2.next_step_date - t2.step_date
                end
               ) step_c,
            sum(
                case t2.wo_step
                  when 'K' then t2.next_step_date - t2.step_date
                end
               ) step_k,
            sum(
                case t2.wo_step
                  when 'E' then t2.next_step_date - t2.step_date
                end
               ) step_e,
            sum(
                case t2.wo_step
                  when 'F' then t2.next_step_date - t2.step_date
                end
               ) step_f,
            sum(
                case t2.wo_step
                  when 'S' then t2.next_step_date - t2.step_date
                end
               ) step_s,
            sum(
                case t2.wo_step
                  when 'R' then t2.next_step_date - t2.step_date
                end
               ) step_r
    ,          CASE
                   WHEN      t1.priority = '02'
                   AND          nvl(
                               max(
                                   case t2.wo_step
                                     when 'U' then t2.step_date
                                   end
                                        sysdate
                             ) - t1.create_date >= 5
                   THEN     'FALSE'
                   WHEN      t1.priority = '05'
                   AND          nvl(
                               max(
                                   case t2.wo_step
                                     when 'U' then t2.step_date
                                   end
                                        sysdate
                             ) - t1.create_date >= 8
                   THEN     'FALSE'
                   WHEN      t1.priority = '12'
                   AND          nvl(
                               max(
                                   case t2.wo_step
                                     when 'U' then t2.step_date
                                   end
                                        sysdate
                             ) - t1.create_date >= 30
                   THEN     'FALSE'
                   ELSE     'TRUE'
              END AS "IN MPD"                                  
      from  table_1 t1,
            t2
      where t2.order_nr = t1.order_nr
      group by t1.order_nr,
               t1.priority,
               t1.create_date,
               t1.act_step,
               t1.step_date,
               t1.employee,
               t1.descriptionIn this query i want to replace sysdate with a variable date that i want to define one time, maybe in the first line of the SQL query or one of the Top lines.
    The reason for this is, i want my results to an specific date, well i can change da system time but i want to solve that in the query.
    Or if there is a way to get promted for this variable each time when the qury runs, that would also be fine.
    I tried already DEFINE BEGIN END, but i get only a bunch of errors. I thins i do a basic mistake.
    Thank You all.

    Hi,
    To create and set a bind variable in SQL*Plus, you can do this:
    VARIABLE  base_date_text   VARCHAR2 (20)
    EXEC     :base_date_text := '01-Mar-2013 00:00:00';:base_date_text can now be used anywhere in your query where a string is allowed. Unfortunately, you can't have DATE bind variables, so that means it's only useful in calls to TO_DATE.
    You could calll TO_DATE everywhere you are now calling SYSDATE, or you could do something like this:
    with t2 as (
                select  t.*,
                        lead(step_date) over(partition by order_nr order by step_date) next_step_date
                        TO_DATE (:base_date_text, 'DD-Mon-YYYY HH24:MI:SS')   AS base_date
                  from  table_2 t
               )  ...This adds a column to t2 called base_date, which is a real DATE. Anywhere in the main query, you can reference t2.base_date instead of SYSDATE.
    If you want to be prompted to enter the value at run-time, then you can use SQL*Plus substitution variables, like this
    ACCEPT  base_date_text  "Please enter the date to use (DD-Mon-YYYY HH24:MI:SS format): "
    with t2 as (
                select  t.*,
                        lead(step_date) over(partition by order_nr order by step_date) next_step_date
                        TO_DATE ('&base_date_text', 'DD-Mon-YYYY HH24:MI:SS')   AS base_date
                  from  table_2 t
               )  ...Again, t2.base_date (a DATE) is now available anywhere in the main query.

  • Can I retrieve cursor's value with variable columns?

    I have a loop to check a bunch of columns in a cursor, I'd like to use a variable columns like following:
    cursor cur
    while ....
    loop
    cur.XXX
    end loop;
    here XXX are dynamical generated VARCHAR2.
    Could you please tell me is it possible, or not?
    Thanks alot

    Thanks for reply, first. I have couple of columns like abc_1 to abc_100 in the table, I need to check their value one by one. I want to check them using something like abc_X, in the cursor. my thought is like below,
    while i<= 100
    loop
    cur_name.abc_X
    end loop
    Just replace X with 1 to 100.

  • Assigning value to variable defined as LOCAL in standard program

    Hello Gurus,
    We have a Z function module which gets called via standrad SAP program. Now inside this Z FM we have to code such that it updates an internal table defined via LOCAL in program LQEEMF72 (Main program SAPLQEEM). Is this possible ?
    I tried following :
      DATA gt_qasptab TYPE qaspr OCCURS 0.
      FIELD-SYMBOLS: <qasptab>.
      ASSIGN ('(SAPLQEEM)QASPTAB[]') TO <qasptab>.
      gt_qasptab[] = <qasptab>.
    and at the end
    ASSIGN gt_qasptab[] TO <qasptab>.
    This does not work. How to update the table QASPTAB ?
    Please provide your suggestions ....
    Thanks in advance <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Dec 28, 2007 8:26 AM

    Hi tushar,
    I'm very sorry I can't reallly help you if you don't describe your process at all.
    The include you mentioned is not part of an SAP program but a FORMS include of a SAP function group.
    In this function group QEEM SAP provides lots of userexits:
    EXIT_SAPLQEEM_001 Customer Function for Calculating Formulas in Results Recording          
    EXIT_SAPLQEEM_002 Customer Function: Add. Fns for Importing Insp. Chars in Results Recording
    EXIT_SAPLQEEM_003 Customer Function: Add. Functions After Valuating Insp. Characteristics  
    EXIT_SAPLQEEM_004 Customer Function: Add. Functions After Valuating Partial Samples        
    EXIT_SAPLQEEM_006 Customer Function: Add. Functions After Closing Insp. Characteristics    
    EXIT_SAPLQEEM_007 Customer Exit: Additional Functions After Closing Partial Samples        
    EXIT_SAPLQEEM_011 Customer Function: Add. Functions Before Valuating Insp. Characteristics 
    EXIT_SAPLQEEM_012 Customer Function: Additional Functions Before Valuating Partial Samples 
    EXIT_SAPLQEEM_015 Customer Function: Add. Functions After Entering Individual Results      
    EXIT_SAPLQEEM_020 Customer Function: Additional Functions After Entering Inspector         
    EXIT_SAPLQEEM_021 Customer Function: Add. Functions for User Key +US1 (Char. Single Screen)
    EXIT_SAPLQEEM_022 Customer Function: Add. Functions for User Key +US2 (Char. Single Screen)
    EXIT_SAPLQEEM_023 Customer Function: Add. Functions for User Key +US3 (Char. Single Screen)
    EXIT_SAPLQEEM_024 Customer Function: Add. Functions for User Key +US4 (Char. Single Screen)
    EXIT_SAPLQEEM_025 Customer Function: Add. Functions for User Key +US1 as Pushbutton        
    EXIT_SAPLQEEM_026 Customer Function: Add. Functions for User Key +US2 as Pushbutton        
    EXIT_SAPLQEEM_027 Customer Function: Add. Functions for User Key +US3 as Pushbutton        
    EXIT_SAPLQEEM_028 Customer Function: Add. Functions for User Key +US4 as Pushbutton        
    EXIT_SAPLQEEM_029 Customer-Function for Subscreen Characteristic Overview                  
    EXIT_SAPLQEEM_030 Customer Function for Subscreen Characteristic Single Screen             
    EXIT_SAPLQEEM_031 Customer Function Creating Table with External Numbers                   
    EXIT_SAPLQEEM_032 Customer Function Characteristic Text in Logon Language                  
    Try one of them.
    Regards,
    Clemens

  • Tables for Fiels Fixed Value and Variable Value

    Hi,
    Can any one tell me where the actual fixed and variable costs are stored in which table and also the planned costs. I have checked it, but it is showing RKPLN as data structure. We are doing development report where in standard Cost Center Report we need to have break up of fixed and variable cost. Please guide me where exactly these fields are stored in which table. its very urgent.

    Hi,
    In regard to the tables for planned data please do a search of the forum as this question has already been asked a few times. E.g. here:
    CO PLANNING TABLES
    In regard to fixed / variable actual costs: these are not stored in separate tables. If a posting contains fixed and variable portions, for example postings resulting from splitting (KSS2), then the fixed portion is stored in the COEP- WKFBTR (line items) and COSS-WKF*  fields (summary items).  Please observe SAP note 192107 on this issue.
    Regards
    Karl

  • Select column value with variable

    I want to select some data from tables . For that , i write this procedure :
        create or replace procedure find_and_insert
          colname varchar2(4000);
          var varchar2(4000);
          colval varchar2(4000);
        begin
          colname := 'COUNTRY_ID';
          var := 'select distinct(colname) into colval from HR.countries where colname = '||'AR'||';';
          execute immediate var; 
        end;
    But it can not work . It return 'COUNTRY_ID' into colval , not data of COUNTRY_ID ; Can anyone help me ?

    It is not clear what you are trying to do, but it looks like:
    declare
        v_colname1 varchar2(30);
        v_colname2 varchar2(30);
        v_var varchar2(4000);
        v_colval varchar2(4000);
    begin
        v_colname1 := 'COUNTRY_ID';
        v_colname2 := 'COUNTRY_NAME';
        v_var := 'select ' || v_colname2 || ' colval from HR.countries where ' || v_colname1 || ' = :1';
        execute immediate v_var
          into v_colval
          using 'AR';
        dbms_output.put_line(v_colval);
    end;
    Argentina
    PL/SQL procedure successfully completed.
    SQL>
    SY.

  • WAD - Exclude more than one value with filter button

    Hi guys
    I have been working on a web template with a button to set a filter to exclude two values. E.g. I want to exclude both the values '28' and '30' from the dataprovider.
    What I have done is insert a button group item, create a button with the command SET_SELECTION_STATE_SIMPLE to exclude '28' as command 1 and SET_SELECTION_STATE_SIMPLE to exclude '30' as command 2. This does however not give me the correct result, as it only excludes '30' as set in command 2. So the conclusion must be that SET_SELECTION_STATE_SIMPLE can not be used, as it will only work with one value.
    So I went on and tried with SET_SELECTION_STATE which gives the possibility to choose more than one filter value. However it does not seem possible to exclude values with this command?
    Is it not possible to exclude two filter values with a button in a BI 7.x web template?
    BR
    Stefan.

    Dear Frank
    I did it as like as the following link lead me:
    http://www.oracle.com/technology/obe/obe11jdev/11/adfbc_new_features/adfbc.html
    The problem has been appeared when I attached the "Create" button and when press on it to create new record, then the "LOV" couldn't work correctly.
    Thanks for your reply

  • LSMW: What are Fixed Values and Translations for?

    Hi,
    I'm working with LSMW and I don't know what are Fixed Values and Translations for? They are on the "Maintain Fixed Values, Translations, User-Defined Routines" step.
    Thanks in advance,
    Gerard

    this is the step,we can process the reusable rules of a project.
    <b>Fixed value:</b> Here you can specify length, type, flag for lowercase/uppercase and value in addition to the description.
    this is nothing but CONSTANTS in your report programs.
    <b>Translation:</b> Here you can enter information on the source field and the target field.
    for example, your input file language value will be 2 characters and we need to send only 1 for LANG in SAP.
    so here we have to do the translation of 2chars to 1 char.
    so, we will give these set of values in this step.
    Message was edited by: Srikanth Kidambi

  • How to Validate the Fileds in LSMW - In step 6.   Maintain Fixed Values, T

    Hi
    How to validate the fileds in the LSMW in the step
      6 Maintain Fixed Values, Translations, User-Defined Routnes.
    In this step how to i validate the fileds.
    Please help.
    Regards
    Gangi

    Hi,
    You can validate the fields in the LSMW in field mapping section .
    For example you are loading the BOM using LSMW and you want to validate those material numbers which do not exist in the material master .
    For this purpose write a select statement to check the materials existence like below :
    select single matnr into v_matnr
    from mara
    where matnr = source-matnr .
    if sy-subrc <> 0.
    skip_record. " this statement will skip the record .
    endif.
    To get such statements to handle the records withing LSMW during data transfer .Go to the field mapping step , there in abap conversion routine step
    go to ' INSERT' -> 'GLOBAL FUNCTIONS' -> ( then a pop will open offering various function options for your requirement. ) In fact SKIP_RECORD is also available there .
    reward if it helps...
    Regards,
    Omkar.

  • Prob. in loading data in LSMW at Step6 -Step Maintain Fixed Values, Trans..

    HI ,
    In Step Maintain Fixed Values, Translations, User-Defined Routines
    I am creating Translation which maps Vendor Legacy value to SAP Value but in doing this i am facing problem.
    I am facing problem in uploading theValues from the excel file
    (Converted to a tab delimited fie).
    E.g In My lookup file I have value s as follows
    Legacy Vendor   SAP Vendor
    A101                   100028
    A102                   100029
    When I upload the file the records get duplicated in SAP.
    OLD Value           NEW Value
    A100                     100028
    A100                    100029
    A101                    100028
    A101                    100029
    A102                   100028
    this is happening for few records after few records the values get mapped correctly.
    Please let me know how I can correct the issue
    Thanks
    Nishant

    Solved.

  • Layout with rows defined by variables

    Joint Venture Name is one of our characteristics. We will create a planning layout with two rows, for two different Joint Venture Names selected by the user. The Joint Venture Names should be selected by the user, preferably when opening the layout using a planning folder.
    We are already using variables for making the user select year and period in other layouts. This is easily done by using variables in the planning level (or package) selection. But these values are only a part of the header area in those layouts.
    Variables may easily be inserted in the rows of the layout. The problem is to set their values. The variables are defined as Fixed Value. "Restriction of Value Required by User" is checked. When entering a range in the the Selection Conditions (or nothing), we get an error message when trying to insert the variable into the layout: Variable ASSET1 could not be replaced in row. The problem is we need a single value and not a range. We would like the user to be able to select that single value. Using "Set Variables" doesn't work. We are not allowed to select a value for those variables. No error message though. If we instead enter possible values in the Selection Conditions, one per line, we may use Set Variables to select a single value per variable and then insert them into the layout. The user will then be able to change value later. However, the number of values is large and may change. So adding all possible values is both time consuming to do the first time and to maintain. Any ideas how to avoid this?

    Alrighty! Got it working =]
    onClipEvent(Load){this.mt="Portfolio";
    this.mc=mt // used elsewhere for transition effects
    this.texter.autoSize = "left"
    rt = this.texter.textWidth
    _x=(_root.intro.footer.Home._x)+(_root.intro.footer.Home.rt)+10
    on(rollOver){this.gotoAndPlay(11)}
    on(rollOut){this.gotoAndPlay(1)}
    on(release){
    this.gotoAndPlay(21);
    _root.sectioncontrol.nextsection=mt;}
    What id like to know now if possible, is how to refresh the movie clips?
    In the last "link area" of the lower linkbar I have this line of code to determine the correct placement of the first link area upon which all the rest are aligned
    widther= (_x+((_root.intro.footer.Home._x)*-1)+rt)
    _root.intro.footer.Home._x=(widther/2)*-1
    And that places the "Home" link area in the correct location for what I'm looking for,
    since all of the other areas get their x locations on load, and I dont want them sitting there checking the area every frame, I know there is a "refresh" function, I'd just like to know how to apply it (when placing after the "middle location" code for home) to the rest of the clips =]

  • Range selection for Fix value variable in BPS

    Hi,
       When create vaiable, there is a fix value variable, under selection condition, we can choose either multiple single value or range, however if we choose the range, let say mtareial number from 1 to 100, when we run the BPS application through UPSPL, the value for material variable will be populated with value 1 to 100, when I try to change the value to a single value,it's not allowed me to change,  while the user define value type, we can change the value, Is this supposed to be?

    JW,
    BPS variables does not allow the choice of multiple single values, you can choose a single value OR a range of values. This issues has been brought up with SAP Development.
    If you need single values or a complete range of values, you can add each single value as a fixed value and the range as another fixed value that can be selected. You can select each single value individually or the whole range (or any subranges you specified) but not multiple selections of single values.
    In user definted variable if you check input allowed by users, you can add some values and the users can add more but then they could potentially go into material numbers they should not get access too.
    Hope this helps,
    Mary

  • How to pass session variable value with GO URL to override session value

    Hi Gurus,
    We have below requirement.Please help us at the earliest.
    How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version  Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
    Please provide step by step solution.No vague answers.
    I followed below steps mentioned.
    RPD:
    ****-> Created a session variable called STATUS
    -> Create Session Init block called Init_Status with SQL
        select 'ACTIVE' from dual;
    -> Assigned the session variable STATUS to Init block Init_Status
    authenticationschemas.xml:
    Added
    <RequestVariable source="url" type="informational"
    nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
    Report
    Edit column "Contract Status" and added session variable as
    VALUEOF(NQ_SESSION.STATUS)
    URL:
    http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
    Issue:
    When  I run the URL above with parameter EXPIRED, the report still shows for  ACTIVE only. The URL is not making any difference with report.
    Report is picking the default value from RPD session variable init query.
    could you please let me know if I am missing something.

    Hi,
    Check those links might help you.
    Integrating Oracle OBIEE Content using GO URL
    How to set session variables using url variables | OBIEE Blog
    OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
    Thanks,
    Satya

  • Define Fixed Values for Texts

    Hello,
    Using customizing for text schema, it is possible to define fixed values for texts from SRM document.
    Nevertheless, when you define fixed values for a transaction type, field "Fixed Value for a Text" is a CHAR30 data type.
    Is there a way to add a customer field in order to use it in the drop-down list instead of the standard one ?
    Our aim is to have at header PO level a specific document text and to transmit it to R/3, but those texts can go to CHAR80.
    Previously, i tried to add my specific document text (using a specific search-help) into the text area (in this case, i don't have any fixed values) which is CONTAINER_LONGTEXT.
    But this field is an implementation class, and i don't know how to populate this area.
    Any suggestions are welcome.
    Regards.
    Laurent.

    Hi,
    I tried to update PO for its longtext (with standard function module) using obtained value with my search-help, but i did not succeed yet.
    Any ideas ?
    Regards.
    Laurent Burtaire

Maybe you are looking for

  • CD or DVD drives for a sat pro 6000

    any one know if i can put a Model number SD-C2302 dvd player in to a sat pro 6000 lab top or no of any that i can put in please?

  • Dynamic Table control header text

    Hi everyone, I need to change the column header texts of a table control dynamically. There are 32 columns in my table control. I got the information that I have to use I/O fields for every columns as the column header texts to change it dynamically.

  • Pdf to HTML to . . .?

    Hello, I have been hunting around topics in this forum but cannot find what I am looking for. I have converted a pdf document into HTML. I am now stuck as to how to insert the html coded document into an existing page. Can I do this or do I define th

  • Phisical Back Key doesn't terminate the app and doesn't go to main page

    Hi experts I'm working in a Windows Phone 8.1 Project and have created it from a WP blank page (XAML and C#). After that added a new blank page and I navigate from main page through a blank page using a button. Now I'm struggling to navigate between

  • Nokia E72 - Bypassing RAM+Card encryption

    I just realized something interesting with my E72 - people can access my data even without knowing the password. Details are as follows: -E72 firmware 022.007. Both memory and MicroSD card are encrypted. Phone set to auto-lock at every 20 minutes.  I