Multiple headers in alv

Hi All,
I have the following requirement, need to display multiple headers in ALV display(not multiple lines in alv header).
Header1.
Row1
Row2
Row3
Footer 1.
Header2.
Row1
Row2
Row3
Footer 2.
Header3.
Row1
Row2
Row3
Footer 3.
To display this in hierarchal ALV the above given tables does not have header item relationship. To use Blocked ALV the number of blocks are not constant, Sometimes there can be only 2 blocks sometimes there can be 10 blocks and some times even more, there is no cap on Maximum number of blocks.
I have searched in SDN N google but couldnt found suitable answer. If anyone has solved this type of issue before, can please through some light.
Thanks in Advance.

Hi All,
I'm able to solve the above issue somewhat by using split technique. I want to know how to trigger top of page event in split. I want to trigger top of page event in same container where data is being displayed.
I have created container on screen and splitted that container into 3 parts, as I need to display data in each container. Now I want to display top of page for each container.
I have searched over internet and SDN but I'm able to find examples like split the containers into 2 parts and use 1 part for top of page and second part for data display.
My case is little different. I need to display data in each container with separate header for each container. If the header is only single line I could have used Layout-Title, but the header for each container is multiple lines. So I must use top of page.
If any body handled such kind of scenario, please provided some inputs.
Thanks in advance.

