How to merge two head message of datatable

I want to use a h:dataTable ,most important I want merge two of the head part ,but the body part does not change on Datatable.who can help me !
it looks likes this:
<table>
  <tr>
    <td >head1</td>
    <td colspan="2">head2</td>
    <td >head3</td>
  </tr>
  <tr>
    <td >head2.1</td>
    <td >head2.2</td>
  </tr>
  <tr>
    <td >value1</td>
    <td>value2.1</td>
    <td>value2.2</td>
    <td>value3</td>
  </tr>
</table>my jsf code likes:
<h:dataTable id="persondocument"  value="#{mpbn0w010.dataModel}" var="dataModel" headerClass="table-title" rowClasses="table-inner-text-line1 ,table-inner-text-line2">
<h:column>
        <f:facet name="header">
          <h:outputText value="#{msg['mpbn0w010.order']}"/>
        </f:facet>
        <h:outputText value="#{mpbn0w010.orderNumber}"/>
      </h:column>
<h:panelGrid >
  <h:outputText value="#{msg['mpbn0w010.argappraiseamt']}"/>
   <h:panelGroup >
     <h:column>
        <f:facet name="header">
          <h:outputText value="#{msg['mpbn0w010.advancepercent']}"/>
        </f:facet>
        <h:outputText value="#{dataModel.advancePercent}"/>
      </h:column>
      <h:column>
        <f:facet name="header">
          <h:outputText value="#{msg['mpbn0w010.flag']}"/>
        </f:facet>
        <h:outputText value="#{dataModel.rewardPercent}"/>
      </h:column>
  </h:panelGroup >
      </h:panelGrid>
<h:column>
        <f:facet name="header">
          <h:outputText value="#{msg['mpbn0w010.amount']}"/>
        </f:facet>
        <h:outputText value="#{dataModel.advanceAmt}"/>
      </h:column>
</h:dataTable >here I just want to merge the head message ,but it does not work ,who can help me ?

Hi,
You can not change analysis period as per your request. Because every change you do in SAP is prospective & not retrospective.
By deleting & creating new one will might solve your problem.But I hope some data might be there in old cost center which you have to transfer first.This will have impact on your analysis period of new cost center.Check this scenario  carefully.
Regards,
Abhijit

