Jump in second report with condition (RRI)

Hi!
I have a report with 0MATERIAL in the column and one kyf in the layout. Also i have an active condition, which displays the TOP10 materials with the ten highest kyf-values.
For example: inactive condition: 20 mat.nr.; active condition: 10 mat.nr.
Now, i want to jump into another report with this TOP10 Mat.nr.. The problem is, that the target-report shows all mat.nr. (for this example: 20) and not only the TOP10 materials.
Have you any ideas to solve this problem? Thanx!!!
Greets!
chris

Hi,
If I understand your problem clearly , you want to display detail report for top 10 materials.
If it is so , then you can achieve this with resultset query.
Steps...
1. QRY1 - Query with top 10 material which you have.
2. QRY2 - Query with details, which you want..
3. In QRY2 create variable for 0MATERIAL and select type "Peplacement Path". Replace with Query QRY1.
This will serve your problem.
Regards
SSS

Similar Messages

  • Standard Report with Condition Type and Condition Records

    Hello to all,
    Is there any standard report available in which Condition Type and Condition values are displayed in either column or row format? The selection criteria can be either Quotation, Contract, Sales Order, Delivery, Invoice or Billing. Thanks anyways...

    Hi Huzefa,
      Pls check the relevant table where the condition records are stored. then do a query with  that condition table and KONP. say for eg: condn type ZINV,ZMRP gets stored in condition table A821, then combine A821 and KONP, u can input condition type and get the values........................
    go to vk13, display and click on layout, u will able to see the condition table.
    Rgds,
    Anitha J

  • Link Report - Report with condition

    Hi,
    I want to create a link in a report row that opens some page if the column has a determined value and other page if the value has another value. In other words, depending on a column value the link should open page1 or page2 or page3.
    Is this possible to do?
    Thanks

    what url should I use, considering that I plan to
    deploy my application to other systems? Use whatever URL you were planning to use when you were going to do it declaratively in the Column Link section?
    If I use absolute url
    (http://myserver.com/pls/htmldb/f?p=102:1) it makes
    me change the code each instalation I do. Can I use aWhere is the URL coming from? From some data in that row? Then construct it accordingly. I really can't say much without seeing your full situation.
    relative path like f?p=102:1 ?Sure, all that has nothing to do with HTML DB. Relative URLs, as you know, will use the server/port from the currently loaded document.
    Another question: it seem that when using a link like
    http://myserver.com/pls/htmldb/f?p=102:1 the login
    session is lost, it presented me the login screen. Do
    know something about this?Quick suggestion: Try passing the &SESSION. also in the URL above because unlike v1.6, HTML DB 2.0 needs a session in every link otherwise it redirects to the login page.

  • Report with "Condition Type" (KSCHL)

    Hi Friends!
    Does anybody know any standard report that show CONDITION TYPE ?
    Thank you in advace!

    There are no standard reports available which shows the transaction data of CONDITION TYPES. However  you can refer to the condition type related details in database tables KONV at transaction level.
    In this case, either VBAK-KNUMV or VBRK-KNUMV should be equal to KONV-KNUMV
    Hope this helps you.
    If you need further info, pls let us know

  • Need help to develop report with column chart

    Hi
    I am new to SAP BO world.Could  anyone please help me to design report with column chart.Please guide me how to develop report for the following requirement.I am not aware of variance columns and variance labels.Please provide some guidance or some tutorials(for column Chart) so that I can complete the task. Please reply me as soon as possible.Waiting for reply.Thanks in advance.
    Type: Column Chart
    u2022     Rows: Banking Asset Margin (%)
    u2022     Start / End Columns: PY YTD Act(Prior year year to date); CY YTD Act(Current year Year to date)
    u2022     Variance Columns: # Var (CY-PY Act) for GOLM; Volume; Rate; Non Banking NII; Banking Volatility in NII; Banking Volatility in OOI; Fees/One Offs/Other; Volatile Items; Sophie
    u2022     Sub-total columns: PY YTD Underlying; CY YTD Underlying.
    u2022     Variance Labels: % Var (CY-PY Act) for Total Income and Underlying Income
    u2022     Sub-Total Labels: # Var (CY-PY Act) for Net Insurance Income; Banking Volatility; Other Operating Income
    Additional information
    u2022     Variance columns (bar) colours: Red = Adverse to Prior Year; Green = Favourable to Prior Year
    u2022     Columns to show values. Adverse values to be shown in red text in brackets. Favourable results in black text.
    u2022     All values in Black, but adverse to be shown below the bar.

    Hi,
    This type of question is almost impossible to answer over a forum .
    You need to work with your business to understand what these requirements mean in terms of data modelling and relationships between object entities.
    - Some of these metrics should be delegated to source, and calculated in the update routines to your datatargets (aka Cubes/Tables)
    - Others could be resolved in the semantic layer (Universe)
    - Other will be calculated in the presentation layer as local formulae or variables.
    whilst BusinessObjects is a fairly intuitive tool, it may be unreasonble to expect a new learner to deliver an advanced report with conditional formatting.
    Regards,
    H

  • Missing Result Rows on Query with Conditions

    I have a query that has a condition to show only items over $2500.00.   We have a result row that shows for plant when the condtions is not on but once the condition is set that result row goes away.  Does anyone know how to get a result row to show up on reports with conditions?  Thank you.
    Caroline

    Hi Caroline,
    In BI 7.0, you goto do this in Query Designer.
    Select any of your characteristic in the designer and choose Display Properties to always display result.
    Then run the query.
    Assign Points if Helps !!
    Regards,
    Naveen Rao Kattela

  • Report with custom layout - formatting conditions

    Hi,
    There's a report with custom layout. What I need is to format some cells depending on the data they contain(like different background color). There's a tab named "Formatting Conditions" which should be meant for doing this and it works perfectly when report has tabular layout. But nothing happens in case of custom layout. Should this be done then in the "Report Layout Editor" and with Javascript? Portal version is 3.0.9.8.0.
    Thanks in advance,
    Madis

    Hi,
    Some condtions like background color do not work in custom mode reports. This is because in case of custom reports the table html is specified by the user and the report renderer has no control over it.
    Hope this helps.
    Sunil.

  • Graphic/Image not displayed with conditional formatting in Report Designer

    We are facing problems with displaying an image in a conditional formatting in the Report Designer. The image itself is in the mime repository and can be displayed in the report if no conditional formatting is used. But if it is used the image doesn't appear in the report.
    Backend setup: SP 8
    Frontend setup: Patch 8, hotfix 2, Revision 95
    Any help is highly appreciated.
    Sven

    Hi,
    I could not reproduce your problem in internal SP8 system. Also images in rows with conditional formatting are displayed.
    Do you get any errors after the execution in the portal?
    Try to use exactly the same image in both rows (drag-and-drop with CTRL key pressed).
    If then your problem still occurs, open a customer message. Describe your problem in detail and write technical name of the report you used.
    Regards, Karol

  • Conditional Scheduling of report with Prompt values

    Hi All,
    My requirement is that I select some values in the dashboard prompt and get the report. Is there any methodlogy to schedule that report with having data in report according to
    set prompt values on the fly that is dynamically.
    We can a link below the report to schedule it but how can we pass the condition parameters? Please help.

    Hi Kishore,
    Thanks very much for the reply. It answers one part of the question.
    I am thinking to put a text property or button below the report and is it possible to attach the report values with current prompt selection and the request is attached to the in delivery content section which means user need not pick up the delivery content only he has to schedule current report only by clicking the link or button? Can I have script for that.
    To make it simple If I am the user I would like to see following:
    1. I go to dashboard page and select the prompt and get the report result.
    2. I have link or button below to schedule.
    3. I press the button I go to delivers section.
    4. I have current report attached to the delivery content with default selection or current selection.
    5. I modify other parameters and schedule.
    Please help me.

  • Ora-06503/rep-1401 with my second report

    hello :D
    im making my second report (new to reports, self studying)
    i encountered REP-1401-'cf_itemtypeformula': Fatal PL/SQL error occured.
    then i tried to trace the error by putting srw.message() in parts of the code to try to figure out the problem
    here is cf_itemtype currently
    function CF_itemtypeFormula return Char is
    itype char(60);
    begin
         srw.message(1000,'item type is'||:p_itemtype);
         --return ' ';
    if :p_itemtype = '%-ALL' then
         itype:=' ';
         srw.message(1005,'itype code is'||itype);
         return itype;
    else
         srw.message(1003,'item type is'||:p_itemtype); --it prints this one
         itype:='AND il.itty_code= itty.code and itty.item_type = '''||:p_itemtype||''' ';
         --itype:=' ';
         srw.message(1005,'itype code is'||itype); --and never reaches this line i think.
         return itype;
    end if;
    exception
         when value_error then
              srw.message(1007,'value error');
    end;
    i think the error is because of this line
    'AND il.itty_code= itty.code and itty.item_type = '''||:p_itemtype||''' '
    because when i comment it out and uncomment itype:=' '; the srw.message(1005,'itype code is'||itype); works
    thanks

    Hi,
    You just need to increase the length of itype.
    Or even better option is to return the value directly without assigning to a local variable.
    return ('AND il.itty_code= itty.code and itty.item_type = '''||:p_itemtype||''' ');Your over all function without the SRW messages will be like, you don't even need Exception handler:
    function CF_itemtypeFormula return Char is
    begin
    if :p_itemtype = '%-ALL' then
      return (' ');
    else
      retrun ('AND il.itty_code= itty.code and itty.item_type = '''||:p_itemtype||''' ');
    end if;
    end;Also I have doubt about your if statement, I dont understand what you are trying to do by this.
    > if :p_itemtype = '%-ALL' then
    May be you just need to check if :p_itemtype is null
    so may be your above IF clause will be like
    > if :p_itemtype IS NULL then
    Edited by: Arif Khadas on Apr 21, 2010 10:37 AM

  • Display the second report as modalform and filter with primary key value of first report when you click on first report column link

    Hi All,
    I have two reports.
    1. order report
    2. order detail report
    when you click on the order report column it display the order detail report as a modal form.
    i was done below steps.
    1. In page header i was written the below code
    <link rel="stylesheet" href = "http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/
    redmond/jquery-ui.css" type="text/css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script>
    <script type="text/javascript">
    $( function() {
    $('#ModalForm1').dialog(
    autoOpen : false ,
    width :470,
    height: 500,
    resize :false,
    function openForm1()
    $('#ModalForm1').dialog('open');
    function closeForm()
    $('#ModalForm1 input[type="text"]').val('');
    $('#ModalForm1').dialog('close');
    </script>
    2. order report.
    3. order detail report
       select * from order_details where order_id = p_order_id;
    region header
    <div id="ModalForm1" title="Ordered Items" style="display:none">
    <p class="msg"></p>
    footer
    </div>
    4. created the hidden item in order detail report.
    5. in order report column attributes i was given link like below.
    javascript:$s('p_order_id','#order_id#');openForm1();
    when i click on the order report column link it passing the row primary key value to hiddent and open the report as modal form. however it is not filter the report with hidden item. it showing the no data found.
    problem is hidden item value is not submitting. once we submit that value it showing the 2nd report with filter data.
    can any help me to achieve above requirement.
    apex: 4.2
    oracle 11g
    Regards,
    Vijay.

    Vijay,
    Issue 1: Your usage of $s() JavaScript API seems to be wrong. For the first parameter, you need to use the name of the hidden page item and not p_order_id.
    javascript:$s('P1_ORDER_ID','#ORDER_ID#');openForm1();
    Issue 2: Seems like you are not setting the hidden page item's value in session state. Assuming your hidden page item is called P1_ORDER_ID, Under "Region Definition" tab of your "Order Detail Report" under "Source" tab, for page items to submit, enter the name of the hidden page item P1_ORDER_ID.
    Thanks!
    JMcG

  • How to move from one report (with positive Qty) to another (Negative Qty) ?

    Hi all,
         There is Quantity column in BEx query and I have a Calculated Key Figure on Quantity to have only POSITIVE values (> 0). Now the requirement is to have another report which are excluded from first (main) query because of NEGATIVE values (< 0). Basically, the first report will have only POSITIVE Quantities and we should drive from there to another report which will have NEGATIVE Quantities.
      Could you please tell the steps to accomplish it with RRI, PLEASE ?
    Thanks,
    Venkat.

    Hello;
    Why don't you create a calculated KF just for the quantity.
    Then, on the first report you make a condition (quantity > 0). for that CKF.
    In the second report you do the same but for negative.
    See this link for more details:
    http://help.sap.com/saphelp_nw04/Helpdata/EN/c1/5f6039ae48e623e10000000a11402f/content.htm
    Regards;
    Ricardo

  • I want to run an open order report with no goods receipt

    I'm looking to run an open order report with no confirmations(i.e.the order must have no status like LA,Z4,Z5,Z6)and no goods receipt.
    ME80FN is still giving me orders that have no confirmations but closed.
    I tried using a logical database but no luck.
    What can i use to achieve this open order report?

    Hi,
    You can write a small report for this requirement:
    Just select all the PO's from EKKO and EKPO table into an internal table(ITAB) with the given where condition.
    Write a select statement for the MSEG for all entries in ITAB into an seperate internal Table(ITABM).(nothing but all GR's entries)
    Compare Both internal tables and delete all entries which are present in second Int table ITABM from the first.
    That's all.
    The remaining entries are nothing but the OPEN PO's without any Goods Receipt.
    Regards,
    Anji

  • Apex IR report with Heading label

    i have IR report with 15 column with heading..
    The end user can accessing from different department, when the user can see the report shown only their particular department rows only. each department have different column value and Header label .how can display the column header depend on the department user.
    e.g. IR report view
    Seq# -- Department -- date -- Subject/Customer Message
    1                          Communication done with Jony(from HR department)
    2                          low sales from East region(from Sales Department)IN the IR report Table data structure.Heading_code value as LOV in IR form(1.Subject/2.Customer Message/ect...) and Column_value as Text Field.
    Seq# -- Dept_name -- Heading_code --  Column_value
    1        HR              1           Communication done with Jony
    2        Sales           2           low sales from East regionApex have limitation of one IR report in one page. so i could not create different Report region even i don’t want create another page due to the further functionality issue.
    Thanx,
    Ram

    I'm glad you could apply that approach. I'm not crystal clear on what is needed but I have a few general ideas.
    1) If there will only have 3 or 4 classes (types) of users, you might try using a CASE statement in a Before Header process:
    BEGIN;
      CASE
        WHEN condition for 'KAC' THEN
             SELECT [first label constant or variable], [second label], ...
                  INTO &Px_COL_HEAD1., &Px_COL_HEAD2, ... FROM ... ;
        WHEN condition for 'MIS' THEN
             SELECT [first label constant or variable], [second label], ...
                  INTO &Px_COL_HEAD1., &Px_COL_HEAD2, ... FROM ... ;
        WHEN  condition for "ADMIN"  THEN
             SELECT [first ADMIN label constant], [second ADMIN label constant], ...  
                  INTO &Px_COL_HEAD1., &Px_COL_HEAD2, ... FROM ... ;
        ELSE -- default case
             SELECT [default first label constant or variable],
                         [default second label constant or variable], ...  
                  INTO &Px_COL_HEAD1., &Px_COL_HEAD2, ... FROM ... ;
        END;
    END; NOTE: Do not make the "ADMIN" case the default. That seems like a security hole. I would always want a data check for the ADMIN case.
    2) Or put the above code in an Application Process rather than a Page (Before Header) Process so it's only computed once.
    Does that give you some ideas?
    Regards,
    Howard

  • How to prevent duplication on a column with condition

    Hello everyone,
    I need some advice here. At work, we have an Oracle APEX app that allow user to add new records with the automatic increment decision number based on year and group name.
    Says if they add the first record , group name AA, for year 2012, they get decision number AA 1 2013 as their displayed record casein the report page.
    The second record of AA in 2013 will be AA 2 2013.
    If they add about 20 records , it will be AA 20 2013.
    The first record for 2014 will be AA 1 2014.
    However, recently , we get a user complaint about two records from the same group name have the same decision number.
    When I looked into the history table, and find that the time gap between 2 record is just about 0.1 seconds.
    Besides, we have lookup table that allows admin user to update the Start Sequence number with the restraint that it has to be larger than the max number of the current group name of the current year.
    This Start sequence number and group name is stored together in a table.
    And in some other special case,user can add a duplicate decision number for related record. (this is a new function)
    The current procedure logic to add new record on the application are
    _Get max(decision_number) from record table with chosen Group Name and current year.
    _insert into the record table the new entered record with decision number + 1
    _ update sequence number to the just added decision number.
    So rather than utitlising APEX built-in automatic table modification process, I write a procedure that combine all the three process.
    I run some for loop to continuously execute this procedure, and it seems it can autotically generate new unique decision number with time gap about 0.1 second.
    However, when I increase the number of entry to 200, and let two users run 100 each.
    If the time gap is about 0.01 second, Duplicate decision numbers appear.
    What can I do to prevent the duplication ?
    I cannot just apply a unique constraint here even for all three columns with condition, as it can have duplicate value in some special condition. I don't know much about using lock and its impact.
    This is the content of my procedure
    create or replace
    PROCEDURE        add_new_case(
      --ID just use the trigger
      p_case_title IN varchar2,
      p_year IN varchar2,
      p_group_name IN VARCHAR2,
      --decisionnumber here
      p_case_file_number IN VARCHAR2,
      --active
      p_user IN VARCHAR2
    AS
      default_value NUMBER;
        caseCount NUMBER;
      seqNumber NUMBER;
      previousDecisionNumber NUMBER;
    BEGIN
      --execute immediate q'[alter session set nls_date_format='dd/mm/yyyy']';
      SELECT count(*)
            INTO caseCount
            FROM CASE_RECORD
            WHERE GROUP_ABBR = p_group_name
            AND to_number(to_char(create_date, 'yyyy')) = to_number(to_char(date_utils.get_current_date, 'yyyy'));
            SELECT max(decision_number)
            INTO previousDecisionNumber
            FROM CASE_RECORD
            WHERE GROUP_ABBR = p_group_name
            AND to_number(to_char(create_date, 'yyyy')) = to_number(to_char(date_utils.get_current_date, 'yyyy'));
            IF p_group_name IS NULL
            THEN seqNumber := 0;
            ELSE   
            SELECT seq_number INTO seqNumber FROM GROUP_LOOKUP WHERE ABBREVATION = p_group_name;
            END IF;
        IF caseCount > 0 THEN
               default_value := greatest(seqNumber, previousdecisionnumber)+1;
        ELSE
               default_value := 1;
        END IF; 
      INSERT INTO CASE_RECORD(case_title, decision_year, GROUP_ABBR, decision_number, case_file_number, active_yn, created_by, create_date)
      VALUES(p_case_title, p_year, p_group_name, default_value, p_case_file_number, 'Y', p_user, sysdate );
      --Need to update sequence here also
      UPDATE GROUP_LOOKUP
      SET SEQ_NUMBER = default_value
      WHERE ABBREVATION = p_group_name;
      COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
        logger.error(p_message_text => SQLERRM
                    ,p_message_code => SQLCODE
                    ,p_stack_trace  => dbms_utility.format_error_backtrace
        RAISE;
    END;
    Many thanks in advance,
    Ann

    Why not using a sequence for populating the decision_number column ?
    Sequence values are guaranteed to be unique so there's no need to lock anything.
    You'll inevitably have gaps and no different groups will have the same decision_number in common.
    Having to deal with consecutive numbers fixations you can proceed as
    with
    case_record as
    (select 2012 decision_year,'AA' group_abbr,1 decision_number from dual union all
    select 2012,'BB',2 from dual union all
    select 2012,'AA',21 from dual union all
    select 2012,'AA',22 from dual union all
    select 2012,'BB',25 from dual union all
    select 2013,'CC',33 from dual union all
    select 2013,'CC',34 from dual union all
    select 2013,'CC',36 from dual union all
    select 2013,'BB',37 from dual union all
    select 2013,'AA',38 from dual union all
    select 2013,'AA',39 from dual union all
    select 2013,'BB',41 from dual union all
    select 2013,'AA',42 from dual union all
    select 2013,'AA',43 from dual union all
    select 2013,'BB',45 from dual
    select decision_year,
           group_abbr,
           row_number() over (partition by decision_year,group_abbr order by decision_number) decision_number,
           decision_number sequence_number -- not shown (noone needs to know you're using a sequence)
      from case_record
    order by decision_year,group_abbr,decision_number
    DECISION_YEAR
    GROUP_ABBR
    DECISION_NUMBER
    SEQUENCE_NUMBER
    2012
    AA
    1
    1
    2012
    AA
    2
    21
    2012
    AA
    3
    22
    2012
    BB
    1
    2
    2012
    BB
    2
    25
    2013
    AA
    1
    38
    2013
    AA
    2
    39
    2013
    AA
    3
    42
    2013
    AA
    4
    43
    2013
    BB
    1
    37
    2013
    BB
    2
    41
    2013
    BB
    3
    45
    2013
    CC
    1
    33
    2013
    CC
    2
    34
    2013
    CC
    3
    36
    for retrieval (assuming decision_year,group_abbr,decision_number as being the key):
    select decision_year,group_abbr,decision_number -- the rest of columns
      from (select decision_year,
                   group_abbr,
    -- the rest of columns
                   row_number() over (partition by decision_year,group_abbr order by decision_number) decision_number
              from case_record
             where decision_year = :decision_year
               and group_abbr = :group_abbr
    where decision_number = :decision_number
    DECISION_YEAR
    GROUP_ABBR
    DECISION_NUMBER
    2013
    AA
    4
    if that's acceptable
    Regards
    Etbin

Maybe you are looking for

  • ESATA HDD not recognised on cold boot, OK on reboot

    Hi, I have a HP Elitebook 8740w from which I have removed the internal HDD and connected an eSATA HDD which is powered from the USB bus (I've done this for security purposes). I'm having a problem whereby when booting at  initial power-on, a Non-Syst

  • PDF document opened with Preview does not show french accents

    Hi everybody, I've got some issues with PDF documents opened with Preview. They show a blank space for all the accented vowels. If I open the same document with Safari, it's the same. But with Chrome, it works perfectly. I assume there's a problem wi

  • Spatial index error whilst creating an index for a GeoRaster column

    Dear all Several months ago I inserted 12 Raster map PNG files into Oracle as GeoRaster data. I then viewed these in MapBuilder to check they are were loaded and as they appeared, it seemed to suggest they were. Today however I realised I had not cre

  • COMMIT_IN_POSTING

    Hi experts I have a problem with an output type of the sales orders, results that after creating a SAP sales order I need to create the same sales order in an informix system, so I'm connecting with DBCO to the informix database and executing some st

  • Disk I/O errors with Mail only

    For the past few days, I have noticed Mail was running slowly - especially when starting.  Would take forever to start pulling in messages.  I looked for solutions and disabled non-essential accounts.  Then I took all 5 email accounts offline.  Still