Multiple RowSets Layout

Hello,
I have 3 Rowsets and params that determine if each or all rowsets will contain data. My question is if
Rowset1 does not return any data, Is it possible for Rowset2 to display data where Rowset1 is located?
I do not want a blank page to appear when Rowset1 is empty then Rowset2 appears with data. Same scenario if
Rowset2 returns no data but Rowset3 does. Can Rowset3 appear where Rowset2 is located within template? I have
not been able to locate a thread to assist me with this. Any help is appreciated.
Rowset1
1
2
3
Rowset2
3
4
5
Rowset3
2
3
5

Hey Vetsrini,
I have a results statement that is wrapped around my first Rowset1 which does not contain any data. The params are only selected within APEX. So, I am just modifying my .xml data to contain data or not.
<?if:(count(/DATA/ROWSET1/ROWSET1_ROW) > 0 and /DATA/ROWSET1/ROWSET1_ROW/REPORT_UNDER !='') ?>This is my Rowset 1 end if.
<?if:count(/DATA/ROWSET1/ROWSET1_ROW) <= 1 and /DATA/ROWSET1/ROWSET1_ROW/REPORT_UNDER =''?>My second Rowset2 should appear where Rowset1 appears but a blank page appears because Rowset1 has not data then on the second page Rowset 2 appears then Rowset3.
Something is incorrect with my if statement above.

