How can I pass value based on member names in a script in 11.1.1.3

I want to pass a value to only those members of CostCenter dimension which has "5" in their name.
Eg.
C12345100
C34565210
C34217890
So in the above case the value should exist only in the above 2 cost centers.
Can someone guide me in the right direction to accomplish this ?
Thanks in advance

Just now I got more clearance on the requirement.
I want to create blocks only on the selected Cost Centers & Business Unit combination.
I have the following members in both these dimensions
Cost Centers
C12345980
C12345981
C12345982
Business Unit
BU5980
BU5981
BU5555
Now I want to pass a value to one of the dense dimension members from Measure dimension (member name = CrtBlk) to only those CCs & BUs where the last 4 digit matches.
So in this case it will be for only the first 2 cost centers.
Thanks in advance.

Similar Messages

  • How can I pass value in status and reason for rejection using BAPI_LEAD_CREATEMULTI when creating multiple lead

    Hello,
    I want pass value in STATUS and Reason for rejection according to requirement when i am creating multiple lead using BAPI_LEAD_CREATEMULTI. Please help me how can i pass value. Please give some sample code that in which table i have to pass values and please also tell me INPUT_FIELDS values. Please help me
    Regards,
    Kshitij Rathore

    Hello,
    Please help me for solve this problem. I am trying to solve problem from last 4 days but i didn't get any solution.
    Regards,
    Kshitij Rathore

  • How can I pass value from sql query to unix script

    I am new to oracle/unix.
    I want to write a simple script to find max date from a table and then pass date into a variable in a korn shell script.
    sql is select max(date) from table;
    how can I pass that value in unix shell as a variable. Thanks

    I use to code like this.
    Enjoy Scripting.
    cmd.sql
    select sysdate from dual;
    exit
    db.sh
    #! /usr/bin/ksh
    . ~oracle/.orapaths
    dbdate=$(sqlplus -S user/pwd@servicename @cmd.sql)
    echo $dbdate
    Run shell scripts
    ./db.sh
    SYSDATE --------- 19-JAN-07

  • How can I pass value between two pages or fragments?

    Hi,
    I am learning ADF nowadays. Now I come across the following problem.
    There are two pages or fragments in a bounded task flow, e.g. PageA&PageB. There is an inputtext on PageA.When I press an button on PageA with an action jumpping to PageB I want pass the value of this inputtext to annother inputtext, which is shown on PageB. Moreover, the inputtext on PageB comes from a ViewObject. How can I achieve this goal? Any ideas or suggestions?
    Best wishes!
    Eleven.Xu
    Mar 27th.2009
    Edited by: Eleven.Xu on 2009-3-26 下午7:03

    RequestContext requestContext = RequestContext.getCurrentInstance();
    requestContext.getPageFlowScope().put("var_name", value);
    String value = (String)requestContext.getPageFlowScope().get("var_name");
    if you open a new window, the value will be null.

  • How can I pass values from one node to another

    Give a standard and efficient way to pass values from child to parent

    hai Prathap
    You can use the custom event  for passing values from child to parent

  • How can I extract value based on the specific tag?

    Hello,
    I have a sample xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <listings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://local.google.com/local_feed.xsd">
    <language>en</language>
    <datum>WGS84</datum>
    <listing>
    <id>242238</id>
    <name>Baskin-Robbins</name>
    <date month="5" day="13" year="2010" />
    <content>
    <text type="menu">
    <link>http://www.allmenus.com/ca/san-fernando-valley/242238-baskin-robbins/menu/</link>
    <title>Baskin-Robbins</title>
    <author>Allmenus.com</author>
    <body>View this menu online at Allmenus.com</body>
    </text>
    <attributes>
    <link>http://www.allmenus.com/ca/san-fernando-valley/242238-baskin-robbins/menu/</link>
    <title>Baskin-Robbins</title>
    <attr name="Average Entree">$41.95</attr>
    <attr name="Cuisine">Ice Cream</attr>
    <attr name="Cuisine">American</attr>
    <attr name="Payment accepted">Cash</attr>
    <attr name="Feature">Cheap Eats</attr>
    <attr name="Feature">Kid Friendly</attr>
    <attr name="Feature">Fast Food</attr>
    <date month="5" day="13" year="2010" />
    </attributes>
    </content>
    </listing>
    <listing>
    <id>243810</id>
    <name>Villa Maria Pizzeria &amp; Restaurant</name>
    <date month="5" day="13" year="2010" />
    <content>
    <text type="menu">
    <link>http://www.allmenus.com/ny/nassau-county/243810-villa-maria-pizzeria--restaurant/menu/</link>
    <title>Villa Maria Pizzeria &amp; Restaurant</title>
    <author>Allmenus.com</author>
    <body>View this menu online at Allmenus.com</body>
    </text>
    <attributes>
    <link>http://www.allmenus.com/ny/nassau-county/243810-villa-maria-pizzeria--restaurant/menu/</link>
    <title>Villa Maria Pizzeria &amp; Restaurant</title>
    <attr name="Hours">Sun 12pm-9pm; Mon 11am-10pm; Tue 11am-10pm; Wed 11am-10pm; Thu 11am-10pm; Fri 11am-10pm; Sat 11am-10pm</attr>
    <attr name="Last Delivery">Sun 9pm; Mon 10pm; Tue 10pm; Wed 10pm; Thu 10pm; Fri 10pm; Sat 10pm</attr>
    <attr name="Order Online">http://orders.allmenus.com/restaurant.asp?restid=5999&amp;campusid=835</attr>
    <attr name="Average Entree">$7.95</attr>
    <attr name="Minimum for Delivery">$25.00</attr>
    <attr name="Cuisine">Pizza</attr>
    <attr name="Cuisine">Sandwiches</attr>
    <attr name="Cuisine">Calzones</attr>
    <attr name="Payment accepted">Cash</attr>
    <attr name="Payment accepted">Visa</attr>
    <attr name="Payment accepted">Mastercard</attr>
    <attr name="Payment accepted">Discover</attr>
    <attr name="Payment accepted">Amex</attr>
    <attr name="Nearby School">Hofstra University</attr>
    <attr name="Nearby School">SUNY-Farmingdale</attr>
    <attr name="Feature">Free Delivery</attr>
    <attr name="Feature">Open 7 Days</attr>
    <attr name="Online Order">Yes</attr>
    <date month="5" day="13" year="2010" />
    </attributes>
    </content>
    </listing>
    </listings>
    As you can see, some row has <attr name="Order Online"> and some don't. I want to extract value of this attribute. It can be null for rows that don't have this attribute. How can I do it with extractvalue function? THANKS A LOT!

    I figured it out that I should do the following:
    select extractvalue(value(x),'/listing/content/attributes/attr[@name="Order Online"]')
    from load_xml_file t, table(xmlsequence(extract(t.xml,'/listings/listing'))) x
    Thanks!

  • How can i get value when the field name is user's defined

    Hi,
    I have a one java method:
    public ResultSet countUserDb(String id) {
    ResultSet rs = null;
    con = dbcon.connect();
    String queryString = ("select count as count from
    db_allocation where user_id='"+id+"'");
    Statement stmt = con.createStatement();
    rs = stmt.executeQuery(queryString);
    When i call it in a jsp file.
    ResultSet counter =db.countUserDb(request.getParameter("id"));
    if(counter.next())
    int x=rs.getInt("count");
    Tomcat said incorrect column name.How can i get the result set when the field name is user's defined.
    Best regards
    Ricky

    You should give the user defined name in the ResultSet.getXXX method to retrieve the column value.
    Example
    SQL:
    Select ename as employeename from emp;
    You should say :
    ResultSet.getString("employeename"); to get the value.
    Alternatively you can retrieve it using column number:
    ResultSet.getString(1);
    Chandar

  • How can I pass empty value in URL Parameter

    Hi,
    I am passing different URL parameters to one page, to filter
    the recordset on that page. How can I pass an empty value in the
    URL parameter so that the recordset in unfiltered?
    The URL parameter is based on one field of the database:
    ContentType. So, the link would be to
    default.asp?ContentType=Event
    and then all records that have the ContentType field in the
    DB as Event are displayed. Is it possible to use this system to
    pass an empty parameter so that all records are displayed?
    Thanks
    Ian

    ?ContentType=All
    <% if (ContentType == "All")
    Build recordset w/o filtering
    ASP is rusty, but those are the basics.
    "iandobie" <[email protected]> wrote in
    message
    news:e8im80$q7m$[email protected]..
    > Hi,
    > I am passing different URL parameters to one page, to
    filter the recordset
    > on
    > that page. How can I pass an empty value in the URL
    parameter so that the
    > recordset in unfiltered?
    > The URL parameter is based on one field of the database:
    ContentType. So,
    > the
    > link would be to
    > default.asp?ContentType=Event
    > and then all records that have the ContentType field in
    the DB as Event
    > are
    > displayed. Is it possible to use this system to pass an
    empty parameter so
    > that
    > all records are displayed?
    > Thanks
    > Ian
    >

  • How can I pass field value betwen view in ICWC?

    Hi experts,
    I am new to this BSP programming. I have some requirements to modify standard ICWC in CRM 5.0
    Hope can get some advices and helps here.
    I have added a new field called <status> to context note SEARCHCUSTOMER in BupaSearchB2B view and also the same field name to context note CUSTOMER in BupaCreate view.
    I have added the field into both the HTM views and able to execute thru WebClient. However, I have one problem in passing the <status> value from BupaSearchB2B view  to the BupaCreate view when I click on the 'create' button.
    I do search and saw this thread How can I pass field value beetwen view in IC Web Client? , but i cant figure out how it works.
    Do I need to create the field <status> to context note CUSTOMER in BupaSearchB2B? Currently the context note does not have any attributes.
    Really appreciate for any help.
    Edited by: mervyn tay on Apr 7, 2009 11:42 AM

    solved by myself...
    code in the CREATE_ACCOUNT method.
            ev_entity->set_property( iv_attr_name = 'ZZICNO'
                                     iv_value = lv_icnum1 ).

  • How can i pass the Input value to the sql file in the korn shell ??

    Hi,
    How can i pass the Input value to the sql file in the korn shell ??
    I have to pass the 4 different values to the sql file and each time i pass the value it has to generate the txt file for that value like wise it has to generate the 4 files at each run.
    can any one help me out.
    Raja

    Can you please more elaberate., perhaps you should more elaberate.
    sqlplus is a program. you start it from the korn shell. when it's finished, processing control returns to the korn shell. the korn shell and sqlplus do not communicate back and forth.
    so "spool the output from .sql file to some txt file from k shell, while passing the input parameters to the sql file from korn shell" makes no sense.

  • How can I pass a value into a page fragment?

    How can I pass a value into a page fragment?
    I am implementing four search screens. And the only thing different about them will be their backing bean.
    So I’d like to do something like have four pages, each which retrieves its appropriate backing bean, sets that bean to a variable, and then includes a page fragment which contains the generic search page code (which will make use of that variable).
    The code in the four pages would be something like this:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <c:set var="searchPageBackingBean"
    value="#{pageFlowScope.employeeSearchPageBean}"
    scope="page"/>
    <jsp:include page="./SearchPageBody.jsff"/>
    </jsp:root>
    At this point, what I’m seeing is that the fragment page, SearchPageBody.jsff, has no visibility of the searchPageBackingBean variable, either referencing it as #{pageFlowScope.searchPageBackingBean} or just #{searchPageBackingBean}

    The following will work, assuming you are needing to access a managed bean:
    Put this in the parent page:
    <c:set var="nameOfSearchPageBackingBean"
    value="employeeSearchPageBean"
    scope="request"/>
    Put this in the child, SearchPageBody.jsff:
    <c:set var="searchPageBean"
    value="#{pageFlowScope[nameOfSearchPageBackingBean]}"
    scope="page"/>

  • How can we pass the select-option value to modulepool program?

    hi,
      how can we pass the select-option value to modulepool program ?
      Because if i declared select-options in executable program and i used SSCRFIELDS to define push buttons in selection screen.
               My requirement if enter the values to select-options and press UPDATE pussbotton then i want call screen which contains tablecontrol.
               How i get select-option values to PAI of call screen for getting the data from database table to my internal table?

    Oh I thought that you have selection-screen and again you are working on dialog programming.
    if you want to use select-option directly in module pool then it is not possible.
    but you can do other way.
    create two varaiables
    data : v_kun_low like kna1-kunnr,
             v_kun_high like kna1-kunnr.
    use these two variables in layout ,let user knows that he can not give options like gt,lt,eq ,it will be always BT.
    and also when you see normal report program,you can use multiple values in either low or high,but here it is not possibel.
    use can enter only low value and high value.
    when you come to program point of view
    declare one range
    ranges r_kunnr for kna1-kunnr.
    do the coding like
    r_kunnr-low = v_kun_low.
    r_kunnr-high = v_kun_high.
    r_kunnr-options = 'BT'.
    r_kunnr-sign = 'I'.
    append r_kunnr.
    now you can use r_kunnr in select query ,it will work like select-option.
    other than this there is no option.
    Thanks
    Seshu

  • HOW CAN I PASS A DEFAULT VALUE IN INTERNAL TABLE

    HOW CAN I PASS A DEFAULT VALUE IN INTERNAL TABLE.
    DATA : BEGIN OF ITAB OCCURS 0,
               FIELD1(2) TYPC C DEFAULT   '12',
               FIELD2     TYPE C ,
               END OF ITAB1.
    IT'S GIVING ERROR MESSAGE.
    PLZ LOOK INTO THIS AND GIVE ME CORRECT SOLUTION.
    THANKS
    SURI

    DATA : BEGIN OF ITAB OCCURS 0,
    FIELD1(2) TYPC C,
    FIELD2 TYPE C ,
    END OF ITAB1.
    itab-field1 = '12'.
    itab-field2 = 'A'.
    append itab.
    clear itab-field2.
    itab-field1 = '12'.
    itab-field2 = 'B'.
    append itab.
    clear itab-field2.
    Now everytime u'll have the value for field1 = '12'.
    Regards
    Vasu

  • I need to pass value for Actual GI date field in VL01N t code, I am using BAPI_DELIVERYPROCESSING_EXEC. can any one tell me how can i pass vaule ?

    I need to pass value for Actual GI date field in VL01N t code, I am using BAPI_DELIVERYPROCESSING_EXEC. can any one tell me how can i pass vaule ?

    Hi Abdul,
    Sorry for my unprecise answer, but you talk about a tcode, but you're using a BAPI Call. Maybe you want to call the transaction in batch mode?
    http://help.sap.com/saphelp_erp60_sp/helpdata/de/fa/09715a543b11d1898e0000e8322d00/content.htm
    Regards,
    Franz

  • How can i pass a value between tabs

    Hi
    How do i pass values to a particuluar page when that pages tab is clicked on as i need the value to be able to be used for an insert form on the page that it tabs to. You can tab this page from anywhere in the application and i literally just want it to have the same value as the id on page one eg p2_Supervisor_id = :p1_Supervisor_id.
    Obviously i can display the value by either running a query or by making it equal to item p1_Supervisor_id but i cant then use this value for an insert.
    if anyone wants to see the application to see what i am talking about the application number is 26970 and the page is number 2.
    Basically a user logs in and gets to thier details they then can insert thier own project suggestions and past projects but i cant pass thier id to these pages without setting them meaning i cant use them for an insert query.
    If anyone can help i would be extremely grateful.

    Hi sorry
    Bascially when a supervisor logs in succesfully his id is passed to the first page (supervisor details) successfully. There is then a tab menu where he can select to go to either project suggestion or past projects (among other options). Basically as these project suggestion and past projects belong to the supervisor that has logged in i want the id set to the supervisor id that has logged in whenever these two tabs are used. This means that when the page loads the supervisor can input a project suggestion (on the project suggestion page) or a past project (on the past project page).
    The problem i am having at the moment is that before i had buttons that when pressed brached to these pages and set the superviosr id. Now though with tabs i cant seem to find that option that when pressed they set the partiuclar item. Does anyone know how this works with tabs? as i can get the breadcrumbs to work but i cant set the value when the tab is pressed.
    If anyone can help that would be great

Maybe you are looking for

  • Executing SSIS packages through SQL Server Jobs.

    Hi, I have an SSIS package which generates xml and text files and ftps it to an ftp site. When i run the package from BIDS it works successfully but when i run it from a job it fails. My SSIS package connects to DB server A and though i'm creating a

  • Windows 8.1 is throws error when displaying SAP Crystal Reports 10.5

    Hi there, On windows 8.1 – 64  bit SAP Crystal Reports fails to work (even empty report): "Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version 10.5.3700.0, culture=neutral, PublicKeyToken=blahblah' or one of its dependenc

  • How do programatically set focus on a record other than the first one in a block?

    My form performs the query for the block, and by default it leaves the focus on the first (top) record in the block.  I'd like to have it focus on the last record in the block upon initial query. i've tried Last_record and go_record in a post-block t

  • New Portlet Timeout Message

    Having upgraded from 3.0.6 to 3.0.9, an error message appears within some of the newly created portlets (created since the upgrade) Error: Timeout for content=1004 (the number varies) There is no delay in the link and this message does not appear for

  • Not able to install PFX file on my Q10.

    I need to run a PFX file on my Q10 in order to setup my corporate activesync. I was previous able to do so on my BB Bold (using Astrasync) as my Activesync client. However, i cannot seem to open .PFX file on the Q10. Error message is "Unable to open