h:dataTable Scrollable with header fixed

Hi all!
I have been reading for hours in these days all posts about this topic but I am not able to create a scrollable <h:dataTable>. My table must scroll both horizontally and vertically, and the header should behave consequently and this should happen in at least Firefox and IE.
I tried many examples taken also in this forum, but none of them work fine.
I tried to use richFaces, but the framework seems to be still unstable..
May someone face this problem successfully before? Please help me!
Thanks in advance!

Hi albertthe,
Ahh the headers are a pain, but the trick I found was to use a style from the style sheet.
So I think it's columnClass="" or columnClasses="" (I haven't got the book at the moment) put in a list of styles for the widths eg. mine were
columnClasses="width100PX, width200PX, etc.."
The style sheet looks like:
#width100PX
      width: 100px;
}etc..
The rich:scrollableDataTable is a real pain to use as I'm finding at the moment.
<rich:scrollableDataTable rowKeyVar="rkv" height="97px" width="200" id="matchingPacketList2" columnClasses="col" value="#{FindPacket.matchingPackets}" var="mPackets">
     <a4j:support event="onRowClick" action="#{FindPacket.action}">
          <a4j:actionparam value="#{mPackets.packetString}" assignTo="#{FindPacket.packetString}" />
     </a4j:support>
     <rich:column width="200px" sortable="false">
          <f:facet name="header">
               <h:outputText styleClass="fontSize15Bold"      value="#{msg.label_information}" />
          </f:facet>
          <h:outputText styleClass="fontSize15Normal" value="#{mPackets.stringDecriptive}" />
          </rich:column>
     </rich:scrollableDataTable>The scrollabledatatable has some very bad re-draw issues though, but at least it scrolls and allows column widths to be set. The bit in the middle: <rich:support is getting the row clicks, supposedly (not working at the moment).
Hope this helps
Thanks
Victoria

