New selection in report

Hi Guru's
while we creating query, in column we have 2 option.
1 is nwe formula
2 is formula.
can some one give me example how can we use formula based on selection.
means 1st we have to create selection and based on selection we have to create formula which we will display in report(query).
is there documens available.
thanks
Message was edited by: summy

Hi Summy,
One example would be where you have 2 selections to display the key figure values for 2 different years. Then in a formula you need to calculate the variance between the values of both years, so here you would create a new formula and in that use the 2 selections or restricted key figures created for year.
Hope this helps...

Similar Messages

  • Error message in report writer when add new selection filed?

    Dear All,
    I wanna add a new selection field cost element group and cost element to a report in report writer. I key in GR52 and click the general data selection. I select the set variable &1KSTAR to enter into the set ID. But it shows me the following message:
    Set cannot be used in Selection:
    Message no. GR807
    Diagnosis
    You are trying to use a set in report maintenance.
    The set cannot be entered in the report definition for any of the dimensions for which the set could be used.
    The following error message describes why the set cannot be used for all the dimensions for which the set can be used.
    System Response
    The set will not be entered in report maintenance.
    Procedure
    Choose an appropriate set.
    What does it mean? I have tried other set variables but sitll gave the same message.
    Thank you and good day.
    Emma.

    At the same time, it gave me a green light message saying:
    Characteristic Cost Element is already used in a row
    Message no. GR465
    Diagnosis
    The characteristic Cost Element is already being used in a report row block and therefore cannot be used in a different part of the report.
    Technical note:  The field name for characteristic Cost Element is KSTAR.
    Does it mean I have used the cost element in the report and blocked the cost element so that I can't use it in the selection screen? How can I solve this by not changing the report or should I change the report?
    Thank you and good day
    Emma

  • How to Add a new Selection Field in COPA Report

    Hi Gurus
    I'm new on SAP COPA reporting and I don't know how to solve this problem.
    I need add a new Selection-screen field (char1), not connected with any characteristic.
    This is necessary becuase if the user flag this field, when teh report is running I'll replace some key-figure values using the EXIT  
    ZXYEXF05. I don't find any instruction how to define this simple kinfd of variable, and use it into a Report.
    Thank-you in advance for your help.
    Claudio

    Hi
    I'll try to explain better my need.
    I've 10 CO-PA Key-Figures used to Split in the Cost of a material in different Cost Items.
    Using the customizing I fill these key-figures using some rules.
    The new requirement is use SOMETIME the same KF, by displaying different Costs overwritting the original values using the exit ZXYEXF05. But I need to know when the user wants consider the original value of KF, and when he wants overwrite these values (when I have to run teh exit). So I thought to create a new Selection-screen field (Char1), to permit to the user to pass to some report this user request. I thought to define a global variable, and add it to several reports when this feature is required.
    Can you suggest a better solution ???
    I could create some empty KF and fill them using teh exit, but I would prefer not expand the CO-PA structure.
    Thanks for help.
    Claudio

  • BI Reporting New Selection

    Hi All,
    I am using BI 7.0 version, which scenerios are u creating this both following below.
    1) When are u creating in Keyfigure(column) Newstructure, New formula and New selection.
    2) When are u creating in Characters(rows) Newstructure, New formula and New selection.
    How to create this both, and is the use of advantage in Reporting.
    Please provide solutions ASAP.
    Thanks & Regards,
    Vijaay.

    You can only create selection, formula inside a structure.
    When you create 2 structures in the query, the cell tab is enabled, thus you can define cells.
    Usually you can put all your fomulas and selections in the key figure structure, if this is sufficient for you.
    But in many cases, you may need a cross table like following:
                                      key figure1,  formula,  selection of color Red, selection of most important customer
    selection year 2001      .....
    selection year 2002     .....
    another formula           ....
    That is, you need selections and formulas on both row and column
    In this case you have to create the second structure in row, as I said before,  you can only define formula/selection inside a strucrture.

  • New to oracle report builder

    Dear all;
    Please pardon me. I am new to oracle report builder and I am trying to accomplish the following. First and foremost please find my pl/sql queries below. Kindly note, all the queries have been tested and I just need to be able to input those queries into the report builder. Thank you.
    create or replace package test1 is
    type r_cursor is ref cursor;
    function report(company_name in varchar2) return r_cursor;
    end test1;
    create or replace package body test1 is
    function report(company_name in varchar2) return r_cursor as
    my_r_cursor r_cursor;
    begin
    if(company_name = 'ALL COMPANIES') THEN
    open my_r_cursor for
    select t.t_id, t.t_description from t1 t;
    return my_r_cursor;
    elsif(company_name != 'ALL COMPANIES') THEN
    open my_r_cursor for
    select t.t_id, t.t_description from t1 t
    where t.t_id = company_name;
    return my_r_cursor;
    end if;
    end;
    end test1;
    create table t1
    t_id varchar2(200) not null,
    t_description varchar2(250),
    primary key(t_id)
    insert into t1
      (t_id, t_description)
    values
      ('CITI', 'PROFIT: 2.2Billion');
    insert into t1
      (t_id, t_description)
    values
      ('GE', 'PROFIT: 1Billion');
    insert into t1
      (t_id, t_description)
    values
      ('JPMORGAN','PROFIT: 0');Now, I am trying to create a simple report in oracle report builder. The interface for generating for this report is basically, there is a dropdownlist where by the user picks a company name from the dropdownlist and clicks on the go button, this should then generate a report with the above query shown in the package. How can this be achieved? All help will greatly be appreciated.

    Hi,
    first of all you need strong typed ref cursor, oracle reports need to detect witch are the columns returned by your cursor.
    so first you create your package
    create or replace package test1
    as
    TYPE t_record IS RECORD ( company_number PLS_INTEGER--TABLE_NAME.COLUMN_NAME%TYPE
    , company_desc VARCHAR2(150)--TABLE_NAME.COLUMN_NAME%TYPE
    TYPE T_REF_CURSOR IS REF CURSOR RETURN t_record;
    procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor) ;
    end test1;
    show errors
    create or replace package body test1
    is
    procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor)
    is
    my_r_cursor T_REF_CURSOR;
    begin
    if(company_name = '1')
    THEN
    open my_r_cursor for
    select 1 as t_id, 'description' ast_description from dual
    else
    open my_r_cursor for
    select 2 as t_id, 'description2' as t_description from dual
    end if;
    end;
    end test1;
    show errors
    then, in your report you create a ref cursor query :
    function QR_1RefCurDS
    return test1.t_ref_cursor
    is
    C_return test1.t_ref_cursor;
    begin
         test1.report(1,C_return);
    RETURN(C_return) ;
    end;
    hope this helps you !
    E

  • Add a new selection option on VL71

    I want to add a new selection option on VL71.
    I know that I can do an implicit enhancement.
    But I am not sure if I can add it in the place as showed.
    If the enhancement cannot solve the problem, do I have to copy out a Z program.

    Dear Experts,
    In HUMO report, after the specail stock, We want add another selection field "Special Stock Number".
    Do we need to go for a development for this?
    Any alternate way available to get this done without much development involved?  Pls suggest.
    Regards,
    Shetty

  • Creation of new conditions in reports

    hi,
    plz tell me the steps in creating new conditions in reports.what is the difference b/n conditions and new conditions?
    thanks ,
    jack

    Hi Jack,
    You can formulate conditions in the query designer to make data analysis more efficient. In the results area of the query, the data is filtered according to the conditions so that only the part of the results area that you are interested in is displayed.
    Procedure
    Choose New Condition. (You can find this menu entry in the Query Designer toolbar under This graphic is explained in the accompanying text to the right of This graphic is explained in the accompanying text Condition). The Define Condition dialog box appears.
    Specify a name for the condition in the Description field.
    Note:If you only want to define the condition and not execute it actively in the query, remove the check from the active, which was set by default.
    You now have the following options:
    If the condition lines below are to be evaluated independent of one another for all of the characteristics in the drilldown and you want to use the same condition for multiple characteristics of the query, select Evaluate Conditions Below for All Characteristics in the Drilldown Independently.
    You can choose from the following operators for threshold conditions:
       Is equal to
    -         Is not equal to
    -         Is less than
    -         Is greater than
    -         Is less than or equal to
    -         Is greater than or equal to
    -         Is between (is in the interval)
    -         Is not between (is not in the interval)
    These operators demand a floating point number as a value. For the operators is in interval and is not in interval, you must enter a value area, that is, a lower and an upper threshold value.
    You can choose from the following operators for ranked list functions:
    ¡        Top N
    ¡        Bottom N
    ¡        Top percent
    ¡        Bottom percent
    ¡        Top sum
    ¡        Bottom sum
    You can find additional information about using operators for range lists under Conditions.
    http://help.sap.com/saphelp_erp2004/helpdata/en/43/b57138c1afbd20e10000009b38f889/frameset.htm
    Regards
    Hari

  • "new selection", restricted key figure and basic key figure

    Hi,
    I have a test report and i have a basic keyfigure "ZRevenue" and "restricted key figure"(its defined over "ZRevenue") and
    a "new selection"(its defined over "ZRevenue").
    Now that i have "material number" and "material color" and "request id" in the rows. ("Material color" is a navigational attribute of material number).
    In the column level i have a basic key figure  "ZRevenue" and "restricted key figure"(its defined over "ZRevenue")  and
    a "new selection"(its defined over "ZRevenue") .
    In a "restricted key figure" or "new selection", we can include a basic key figure or new formula or calculated key figure or an already restricted key figure into it, then we restrict it, with one or more characteristic values. In the report output we get KF values only for those characteristic values, with which it has been restricted. Please correct me if my understanding is wrong.
    Initially i restricted the "new selection" (with material number 1 to 3) and "restricted key figure" (with material number 1 to 4).
    In the cube i have material numbers 1 to 11. Now all the values were displayed from 1 to 11, but for the
    "new selection" (with material number 1 to 3) and "restricted key figure" (with material number 1 to 4) i got values only for 1 to 3 and values for 1 to 4 respectively. This is as expected and is working fine.
    Now i tried to restrict the basic keyfigure  "ZRevenue" with material number 1, the output was only until the material number 4 (this is the greatest value of the material number defined over the "restricted key figure").
    Then i tried to restrict the "new selection" (with material number 1 to 9) , then the output was from 1 to 9 material numbers.
    If i remove the restriction over the basic keyfigure  "ZRevenue" , then i get all the material numbers from 1 to 11, for "new selection" i get values for the material number 1 to 9 and for "restricted key figure" i get values for the material numbers 1 to 4.
    Can some one explain me why this behavior?
    Edited by: sapbi enthusiastic on Jan 31, 2012 11:48 AM

    Hi,
    This is where set theory comes in handy
    So what you have is a basic KF (BKF), a selection (SEL), and an RKF.
    When producing an output, BEx seems to be looking for the union of all the restrictions you place on these. So when your BKF is not restricted, the union comes out to everything in the underlying DSO. When you restrict the BKF for material number 1, this is how the restrictions might have been processed internally
    BKF: Restriction on material 1
    RKF: Restriction on material 1-4
    SEL: Restriction on 1-3
    Union of these three: 1-4
    When you remove the BKF restriction and make SEL restricted to 9, this is how it plays out
    BKF: NO Restriction on material
    SEL: Restriction on material 1-9
    RKF: Restriction on 1-4
    Union of these three: everything.
    As the union ends up giving you everything, you get 11 records. However, as SEL is restricted for 1-9, the SEL will have values for the materials 1-9. Likewise for RKF, you'll get values only for materials 1-4. Hope this clears things up!
    Regards,
    Suhas

  • How to create a new selection screen IN LOGICAL DATABASE PNPCE

    how to create a new selection screen LDBS PNPCE

    Hello Ankit,
    Do you want to create a new selection screen in LDB PNPCE, or do you want to create a new selection screen in one of your reports using LDB PNPCE?
    For later (which is more common), you can use HR Report Category.
    Hope this helps.
    Best Regards,
    Biraju Rajyaguru

  • How to add new column in report painter

    Hi Experts,
    I want to add new column in report painter which as to calculate the previous column . value in the new column should be the precentage of previous column existing on left side...

    HI  Pradeep,
    Goto the transaction code (Change Report) GR32.
    Give you library name and report name
    And click on the column (application tool bar or F7) button then place the curser on the screen where you want column (please note you have to keep curser on the header section u2013Red column text) right click and insert element. Then you select formula as selection element  and enter. You will get the enter formula box. Then you can type your formula and continue. This will add new column to the report.
    How to enter formula: you can see the formula components in that id and description.
    Id is columns that are present and description indicates explanation of that column.
    Enter formula according your requirement.
    Examples:
    Enter formula screen:
    ID :    des
    X001  amount
    X002  pt000
    X003  test
    1. Enter formula as: ( X001 u2013 X002)
    The above formula is for fist column u2013 second column.
    2. ( ( X001 u2013 X002) / X003) * 100
    First column u2013 second column and devide by third column after that multiple with 100.
    Hope this will help you
    Regards
    Manohar

  • RESCIS - Unable to select custom report from Selection Screen

    Hi all,
    we have developed a custom report for transaction "RESCIS-Evaluation of service charge settlement" but we have found that althought the report appears in selection screen field called "REPORT" it throws message RESCIS003 but the report is not shown.
    If we doesn't fulfill report field in selection screen, the program shows a second screen where a couple of ALVGrids are shown allowing the user to select the report that will be displayed. Here we are able to select our custom report and the data in it is displayed.
    We have analyzed the standard program that is executed via transaction RESCIS and we've found that the selection screen executes standard function RESC_GUI_ANYREPORTS_APPL that doesn't executes reports dinamically but statically. That means that SAP doesn't allows to execute custom reports directly from selection screen.
    I think this is a SAP error but afert opening an OSS message SAP sais that is not an error but a bad configuration or lack of knowledge for customizing it.
    Has anyone developed a custom report for RESCIS transaction?

    Hm what exactly did you want to change? Normally it is in REFX cases you should not copy standard REPORTS. In your case with transaction RESCIS, I myself do not see any need to add any functionality in this report because it is only a sum of all lists from your service charge settlement. What else do you want to see there?
    For displaying new fields in the separate lists maybe there is some BADI for it.
    Regards
    Michael

  • How to create a new selection screen LDBS PNPCE

    how to create a new selection screen LDBS PNPCE

    Hello Ankit,
    Do you want to create a new selection screen in LDB PNPCE, or do you want to create a new selection screen in one of your reports using LDB PNPCE?
    For later (which is more common), you can use HR Report Category.
    Hope this helps.
    Best Regards,
    Biraju Rajyaguru

  • Currency in New selections

    Hi all,
    I have a query designer in which rows and columns exist. In columns I have written some formulaes and have some selections.
    When I execute a report in designer I can see the values coming in formulas and in New selections with currencies.
    I dont want to display currencies and I know how to do it for written formulas but  not for selections.
    How to remove the currencies for taken selections in columns of an Query designer?
    Thx

    Hi Nagar,
    I don't have concrete solution for your issue - but as a workaround you could use formulars that refer to the selections.
    In these forumular you can remove the currencys as usual.

  • New Formula as a Key Figure in the New Selection

    Hi,
    In the Cell Editor, is it possible to include the New Formula as the Key Figure in the New Selection?
    Please find below the Cell Editor. I have just given the sample of my requirement.
    Column A                                         Column B
    A1) Net Sales ( Cell Reference)             B1)
    A2)                                             B2) Inventories ( Cell Reference)
    A3)                                             B3) Inventory Days ( New Formula)
    A4)                                             B4)
    My Requirement is in the Cell B4 I want to create a New Selection in which the Key Figure should be the Inventory Days ie the cell B3.
    Is it possible to include and if so how.
    Thanks,
    Rajesh Janardanan

    Hi,
    Yes you can change this display by following path in tcode :spro
    Goto >SPRO>SAP Reference IMG>SAP Netweaver>Business Intelligence>Settings for reporting and analysis>General settings for reporting and analysis--> Set alternative currency display(table RSRCURRDISP).
    Flag = A     After value
    Flag = B     Before value
    hope it helps..
    regards,
    Raju

  • Relative Selections in reports

    Hi everybody,
    we want to use relative selections in reports e.g. to select the current quarter and the next three.
    The standard relative selection doesn't contain this option, but it is possible to define own relative selections. But these are only "quite relative", that means there is no logic to calculate the current quarter and the following from today's date. I can only enter fixed values e.g. Q3/2014 for the current quarter and have to change it when the next quarter starts. This is also described in the documentation. That's not really what we are looking for.
    Is there any PDI-way to create own relative selections with really calculations? I didn't find anything.
    kind regards,
    Frank

    Frank,
    I don't believe so as of 1405 - I've asked support about this and they recommend that i post an idea to the ideas forum.
    We'll have to see what the 1408 SDK information contains, but from what i see, there's nothing in the 1408 ByDesign "What's New" documentation related to this.

Maybe you are looking for

  • Warning while submitting XML Publisher Report..

    Hi All, I am getting warning status when i run a XML Publisher report..Its Working fine when i previewed in RTF template.. The Concurrent Program is generating XML Tags.. Can anyone help me.. The following is the log file content.. Arguments P_FROM_D

  • Exception Using Generate Metadata in OIF 11.1.1.4

    I am conducting some initial tests using OIF version 11.1.1.4 on a WebLogic 10.3.5 domain on LINUX which is also configured with SOA Suite 11.1.1.5. Attempting to use the Generate Metadata button to export Identity Provider and Service Provider data

  • Download .doc files

    When I click a link in Safari to a .doc file, it opens it in Safari. Is there a way to open it in Pages?

  • Did Not Find Alert Inbox and Alert Configuration Page

    Dear All, I if i click on Alert Configuration and Alert Inbox in Runtime Workbench, It is showing 404 NotFound. Please help us Regards Kumar

  • The alias "remote-pc" could not be opened...

    The alias "remote-pc" could not be opened because the original item could not be found. I get this message whenever i try to connect to a shared drive either in windows vista or ubuntu (same machine, triple boot) but windows xp will connect. My netwo