Dynamically find values for M_EINK_FRG for FRGCO

I would like to dynamically fill the release code value in the authorization object M_EINK_FRG based on the user entering ME54N.
Can this be done?
So instead of putting 06 as a value in this object I'd like to put a field name that would be filled when this authorization check is made.

What you can do is generate javascript that looks likeif (selectedID == 1) {
    return ['option a', 'option b'];
} else if (selectedID == 2) {
    return ['option 'c', 'option d'];
}and use that from a different function (which gets invoked if your first level menu changes). The generation would be done with some loop construct (c:if or logic:iterate for example).

Similar Messages

  • Finding value for a specific condition

    Hi All,
    I have a several Employee Numbers in my Database Table. Each Employee is having different set of Profile Numbers.
    For eg. the Table Emp_Profile contains the following
    Emp No ProfileNo Salary Red_Amount
    1000     11     1200     430
    1000     12     100     55
    1000     13     120     7
    1000     14     430     8
    1000     15     300     40
    1000     43     200     20
    1000     56     100     232
    1010     11     1000     300
    1010     14     110     700
    1010     19     200     500
    1010     12     410     545
    1010     13     300     54
    If the Employee contains 19,45,67,89,99,24 as ProfileNo then For Each Employee reduce the Salary value for 11 ProfileNo by the Corresponding Red_Amount
    Ie the Output Should be
    For
    EmpNo Salary
    1000 1200
    1010 500 (as it has 19 ProfileNo)
    Please help me in doing this task.
    Regards,
    Gita

    I used simple case.
    And I used searched case.
    create table empTable(EmpNo,ProfileNo,Salary,Red_Amount) as
    select 1000,11,1200,430 from dual union
    select 1000,12, 100, 55 from dual union
    select 1000,13, 120,  7 from dual union
    select 1000,14, 430,  8 from dual union
    select 1000,15, 300, 40 from dual union
    select 1000,43, 200, 20 from dual union
    select 1000,56, 100,232 from dual union
    select 1010,11,1000,300 from dual union
    select 1010,14, 110,700 from dual union
    select 1010,19, 200,500 from dual union
    select 1010,12, 410,545 from dual union
    select 1010,13, 300, 54 from dual;
    select EmpNo,
    case max(case when ProfileNo in(19,45,67,89,99,24)
                  then 1 else 0 end)
    when 1 then max(decode(ProfileNo,19,Red_Amount))
    else max(Salary) end as Salary
      from empTable
    group by EmpNo;
    EmpNo  Salary
    1000    1200
    1010     500

  • Dynamically loading values for jump menu

    Hii all,
    I'm using struts for my web application.
    I have two jump menus in one of my jsp page. The collections need to fill two menus have been loaded to the page.
    I need to fill the second menu according to the id of selection of first menu. i was able to load values for the first menu.
    can anybody tell me how can I pass the selected value of first menu to second menu using javascript or struts?
    Thanks

    What you can do is generate javascript that looks likeif (selectedID == 1) {
        return ['option a', 'option b'];
    } else if (selectedID == 2) {
        return ['option 'c', 'option d'];
    }and use that from a different function (which gets invoked if your first level menu changes). The generation would be done with some loop construct (c:if or logic:iterate for example).

  • Dynamically selecting values for filter in power pivot

    Hi,
    I am creating a power pivot report. I want the values of its filters to be set dynamically based on certain critreria. For Example, if some one changes the Iteration Path then the range of dates should change automatically to Iteration start date -
    Itearation End Date.
    Is there any way to set filter values based on some calculation.
    Any help in this regard will be highly appreciated.
    Thanks,
    Bhawna.
    Bhawna Aggarwal

    Check out the Event-In-Progress pattern as described here:
    http://cwebbbi.wordpress.com/2013/06/13/a-new-events-in-progress-dax-pattern/
    basically you need to create a separate measure which to do the specific filtering for you
    hth,
    gerhard
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • How to find values for fields of  PROPERTIES  in cl_crm_documents= create_w

    Hi  everyone ,
    I am attaching files from local disk to CRM Opportunity by using method cl_crm_documents=>create_with_file .
    I am able to see files in SAP frontend portal , but the problem is some of the fields in properties tab coming blank .
    So how to find the NAME and VALUE fields of PROPERTIES structure in create_with_file  .
    Right now i am passing below fields these ar coming
    "-----Filling Properties structure
        ls_prop-name   = 'KW_RELATIVE_URL'.
        ls_prop-value  = wa_path-ls_name.
        APPEND ls_prop TO lt_prop.
        ls_prop-name   = 'DESCRIPTION '.
        ls_prop-value  = 'Strategy paper for action plan1' .
        APPEND ls_prop TO lt_prop.
    ls_prop-name  = 'LANGUAGE'.
        ls_prop-value = sy-langu.
        APPEND ls_prop TO lt_prop.
    but fileds like Attachment Type , Document Status ,  Line of Business , Business Year and Country of LE are not coming
    as i frontend is a CRM custom application to mentain opportunity .
    at prasent i am passing attribute Names and default values of these fields to properties structure  but then also i am unable to see it in front end.
    Please help if anybody knows where to find the NAME and VALUE fields for thse parameters.
    Regards
    Chetan

    I used insert statement to populate these fields in table CRMD_KW_DOC_GEN as these are custom fields.
    Regards
    Chetan

  • Is there a way to dynamically calculate values for the IN operator?

    I am looking to see if there is a way to dynamically calculate the criteria to include inside an IN operator in the WHERE clause. For example when I try to run the following I get an Oracle error message 'OR!-01722: invalid number'. The script below is just an example to help illistrate the problem, I do not want to hardcode the values assigned to v_test directly within the IN operator becasue the values in v_test will change from user to user.
    DECLARE
    v_test VARCHAR2(10) := '1,15,25,55';
    v_tmp VARCHAR2(50) := NULL;
    BEGIN
    SELECT d.metric_title INTO v_tmp FROM tbl_health_metric_definition d
    WHERE d.metric_status = 'Active' AND d.metric_id IN (v_test);
    END;

    Hi Jason,
    When ever you use IN operator your values should be either seperated by a comma. If the column is of type number then your values should not enclosed in single quotes.
    Eg: Wrong - '1,2,3,4,5'
    Correct - 1,2,3,4,5
    If your column is of type varchar then your values should be seperated by a comma and each value should be enclosed in single quotes.
    Eg : Wrong - '1,2,3,4,5'
    Correct - '1','2','3','4','5'
    Correct - 'sam','boy','girl'
    So correct you query so that the values in the IN operator are with out single quotes.
    DONOT USE IN OPERATOR IN PL/SQL BLOCK WITH OUT A CURSOR._
    If you use IN Operator and fire a query with out a cursor, it throws an error multiple rows returned. If at all you want to use in operator then use cursor.
    Regards,
    Rajesh
    Edited by: Rajesh Gudipati on Jun 23, 2009 9:49 PM

  • Dynamic source value for uix frame

    Hi all,
    I have UIX page with two frames, left is for navigation (includes tree) and right one is for content.
    <page xmlns="http://xmlns.oracle.com/uix/controller"
          xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
          xmlns:data="http://xmlns.oracle.com/uix/ui"
          xmlns:http="http://www.w3.org/TR/REC-html40">
      <content>
        <frameBorderLayout xmlns="http://xmlns.oracle.com/uix/ui">
          <left>
            <frame source="Tree.uix" name="tree" width="30%"/>
          </left>
          <center>
            <frame name="contents" data:source="${sessionScope.startPage}"/>
          </center>
        </frameBorderLayout>
      </content>
    </page>I'm trying to use ${sessionScope.startPage} to get source value, but it doesn't work. I am sure that there's such a parameter in http session and I can't understand why this happens.
    Could anyone please say if it's possible to use dynamic source for frame?
    Did anyone meet such problems?
    Is there any other way to set the source value?
    thanx in advance
    Renat

    Hi again,
    So far I've found such a solution:
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:http="http://www.w3.org/TR/REC-html40">
    <content>
    <frameBorderLayout xmlns="http://xmlns.oracle.com/uix/ui">
    <top>
    <frame source="Top.uix" name="top" height="10%"/>
    </top>
    <left>
    <frame source="Tree.uix" name="tree" width="30%"/>
    </left>
    <center>
    <frame name="contents" source="startPage.uix"/>
    </center>
    <bottom>
    <frame source="Bottom.uix" name="bottom" height="10%"/>
    </bottom>
    </frameBorderLayout>
    </content>
    </page>where startPage.uix is:
    <?xml version="1.0" encoding="windows-1251"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    </provider>
    <contents>
    <document>
    <metaContainer>
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <pageLayout title="">
    <contents>
    </contents>
    <pageHeader>
    <globalHeader/>
    </pageHeader>
    </pageLayout>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <event name="*">
    <method class="myPack.PageUtils.RedirectAction" method="redirect2anotherPage"/>
    </event>
    </handlers>
    </page>and redirect2anotherPage is:
    public static EventResult redirect2anotherPage (BajaContext context, Page page,
    PageEvent event) throws Throwable {
    HttpSession hs = context.getServletRequest().getSession();
    Page otherPage = new Page((String) hs.getAttribute("startPage"));
    return new EventResult(RedirectUtils.getRedirectPage(context,
    otherPage));
    }This seems to be working, but I am not sure if this is the correct solution (lonely solution).
    Is there a way to use only UIX EL syntax?
    Any ideas about this?
    Renat

  • Expression to find value for previous year SSRS

    Hi
    I need some help with expressions.I need a report that shows calcul of a field for current year as well as previous year respecting this rule expression(Last-Last Previous)/Last Previous*100 (I work with MDX Query and i work with SSRS 2008).
    Also the report runs on a Year Parameter. Below is an example for the result
    for example i selected the years 2010 2011 2012 i can select another years because i have the report runs on  a Year Parameter
    year
    Data 2010 2011 2012
    hp 14 25 30
    Dell 17 18 20
    and the result i want
    year
    Data 2010 2011 2012 2011/2012
    hp 14 25 30 0.002 (Last -Last Previous)/(last Previous*100) =(30-25)/(25*100)
    Dell 17 18 20 0.0040
    Thanks a lot

    Hi Yassir,
    Please find the RDL code, save the code into .RDL and run it
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
    <Body>
    <ReportItems>
    <Tablix Name="matrix1">
    <TablixCorner>
    <TablixCornerRows>
    <TablixCornerRow>
    <TablixCornerCell>
    <CellContents>
    <Textbox Name="textbox3">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value />
    <Style>
    <FontFamily>Tahoma</FontFamily>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox3</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCornerCell>
    </TablixCornerRow>
    </TablixCornerRows>
    </TablixCorner>
    <TablixBody>
    <TablixColumns>
    <TablixColumn>
    <Width>1in</Width>
    </TablixColumn>
    <TablixColumn>
    <Width>1in</Width>
    </TablixColumn>
    </TablixColumns>
    <TablixRows>
    <TablixRow>
    <Height>0.21in</Height>
    <TablixCells>
    <TablixCell>
    <CellContents>
    <Textbox Name="textbox2">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Sum(Fields!value.Value)</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox2</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    <DataElementOutput>Output</DataElementOutput>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="Textbox16">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=((last(Fields!value.Value) -Code.GetValueByKeyValue(Fields!keyvalue.Value)) /Code.GetValueByKeyValue(Fields!keyvalue.Value))*100</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <Format>f2</Format>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Textbox16</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    <DataElementOutput>Output</DataElementOutput>
    </TablixCell>
    </TablixCells>
    </TablixRow>
    </TablixRows>
    </TablixBody>
    <TablixColumnHierarchy>
    <TablixMembers>
    <TablixMember>
    <Group Name="matrix1_year">
    <GroupExpressions>
    <GroupExpression>=Fields!year.Value</GroupExpression>
    </GroupExpressions>
    </Group>
    <SortExpressions>
    <SortExpression>
    <Value>=Fields!year.Value</Value>
    </SortExpression>
    </SortExpressions>
    <TablixHeader>
    <Size>0.21in</Size>
    <CellContents>
    <Textbox Name="year">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!year.Value</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontWeight>Bold</FontWeight>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>year</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>#6e9eca</BackgroundColor>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixHeader>
    <DataElementOutput>Output</DataElementOutput>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    <TablixMember>
    <TablixHeader>
    <Size>0.21in</Size>
    <CellContents>
    <Textbox Name="Textbox4">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value />
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontWeight>Bold</FontWeight>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Textbox4</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>#6e9eca</BackgroundColor>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixHeader>
    </TablixMember>
    </TablixMembers>
    </TablixColumnHierarchy>
    <TablixRowHierarchy>
    <TablixMembers>
    <TablixMember>
    <Group Name="matrix1_data">
    <GroupExpressions>
    <GroupExpression>=Fields!data.Value</GroupExpression>
    </GroupExpressions>
    </Group>
    <SortExpressions>
    <SortExpression>
    <Value>=Fields!data.Value</Value>
    <Direction>Descending</Direction>
    </SortExpression>
    </SortExpressions>
    <TablixHeader>
    <Size>1in</Size>
    <CellContents>
    <Textbox Name="data">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!data.Value</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontWeight>Bold</FontWeight>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>data</rd:DefaultName>
    <Style>
    <Border>
    <Color>LightGrey</Color>
    <Style>Solid</Style>
    </Border>
    <BackgroundColor>#6e9eca</BackgroundColor>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixHeader>
    <TablixMembers>
    <TablixMember />
    </TablixMembers>
    <DataElementOutput>Output</DataElementOutput>
    <KeepTogether>true</KeepTogether>
    </TablixMember>
    </TablixMembers>
    </TablixRowHierarchy>
    <RepeatColumnHeaders>true</RepeatColumnHeaders>
    <RepeatRowHeaders>true</RepeatRowHeaders>
    <DataSetName>DataSet1</DataSetName>
    <Top>1.20333in</Top>
    <Left>0.10833in</Left>
    <Height>0.42in</Height>
    <Width>3in</Width>
    <Style />
    </Tablix>
    <Textbox Name="textbox1">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>Get the last previous value</Value>
    <Style>
    <FontFamily>Tahoma</FontFamily>
    <FontSize>12pt</FontSize>
    <FontWeight>Bold</FontWeight>
    <Color>SteelBlue</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style>
    <TextAlign>Center</TextAlign>
    </Style>
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>textbox1</rd:DefaultName>
    <Height>0.37in</Height>
    <Width>5in</Width>
    <ZIndex>1</ZIndex>
    <Style>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    <Tablix Name="Tablix1">
    <TablixCorner>
    <TablixCornerRows>
    <TablixCornerRow>
    <TablixCornerCell>
    <CellContents>
    <Textbox Name="Textbox7">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>data</Value>
    <Style>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Textbox7</rd:DefaultName>
    <Style>
    <Border>
    <Color>White</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCornerCell>
    </TablixCornerRow>
    </TablixCornerRows>
    </TablixCorner>
    <TablixBody>
    <TablixColumns>
    <TablixColumn>
    <Width>1in</Width>
    </TablixColumn>
    <TablixColumn>
    <Width>1in</Width>
    </TablixColumn>
    </TablixColumns>
    <TablixRows>
    <TablixRow>
    <Height>0.25in</Height>
    <TablixCells>
    <TablixCell>
    <CellContents>
    <Textbox Name="previous">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Sum(Fields!previous.Value)</Value>
    <Style>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>previous</rd:DefaultName>
    <Style>
    <Border>
    <Color>White</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    <TablixCell>
    <CellContents>
    <Textbox Name="Textbox21">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Code.AddKeyValue(Fields!keyvalue.Value, last(Fields!previous.Value))</Value>
    <Style>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Textbox21</rd:DefaultName>
    <Style>
    <Border>
    <Color>White</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixCell>
    </TablixCells>
    </TablixRow>
    </TablixRows>
    </TablixBody>
    <TablixColumnHierarchy>
    <TablixMembers>
    <TablixMember>
    <Group Name="year">
    <GroupExpressions>
    <GroupExpression>=Fields!year.Value</GroupExpression>
    </GroupExpressions>
    </Group>
    <SortExpressions>
    <SortExpression>
    <Value>=Fields!year.Value</Value>
    </SortExpression>
    </SortExpressions>
    <TablixHeader>
    <Size>0.25in</Size>
    <CellContents>
    <Textbox Name="year1">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!year.Value</Value>
    <Style>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>year1</rd:DefaultName>
    <Style>
    <Border>
    <Color>White</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixHeader>
    <TablixMembers>
    <TablixMember />
    </TablixMembers>
    </TablixMember>
    <TablixMember>
    <TablixHeader>
    <Size>0.25in</Size>
    <CellContents>
    <Textbox Name="Textbox20">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value />
    <Style>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>Textbox20</rd:DefaultName>
    <Style>
    <Border>
    <Color>White</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixHeader>
    </TablixMember>
    </TablixMembers>
    </TablixColumnHierarchy>
    <TablixRowHierarchy>
    <TablixMembers>
    <TablixMember>
    <Group Name="data">
    <GroupExpressions>
    <GroupExpression>=Fields!data.Value</GroupExpression>
    </GroupExpressions>
    </Group>
    <SortExpressions>
    <SortExpression>
    <Value>=Fields!data.Value</Value>
    </SortExpression>
    </SortExpressions>
    <TablixHeader>
    <Size>1in</Size>
    <CellContents>
    <Textbox Name="data1">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Fields!data.Value</Value>
    <Style>
    <Color>White</Color>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:DefaultName>data1</rd:DefaultName>
    <Style>
    <Border>
    <Color>White</Color>
    <Style>Solid</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </CellContents>
    </TablixHeader>
    </TablixMember>
    </TablixMembers>
    </TablixRowHierarchy>
    <DataSetName>DataSet2</DataSetName>
    <Top>0.43944in</Top>
    <Left>0.29667in</Left>
    <Height>0.5in</Height>
    <Width>3in</Width>
    <ZIndex>2</ZIndex>
    <Style>
    <Border>
    <Color>White</Color>
    <Style>None</Style>
    </Border>
    </Style>
    </Tablix>
    </ReportItems>
    <Height>1.76333in</Height>
    <Style />
    </Body>
    <Width>5.10833in</Width>
    <Page>
    <LeftMargin>1in</LeftMargin>
    <RightMargin>1in</RightMargin>
    <TopMargin>1in</TopMargin>
    <BottomMargin>1in</BottomMargin>
    <Style />
    </Page>
    <AutoRefresh>0</AutoRefresh>
    <DataSources>
    <DataSource Name="DataSource1">
    <DataSourceReference>DataSource1</DataSourceReference>
    <rd:SecurityType>None</rd:SecurityType>
    <rd:DataSourceID>87cd8154-60ce-43ca-a678-39a5c1bfeb15</rd:DataSourceID>
    </DataSource>
    </DataSources>
    <DataSets>
    <DataSet Name="DataSet2">
    <Query>
    <DataSourceName>DataSource1</DataSourceName>
    <QueryParameters>
    <QueryParameter Name="@Year">
    <Value>=Parameters!Year.Value</Value>
    </QueryParameter>
    </QueryParameters>
    <CommandText>select * from
    SELECT data, year , value AS previous,cast(year as varchar)+ data as keyvalue,row_number() over(partition by data order by year desc) yeardesc
    FROM (SELECT 'HP' DATA, 2010 year, 14 value
    UNION
    SELECT 'HP' DATA, 2011 year, 25 value
    UNION
    SELECT 'HP' DATA, 2012 year, 30 value
    UNION
    SELECT 'Dell' DATA, 2010 year, 17 value
    UNION
    SELECT 'Dell' DATA, 2011 year, 18 value
    UNION
    SELECT 'Dell' DATA, 2012 year, 20 value
    ) AS t
    WHERE year IN (@Year)
    )t1
    where yeardesc &lt;&gt; 1
    order by year asc</CommandText>
    </Query>
    <Fields>
    <Field Name="data">
    <DataField>data</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="year">
    <DataField>year</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="previous">
    <DataField>previous</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="keyvalue">
    <DataField>keyvalue</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="yeardesc">
    <DataField>yeardesc</DataField>
    <rd:TypeName>System.Int64</rd:TypeName>
    </Field>
    </Fields>
    </DataSet>
    <DataSet Name="DataSet1">
    <Query>
    <DataSourceName>DataSource1</DataSourceName>
    <QueryParameters>
    <QueryParameter Name="@Year">
    <Value>=Parameters!Year.Value</Value>
    </QueryParameter>
    </QueryParameters>
    <CommandText>SELECT data, year, value,cast(year as varchar)+data keyvalue
    FROM (SELECT 'HP' DATA, 2010 year, 14 value
    UNION
    SELECT 'HP' DATA, 2011 year, 25 value
    UNION
    SELECT 'HP' DATA, 2012 year, 30 value
    UNION
    SELECT 'Dell' DATA, 2010 year, 17 value
    UNION
    SELECT 'Dell' DATA, 2011 year, 18 value
    UNION
    SELECT 'Dell' DATA, 2012 year, 20 value) AS t
    WHERE year IN (@Year)</CommandText>
    </Query>
    <Fields>
    <Field Name="data">
    <DataField>data</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    <Field Name="year">
    <DataField>year</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="value">
    <DataField>value</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="keyvalue">
    <DataField>keyvalue</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    </Fields>
    </DataSet>
    </DataSets>
    <ReportParameters>
    <ReportParameter Name="Year">
    <DataType>String</DataType>
    <DefaultValue>
    <Values>
    <Value>=2010</Value>
    <Value>=2011</Value>
    <Value>=2012</Value>
    </Values>
    </DefaultValue>
    <Prompt>Year</Prompt>
    <ValidValues>
    <ParameterValues>
    <ParameterValue>
    <Value>2010</Value>
    <Label>2010</Label>
    </ParameterValue>
    <ParameterValue>
    <Value>2011</Value>
    <Label>2011</Label>
    </ParameterValue>
    <ParameterValue>
    <Value>2012</Value>
    <Label>2012</Label>
    </ParameterValue>
    </ParameterValues>
    </ValidValues>
    <MultiValue>true</MultiValue>
    </ReportParameter>
    </ReportParameters>
    <Code>Public PersSal as New System.Collections.HashTable()
    Function ClearList(SomeValue as String) as String
    PersSal.Clear
    Return SomeValue
    End Function
    Function AddKeyValue(KeyValue as String, Value as Decimal) as Decimal
    Try
    PersSal.Add(KeyValue, Value)
    Return Value
    Catch ex as Exception
    End Try
    End Function
    Function GetValueByKeyValue (ByVal Key As String) As Decimal
    For Each clsPair As System.Collections.DictionaryEntry In PersSal
    If clsPair.Key.ToString() = Key Then Return clsPair.Value
    Next
    End Function</Code>
    <Language>en-US</Language>
    <ConsumeContainerWhitespace>true</ConsumeContainerWhitespace>
    <rd:ReportUnitType>Inch</rd:ReportUnitType>
    <rd:ReportID>53660ed8-b969-46cf-960b-2ccb14abf7e7</rd:ReportID>
    </Report>
    Thanks
    Prasad
    Mark this as Answer if it helps you to proceed on further.

  • Troubles finding values for a RE-FX's Report

    Hi gurus,
    After all this time fighting with a REFX's  report, I debugged the RECN Transaction and I found the method that calculates the value I am trying to show, ( especially beacause none of the RE's bapis have the field I need )
    I found in the class CL_REAJ_METHOD, there is the following methid IF_REAJ_METHOD~GET_DETAIL_BY_CONDITION that calculates the value I am looking for.
    The exactly value is the last adjustment method, which is got from the get_last_adjm_date method.
    I wonder if somebody has any idea how to use or get that value ... I am sincerely desperate with this issue...

    Helpfull since it's logical that the processor connector with set the height. Just beware that the ones you showed me, for the cube are female-female. And the Quicksilver, like the Gigabit and DA will take female-male since they have females embedded (permanently) in the metal sheet covering the case's lid. I'll get two pairs of the Gigabit ones, and apply one pair to the quicksilver. thanks.
    Message was edited by: Lars_G

  • Dynamic Date Value for Date Range Parameter - Scheduling in BI

    Hi,
    I am New to BO Enterprise XI R3. I want to schedule the Crystal report which takes Date Range as parameter. Is any option available to calculate From Date automatically based on Current Date based on the range required?
    Currently, Parameter option accepts parameters and enterprise process the report for configured parameters. In this case, report always prints only for configured date range eventhough report generated after one month. I am expecting report has to print data for date range (eg. 1 weeks, 4 days, or any range) based on system current date.
    Thanks in Advance,
    Venkateswaran.P

    I'm am in the same situation.  I need to be able to have the date parameter dynamically change based on the current day's date when I schedule a report.  However, because this parameter comes from a Stored Procedure from the database, it cannot be modified in the Report Designer (as far as I know).  I've tried to set a default for it to use "currentdate" but it doesn't seem to take.  Anyone know if this can be accomplished in the scheduler?
    Thanks
    -Tom

  • Dynamic F4 values for standard field EAN11 in VA01

    Dear Experts,
    I have a requirement to enable  VBAP-EAN11  field and providing f4 help in Standard transaction VA01, Item detail.
    I have enabled the field using the exit in MV45AFZZ include, now i need to provide f4 values. The values has to be the additional EANS selected at Material Master. I have selected the values from MEAN table into a internal table.
    Now the F4 should provide the values in internal table.  I need to get this f4 help using the exit in MV45AFZZ include. Is there any way of providing the f4 help dynamically based on internal table values.
    The function modules 'F4IF_INT_TABLE_VALUE_REQUEST' etc will not work in this scenario.
    Kindly suggest me.
    Cheers,
    Pavan

    If you are on ECC 6.0, try enhancement-point RV_HELP_05.
    Manoj

  • I have completed the generic extraction - an i find values for numeric ?

    Hi all,
    Generic extraction can be done using:
    1. calendar day
    2. Timestamp
    3. Numeric pointer.
    I have used numeric pointer - in which table can i see the flag for numeric pointer.
    And for timestamp and calendar day - in which table can is see when was the last extraction happeneed for generic extraction using timestamp and for calenday day.
    Thanks
    Pooja

    hi,
    check the delta pointer for that datasource in table ROOSGENDLM.
    regards
    mohammed

  • Where I can find value for APXWS_EXPR_1 in IRR report

    Hi,
    I need to export the region into excel, its working fine. but my requirement is after user using the IRR filter he wants to export only those records.
    I see the query uses APXWS_EXPR_1 to filter it but can not get the value. please let me know where i can find a value.
    Thanks
    K

    Hi,
    APEX_IR_QUERY package might help you
    http://stewstools.wordpress.com/apex_ir_query-package/
    http://simonhunt.blogspot.com/2009/02/auditing-downloads-from-interactive.html
    Also this Martin blog post might help
    http://apex-smb.blogspot.com/2009/04/log-apex-interactive-report-search.html
    Br,Jari

  • No values for Sales Org, can be found in Campaign

    Hi gurus
    I´m implementing CRM 4.0., I created a Sales Organization by organisational model (IMG), and assigned the corresponding Sale functions to each Org.unit´. In marketing I created a Campaign with Discount(tab), but When I try to select Sales Org. to condition type, system can not find values for it.... Could some hepl to solve this problem, What´s missing???
    Thanks a lot, I reward good points !!!

    Hi all,
    I am having a similar problem . I created a campaign in webclient 2007 but i am not able to select a target group. No values are shown in the search help. What could be wrong ? Pls help me.
    Regards,
    Aravind.

  • How to know the dynamic values for this :AND category_id_query IN (1, :3, )

    Hi Team,
    R12 Instance :
    Oracle Installed Base Agent User Responsibility --> Item Instances -->
    Item Instance: Item Instances > View : Item Instance : xxxxx> Contracts : Item Instance : xxxxx> Service Contract: xxxxx>
    In the above page there are two table regions.
    Notes.
    -------------------------------------Table Region---------------------------
    Attachments
    -------------------------------------Table Region---------------------------
    --the attachments are shown using the query from the fnd_lobs and fnd_docs etc...
    I want to know what are the document types are displayed in this page ?
    --We developed a custom program to attach the attachments to the  services contracts and the above seeded OAF page displays those ..as needed.
    But after recent changes..the Attachments--> table region is not showing the attachments.
    I have verified the query..and could not find any clue in that..
    but i need some help if you guys can provide..
    SELECT *
    FROM
    *(SELECT d.DOCUMENT_ID,*
    d.DATATYPE_ID,
    d.DATATYPE_NAME,
    d.DESCRIPTION,
    DECODE(d.FILE_NAME, NULL,
    *(SELECT message_text*
    FROM fnd_new_messages
    WHERE message_name = 'FND_UNDEFINED'
    AND application_id = 0
    AND language_code  = userenv('LANG')
    *), d.FILE_NAME)FileName,*
    d.MEDIA_ID,
    d.CATEGORY_ID,
    d.DM_NODE,
    d.DM_FOLDER_PATH,
    d.DM_TYPE,
    d.DM_DOCUMENT_ID,
    d.DM_VERSION_NUMBER,
    ad.ATTACHED_DOCUMENT_ID,
    ad.ENTITY_NAME,
    ad.PK1_VALUE,
    ad.PK2_VALUE,
    ad.PK3_VALUE,
    ad.PK4_VALUE,
    ad.PK5_VALUE,
    d.usage_type,
    d.security_type,
    d.security_id,
    ad.category_id attachment_catgeory_id,
    ad.status,
    d.storage_type,
    d.image_type,
    d.START_DATE_ACTIVE,
    d.END_DATE_ACTIVE,
    d.REQUEST_ID,
    d.PROGRAM_APPLICATION_ID,
    d.PROGRAM_ID,
    d.category_description,
    d.publish_flag,
    DECODE(ad.category_id, NULL, d.category_id, ad.category_id) category_id_query,
    d.URL,
    d.TITLE
    FROM FND_DOCUMENTS_VL d,
    FND_ATTACHED_DOCUMENTS ad
    WHERE d.DOCUMENT_ID = ad.DOCUMENT_ID
    *) QRSLT*
    WHERE ((entity_name    ='OKC_K_HEADERS_V'-- :1
    AND pk1_value          IN ( 600144,599046) --:2
    AND category_id_query IN (1, :3, :4, :5, :6, :7) )
    AND datatype_id       IN (6,2,1,5)
    AND (SECURITY_TYPE     =4
    OR PUBLISH_FLAG        ='Y')))
    --='000180931' -- 'ADP118'
    The above seeded query is the one which is used for table region to retrieve the data..
    how to know the dynamic values for this : AND category_id_query IN (1, :3, :4, :5, :6, :7) )
    --Sridhar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Patricia,
    is it working for restricted key figure and calculated key figure ??
    Note Number Fisc Period Opening Days
    1 1 2
    2 1 3
    3 1 0
    because I have other restriction, so I create two restricted key figure..
    RK1  with restriction :  Total Number of Note,
    RK2  with restriction :  Total Opening Days ,
    then I Created a calculated key figure, average opening days in a period
    CK1 = RK2 / RK1..
    in this case, I am not sure if it will work or not..
    for example, during RK2 calclation, it might be this   2+3 = 5, the line with 0 will be ignored..
    during RK1 calcualtion, it might be 1 + 1 + 1 = 3. ---> Not sure in this case, the line with opening days 0 will be calculated or not..
    could you please confirm..

Maybe you are looking for