Similar Messages

  • ALV with multiple headers

    Hello All,
         i have a requirement where i have to have multiple headers in a single alv.
    The exact requirement is like.
    Header1----
    row1
    row2                     1 unit
    row3
    row4----
    Header2
    row1
    row2
    row3
    row4
    Header3
    row1
    row2
    row3
    row4
    and the number of individual units is not fixed and will be determined at runtime.
    Can somebody tell me the steps to achieve it.
    actually i tried using block alv in loop but it is showing inconsistent data and moreover it has a limitation of 19 appends.

    make you are looking a break page
    check this
    http://hosteddocs.ittoolbox.com/kk021909.pdf

  • ABAP list with multiple headers

    Hi experts,
    i have to display a table with multiple headers. Example:
    Header 1 = Sales order header
    Header 2 = Sales order items
    It's possible to create an ABAP list with 2 headers?
    Thanks in advance.

    Hi Dan,
    FYI .
    [ALV Grid with Multiple Headers;
    Regards
    Abhii

  • How to select multiple row in ALV report

    Hi friends,
    1. How to select multiple row in ALV report
                   ( How to set tab in ALV report and want to select multiple line.)
    Thanking you.
    Subash

    Hi Sahoo,
    If you are using the class CL_GUI_ALV_GRID. In methods SET_TABLE_FOR_FIRST_DISPLAY.
    in layout structure you will find field SEL_MODE
    pass :
    LS_LAYOUT-SEL_MODE = 'A'.
    In PAI.
      CALL METHOD GRID->GET_SELECTED_ROWS
        IMPORTING
          ET_INDEX_ROWS = T_ROWS
          ET_ROW_NO     = T_ROWID.
    Hope these will solve your problem.
    Regards,
    Kumar M.

  • SAPGUI JAVA 7.10 (OSX 10.5.1): cannot select multiple columns in ALV

    Hi,
    in sapgui java 7.10 (on mac osx 10.5.1) I cannot select multiple columns in ALV reports.
    I can do it only in some transactions (like SE16). But on all our custom reports (REUSE_ALV_GRID_DISPLAY) in does not work.
    Any hint?
    Many thanks,
    Lorenzo

    Hi Lorenzo,
    did you double check if selecting multiple columns works with SAP GUI for Windows in the same report?
    If yes, I suggest to file a bug report so we can do a remote logon to run your custom report.
    If not it might be because of REUSE_ALV_GRID_DISPLAY itself or your parameters calling REUSE_ALV_GRID_DISPLAY.
    Best regards
    Rolf-Martin

  • Multiple Heading in ALV Grid

    Hello ,
    I have a requirement to display Multiple heading in ALV Grid, I am using the Class 'cl_gui_alv_grid'. please let me know if you have Any suggestions.
    Ex:
    |                 Divison                     |     
    Sub D:1
    Sub D: 2
    Sub D: 3
        Like wise i have few more divisions to display and Under we need to display the Sub Division also .
    Thanks in Advance..  Waiting for your suggestions.
    With Best Regards
    Nags

    Hi,
    I had attempted to do it in the object oriented way, but found no ready solution, so I settled for the below solution.
    Please use the function REUSE_ALV_COMMENTARY_WRITE.
    This allows you to print multiple lines in the header.
    I had a requirement of showing 5 lines in the header.
    So i went on like:
    DATA: it_list_commentary TYPE slis_t_listheader,
               wa_list_commentary TYPE slis_listheader.
    wa_list_commentary-typ = 'H'.
    wa_list_commentary-info = <text>.
    APPEND wa_list_commentary TO it_list_commentary.
    wa_list_commentary-typ = 'S'.
    wa_list_commentary-info = <text>.
    APPEND wa_list_commentary TO it_list_commentary.
    I fed he internal table with all 5 lines like above.
    Finally I called the function.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = it_list_commentary.
    Regards,
    Prosenjit.
    Edited by: prosenjit chaudhuri on Jan 28, 2009 6:14 AM

  • [svn] 949: Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name , it causes a ClassCastException in the server

    Revision: 949
    Author: [email protected]
    Date: 2008-03-27 07:12:59 -0700 (Thu, 27 Mar 2008)
    Log Message:
    Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
    QA: Yes - try again with legacy-collection true and false.
    Doc: No
    Checkintests: Pass
    Details: Another try in fixing this bug. When legacy-collection is false, Actionscript Array on the client becomes Java Array on the server and my fix yesterday assumed this case. However, when legacy-collection is true, Actionscript Array becomes Java ArrayList on the server. So added code to handle this case.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-96
    Modified Paths:
    blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.java

    Hi all!
    Just to post the solution to this if anyone ever runs accross this thread...
    For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
    HashMap primaryFile = new HashMap();
    primaryFile.put("fileContent", bFile);
    primaryFile.put("fileName", uploadedFile.getFilename());
    operationBinding.getParamsMap().put("primaryFile", primaryFile);
    HashMap customDocMetadata = new HashMap();
    HashMap [] properties = new HashMap[1];
    HashMap customMetadataPropertyRoom = new HashMap();
    customMetadataPropertyRoom.put("name", "xRoom");
    customMetadataPropertyRoom.put("value", "SOME ROOM");
    properties[0] = customMetadataPropertyRoom;
    customDocMetadata.put("property", properties);
    operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
    Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
    Good luck all!

  • [svn] 931: Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name , it causes a ClassCastException in the server

    Revision: 931
    Author: [email protected]
    Date: 2008-03-26 11:31:01 -0700 (Wed, 26 Mar 2008)
    Log Message:
    Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
    QA: Yes - we need automated tests for this basic case.
    Doc: No
    Checkintests: Pass
    Details: RequestFilter was not handling multiple headers with the same name properly.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-96
    Modified Paths:
    blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.java

    Hi all!
    Just to post the solution to this if anyone ever runs accross this thread...
    For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
    HashMap primaryFile = new HashMap();
    primaryFile.put("fileContent", bFile);
    primaryFile.put("fileName", uploadedFile.getFilename());
    operationBinding.getParamsMap().put("primaryFile", primaryFile);
    HashMap customDocMetadata = new HashMap();
    HashMap [] properties = new HashMap[1];
    HashMap customMetadataPropertyRoom = new HashMap();
    customMetadataPropertyRoom.put("name", "xRoom");
    customMetadataPropertyRoom.put("value", "SOME ROOM");
    properties[0] = customMetadataPropertyRoom;
    customDocMetadata.put("property", properties);
    operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
    Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
    Good luck all!

  • [svn] 889: Add test case for BLZ-82 where HttpService should return multiple headers with the same name .

    Revision: 889
    Author: [email protected]
    Date: 2008-03-21 13:08:05 -0700 (Fri, 21 Mar 2008)
    Log Message:
    Add test case for BLZ-82 where HttpService should return multiple headers with the same name.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-82
    Added Paths:
    blazeds/trunk/qa/apps/qa-regress/remote/MultipleHeadersTest.jsp
    blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/proxyService/httpservice/MultiHe aderTest.mxml

    Hi again,
    this may be old news to some people, but I just realized we can have the desired benefits I originally listed (encapsulation, reuse, maintainability, security) TODAY by using pipelined functions and using the table() function in Apex report region queries.
    So the report query basically becomes, for example (if get_employees is a pipelined function)
    select * from table(my_package.get_employees(:p1_deptno))
    The only downside compared to a (weakly typed) sys_refcursor is that you have to define the type you are returning in your package spec (or as an SQL type). So it's a bit more coding, but it's still worth it for the other benefits it provides.
    I like Apex even better now! :-)
    - Morten

  • How to select multiple records in ALV with out pressing ctrl

    Hi Experts,
    Is there a way to select multiple records in ALV with out pressing ctrl button on the key board?
    Selection and deselection should allow multiple records.
    any clue is highly appreciated.
    regards,
    Ajay

    The keyboard always plays a role, although with the Shift key you can select blocks of records.
    ○       CTRLclick, CTRLspacebar
    Toggles a selection.
    ○       SHIFTclick, CTRLshift
    Selects the area from the lead selection to the row selected. If no lead selection is set, the selection starts from the first row. In the multiNoLead mode, the selection starts from the row last selected

  • Hierarchy problem when creating IDoc with multiple headers

    Hi,
    In general, When you create an inbound IDoc for the IDoc Type FIDCCP02, you have all the data records arranged in hierarchical order (while viewing it in the we02 transaction).
    Our requirement is to have m number of headers(E1FIKPF) and in turn it has n number of items(E1FISEG) inside a same IDoc. We have a problem in viewing the hierarchy of them in the data records tab. It comes down in a flat order without hierarchical division.
    If we have only one header, we get the hierarchy sorted by default. If we have multiple headers we see the same problem again.
    We guess some make-ups in the EDIDD structure which contains segnum, hlevel etc needs to be done.
    Let us know the correct method to get this fixed.
    Points will be rewarded.Thanks in advance.
    Regards,
    Reni

    Every Idoc segment has a place to put in the parent segment for that Idoc. When you "fill" the Idoc , this tsep might not be executing for some reason.
    Is this some customer development?
    in EDID4 ,see these fields
    PSGNUM-Number of the hierarchically higher SAP segment
    HLEVEL Hierarchy level.
    Regards

  • Smartform with multiple Headers & Respective Item Details and Totals?

    Dear All,
    Appreciate if anyone clarify my doubt.
    My requirement is to develop a smartform for billing with multiple headers & respective items and totals. For more clarity I'm explaining below.
                        Header Section1
    variable1          variable2          variable3          variable4          variable5
         variable6          variable7          variable8
    variable9          variable10          variable11
    Item Details1
    s no     vebeln     verpr     col4     col5     col6
    total                    123.21
    total in words -
                   value     321.21
                   value     982.98
                   value     some value
    footer details
                        Header Section2
    variable1          variable2          variable3          variable4          variable5
         variable6          variable7          variable8
    variable9          variable10          variable11
    Item Details2
    s no     vebeln     verpr     col4     col5     col6
    total                    123.21
    total in words -
                   value     321.21
                   value     982.98
                   value     some value
    footer details
                        Header Section3
    variable1          variable2          variable3          variable4          variable5
         variable6          variable7          variable8
    variable9          variable10          variable11
    Item Details3
    s no     vebeln     verpr     col4     col5     col6
    total                    123.21
    total in words -
                   value     321.21
                   value     982.98
                   value     some value
    footer details
    Is this possible using smartforms?
    Now they are using a classical report and takes printout in preprinted stationery.
    requirement is to develop a smartform for this. there is a selection screen for the print program which accepts billing docs.
    Thanks,

    Rajiv,
    Actually for your case you don't need a table inside the Main Window. 
    1.) First Populate all the data(header + item) in an internal table in the print program itself.
    2.) Pass this internal table to the smartform.
    3.) In the smartform give exact dimensions to the main window.
    4.) In the Main Window Use a Loop on this internal table.
    5.) Create a template for the header data giving the exact dimensions.
    6.) Create another template for the item data giving exact dimensions to the template.
    7.) If there is pre-printed text between these templates, insert a text element between these templates. This text element will have nothing just give a paragraph format to it. Go to smartstyle, create a style in which create a paragraph format setting line spacing parameter of this paragraph format of the same size as that of pre-printed text.
    8.) Only 1 page is required since Loop statement will print the second record on the second page if the dimension of templates are exact.
    9.) Dimensions you can easily measure from the pre-printed form.
    <removed by moderator>
    Edited by: Thomas Zloch on Mar 6, 2012

  • Multiple levels in ALV Hierarchy

    Hi All
    How to display Multiple levels in ALV Hierarchy.
    I have header and Item Tables but Under Header Expansions I have to display one more Expansion.
    Means Multiple levels.

    Hi,
      I think you can check standard program BCALV_TEST_HIERSEQ_LIST
    Regards,
    Himanshu

  • How to avoid multiple selection in ALV tree control?

    Hi,
    Experts,
    I want to avoid multiple selections on Alv tree control after pressing control keyboard button(Ctrl). Even by pressing Ctrl keyword button i want to select only one row of a Alv tree control.i have used cl_salv_tree class for it is there any method to achieve this please pass some code/idea on it.
    Thanks in advance,
    Shabeer ahmed.

    I haven't tried it before but it should help.
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cda3992d-0e01-0010-90b2-c4e1f899ac01|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cda3992d-0e01-0010-90b2-c4e1f899ac01]

  • Multiple headers not uploaded in ws_delivery_update_2

    Hi,
    I have uploaded the picking quantity through Bapi using  FM-ws_delivery_update_2.I can upload for single header with multiple line items but i cant able to upload for multiple headers in this FM.Pls suggest.
    Thanks,
    Bala
    Moderator message : Cross-posting not allowed. Thread locked.
    Edited by: Vinod Kumar on Nov 14, 2011 5:00 PM

    Hi,
    I have uploaded the picking quantity through Bapi using  FM-ws_delivery_update_2.I can upload for single header with multiple line items but i cant able to upload for multiple headers in this FM.Pls suggest.
    Thanks,
    Bala
    Moderator message : Cross-posting not allowed. Thread locked.
    Edited by: Vinod Kumar on Nov 14, 2011 5:00 PM