Similar Messages

  • [Help] How to merge two rows in a datagrid?

    How to merge two rows of a specific column in a datagrid?
    ex.
    |_______|_____|_____|
    | merged |_____|_____|
    |_______|_____|_____|
    |_______|_____|_____|
    thx a lot~

    I need to merge column heading. Have u find any solution for
    ur problem?

  • How to merge two Outlook 2010 pst data files?

    How to merge two Outlook 2010 pst data files?

    Easy way: with the one you want to use open in Outlook and the other one not in your profile, go to File, Open, Import.
    If you only want to merge some content, open both pst files in outlook and drag between folders. For calendar, use a list view to see all of the appointments.
    Diane Poremsky [MVP - Outlook]
    Outlook Daily Tips |
    Outlook & Exchange Solutions Center
    Subscribe to Exchange Messaging Outlook weekly newsletter

  • How to merge two repositories using(MUD)

    hi all,
    how to merge two repositories using mude, for example i have sh rpd and paint rpd how to merge two repositories using Multi user development(mud), please don't give venkat forums link and oracle's training doc links.
    Is this possible? if it is possible please help me .
    Thanks
    Naresh

    Hi Naresh,
    What you could do is:
    1. do a ontime command line merge of both repository using the nqudmlexec tool
    2. In the mergerd repository created two project (sh and paint) and assign one bussiness model to each project.
    3. Make this the master repository for your MUD.
    4. Check the projects in and out.
    regards
    John
    http://obiee101.blogspot.com

  • How to merge two search button from different criteria

    How to merge two search button from different criteria
    this image show the question
    http://s24.postimg.org/4algthuj9/1111.jpg
    two different criteria for the same view and I need to merge it in one button as when I click
    on the button search result give from two criteria parameters

    You can!t using af:query. the af:query component comes as is. If you can't do it through the properties, you probably can't do it at all.
    As in your other thread, the way to go is to program your own search form. This way you can use a layout and functionality you like.
    For this you create a form with input fields for the values you are searching for, put them on hte page in a way you like and in the end by hitting on a button (e.g. called Search) map all inputfields to parameters of a service method you defined in your application module or VO. This service method then executes a view criteria returning all matches in the default iterator (just as if you had used af:query.
    Timo 

  • How to merge two XML's with JDOM?

    How to merge two xmls's using jdom? like:
    is there a way to add the complete content one xml into the parent node of another xml?
    //in.xml
    <?xml version="1.0"?>
    <people>
    <person>
      <name>ABC</name>
      <email>[email protected]</email>
    </person>
    </people>
    //out.xml
    <?xml version="1.0"?>
    <address>
    <city> abccounty</city>
    <state> abcstate</state>
    </address>
    Merged XML:
    <?xml version="1.0"?>
    <people>
    <person>
      <name>xyz</name>
      <email>[email protected]</email>
    </person>
    <address>
    <city> abccounty</city>
    <state> abcstate</state>
    </address>
    </people>
    import java.util.List;
    import org.jdom.Document;
    import org.jdom.Element;
    import org.jdom.input.SAXBuilder;
    import org.jdom.output.Format;
    import org.jdom.output.XMLOutputter;
    public class MergeXMLS {
         public static void main(String[] args) {
              try{
                  SAXBuilder builder = new SAXBuilder();
                  Document books = builder.build("D:/in.xml");
                  Document onebook = builder.build("D:/out.xml");
                  Element root = books.getRootElement();
                  List rows = root.getChildren();
                  for (int i = 0; i < rows.size(); i++) {
                      Element row = (Element) rows.get(i);
                      onebook.getRootElement().addContent(row.detach());
                      System.out.println(row.getName());
                  new XMLOutputter(Format.getPrettyFormat()).output(onebook, System.out);
              }catch(Exception e){
                   e.printStackTrace();
    }

    The above code only add's the first node.
    I changed the code little differently to
                  SAXBuilder builder = new SAXBuilder();
                  Document books = builder.build("D:/in.xml");
                  Document onebook = builder.build("D:/out.xml");
                 //trying to add second xml into the first
                  books.getRootElement().addContent(onebook.getRootElement().getContent()); 
                  new XMLOutputter(Format.getPrettyFormat()).output(books, System.out);
    here is the exception from the above code:
    org.jdom.IllegalAddException: The Content already has an existing parent "address"
         at org.jdom.ContentList.add(ContentList.java:218)
         at org.jdom.ContentList.add(ContentList.java:140)

  • How to merge two cells in a row

    hi freinds,
    how to merge two cells in alv grid using oops.
    for eg ,in the first row there is text premraj
             n in the second row there is cheguri
              my requriment is two merge the two cells ie to remove the horizontal line between them
    thanks & regards,
    premraj

    Well, as a new member you should learn to search the forum first before posting questions. Using keywords like "jtable merge cell" will find other postings on this topic. Some with solutions some without, so you will need to read a few and decide on the approach you want to take.

  • How to merge two accounts?

    How to merge two accounts apple id and icloud (purchase)?

    You can't. See: http://support.apple.com/kb/HT4895

  • How to merge two adjacent partitions?

    How to merge two adjacent partitions?

    The formal steps are delete the second partition and right click on first one, choose "extend".
    Of course this will erase data on second partition.
    Some third party tools can help do the job with keep data on second partition. 
    If you have any feedback on our support, please send to [email protected]

  • How to merge two conflicting contact on iPhone and on laptop?

    How to merge two conflicting contacts?
    When syncing my iPhone w/ my Mac laptop, it seems that Apple does not provide an option that allows you to merge the data from two conflicting contacts.  For example, you have a contact on your iPhone for Andy Summer and a contact on your laptop for Andy Summers - one contact contains only Andy's name and email address, the other contact contains only Andy's name and his mailing address.  I'd like to be able to merge the data from these two contacts into one and save it to both, but the Conflict Resolver in the syncing program (I think it's in iTunes) does not offer an option for merging the two.
    Does anyone have any knowledge about 1) how to merge data from two conflicting contacts, or 2) some other way to keep the data from each so that I don't have to choose one over the other?

    Jawad,
    First of all,You need to make teaming on both the interfaces on the server side.Which mode do you want to use? Active-Active or Active-Standby.
    Server side :Active-Active - You need to configure the switch side to be a etherchannel/LACP. It can be done by the commands on the cisco 4006.
    Server side :Active-Standby - You need nothing to do at the switch side.
    Note: Seems PAGP is a proprietary of cisco. Server shouldn't know that. To be bound with mode "on" of "lacp" should be fine. It depends on the server side as well.
    HTH
    Thot

  • How to merge two movies documents into 1 in  iTunes?

    Can anyone tell me how to merge two movies documents into one in iTunes? Sorry maybe this is an easy and dumb question for you, but I have totally no idea. I download some movies in Windows and use Kigo Video Coverter to converte them into mp4 format. So I can watch it through new Apple TV in my big screen TV. Now I am thinking maybe I can upgrade my experience a bit more. Because some movies are downloaded into 2 or 3 separated document and I have to choose and click them while seeing. Is there any software can merge those separated documents into one single in mp4 format? I wish you could give me several to choose . Freeware is better. Thanks in advance.

    Thanks. I've tried simplemovies application but it seems too much complicated for me. I read some passages online and bought Quicktime Pro ($30) and finally link 2 mp4 documents together. So easy. Only issue is I have to pay $ 30 .

  • How to merge two different images in photoshop?

    I am new here. I am starting to learn photoshop.How to merge two different images in photoshop? Please guide me. Thankyou.
    http://www.nissiinfotech.com/

    SPAM

  • How to merge two WD components in one WD application?

    Hi SDN,
    Can any one tell me How to merge two WD components in one WD application?
    suppose i have two WD componets z_comp1 & z_comp2 now i want to use both these components in one WD application.
    Regards,
    Rahul.

    hi rahul...........
              you can use any number of wd components into one component.
    eg:
            consider you are having 2 components 'A' and component 'B' and you want to embed both into component 'C'.
           You can just click the 'Create' icon which will be present in the properties tab of the component controller.
           you mention the name of bothe components 'A' and 'B'.
            So now the interface controller of both the components are created in component 'C'.
           Now you can use the views present in both the components in component'C'.
    --regards,
      alex b justin

  • How to Merge two PDF documents orginally created in different programs?

    I am trying to find information on how you can merge a PDF document created in LiveCycle and a PDF created in PageMaker or Microsoft Word?
    I know that you can easily merge two PDF documents created in the same program, but I am specifically looking for how you can merge two PDF documents created from two different programs. A step by step process would be helpful, if you have that information. Thanks.

    You use Assembler for this purpose.
    1) Assembler can be accessed through LC Java API. See http://help.adobe.com/en_US/enterpriseplatform/10.0/programLC/help/index.html
    API Quick Starts (Code Examples) > Assembler Service API Quick Starts
    2) Last week I posted on generating and merging PDF's from PostScript. Take a look at the assembly service instance in the .lca. Assembler uses DDX (Document Description XML) to describe document construction. NOTE the .lca was developed with ES 3 (aka ADEP). The .lca It contains the most basic DDX.
    <?xml version="1.0" encoding="UTF-8"?>
    <DDX xmlns="http://ns.adobe.com/DDX/1.0/">
    <PDF result="out.pdf">
      <PDF source="inDoc1"/>
      <PDF source="inDoc2"/>
    </PDF>
    </DDX>
    http://forums.adobe.com/message/4019760#4019760
    DDX Reference at http://help.adobe.com/en_US/livecycle/9.0/ddxRef.pdf
    Steve

  • How to add two heading in fieldcatlog

    Hello Exprets,
    I have an ALV report, in which I want two dispaly two header line... I don't no how to do that.
    for example.
    Class 10
    Class 11
    Class 12
    Class-A
    Class-B
    Class-C
    Class-D
    Class-A
    Class-B
    Class-C
    Class-D
    Class-A
    Class-B
    Class-C
    Class-D
    Can anyone please guide me in this issue.
    Thanks

    Hi Chetan,
    Try this program. It works.
    REPORT ZTEST_PROGRAM.
    DATA: BEGIN OF it_data OCCURS 0,
            header1 TYPE char50,
            header2 TYPE char50,
            arbgb TYPE t100-arbgb,
            msgnr TYPE t100-msgnr,
            text TYPE t100-text,
          END OF it_data.
    *ALV Declarations
    TYPE-POOLS:slis.
    TYPES:
       ty_fieldcat          TYPE slis_fieldcat_alv,
       ty_events            TYPE slis_alv_event,
       ty_layout            TYPE slis_layout_alv.
    DATA:
       wa_fieldcat          TYPE ty_fieldcat,
       wa_events            TYPE ty_events,
       wa_layout            TYPE ty_layout.
    DATA:
       it_events            TYPE STANDARD TABLE OF ty_events,
       it_fieldcat          TYPE STANDARD TABLE OF ty_fieldcat.
    DATA:
       g_program            TYPE sy-repid.
    START-OF-SELECTION.
      SELECT * FROM t100 INTO CORRESPONDING FIELDS OF TABLE it_data
      UP TO 20 ROWS WHERE sprsl = sy-langu.
    *Fieldcatalog.
      PERFORM fieldcatalog
      USING:                            "Field Lengths
      1 1 'HEADER1' 'IT_DATA' 'HEADER1' '30',
      1 2 'HEADER2' 'IT_DATA' 'HEADER2' '73',
      2 3 'ARBGB'   'IT_DATA' 'ARBGB'   '20',
      2 4 'MSGNR'   'IT_DATA' 'MSGNR'   '10',
      2 5 'TEXT'    'IT_DATA' 'TEXT'    '73'.
      wa_layout-info_fieldname = 'COLOR'.
      g_program = sy-repid.
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program = g_program
          is_layout          = wa_layout
          it_fieldcat        = it_fieldcat
          it_events          = it_events
        TABLES
          t_outtab           = it_data
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
    *&      Form  FIELDCATALOG
    FORM fieldcatalog USING row_pos col_pos field table f_txt outputlen.
      wa_fieldcat-row_pos   = row_pos.
      wa_fieldcat-col_pos   = col_pos.
      wa_fieldcat-fieldname = field.
      wa_fieldcat-tabname   = table.
      wa_fieldcat-seltext_l = f_txt.
      wa_fieldcat-outputlen = outputlen.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
    ENDFORM.                    " FIELDCATALOG
    Thanks
    Venkat.O

Maybe you are looking for