Similar Messages

  • t:dataTable scrollable with fixed headers

    I need to make my dataTable scrollable with fixed headers, I have seen few solutions like having 2 data Tables one for headers and the other for columns and one more solution is CSS
    In the first solution the column widths in the both tables doesn't match( I think this can be fine tuned to have a fixed column size)
    Can some one help me out in doing this with CSS.

    I did some thing like this, please help me out my columns of botht ables doesn't match
    <htm:table>
    <htm:body>
    <htm:tr>
    <htm:td>
    <t:div>
    <t:div>
    <t:dataTable
         renderedIfEmpty="false"
         preserveDataModel="false"
         preserveSort="true"
         varDetailToggler="detailToggler"
         headerClass="alignLeft"
         rowClasses="oddTableRow,evenTableRow"
         columnClasses="lastName,namePrefix,firstName,middleName,nameSuffix,dirType,orgName,county,city,state,valid,select"
         rows="1"
         value="#{result.result}"
         var="legalProfessional">
    <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Last Name" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Name Prefix" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="First Name" style="font-size:8pt;" />
    </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Middle Name" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Name Suffix" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column >
              <f:facet name="header">
                   <h:outputText value="Dir Type" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Organization Name" style="font-size:8pt;" />
              </f:facet>
                   </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="County" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="City" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="State" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Valid" style="font-size:8pt;" />
              </f:facet>
         </t:column>
         <t:column rendered="#{resultPage eq resultsBean.pageSearch}" defaultSorted="false" sortable="true">
              <f:facet name="header">
                   <h:outputText value="Select" style="font-size:8pt;" />
              </f:facet>
         </t:column>
    </t:dataTable>
    </t:div>
    <t:div style="overflow:auto;height:50px">
    <t:dataTable
         renderedIfEmpty="false"
         preserveDataModel="false"
         preserveSort="true"
         varDetailToggler="detailToggler"
         headerClass="alignLeft"
         rowClasses="evenTableRow,oddTableRow"
         columnClasses="lastName,namePrefix,firstName,middleName,nameSuffix,dirType,orgName,county,city,state,valid,select"
         rows="#{sessionUserBean.user.resultsPerPageOption}"
         value="#{result.result}"
         var="legalProfessional">
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.lastName}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.namePrefix}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.firstName}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.middleName}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.nameSuffix}" />
         </t:column>
         <t:column >     
              <h:outputText value="#{legalProfessional.directoryType}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:commandLink action="#{legalOrganizationSearchByNameBean.searchLegalOrganizationsByName}">
                 <h:outputText value="#{legalProfessional.relatedOrgNormName}" />
                   <t:updateActionListener property="#{legalOrganizationSearchByNameBean.name}" value="#{legalProfessional.organization}" />
                  <t:updateActionListener property="#{legalOrganizationSearchByNameBean.resultKey}" value="#{legalOrganizationBean.legalOrganizationsSearchResultKey}" />               
              </h:commandLink>
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.county}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.city}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <h:outputText value="#{legalProfessional.normRegion}" />
         </t:column>
         <t:column defaultSorted="false" sortable="true">
              <t:graphicImage value="images/yellow_check.jpg" border="0" />
         </t:column>
         <t:column rendered="#{resultPage eq resultsBean.pageSearch}" defaultSorted="false" sortable="true">
              <t:commandButton
                   id="viewLegalProfessionalCommand"
                   forceId="true"
                   title="#{bundle.view_entity_title}"
                   value="#{bundle.text_view_value}"
                   action="#{legalProfessionalBean.actionGotoView}">
                   <t:updateActionListener property="#{heavyWeightBean.uuid}" value="#{legalProfessional.profileUuid}" />
                   <t:updateActionListener property="#{legalProfessionalBean.LPAEntity}" value="#{legalProfessional}" />
              </t:commandButton>
         </t:column>
         <t:column rendered="#{pageStatus eq resultsBean.pageAdd || pageStatus eq resultsBean.pageEdit}">
              <!-- Employment relationship with general -->
              <t:commandButton
                   title="Make Employment Relationship."
                   rendered="#{result.key eq legalOrganizationBean.legalProfessionalsResultKey}"
                   value="Employment"
                   action="#{legalOrganizationBean.actionMakeEmploymentRelationship}">
                   <t:updateActionListener property="#{legalOrganizationBean.selectedLPAEntity}" value="#{legalProfessional}" />
              </t:commandButton>
              </t:column>
    </t:dataTable>
    </t:div>
    </t:div>
    </htm:td>
    </htm:tr>
    </htm:body>
    </htm:table>{.lastName{
    width:100px;
    .namePrefix{
    width:100px;
    .firstName{
    width:100px;
    .middleName{
    width:100px;
    .nameSuffix{
    width:100px;
    .dirType{
    width:100px;
    .orgName{
    width:100px;
    .county{
    width:150px;
    .city{
    width:250px;
    .state{
    width:100px;
    .valid{
    width:100px;
    .select{
    width:100px;
    code}

  • When I want to play music out loud the volume bar disappears and it won't play music or any sound. This sometimes happens with head phones in aswell. How do I fix it? I have tried to reset settings and wipe all the data of it but it didn't work.help!

    When I want to play music out loud the volume bar disappears and it won't play music or any sound. This sometimes happens with head phones in aswell. How do I fix it? I have tried to reset settings and wipe all the data of it but it didn't work.help!     

    Although you say you have let the battery drain, was it for long enough? Since nothing else that you've tried so far has worked, I suggest that you leave the iPod unplugged for at least four days, preferably a week. That way, if something is stopping the iPod from turning the screen on, then whatever it is will drain the battrey. However, since the screen isn't on, that may take longer than if the screen was on.
    Then, after that time, plug the iPod into a power source and leave it alone for at least thirty minutes. Only after thirty minutes will it show any signs of life, but you should leave it until it is fully charged before trying to use it.
    If you get to this stage, the fact that the battery has drained will cause the iPod to reset when it springs back to life.
    Let us know how you get on.

  • Downloading the internal table with header to FTP folder

    Hi All,
    I have one requirement in downloading the internal table details with the fixed header line to FTP folder. The header line having the fixed text of 425 characters length.
    Note: We are not suppose to use WS_DOWNLOAD and GUI_DOWNLOAD function modules.
    Thanks in advance for your reply.
    Regards
    Kamini.

    Hi,
    I can download the internal table details successfully to FTP folder using the FTP function modules like(FTP_CONNECT, FTP_COMMAND , FTP_R/3_TO_SERVER and FTP_DISCONNECT). Here my problem is I am unable to download the internation table with some header text.
    You can see the format (example) of file to be download.
    Here I can successfully download the below details without the header. But I am unable to download with header line. Could you please suggest me.
    seq_no|record_action|trans_date|sku|description|
    1|N|2008-01-03 07:52:31|TTASA5025CBO     
    2|N|2008-01-03 10:28:33|411014        
    3|N|2008-01-03 10:01:03|TTASA6030CBO  
    4|N|2008-01-03 10:01:15|TTASA6630CBO
    5|N|2008-01-03 10:01:25|TTASA7035CBO 
    6|N|2008-01-08 16:57:39|TT6G       
    Regards
    Kamini.

  • How do I make the headers on a sortable, scrollable table stay fixed in Firefox 4?

    In firefox 3 and prior versions, we were able to make the header on a sortable, scrollable table stay fixed and not scroll out of site when we scrolled the table, by putting the table in a div, and using css to indicate that the div should use overflow:auto and overfow-x:hidden. The tbody also used overflow:auto and overflow-x: hidden. The thead used position:relative. For the sort to work correctly the thead and tbody must be contained within the same table.

    A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
    The helpers at that forum are more knowledgeable about web development issues.<br />
    You need to register at the mozillaZine forum site in order to post at that forum.<br />
    See http://forums.mozillazine.org/viewforum.php?f=25

  • SSRS Header (Fixed) is displaced when scrolling left to right

    Hi,
    I'm using Report Builder 3.0 for my SSRS.  have a tablix report where I would like to have my row and column header fixed. I fixed the column header using the RowGroups>AdvancedMode>Static> Fixed Data True, KeepGroup After, RepeatHeader True
    then FixedRowHeaders True for my row header. The headers are fixed ihen scrolling down in Report Builder although the row header overlaps when scrolling to the right.
    In the web report, I have no problem scrolling down but when I scroll down then right, the rows in my header are displaced.
    Also I have 2 horizontal and vertical scroll bars which is a pain since I have to scroll down first before I can scroll right. 
    I would really appreciate any help.
    Thanks a lot,
    Cielle

    Hi Cielle,
    Based on my understanding, you design a report on Report Builder 3.0 with fixed row header. When you scroll right, the fixed header works fine in Report Builder 3, however, the fixed header displaced on Report Manager.
    In Reporting Service, if we choose “Header should remain visible while scrolling” option, generally, the column header will be displaced and visible as we scroll right. So please check if you select this item in Tablix Properties. If so, please unselect
    this option then check if issue persists. Besides, as we tested in our environment, fixed row header works fine both on Report Builder 3.0 and Report Manager. Please refer to the screenshots below:
    So in your scenario, I would like to know the detail settings for row headers and your report design. If possible, please provide some screenshots about scroll right results both on Report Builder 3.0 and Report Server.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Internal table in Excel output with Header and Total

    Hi All,
    I have a selection-screen of a report where there is option to specify the path of a file to be stored in local PC. This Report gives output in ALV format which displays header and total of columns.
    Now, the requirement is, when the user specifies a path for the file in selection screen it should download in the specified location with header and total row into an excel format.
    The issue is, I have the internal table with data without total and header row and the total is getting displayed in the screen through ALV feature. I am not sure, how to give the same output in downloaded excel with header row and total as it is displayed on screen.
    Please let me know, if you have any suggestions.
    Thanks & Regards,
    Anshumita.

    try using TOP OF PAGE event and write the number of records in the header part.
    hope this will help.

  • ALV Display with header on each page.

    Hi experts,
    I had develop the report which output comes in ALV with heading. While printing the output, suppose there are 60 lines in output and 15 lines on each page so 4 page will print. Now i want the same heading will come on each page.
    Is it possible? if Yes how?
    Pls reply.
    Thanks,
    Abhishek.

    Hi,
    Write the heading in the top-of-page.
    You will have to register the event TOP-OF-PAGE and in the corresponding form write the header.
    Regards,
    Ankur Parab

  • 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

  • Excel Outputs with Header, page breaks, margins in EBS R12, 10.1.3.2 BI Pub

    Hi All,
    We have most of our report outputs as Excel.
    Our client is expecting a common format for outputs in excel, with header, margins, page breaks , page numbers
    And some of our reports has more than 70 columns
    Using RTF, we could not able to manage this. the header or page breaks are being overwritten when it generated the excel outputs.
    Please let me know how to achive this.
    Thanks in advance
    Edited by: DharV on Oct 15, 2012 8:44 PM

        Hi Rohit ,
    I had copied these .class & .xml files under Myclasses -> oracle.apps.icx and oracle.apps.po and oracle.apps.fnd was same which comes part of the standard OA tutorial.
    I copied same under Myprojects as well.
    you have to decompile the class file into java file and then place it in Myproject directory , also copy all dependency files like BC4J components , and then
    try to run from Jdeveloper .
    Alternatively you can get the entire ICX folder and zip it and add it via library .
    --Keerthi

  • With header line & with out header line ?

    what is difference between with header line & without header line ?

    When you create an internal table object you can also declare a header line with the same name. You can use the header line as a work area when you process the internal table. The ABAP statements that you use with internal tables have short forms that you can use if your internal table has a header line. These statements automatically assume the header line as an implicit work area. The following table shows the statements that you must use for internal tables without a header line, and the equivalent statements that you can use for internal tables with a header line:
    Operations without header line
    Operations with header line
    Operations for all Table Types
    INSERT <wa> INTO TABLE <itab>.
    INSERT TABLE ITAB.
    COLLECT <wa> INTO <itab>.
    COLLECT <itab>.
    READ TABLE <itab> ... INTO <wa>.
    READ TABLE <itab> ...
    MODIFY TABLE <itab> FROM <wa> ...
    MODIFY TABLE <itab> ...
    MODIFY <itab> FROM <wa> ...WHERE ...
    MODIFY <itab> ... WHERE ...
    DELETE TABLE <itab> FROM <wa>.
    DELETE TABLE <itab>.
    LOOP AT ITAB INTO <wa> ...
    LOOP AT ITAB ...
    Operations for Index Tables
    APPEND <wa> TO <itab>.
    APPEND <itab>.
    INSERT <wa> INTO <itab> ...
    INSERT <itab> ...
    MODIFY <itab> FROM <wa> ...
    MODIFY <itab> ...
    Using the header line as a work area means that you can use shorter statements; however, they are not necessarily easier to understand, since you cannot immediately recognize the origin and target of the assignment. Furthermore, the fact that the table and its header line have the same name can cause confusion in operations with entire internal tables. To avoid confusion, you should use internal tables with differently-named work areas.
    The following example shows two programs with the same function. One uses a header line, the other does not.
    With header line:
    TYPES: BEGIN OF LINE,
    COL1 TYPE I,
    COL2 TYPE I,
    END OF LINE.
    DATA ITAB TYPE HASHED TABLE OF LINE WITH UNIQUE KEY COL1
    WITH HEADER LINE.
    DO 4 TIMES.
    ITAB-COL1 = SY-INDEX.
    ITAB-COL2 = SY-INDEX ** 2.
    INSERT TABLE ITAB.
    ENDDO.
    ITAB-COL1 = 2.
    READ TABLE ITAB FROM ITAB.
    ITAB-COL2 = 100.
    MODIFY TABLE ITAB.
    ITAB-COL1 = 4.
    DELETE TABLE ITAB.
    LOOP AT ITAB.
    WRITE: / ITAB-COL1, ITAB-COL2.
    ENDLOOP.
    Without header line:
    TYPES: BEGIN OF LINE,
    COL1 TYPE I,
    COL2 TYPE I,
    END OF LINE.
    DATA: ITAB TYPE HASHED TABLE OF LINE WITH UNIQUE KEY COL1,
    WA LIKE LINE OF ITAB.
    DO 4 TIMES.
    WA-COL1 = SY-INDEX.
    WA-COL2 = SY-INDEX ** 2.
    INSERT WA INTO TABLE ITAB.
    ENDDO.
    WA-COL1 = 2.
    READ TABLE ITAB FROM WA INTO WA.
    WA-COL2 = 100.
    MODIFY TABLE ITAB FROM WA.
    WA-COL1 = 4.
    DELETE TABLE ITAB FROM WA.
    LOOP AT ITAB INTO WA.
    WRITE: / WA-COL1, WA-COL2.
    ENDLOOP.
    The list, in both cases, appears as follows:
    1 1
    2 100
    3 9
    The statements in the program that does not use a header line are easier to understand. As a further measure, you could have a further work area just to specify the key of the internal table, but to which no other values from the table are assigned.
    Internal table with header line
    you can use anywhere except obkect oriented concept.
    Internal table without header line :
    You should use in Object oriented concept..
    Always try to use without header line,performance point of view it is best..
    Example :
    Without header line.
    Structure
    types : begin of ty_itab ,
    matnr type mara-matnr,
    end of ty_itab.
    Internal table
    data i_itab type standard table of ty_itab .
    Work area
    data wa_itab like line of i_itab
    With header line
    data : begin of i_itab occurs 0,
    matnr like mara-matnr,
    end of i_itab
    itab with header lines are obsolete, anyway it will work but not recommended. instead use work area or more effiecient is field symbols. so donot use itab with header line.
    i will explain use of itab w/o header line.
    Data: itab1 type standard table of mara with header line occurs 0,
            itab2 type standard table of mara,
            wa_itab2 type mara.
    loop at itab1.
    "This will work fine.
    endloop.
    loop at itab2.
    "This will give erro that itabd does not hav workarea
    endloop.
    "so write
    loop at itab2 into wa_itab2.
    "This will work
    endloop.
    <b>The difference between
    whih header line and with out heater line of internal table.
    ex:-
    a) Data : itab like mara occurs 0 with header line.
    b) Data: itab like mara occurs 0.
    -While adding or retrieving records to / from internal table we have to keep the record temporarily.
    -The area where this record is kept is called as work area for the internal table.
    -The area must have the same structure as that of internal table. An internal table consists of a body and an optional header line.
    -Header line is a implicit work area for the internal table. It depends on how the internal table is declared that the itab will have the header line or not.
    a) Data : itab like mara occurs 0 with header line.
    table is with header line
    b) Data: itab like mara occurs 0.
    table is without header line</b>
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • How can I download itunes when I get the following errors...have installed and uninstalled a dozen times with various fixes...b noir for example and used Revo to clean up..ituneshelper did not install correctly error 7

    How can I download itunes when I get the following errors  ..ituneshelper did not install correctly error 7..I .have installed and uninstalled a dozen times with various fixes...b noir for example and used Revo to clean up.
    This has been a problem for 6 weeks now, I retry when I have time and patience and use my other laptop which is also Windows 7 and runs with no problem.
    Every attempt fails when all seems fine on the desktop and I try to log on to Itunes I get the errors.
    Any help greatly appreciated.
    billymac

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features(Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (If this won't uninstall press on)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.
    tt2

  • Urgent ! XML Output with header, body, trailer

    Gurus,
    I am trying to use Report to output an xml file with header, body and trailer regions. However, I find that the tool does not allow me to create a header region with info like <report_date>, <report_name>, <report_desc> etc.
    Moreover, the tool is not flexible that in the group level, it always automatically fills in the outer tag for me even if I intentionally leave it blank.
    So, except using the XML file output function, is there any other way outputing XML file using the tool? Otherwise, I may need to hard code a program to do so!
    Thanks for your advice!
    Shoshi

    Hi
    Reports XML file is driven by your queries and groups therein. This means that the groups (and break groups) are represented in XML form.
    It is not driven by the layout. So your header region does not appear.
    What I suggest is that you need to create a report level formula column in the Data Model. The formula returns date, name and description etc. Since this is a part of Data Model now, it will appear in the XML output.
    Regards
    Sripathy

  • Passing an internal table WITH HEADER LINE to abap object

    Hi. In another thread, it was explained how to pass an internal table to an abap object method. Is it possible to pass an internal table that has a header line, and RETAIN the header line once the table has been passed?
    My problem is, that I can pass the table, update it, but the read buffer is not populated when returning from the object's method. This is the result of being able to pass a STANDARD TABLE type, but not a STANDARD TABLE WITH HEADER LINE.
    This means that I have to read the table into a work area instead of doing a READ TABLE LKNA1 within the method, which is what I need to do.
    Thanks.

    Please check this sample program, notice that it is modifing the internal table and passing it back modified as well as passing the "work area" or "header line" back thru the exporting parameter.
    report zrich_0001.
    *       CLASS lcl_app DEFINITION
    class lcl_app definition.
      public section.
        types: t_t001 type table of t001.
        class-data: it001 type table of t001.
        class-data: xt001 like line of it001.
        class-methods: change_table
                                    exporting ex_wt001 type t001
                                    changing im_t001 type t_t001.
    endclass.
    data: w_t001 type t001.
    data: a_t001 type table of t001 with header line.
    start-of-selection.
      select * into table a_t001 from t001.
      call method lcl_app=>change_table
                 importing
                     ex_wt001 = w_t001
                 changing
                     im_t001  = a_t001[] .
      check sy-subrc  = 0.
    *       CLASS lcl_app IMPLEMENTATION
    class lcl_app implementation.
      method change_table.
        loop at im_t001 into xt001.
          concatenate xt001-butxt 'Changed'
               into xt001-butxt separated by space.
          modify im_t001 from xt001.
        endloop.
        ex_wt001 = xt001.
      endmethod.
    endclass.
    Regards,
    Rich Heilman

  • Receiver file Content Conversion with Header line

    Hi,
    Here I am doing receiver file content conversion with header line.
    I am able to get the output file correct, when I open the file in notepad the header line and data appearing in the same line (not accepted).
    But when I tried to open the name file in internet explorer I can see the header line and data in two different lines (accepted).
    What should I do I want to see the same output in the notepad?
    Please help me out.
    Thanks in advance,
    Srikanth.

    You can use NameA.addHeaderLine.
    Specify whether the text file will have a header line with column names. The following values are permitted:
    0 u2013 No header line
    1 u2013 Header line with column names from the XML document
    2 u2013 As for 1, followed by a blank line
    3 u2013 Header line is stored as NameA.headerLine in the configuration and is applied
    4 u2013 As for 3, followed by a blank line
    The below weblinks will help you to know the other paramters.
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/686e687f2a6d12e10000000a1553f6/content.htm

Maybe you are looking for

  • Can I use aperture library on more than one machine

    My situation is thus: I have a Macbook Pro on which my Aperture Library resides, in wherever Aperture decided to put it when I bought the software. I now have a iMac, which obviously will be better than the Macbook for photo editing. But I want to be

  • Rating a podcast

    I use the rating system effectively for all of my songs to create different playlists. However... is it not possible to rate a podcast? I have hundreds of podcast documentaries from the BBC and I'd like to prioritize them so I can have a list of ones

  • ITS applications do not close sessions

    Hi all, we have ITS based version of ESS, as well as one BSP application, all integrated in EP 6.2. The problem is that applications do not close sessions, as it is pretty visible e.g. in transaction SM04. I checked the setting of ~disconnectOnClose=

  • More Image/stylesheet issues

    Hello again, Just wondering if anyone could give me some quick style sheet issues, have an img class that looks a little something like this: img { border: 5px solid #adadad ! important ; padding: 5px ! important ; margin: 4px, 4px, 4px, 4px ! import

  • TS3920 There is no support in IOS for the Australian Time Zone "Eucla".

    I am at Eucla at the moment, and I cannot set my iphone to the correct time Automatically.This time zone is UTC +8hrs 45 minutes.. Refer http://en.wikipedia.org/wiki/Australia/Eucla. How can we get Apple to fix this?