How to create a 'System'variable to identify the system from merged dimension

Hi,
     I have a webi report with merged dimensions on users and
roles. Users and Roles are coming from 3 different systems (ECC,BW,BOBJ). Now,
I don’t have the system field available in the queries to filter by the system.
So, I would like to create a variable for system where I want to be able to
identify the system (like ECC,BW,BOBJ) based on the merged “Role” dimension.
Could someone tell me , if it is possible to do that? And if so, how do I do
that? (I tried, but it's not working for me) I really appreciate your help.
Thanks,
Charvi.

HI,
You can not use inlist operator here.For inlist static values are required for comparison.I know this is not a solution for you.
For to use match operator you have to use multiple else-if conditions.I know this is time consuming but if you can not do anything from BW side then use like below formula.
=If(Match([Role];"FRP.*")) Then "ECC" ElseIf (Match([Role];"HRP.*")) Then "ECC" else"BW"
Add more conditions in the formula and if you are sure in your report there are only three type of roles.Then define condition only for  ECC and BW systems in the variable and rest mark as else BO.
Thanks,
Amit

Similar Messages

  • How to Create a Selection Variable for restricting the querry output

    Hi Gurus,
    I have created a query in query designer on a Multiprovider and the output of the query is a Formula in a structure which calculates a % value, the client is looking for entering a range of number during the query selection screen and the output should be restricted to the given selection values.
    Can any one tell me how i should create a selection variable that would take the input from the user during the query selection screen and then restrict the output to that value which user specified.
    Is there a need to write any customer exit or is there any alternative way to make the query work as the requirement is.
    I hope this explains my problem but if any questions please let me know so that i can give u specific information.
    Thanks,
    Nisha.

    Hi Nisha,
    Firstly, in order to restrict the query output by a key figure value, you will need to create a condition on that key figure. This is done in the query deisgner. Now when you are creating the condition you can also use user entry variables (formula variables with user entry) to let the users enter the value that they want to see.
    See here for more details:
    http://help.sap.com/saphelp_nw04/helpdata/en/73/702e39074dc93de10000000a114084/content.htm
    Hope this helps...

  • How to create a dropdown list to list the values from two different tables?

    Hi,
    I have the following requirement:
    1. I have to create a dropdown list to display all the values from the second column of  a table.
    2. Another dropdown list to display all the values from the second column of another table.
    3. A text box should help me to add the selected values.
    How to get this done in a PDF? Please help.
    Regards,
    Latha

    Is this a LC form? Because Acrobat forms have no concept of tables, just
    individual fields...

  • How to create a background job to replicate the datasource from R3 to BW?

    Dear all
    I always got error msg when use the RSA1 to do the relicate from R3. Did anybody can tell me how to do it in background? Thank you!
    Jialin

    Try this:
    1) Go to tcode SE38 - ABAP Editor
    2) Enter ABAP program name RSDS_REPL_RESET
    3) Click on Execute
    4) In the Selection-Screen, enter the source system to replicate from, or * if you want to replicate from all source systems.
    5) If you just want to replicate BW 3.5 DataSource, enter ISFS as the Preferred Type. Or, if your preference is for BW 7.x DataSources, etner RSDS as the Preferred Type. If there is no preference, leave the field blank and it will replicate both types.
    6) Go to the menu option Program > Execute in Background

  • How to find out the variable using in the system.

    Hi Friends,
    When I am trying to create a new variable for a infoobject. It is giving me a warning that Change the tecnical name 'New Variable.....' Before save
    This is not allowing me to create any new variable.
    In the system I find out one variable is there with the name  'New Variable.....'
    And It is being used some where. When I am trying to delete this variable it is giving me a msg that it is being used in ZSCEMESTS.
    But I am not able to find out where this ZSCEMESTS is exists.
    Is there any TCODE for find out this object.
    I want to delete this New Varable.....  So can any body pls provide me the solution?
    Regards,
    Sridhar

    Hi Sridhar.
    Can you please tell me, is the variable entry mandatory? If yes please make the variable entry is optional.
    Hi Sridhar,
    Can you please tell me which type of variable it is? On which object this variable built?
    Variable is available global level, so you can view this variable on the same object right click restrict --- variable --- select --- delete.
    If it though it is already used in another query then use where used list then go to respective query and delete the same.
    Regards,
    Lokanatha.

  • How to create an array variable

    Hi folks,
    I'm developing a flowN activity , for each branch created, I need to pass different values (values I get from DB).
    For this my plan would be,
    -create an array variable , load all the values(from DB) into the array
    -pass the array to each branch in flowN activity based on the index
    As I'm newbie to BPEL, I do not know how to create an array variable.
    Could you people guide me please.
    Regards
    Viki

    Hi,
    I created my string array like
    <element name="string_array">
    <complexType>
    <sequence>
    <element name="input" type="string" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </element>
    <variable name="arr" element="client:string_array"/>
    I am able to add values to my array variable named as "arr"
    When I use the following code snippet, it gives my the value of the entire list.
    <%ora:getNodeValue(bpws:getVariableData('arr'))%>
    But when I try retireve values one by one like <%ora:getElement('arr','/client:string_array/client:input',[0])%>, its giving me error.
    Guide to get throu' this.
    Viki

  • How to create User Defined Variables in Procurement Contract 12.1.3

    Hi,
    We are using Procurement Contract 12.1.3. As per our business requirement while creating contract template we need to use many variables which are not available in 'System Defined' variable list. Please guide us with some samples (step by step) how to create the 'User defined' variables.
    Regards,
    Prabhu

    Hi Prabhu,
    Did you get the setps how to create user defined variables in Procurement contracts? if so please share me the setp by step flow.
    Prakash

  • How to create a global variable in forms 6i

    How to create a global variable in forms 6i

    :GLOBAL.my_var := 15; Well, this statement is not correct! Global variables
    stores a character string of up to 255 characters in
    length. Thus, valid statement for Khurram example
    is:
    :GLOBAL.my_var := TO_CHAR(15);
    or
    :GLOBAL.my_var := '15';
    But numeric values are implicitly converted by oracle so there's nothing in fact wrong with the statement...
    :GLOBAL.my_var := 15;
    ;)

  • How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production?

    How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production? I dont have a .abf file available. Two paritions in production are missing data. We were able to get back file system backup which contains the files for these two paritions.
    How do I create a cube in Dev using this file system backup.
    we are on SQL Server 2008R2.
    Thanks,

    How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production? I dont have a .abf file available. Two paritions in production are missing data. We were able to get back file system backup which contains the files for these two paritions.
    How do I create a cube in Dev using this file system backup.
    we are on SQL Server 2008R2.
    Thanks,

  • How to creat purchase register in SAP r/3 system?

    Dear All,
    Please tell me how to creat purchase register in sap R/3 system.

    HI
    I think there is no standard functionality in sap u need to develop with abaper help with proper logic
    if it is for venijula s_alr_87009936  try this t.code
    Thanks & Regards
    Phaneendra
    Edited by: phaneendra Reddy on Jun 12, 2009 9:24 AM

  • How to Create a Session variable in JSP?

    How to create a session variable and add attributes to it?
    For example i want to create a session variable called "name" and add value "user" to it? if i try to do it with setAttribute(), it is giving error as both is of type string? how to do it? kindly help me

    This is variable what is working in my aplication
    String variable;
    if(user == null){
                   user=new String("");
         }//if you don'y do this you will have null pointer exception
    session.setAttribute("user",user);//put value
              String name=(String)session.getAttribu("user");      //get value;
    I hope this will help

  • How to create a session variable in Apex?

    Hello colleagues,
    Is there someone do know how to create a session variable in Apex?
    How to get them?
    Thanks
    Best Regards

    Hello,
    What do you mean by 'session variable'? You mean something that stores the value int he users session state?
    I really recommend reading the 2-Day Developer guide documentation, there is a complete section on session state -
    http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/concept.htm#CIHCFHBD
    Hope this helps,
    John
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd

  • How to Create a Text Variable

    Hi Experts...
    Can you please explain me how to create a Text variable...
    In my Cube i had 3 different date fields....
    and as per my requirment i need to create a rolling report for which will display data for 6 months rolling.
    As the date field which i need to use is not mapped to Time Char's (Cal Year,Cal Month...etc)
    For that reason i created below customer exit variable and used offset variables to achieve the rolling 6 months report
    Code used for Customer Exit VAriable:
    WHEN 'ZC_Cmonth1'. " Current Cal Month Car Expiry
    IF i_step = 2.
          CLEAR l_s_range.
    determine date
        LV_SYDAT     =  SY-DATUM.
        LV_YEAR_ACT  =  SY-DATUM+0(4).
        LV_MONTH_ACT =  SY-DATUM+4(2).
    Set begin date of intervall
    CONCATENATE LV_YEAR_ACT LV_MONTH_ACT '01' INTO LV_DATE_LOW.
    Set end date of intervall
    CONCATENATE LV_YEAR_ACT LV_MONTH_ACT '31' INTO LV_DATE_HIGH.
    Fill ranges-tab with: include all values between beginning of year
    and actual date
      CLEAR E_T_RANGE.
      CLEAR L_S_RANGE.
      L_S_RANGE-SIGN = 'I'.
      L_S_RANGE-OPT  = 'BT'.
      L_S_RANGE-LOW  = LV_DATE_LOW.
      L_S_RANGE-HIGH = LV_DATE_HIGH.
      APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    Now i need to create TEXT VARIABLE that will display the Month Name in the column name
    Please update in detail step how to create a Text Variable

    In your specific requirement select the which ever the keyfigure you want  to analyse, go to edit mode of keyfigure propeties there select the newvariable type and create the Text variable by maintaining the proper offset start and length and also maintain the in whcih format u want see the month name in column headers. Maintain the Text format or key format. it totally depends on u r requirement.
    Hope it will help ful for u.
    Bye,
    Chandu.

  • How to create characterstic formula variable in reporting

    how to create characterstic formula variable in reporting
    tell me any one in steps
    thanks

    HI
    Query Designer -- Select your Char -- Create Char Variable -- Processing type should be Replacment path =In the Replace Variable with drop down box, choose Attribute Value. In the Attribute drop down, select Characteristic Reference
    http://help.sap.com/saphelp_nw70/helpdata/EN/03/6ba03cc24efd1de10000000a114084/frameset.htm
    Hope it helps

  • How to create charasteristic value variable step by step please?

    How to create charasteristic value variable step by step please?
    I searched the previous threads it is not listed.
    I will assing points to only valuable information.
    York

    Hi Les,
    http://help.sap.com/saphelp_nw04/helpdata/en/ac/789b3c4d4d8d15e10000000a114084/content.htm
    In the left hand side of the query designer, find your char and under than there will be a button with text called Characteristic Value Variables. Right click this and choose New Variable. This will open the variable wizard. You need to follow the screen to define a technical name and description, the processing type, the user entry options and if the variable will accept single or multiple values, and also if you want to set a default value.
    Hope this helps...

Maybe you are looking for