Maybe you are looking for

  • Voice to text iPhone 5s

    So after the update awhile back to iOS 8.1.2 my ipjone 5s hasn't had the microphone button on the keyboard to the left of the space button. How do I get it back? I have tryed turning Siri on and off. I have also tried a hard reset of power button and

  • Camera Roll showing incorrect number of photos

    The Camera Roll doesn't seem to be functioning correctly. When I import photos into iPhoto, i select the option to delete them from the phone. The photos disappear, but the number of photos apparently in the Camera Roll isn't reset to zero. Anybody e

  • Indesign install problem through CC

    I have a desktop mac and installed all my apps with no problems. Desktop is running snow leopard. I then wanted to install a few of them on my laptop (laptop running lion). I magaged muse and acrobat XI with no problem. When I come to installing Inde

  • FCP can't handle effects or transitions without jittering.

    Hey guys, i'm on a FCP7 from Final Cut Studio, I've used this for a good while now, however, just recently, every effect, or transition i place, the video jitters. now i don't know if it will actually export it that way or if it will. My question is,

  • F-43 CUSTOM ABAP REPORT ON INVOICE

    Hi All, I need a Custom report which generates the invoice line items including tax % and tax amount when an input of Company code , document number and fiscal year are given. Could any one help in this issue...please regards PSNG Edited by: PSNG on