Export to Excel - WAD with 2 tabs

Hello
I've got a WAD with a container which contains 2 tabs
Container 1 is linked  to the first tab
Container 2 is linked to a second tab.
There is one query on each tab.
When we export to Excel one tab, Excel shows technical ID of the WAD.
Is there a possibility to display title of the tab instead of WAD techincal ID ?
Thanks & Regards
Catherine

Hi Catherine,
This is a Tricky question.......
Let say you have placed Container1(which has some data) under Tab1 and Container2 under Tab2 and Export to Excel.
Now if you perform Export to Excel for Container1 data,then the data will be exported into Excel where the name of the tab(Tab1) won't be displayed as a worksheet name in Excel.It will always show Name of the Web Template and not the tab name.
So whatever you seen is as expected.You can't export a web template which has multiple tabs into Excel with the same way as it shown in web.
Hope this clarifies you.
Rgds,
Murali

Similar Messages

  • Template having export to excel functionality with filter values in WAD

    Hi,
    I need to create a template which has export to excel functionality with all the filter values that the user has selected in the selection screen.
    export to excel can be done but how can be the output excel sheet contain only those values which we see in browser  when the report is executed with some filters.
    Regards,
    Apeksha

    Hi Apeksha,
    you can achieve this requirement (unless I do not know the detailled requirement) perhaps by using this way of implementation:
    1. Create a new template which contains an info_field which does a data binding to the variable values or the characteristic you want to display. Set the visibility of the top container to "hidden". Add a empty data provider to this template. However be aware that the name for the (empty) data provider must match the name of the data provider within the original template you want to print.
    2. Open your original template and include the template you created in step 1 (Advanced: Web Templates and technical name of the web template created in step 2). Choose the appropriate location (above/below the analysis item).
    3. Check the settings of your export command: do not set a special web item to be printed.
    If you export the template within web the second template should be printed correctly displaying the variable settings chosen in step 2 for the info_field.
    Brgds,
    Marcel

  • Excel sheet with multiple tabs to be sent as email

    Hi Experts,
    I have a requirement to generate an Excel sheet with multiple tabs to be sent as email to a distribution list.
    Please help if you have any ideas on the same.
    Thanks,
    Preema

    [http://wiki.sdn.sap.com/wiki/display/ABAP/ToGetFieldDetailsSavedinVariantLayout|http://wiki.sdn.sap.com/wiki/display/ABAP/ToGetFieldDetailsSavedinVariantLayout]
    with this we can get the modified field catalog  based on layout variant
    without calling alv output function modules
    Thanks!   SDN.

  • How can i create  excel sheet with multiple tabs using utl file?

    how can i create excel sheet with multiple tabs using utl file?
    any one help me?

    Jaggy,
    I gave you the most suitable answer on your own thread yesterday
    Re: How to Generating Excel workbook with multiple worksheets

  • Ssrs report export to excel along with parameter filters

    HI,
    In ssrs reports export to excel along with parameter filters,is it possible or not?
    Could you please help me..
    indu

    Hi Sriindu,
    According to your description, you want to export the report into an excel file with the report parameter and filters. And you want to filter data in excel. Right?
    In Reporting Services, the components for exporting report into a file called Reporting Services Rendering Extension. There are three types of Reporting Services rendering extensions: Data Render Extension,
    Soft page-break renderer extensions, Hard page-break rendering extensions. All these three extension are only for rendering data. It can't keep the filters and parameter in the report. Also excel can't support Reporting Services filter in
    an excel file. So your requirement can't be achieved.
    Reference:
    Exporting Reports (Report Builder and SSRS)
    Interactive Functionality for Different Report Rendering Extensions (Report Builder and SSRS)
    If you have any feedback on our support, please click
    here.
    Best Regards,
    Simon Hou

  • Export to Excel functionality for Multiple tabs in WAD

    Hi,
    I have a requirement where in i need to export a report from WAD to excel. The WAD template has multiple tabs which i want individually in seperate excel sheet tabs. How can i achieve this ?
    Regards
    Snehith.

    Hi,
    have a global button (some where on the top) with command 'export to excel' and configure all your analysis item for that button. So when u execute the template and when u click on individual tab, the report out from individual tab will be exported to excel when u click on Export to excel button.In this way u can individually export the output to excel.
    Regards

  • Export to Excel - data with leading zeros

    Does anyone have any tips or tricks for running a query then exporting to Excel without dropping leading zeros from the data?
    Examples: numeric Item codes with leading zeros, telephone numbers that have been entered with no spaces.
    Regards,
    Douglas McDove

    < Font Color="RED" Size = 3 Face=Verdana>
    I liked the challenge and therefore.......I got this for you
    </Font>
    SELECT CHAR(28) + T0.CardCode [BP Code\] FROM  [dbo\].[OCRD\] T0
    SELECT CHAR(29) + T0.CardCode [BP Code\] FROM  [dbo\].[OCRD\] T0
    SELECT CHAR(30) + T0.CardCode [BP Code\] FROM  [dbo\].[OCRD\] T0
    SELECT CHAR(31) + T0.CardCode [BP Code\] FROM  [dbo\].[OCRD\] T0
    Any of the above 4 should work.  T0.CardCode is the database field I tested, you can substitute this with any database field and it should work.
    Regards
    Suda

  • Add sort, filter, export to excel and summation of tab column values in VC

    Hi,
    Can anyone help me out in providing the following functionalities in the Visual Composer tableUI element :
    1. Sort
    2. Filter
    3. Export to Excel
    4. Summation of Table Column Values
    5. Update entry in table
    6. Create entry in table
    Thanks in advance.
    Wish you great time.
    Best Regards
    Sid

    Hello Sid,
    1. Sort
    --> This is a standard functionally of tables in VC
    2. Filter
    --> Use the filter element of VC
    3. Export to Excel
    Go to: Sdn>Wiki>VC>Modeling>Export data to Excel/PDF
    4. Summation of Table Column Values
    --> This depends on your data source. If you use BI queries you have this normally automatically. If not you can use the sum element of VC.
    5. Update entry in table
    6. Create entry in table
    > see Sdn>Wiki>VC>Modeling-->Moving data between tables
    Kind regards
    Thomas

  • Export to Excel - Problem with extra rows

    Hi have a report that has 3 groups. I suppress the group headers and am using the group footers for totals.
    When I export to excel, I get extra rows in the excel file for the suppressed sections. How can I get rid of these?
    Thanks,
    Linda

    I can use this to get out additional rows on my excel export. However, in the columns, I usually put some distance between each column so the columns won't run together. This is giving me extra columns. It would be much easier if I did not have to put that distance. Is there a way to format the field to have a leading or trailing space so all the fields don't run together on the report?
    example:
    field1
    field2
    field 3
    if all these fields have data the output would look like:
    field1datafield2datafield3data
    how can I make it look like:
    field1data field2data field3data

  • Export to Excel Fails with "Internet Explorer cannot display the webpage"

    We have a couple of report servers all hosted internally on VMs.  They are all SSRS 2008 R2.
    For all of these, when viewing the reports remotely in IE, they run fine.  However when we try to export them to excel, a new tab opens in IE, but the tab just displays with "Internet Explorer cannot display the webpage"
    There are no other errors and it never progresses to save or open. 
    THE SSRS log files dont contain any errors either so i dont think its a resource issue, but they do say steam=''
    library!ReportServer_0-1!11cc!03/11/2014-08:49:24:: i INFO: RenderForNewSession('/ReportsMain/Test/Production Report')
     webserver!ReportServer_0-1!11cc!03/11/2014-08:49:27:: i INFO: Processed report. Report='/ReportsMain/Test/Production Report', Stream=''
     library!ReportServer_0-1!11d4!03/11/2014-08:49:31:: i INFO: RenderFromSession('/ReportsMain/Test/Production Report')
     webserver!ReportServer_0-1!11d4!03/11/2014-08:49:31:: i INFO: Processed report. Report='/ReportsMain/Test/Production Report', Stream=''
     library!ReportServer_0-1!7a0!03/11/2014-08:49:44:: i INFO: RenderFromSession('/ReportsMain/Test/Production Report')
     webserver!ReportServer_0-1!7a0!03/11/2014-08:49:45:: i INFO: Processed report. Report='/ReportsMain/Test/Production Report', Stream=''
     library!ReportServer_0-1!624!03/11/2014-08:51:05:: i INFO: RenderFromSession('/ReportsMain/Test/Production Report')
     webserver!ReportServer_0-1!624!03/11/2014-08:51:05:: i INFO: Processed report. Report='/ReportsMain/Test/Production Report', Stream=''
     library!ReportServer_0-1!18d0!03/11/2014-08:51:06:: i INFO: RenderFromSession('/ReportsMain/Test/Production Report')
     webserver!ReportServer_0-1!18d0!03/11/2014-08:51:07:: i INFO: Processed report. Report='/ReportsMain/Test/Production Report', Stream=''
     library!ReportServer_0-1!7a0!03/11/2014-08:51:34:: i INFO: RenderFromSession('/ReportsMain/Test/Production Report')
     webserver!ReportServer_0-1!7a0!03/11/2014-08:51:34:: i INFO: Processed report. Report='/ReportsMain/Test/Production Report', Stream=''
     library!ReportServer_0-1!1610!03/11/2014-08:51:38:: i INFO: RenderFromSession('/ReportsMain/Test/Production Report')
     webserver!ReportServer_0-1!1610!03/11/2014-08:51:39:: i INFO: Processed report. Report='/ReportsMain/Test/Production Report', Stream=''
     library!ReportServer_0-1!624!03/11/2014-08:51:49:: i INFO: RenderFromSession('/ReportsMain/Test/Production Report')
     webserver!ReportServer_0-1!624!03/11/2014-08:51:49:: i INFO: Processed report. Report='/ReportsMain/Test/Production Report', Stream=''
     library!ReportServer_0-1!11d4!03/11/2014-08:52:14:: i INFO: RenderFromSession('/ReportsMain/Test/Production Report')
     webserver!ReportServer_0-1!11d4!03/11/2014-08:52:14:: i INFO: Processed report. Report='/ReportsMain/Test/Production Report', Stream=''
     library!WindowsService_0!3c8!03/11/2014-08:52:28:: i INFO: Call to CleanBatch()
     library!WindowsService_0!3c8!03/11/2014-08:52:28:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams, 0 segments, 0 segment mappings, 0 edit sessions.
     library!WindowsService_0!3c8!03/11/2014-08:52:28:: i INFO: Call to CleanBatch() ends
     library!ReportServer_0-1!11cc!03/11/2014-08:55:29:: i INFO: RenderFromSession('/ReportsMain/Test/Production Report')
     webserver!ReportServer_0-1!11cc!03/11/2014-08:55:29:: i INFO: Processed report. Report='/ReportsMain/Test/Production Report', Stream=''
    Does anyone have any suggestions?

    Hello,
    Since you have motioned that it is work well in IE7 on the VM. We can try to enable the compatibility view of the IE to troubleshooting the issue.
    Reference: http://support.microsoft.com/kb/2536204
    Based on your description, the issue is just occur when view the report remotely. The issue may relate to Internet Explorer, please refer to the following methods:
    Run the Network Diagnostics tool in Internet Explorer.
    Reset the modem or the router.
    Use the Delete Browsing History feature.
    Use the Internet Explorer (No Add-ons) mode.
    More detail information, please refer to the similar issue below:
    http://answers.microsoft.com/en-us/ie/forum/ie8-windows_other/internet-explorer-cannot-display-the-webpage/c8a0b157-820a-4a14-80f3-806ab51717fa
    Hope this helps.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Export To Excel problem with HSSFWorkbook

    Hi all,
    In a webdynpro application, we are writing data from webdynpro context to excel sheet using HSSFWorkbook. Below is the code
    This works fine when there are only 500 to 600 records .But if there are more than 500-600 records excel gets corrupted and error message is displayed.
    While going through different forum I found this is due to encoding. When I comment the for loop in code below, problem doesnu2019t exists any more.Even 10000 records are successfully displayed.
    Please guide :
    How encoding is causing this problem and how can I rectify this?
    What exactly this code (code in bold in below code snippet ) is checking ?
    What will be effect if I remove this code as this webdynpro application is used in many countries ?
    public byte[] exportFile() throws Exception{
              InputStream stream = new ByteArrayInputStream(xslSource);
              HSSFWorkbook workbook = new HSSFWorkbook(stream);
              stream.close();
              process(workbook,true);               
              ByteArrayOutputStream bos = new ByteArrayOutputStream();
              workbook.write(bos);
              byte[] retorno = bos.toByteArray();
              for(int c=1;c<retorno.length-1;c++){
                   if(retorno[c-1]==0 && retorno[c]==-125 && retorno[c+1]==1){
                        retorno[c]=(byte)3;
                   }else if(retorno[c-1]==63 && retorno[c]==67 && retorno[c+1]!=0){
                        retorno[c]=(byte)35;
              bos.close();
              return retorno;
    Regards ,
    Madhvika

    hi
    check this blog
    /people/subramanian.venkateswaran2/blog/2006/08/16/exporting-table-data-to-ms-excel-sheetenhanced-web-dynpro-binary-cache

  • Export report in xlsx with multiple tabs/sheets

    Hi,
    Using CR2011, can I export reports in excel which will have multiple sheets? I checked the forum but none seems answered.
    Anyone want to help?
    Thank you.

    Hi Vijay,
    If you're exporting to .xlsx, then unfortunately Crystal Reports won't create multiple sheets.
    The newer version of Excel supports more than 65536 rows on one sheet.
    Export to the older version of Excel if you wish to see multiple sheets.
    -Abhilash

  • Template with tabs Export to excel with variable dataprovider

    I have looked at examples in this forum of how others have used an "export to excel" button with a variable dataprovider but I cannot get these examples to work for my situation.
    I have a web template with 2 tabs, 1 dataprovider on each. The template has an icon button for "export to excel". The code came from 0QUERY_TEMPLATE. The tabs require a JavaScript function which hides all items except for the one on the selected tab and sets the property for the selected tab. I got the code for this from the WEB API reference for BW 3.x.
    I cannot get the button "export to excel" to export the selected (non-hidden) data provider. I need somehow to have a variable for dataprovider on the command to export. 
    Any help would be greatly appreciated.
    Provided below is my template.
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_PROPERTIES"/>
    <param name="TEMPLATE_ID" value="ZTEST_EXPORT"/>
    <param name="VARIABLE_SCREEN" value="X"/>
    TEMPLATE PROPERTIES
    </object>
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_DATA_PROVIDER"/>
    <param name="NAME" value="DATAPROVIDER_1"/>
    <param name="QUERY" value="ZPC_010"/>
    <param name="INFOCUBE" value="ZPC_M01"/>
    DATA_PROVIDER: DATAPROVIDER_1
    </object>
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_DATA_PROVIDER"/>
    <param name="NAME" value="DATAPROVIDER_2"/>
    <param name="QUERY" value="ZPC_011"/>
    <param name="INFOCUBE" value="ZPC_M01"/>
    DATA_PROVIDER: DATAPROVIDER_2
    </object>
    <html>
    <head>
    <link href="/sap/bw/Mime/Customer/StyleSheets/ServicePortalBWReports.css" type="text/css" rel="stylesheet"/>
    <Script type="text/javascript">
    <!--
    /* function goto_tab: Show all items, starting with tabname, Hide all other items */
    function goto_tab(tabname) {
    SAPBWOpenURL(SAP_BW_URL_Get()'&item=TAB*&multi=X&hidden=X&cmd_1=item%3d'tabname+'*%26hidden%3d %26multi%3dX');
    /* DHTML function to set correct span-Tag visible
    For each Tab in Tab-Header (head_TAB) check, if item TABx is visible
    If Item is visible set Header as selected
    Otherwise set corresponding span-Tag to not visible */
    function set_actual_tab() {
    i=0;
    do {
    i++;
    if (document.getElementById('head_TAB'+i) != null) {
    /* Check if Object tag is hidden */
    var prop = SAPBWGetItemProp('TAB'+i);
    var hidden=true;
    if (prop != null){
    for(j=1;j<prop.length;j++){
    if (prop[j][0] == "HIDDEN") hidden = (prop[j][1]=='X');
    if (hidden) {
    document.getElementById("TAB"+i).setAttribute('style', 'display:none;visibility:false;',false);
    else {
    document.getElementById("head_TAB"+i).setAttribute('className', 'SAPBEXTbsTABsel',false);
    } while (document.getElementById('head_TAB'+i) != null)
    -->
    </script>
    </head>
    <body>
    <TABLE class=SAPBEXNavLineBorder cellSpacing=0 cellPadding=1 width=5 border=0>
    <TR>
    <TD width="5%">
    <TABLE cellSpacing=1 cellPadding=2 width="100%" border=0>
    <TR>
    <!-- Display Export Excel--->
    <TD class=SAPBEXNavLine><A href="<SAP_BW_URL CMD='EXPORT' FORMAT='XLS' DATA_PROVIDER='DATAPROVIDER_1'>">
    <IMG alt="Export to MS Excel" src="Mime/BEx/Icons/S_X_XLS.gif" border=0></A></TD>
    </TD></TR></TABLE></TD></TR></TABLE>
    <TABLE cellSpacing=1 cellPadding=5 width="75%" border=0>
    <TR>
    <TD vAlign=top>
    <P>
    <TABLE cellSpacing=0 cellPadding=5 border=0>
    <TR>
    <TD class=SAPBEXTbsTab id=head_TAB1><A href="javascript:goto_tab('TAB1')">Tab 1</A></TD>
    <TD class=SAPBEXTbsTab id=head_TAB2><A href="javascript:goto_tab('TAB2')">Tab 2</A></TD>
    </TR></TABLE>
    <TABLE class=SAPBEXTbsBdyEdg cellSpacing=0 cellPadding=5 width="5%"
    border=0>
    <TR>
    <TD vAlign=top>
    <SPAN id=TAB1><object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB1"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
    <param name="GENERATE_CAPTION" value=""/>
    ITEM: TAB1
    </object></SPAN>
    <SPAN id=TAB2><object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB2"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    <param name="GENERATE_CAPTION" value=""/>
    <param name="HIDDEN" value="X"/>
    ITEM: TAB2
    </object></SPAN>
    </TD></TR></TABLE></P>
    <SCRIPT type=text/javascript>
    <!--
    /* This function call is needed to set the correct state */
    set_actual_tab();
    -->
    </SCRIPT>
    </TD></TR></TABLE>
    </body>
    </html>

    Kevin,
    Try calling a javascript function (e.g. excel_export) when the export icon is clicked on.
    Using the prop array find the tab that is not hidden and then use that index to build your export command. i.e. if tab1 is visible then pass dataprovider_1 to the excel download command.
    Another method would be to place a hidden field on the form to store the dataprovider and then read that field in the javascript function.  You would have to update this field when you switched between the tabs.
    Cheers,
    Kelly

  • Export to Excel - File Name WAD 7.0

    Hi All,
    I am using Export to Excel Functionality with WAD 7.0 to export the report to excel format.
    I have used button web item, with an excel picture above it. The functionality works fine.
    But while exporting the name of excel file shown is WAD 7.0 name.
    ex. My WAD 7.0 name is IFIOP_C07_W700, the excel file also gets saved in this name.
    I want it to be made customizable.
    Can you throw some pointers.
    Thanks,
    Sri Arun Prian

    Hi,
    i have the same issue now where i need to populate the xport file name as report name. can you send me your solution please.

  • Downloading different internal table data in a single excel with diff tabs.

    Hi gurs,
    I have 4 internal tables  with me i can able to display in 4 different excel sheets using   CALL FUNCTION 'EXCEL_OLE_STANDARD_DAT'
    But my requirement is i want to download 4 internal table in single excel sheets with different tabs. please send the code if u have.
    Thanks and regards.

    Hi,
    If you want to display the content of 4 internal table in different sheets of same workbook then go through below code,
    DATA : EXCEL         TYPE OLE2_OBJECT,
           WORKBOOKS     TYPE OLE2_OBJECT,
           WORKBOOK      TYPE OLE2_OBJECT,
           CELLS         TYPE OLE2_OBJECT,
           SHEET         TYPE OLE2_OBJECT,
           FONT          TYPE OLE2_OBJECT,
           H_COM1        TYPE OLE2_OBJECT,
           F             TYPE RLGRAP-FILENAME,
           FILEP         TYPE DRAW-FILEP,
           G_FILE_DEST   TYPE STRING,
           G_FILE_TEMP   TYPE STRING,
           G_SYSUBRC     TYPE SY-SUBRC,
           G_FILE_SRC    TYPE DRAW-FILEP.
    START THE EXCEL APPLICATION
      CREATE OBJECT excel 'EXCEL.APPLICATION'.
      CALL METHOD OF excel 'WORKBOOKS' = workbooks.
      SET PROPERTY OF excel  'VISIBLE' = 0.
      CALL METHOD OF workbooks 'OPEN' EXPORTING
                #1 = filep.
    For Sheet1
      CALL METHOD OF excel 'Worksheets' = sheet
       EXPORTING #1 = 1.
      CALL METHOD OF sheet 'Activate'.
      FREE  OBJECT sheet.
      CALL METHOD OF excel 'CELLS' = cells
          EXPORTING #1 = 1
                    #2 = 15.
      SET PROPERTY OF cells 'VALUE' = <value>
    CALL METHOD OF cells 'FONT' = font.
    SET PROPERTY OF font 'SIZE' = '20'.
      FREE OBJECT cells.
    For Sheet2
      CALL METHOD OF excel 'Worksheets' = sheet
       EXPORTING #1 = 2.
      CALL METHOD OF sheet 'Activate'.
      FREE  OBJECT sheet.
      CALL METHOD OF excel 'CELLS' = cells
          EXPORTING #1 = 1
                    #2 = 6.
      SET PROPERTY OF cells 'VALUE' = 'XYZ'.
      CALL METHOD OF cells 'FONT' = font.
      SET PROPERTY OF font 'SIZE' = '20'.
      GET PROPERTY OF excel 'ACTIVESHEET' = sheet.
      CALL METHOD OF sheet 'SAVEAS' EXPORTING
                      #1 = <destination file path where you want to store>
                      #2 = 1.
      CALL METHOD OF workbooks 'CLOSE'.
      CALL METHOD OF excel 'QUIT'.
      FREE OBJECT excel.
    Thanks!
    Brunda
    'Reward if useful'.

Maybe you are looking for

  • How can I create a recurring appt/event on calendar on ipad3?  Ex:  12-1pm on Tuesday and Thursday for 2 weeks.

    When I try to create an appointment that occurs for more than a day it appears on my calendar for the entire day and not the time that I want. Example:  create an appointment on Monday, Wednesday and Friday for 12-1pm and goes for two weeks. I just w

  • Order confirmation and Order changes

    Hello Guru's, I am having following issue, please let me know ur inputs on the same how to handle below situation. There is Customer Vendor relationship under one system and under one company code. Customer orders goods from Vendor and this Vendor su

  • Photoshop Elements 8 organizer crashes everytime I start it up

    Hi, I'm having a problem with the Photoshop Elements organizer (version 8) - every time I start it up it crashes right away. This has been happening since yesterday where I was uploading some photos to Smugmug via photoshop elements where it crashed

  • Installing SAP IDES ECC6.0

    Hi experts, i m using a Windows Server 2003 Enterprise Edition R2 32 bits and SQL Server 2005 DVD delivered by SAP system ID : BAS system number : 00 message server : SAPECCTEST I wish to install a SAP IDES with the IDES Installation Master and while

  • Need to avoid scroll bar inside PanelDash Board

    Hi, I am using Jdeveloper 11.1.1.6, My Scenario is I have number of Panel Boxes Surrounded by the Panel Dashboard.The Panel Dashboard surround by one PanelGroupLayout . Now browser showing two Vertical scroll bars .one from PanelGroupLayout second fr