Similar Messages

  • Crosstab with multiple rowset xml content

    I have multiple rowsets (xml files) which I want to calculate subtotals from.  Each xml data set has identical columns.  If I union all the files together, the xml content contains multiple rowsets and the Crosstab function does not give me a summed value of each column, but instead it creates a column for each column in each rowset.
    The Normalize and the rowset combiner transform both combine rowsets by appending the second dataset into new columns, is there any way to append the data into new rows instead?
    Because my final file is going to have something over 30,000 rows (14Mb), I am reluctant to use a repeater on each row of each file to combine it into a new rowset.  Is there an efficient way to handle this calculation?

    Sue,
    I believe that we are off on the wrong foot here...all things aside...
    Join will work for your scenario when combined with other actions for your calculation and it will be easier to maintain than a stylesheet which will be beneficial to you in the end.  Please do not be too quick to judge the solution
    As for the error message that's one for support, what was the error in the logs?
    -Sam

  • Display Multiple ALV layouts on one screen

    Hi,
    I have created 4 ALV Catalogues named: ALVCAT1, ALVCAT2, ALVCAT3, ALVCAT4
    I have also created the corresponding internal tables with data for each catalogue: ALVITAB1, ALVITAB2, ALVITAB3, ALVITAB4
    I have so far used the following function to generate each of the catalogues above:
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          I_PROGRAM_NAME     = SY-CPROG
          I_INTERNAL_TABNAME = 'ALVITAB1'
          I_INCLNAME         = SY-CPROG
        CHANGING
          ct_fieldcat        = ALVCAT1[].
    And I have used the following function module to display the table as ALV:-
    *DISPLAYING REPORT AS ALV GRID
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM      = SY-CPROG
          I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
          i_callback_user_command = 'USER_COMMAND'
          IT_FIELDCAT             = ALVCAT1[]
         i_screen_start_column = 10
         i_screen_start_line   = 15
         i_screen_end_column   = 200
         i_screen_end_line     = 20
        TABLES
          t_outtab                = ALVITAB1.
    How can I now using the above function modules or similar function modules to DISPLAY multiple ALV layouts on a single SCREEN. Each layout should be treated separately with their own ALV tool bar etc.
    In this case i need to display 4 screens but I have scenarios where i need to also display 5.
    Would be really grateful for your guidance with source code to achieve this.....
    Thnx
    Salman
    Edited by: Salman Akram on Sep 20, 2010 2:47 PM

    Hi
    Try this [Link|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=61243570] or the below program
    BCALV_TEST_GRID_DRAG_DROP
    or else
    Try to use splitter container to display multiple ALVs on one screen
    here is the demo program RSDEMO_SPLITTER_CONTROL
    the below code will help you to call grid using splitter control
         EXPORTING
            container_name = 'CUSTOM'.
        CREATE OBJECT splitter
          EXPORTING
            parent  = container
            rows    = 1
            columns = 1
            align   = 15.
        CALL METHOD splitter->set_row_height
          EXPORTING
            id     = 1
            height = 1.
        CALL METHOD splitter->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = container_1.
        CREATE OBJECT grid1
          EXPORTING
            i_parent = container_1.
        CALL METHOD grid1->set_table_for_first_display
          EXPORTING
            is_layout       = gss_layout
            is_variant      = lwa_variant
            i_save          = 'A'
          CHANGING
            it_outtab       = gt_report_list
            it_fieldcatalog = gtt_fld_cat.
    Regards
    Edited by: Anesht on Sep 20, 2010 11:49 PM

  • Data Merge/Multiple Record Layout...Can you change the order?

    I just had to do a mail merge with 4 postcards on a single letter size sheet.  Getting them to print with 4 different addresses per sheet using the Multiple Record Layout wasnt the problem.  You can choose for them to go in order from left to right or top to bottom.  Ok, thats all good.
    The problem I found was after cutting them, its impossible to keep them in order without doing a manual shuffle of all the cards.  Is there a way to have it print in an order so when they are cut, the 4 stacks can just stack on top of each other and stay in a proper order?  (using CS5)

    Well you cant really resort the excel file to work that way, not quickly or easily at all anyway.
    Currently it prints like this (representing the 4 corners of the page:
    page 1
    1    2
    3   4
    page 2
    5    6
    7    8
    page 3
    9    10
    11   12
    etc...
    There is no way to keep these in order after cutting without manually going through it...not fun when you have several hundred pages.  What makes a world more sense is to have it print like:
    page 1
    1    4
    7    10
    page 2
    2    5
    8    11
    page 3
    3    6
    9   12
    This way after its cut, the top left corner stack can go right on the top right corner stack, which goes on the bottom left corner, then bottom right corner.  Now you have a full stack in numerical order.
    Is it safe to say that InDesign cannot do this?

  • Multiple Blog Layouts

    Is it possible to have multiple overall blog layouts?  I have created two blogs for my site but want slightly differnt layouts.

    I guess word from higher up is that all blogs share the same template. Once Liquid is integrated it will be supported but not yet. Sorry.
    (But I still can't see why it can't be done)

  • Is it possible to have multiple page layout in single document?

    HI all,
    I am having a pdf document which contains 10 pages. I want to make the first three pages in Landscape layout and the remaining 7 pages in Portrait, is it possible?
    Thanks in advance
    Sreejesh K V

    Sreejesh K V wrote:
    HI all,
    I am having a pdf document which contains 10 pages. I want to make the first three pages in Landscape layout and the remaining 7 pages in Portrait, is it possible?
    Thanks in advance
    Sreejesh K V
    Sure. Print the first threee pages to PDF in landscape, the remaining seven in portrait, then combine them in Acrobat either by opening the first and inserting pages from the second or by using File>Create PDF>From multiple files.

  • How to setup Multiple report layouts based on parameter selection

    I'm trying to create a report that will be based on the parameter values a user select. There will be 3 different layouts for the report.
    Customer
    Salesperson
    Category
    If the user selects one of the three a different layout will be displayed.
    This is probably a simple solution but my Reports 6i skills are a little rusty.
    Your advise would be appreciated.

    Ok so you have a parameter form, and some parameters. In the data model, you can put your 3 queries. In the layout, as Ino said, put all 3 frames that you could possibly have.
    The way I would use to choose which query to use is below. Others may have other methods, but I like this.
    Ok lets say you have query A,B,C for simplicity. You have one parameter (P_PARAM1) on the form, and the user can choose A,B or C. Based on the parameter, you choose which query to use.
    In query A, you would add this line to the where statement:
    and :P_PARAM1 = 'A' You add the same lines to queries B and C, but change the letter obviously. So if the user enters A, it will only run query A because that was the parameter selected.
    Now for the layout, click on the frame that corresponds with group/query A. You would click F11 or launch the PL/SQL editor, and add the following format trigger (or something similar).
    function F_GRP_A return boolean is
    begin
      IF :P_PARAM1 = 'A' then
        return (TRUE);
      ELSE
        return (FALSE);
      END IF;
    end;Ok - then add that same logic to Frame B and C, and based on the parameter it will hide or show the frame.
    Hope that helps - thats a basic way to do what you're looking for!

  • Create multiple pages layout in Smartforms?

    Hei guys,
    I need to create a Smartform which has two parts. The top portion will remain the same, but it could possibly be more then one page because of size of text. The second part will have different values but the size will always be the same.
    Now we need to print multiple pages where the second the part will be different.
    I know that i will need to create a first page and a next page. But do i need to create two main windows in first page, one for each part. And what do i need to have in next page?
    Any help/suggestion will be appreciated.
    Thanks
    Nahman

    Hei,
    I have now worked on the Smartform. I am still struggling little bit. This is what i have now:
    I have one main which have 3 tables. The first two tables are displayed in the top portion of the page. As they are based on internal tables the number of rows will be different, so we dont know the exact size.
    In the bottom portion i have a table which is also based on an internal table. Now in this case we only want to print one row and then jump to next page where i want to display the top portion again and the next line of bottom portion. The issue i have right now is that the bottom portion needs to be printed on a fixed place of page. But what happens is that after first row is printed, and it goes to next page and starts printed on top of the next page. I dont want that.
    What i need is that the third table prints once on each page on a fixed position. Because once these pages are printed, they are not printed on a blank pages but a on a form where bottom portion values needs to be printed on specific fields.
    Thanks

  • Key "N" working as N+ALT when i have multiple keyboard layouts

    I have a weird issue ... I am using an apple aluminium keyboard with un-apple-keyboard, and remapped to act as a regular keyboard. I have used wiki article to achieve this: https://wiki.archlinux.org/index.php/Apple_Keyboard ...
    When I have only default EN keyboard layout installed, everything is fine, but when i add any additional layout (in my case Hungarian or/and Serbian) the key "N" starts to act kinda as ALT key... let me explain. when i press N it acts like i have pressed N and holding ALT... for example if i press n and f after it then i get this in console:
    N^[F
    this is very frustrating because as i type i often end up in a programs menu {ALT+* combinations} , or with some unwanted chars...
    I have tried many combination, but i could not solve the issue, so ANY idea/tip is welcome.
    Thanks in advance
    Last edited by bboldi (2012-09-17 09:11:39)

    Check out the "/usr/share/X11/xkb/symbols/" folder and edit whatever layout you're using (I'm guessing "rs"):
    $ ls /usr/share/X11/xkb/symbols/
    # nano /usr/share/X11/xkb/symbols/rs
    As you can see, there are more variants in there, so try another variant.
    If you have previously edited this file, maybe it will help to find out what package owns that file and reinstall it:
    $ pacman -Qo /usr/share/X11/xkb/symbols/rs
    /usr/share/X11/xkb/symbols/rs is owned by xkeyboard-config 2.6-1
    # pacman -S xkeyboard-config
    Note that the "N" key is awfully close to AltGr (the right-side Alt). Maybe it's a hardware issue? Apple peripherals are overpriced pieces of faeces (mice and headphones mostly. Don't know about the keyboard; I'd much rather buy something else in the same price range).

  • VSAM file with multiple record layouts (COBOL REDEFINES)

    Hi. We're using Tuxedo 12c to migrate a COBOL/CICS/VSAM application from MVS to Solaris/Oracle 11gR2.
    We have a few VSAM files with record layouts that start with a record-type field, and based on that, the remainder of the record layout varies based on COBOL copybooks using REDEFINES. We can't be the first to have this issue, and am wondering if there's a best-practice solution. Our initial thought is that each record type should become a separate database table, but if we need to do this manually, we'll also need to modify the post-converted code manually. I'm hoping there's a better way.
    Thanks.

    You are correct; you are not the first person to do this. There are a number of different strategies depending upon what you are trying to accomplish. First, is your objective to leave the COBOL/CICS/VSAM as is? If so, which COBOL compiler do you intend to use? Are you using Tuxedo ART Workbench? Are you aware that you have the option of leaving the VSAM datasets as VSAM on the target platform? If you want to convert VSAM to Oracle DB tables, you can create a separate table for each record type as you suggested or you can treat the entire record as a blob and let the copyfile sort it out once the data is returned to the program. Of course with this approach you will not realize the benefits Oracle DB as an RDBMS. Please provide me some additional context and I will make some best practices suggestions.
    You can get some insight on Tuxedo ART Workbench at http://docs.oracle.com/cd/E18050_01/artwb/docs11gr1/wbuser/FileToOracle.html

  • Multiple keyboard layouts in Tiger

    Dear all,
    I am experiencing some issues with the keyboard switching tool.
    basically, I have 3 layouts: Japanese, French and German.
    I configured those in the System Preferences / International and configured OS X to use the selected keyboard layout between all documents (this should prevent each app/window from switching layout atomatically)
    Now, the problem I have is that whenever I switch between AdiumX, Safari, Mail, Terminal and Finder(no specific order), at some point, my keyboard layout automatically changes back to French.
    This happens starting from a freshly booted Max OS X, where the first thing I do is set my keyboard to Japanese and then I start the various applications I use (mail, safari, AdiumX, Terminal).
    I would like to know if anyone has experienced the same behavior and which way I can fix this as this is a huge restrain in the workflow.
    Many thanks for future help!
    Alexis

    Hmm yeah, I do know the standard having grown up with it. But at least on all the other keyboards I had been using so far the characters are shown on the keys....
    Anyway, as to your question: I do find it feasible for the purpose I use either layout for.
    When using the German layout, I’m typing text, with a lot of umlaut-characters - äöüß etc. Clearly, the German layout is better suited than the US where you have to use weird combinations for these characters.
    In addition, I do a lot of Matlab-programming and LaTeX typesetting, esp. with a lot of formulas. And as those languages are designed, {},[],\, etc. are some of the most frequently appearing characters. For this task, I definitely prefer the US layout, where these characters can be easily acessed. And since m-files don’t even allow umlauts, and because all of my scientific stuff (LaTeX formulas etc.) is en English anyway, I don’t miss the umlauts here.

  • Multiple RowSets in a Web Bean

    Hello and thank you all for all the help earlier. :)
    I have a question concerning Web Beans. Each web bean is initialized through a JSP page. So far I've only been able to use one view object for each web bean. My problem is that I have data that I've picked up from one view object that I wish to insert in another.
    I can't figure out though how to do this. I made it one time using static variables which was a solution I disliked a lot. This problem is appearing over and over again. There must be a simple way to do this...
    I was thinking in the lines of using multiple view objects for a web bean, but I'm not sure if that's even possible. With static variables I could first initialize the web bean with one view object, put my data in the static variables, exit to the JSP page and reentering with a new view object initialized.
    There must be an easier and smarter way for this... ;)
    Any ideas, anyone?
    /Janne
    null

    Yes, it's true that you can only use one view object for each web bean. You can have multiple web beans per JSP, but I'm not sure that solves your problem.
    For example, I have a 'reporting' application with a JSP page that displays some dynamic LOVs and text fields for the user to enter their search criteria. When they submit that JSP form, another JSP is called.
    This second 'processing' JSP includes several web beans. The first is a custom web bean to do some date calculations and set some session parameters, the next is a RowSetNavigator which takes the data from the form fields, does some analysis and builds up a where clause for the report query, the next are more custom beans that print out a dynamic title and some other information to the browser, the last prints the report results itself.
    This allows me to do both data processing and report printing all in one JSP page. But again, I'm not sure this serves your needs.
    Another approach is to create a custom web bean, and initialize the 'second' view object in that web bean. I've included a code sample below:
    Here is the JSP usebean tag. I take a parameter from a form, and pass that to the render method of my custom web bean:
    <jsp:useBean class="wt_bc.staticWalkthruBean" id="swb" scope="request" >
    <%
    // get presentation name parameter
    String p = request.getParameter("p");
    swb.initialize(application,session, request,response,out,"wt_bc_WT_bcModule.wtinfoView");
    swb.render(p);
    %>
    </jsp:useBean>
    Here is the content of the custom web bean, sorry the formatting doesn't work great in this forum. In this particular example, I am setting a where clause, executing a query and printing the online walkthrough to a static HTML file on the file system (I have a different bean for doing the printing). Obviously you'd have to modify your bean to do the inserts, etc.:
    package wt_bc;
    import java.io.*;
    import oracle.jbo.*;
    import oracle.jdeveloper.html.*;
    public class staticWalkthruBean extends oracle.jdeveloper.html.DataWebBeanImpl {
    public void render(String p) {
    try
    // set up the print bean
    wt_bc.printStaticHTMLBean wtb;
    wtb = new wt_bc.printStaticHTMLBean();
    // print one or all walkthroughs ?
    if (p.equals("all")) {
    int i;
    Row[] rows;
    // use a RowSetNavigator to loop // through each presname in //wtinfoView
    oracle.jbo.html.databeans.RowsetNavigator rsn;
    rsn = (oracle.jbo.html.databeans.RowsetNavigator) new oracle.jbo.html.databeans.RowsetNavigator();
    rsn.initialize(application,session, request,response,out,"wt_bc_WT_bcModule.wtinfoView");
    rsn.getRowSet().getViewObject().executeQuery();
    rsn.getRowSet().first();
    rows = rsn.getRowSet().getViewObject().getAllRowsInRange();
    //This loop iterates through each //presentation
    for(i = 0 ; i < rows.length; i++)
    // get variable values from the // session
    String pn = rows.getAttribute( 0 ).toString();
    String theclause = "presname = '" + pn + "'";
    // initialize the view object we // will use to print, exeucte the // query and render the pages
    wtb.initialize(application,session, request,response,out,"wt_bc_WT_bcModule.wtjoinView"); wtb.getRowSet().getViewObject().setWhereClause(theclause); wtb.getRowSet().getViewObject().executeQuery();
    wtb.getRowSet().first(); wtb.render(pn);
    }// end for loop
    else {
    // just printing one walkthrough
    String theclause = "presname = '" + p + "'";
    // initialize the view object
    //exeucte the query and render the //pages
    wtb.initialize(application,session, request,response,out,"wt_bc_WT_bcModule.wtjoinView"); wtb.getRowSet().getViewObject().setWhereClause(theclause); wtb.getRowSet().getViewObject().executeQuery();
    wtb.getRowSet().first(); wtb.render(p);
    }// end if p=all
    } catch(Exception ex)
    throw new RuntimeException(ex.getMessage());
    null

  • Multiple Rowsets?

    I am creating a pageflow with 5 separate reports. Is it possible to have 5 different rowsets in the same pageflow? Each rowset is to be used on a different page.
    Thanks...

    As I take it YES,
    you could:
    - create 5 Actions(Forward) in your JPF, (or just 1 Action with 5 Forwards),
    - create 5 RowSet Controls (declared in to JPF),
    - invoke each of them in to the convenient Action (or 'SWITCH', 'IF' statements etc. for one Action w. 5 Forwards);
    hereby each rowset will be used on a different JSP,according to the Forward.

  • Repeat "Detail a" section when using "Format with Multiple Columns" layout

    I am using Crystal Reports for .NET (VS 2008) and I would like to get the "Detail a" section to repeat at top of a second column containing additional data in "Detail b" section. Please see below for example, specifically "Detail a (2)". Any tips or help much appreciated.
    Detail a (1)_____Detail a (2)
    Detail b (1-1)___Detail b (2-3)
    Detail b (1-2)___Detail b (2-4)
    --Detail b (1-3)___Detail a (3)
    Detail a (2)______--Detail b (3-1)
    --Detail b (2-1)
    --Detail b (2-2)
    Thx, Scott

    the format with multiple columns i dont believe will show you the value 2x, but allows you to display the values across instead of down.
    i think you may want to use a sub report

  • Multiple Shop Layouts specific to catalogue

    Hi All, thanks in advance for any help here.
    I have a specific issue in relation to the way Business Catalyst handles filtering products. I love using BC but I think it's a little behind some other eCommerce platforms in this field?
    1. Is anybody aware of a more advanced way of filtering products outside of the built in  {tag_browsepanel}. Specifically, I wondering if their is some javascript solutions around which will allow filtering via tags etc?
    2. Alternatively, does anybody know if it's possible to display slightly altered Shop layouts depending on the catalogue. For example, I'd like to offer the BrowsePanel  {tag_browsepanel}  on 2nd level Catalogues, but not on top  level?
    So a working example would be:
    Top Level: Clothes (don't show browsepanel)
    2nd: Clothes/Dresses (show browse panel for remaining sub-catagories e.g.: size and label). This would essentially act as a way to filter by Size or Label.
    Again, thanks for any suggestions.

    Hi,
    I am also having issues with this. Did you figured out a solution?
    I need this for a computers store, so the first level would be for example motherboards that would show in the left side a list of all the sockets (subcatalogs) and all the motherboards in the main side, after selecting the desire socket this subcatalogs menus would be replaced with the browsepanel with the porpous of filtering shown products by price range, brand, connections, etc...
    Any help guidelines would be very appreciated.

Maybe you are looking for