Displaying columns of alv with Main Heading and Sub Heading

Hi friends.
I have certain fields in display of ALV.
Out of all fields(columns), I would have to display some columns with one Main Heading,Below it's being split in multiple rows.
I have data relevent to that multiple fields.
Let say ,
In first row it will show |Allowance            |
In second                 |HRA    |PA   | OTHERS|
Thanks And Regards,
Amit Raut

Hi,
This is not possible
Refer these links
Re: ALV query
Re: Multiple lines in alv column headings
If this solves ur problem reward points and close the thread

Similar Messages

  • How to swap column-data along with Table header

    Hi All!
    I found a smple JTableDemo.java class. When I run it it provided sorting on the table as well as Dragging Column-data along with Table header while swaping two columns-headers.
    I designed my own table and apply some changes to TableModel. Afterwords it swaps Table-Headers only, but not their respective columns.
    Can someone give me a clue for that, where the logical error may be?
    Thanx in Advance

    surprised.. since you have asked, it must have some more tricky issue. Any way what i thought of it
    in before insert on table2
    simply insert into table1 (cr_id) values (:new.cr_id_id);
    i assume that table1 pk does not generated through sequence
    proposed insertion will not violate the uniqueness and create another record only in table1
    what is thehidden agenda for not using simple before insert trigger as above.
    yours
    dr.s.r.bhattachar

  • Credit limit sharing main customer and sub customers

    Dear all
    Credit limit sharing main customer and sub customers. we have hierarchy to identified main cutomer and sub customers and different account groups. now in system we are using main customer payer for all sub customers also. in future we are going to share the credit limit sub dealesr also. wt are the possibilities to complete my requirements.
    Regards
    Venkey

    Hi Venky,
    If i understood correctly. You wan to share main customer credit limit to all sub customer i.e. if main customer is having 5 Lacs Credit Limit the same amt you want to use for all sub customers.
    If this is the scenario then assign the main customer in the sub customer Credit master as a credit account.
    FD32 ---> Control Area Data ---> Status --->  Credit Account ( Under Credit Limit )....
    Process to change the credit account: Perss F6 or from the status view Go to Edit ---> Change Credit acct...
    Hope issue may resolve..
    Regards
    Durga Sana
    Edited by: Durgaprasadsana on May 13, 2010 7:40 AM
    Edited by: Durgaprasadsana on May 13, 2010 7:42 AM

  • Main Objects and sub-objects

    Hi All,
    Please tell me what is the meaning of 'Main Objects' and 'Sub-objects' in CRM.
    Thanks.

    Dear Nishikant,
    Kindly follow the below blog which is exporting your crystal report to HTML4.0 version.
    If it successfully imported, then  the problem may reside in the mapping of values to the SWF file.
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417200)ID0191682050DB01264035234114071801End?blog=/pub/wlg/15995
    Hope this will help you.
    Regards
    Gokul.N

  • Concatenate main vi and sub vi data

    Is it possible to concatenate the output string of main vi and sub vi data? 

    Yes, both are string data types and i used the string concatenate function in our previous projects.
    I have not yet implemented the logic. My main objective is, in my main vi i have two sub vi's corresponding to two controls. If i click on control-1 sub vi-1 will popup and i will make some changes. And some changes in second sub vi also. Finally i have to concatenate the both sub vi's outputs and main vi output and send to FPGA board.
    Kindly provide the example vi for my requirements.
     

  • Help on ALV with multiple header/item output

    Dear all:
    Below is the actual working code on a multiple header/item display. The alv is supposed to output the details differently in each list. But somehow it only display the last i_tab I gave in all the list(they all look the same). Please help me out here how I can change my code to work properly. Thanks...
    *& Report  ZTEST2
    REPORT  ZTEST2.
    type-pools: slis.
    data : NUM1 type I,
           NUM type I,
           begin of str,
           client like mara-mandt,
           mat like mara-matnr,
           end of str,
           tab like standard table of str.
    data :wa2 type slis_alv_event ,
          tab2 like standard table of wa2,
          wa1 type   slis_layout_alv,
          wa type line of slis_t_fieldcat_alv,
           tab1 like standard table of wa.
           wa-reptext_ddic = 'Client Num'.
           wa-fieldname = 'CLIENT'.
           wa-tabname = 'TAB'.
           wa-ref_fieldname = 'MANDT'.
           wa-ref_tabname = 'MARA'.
           wa-seltext_l = 'CLIENT'.
           append wa to tab1.
           wa-reptext_ddic = 'Mat Number'.
           wa-fieldname = 'MAT'.
           wa-tabname = 'TAB'.
           wa-ref_fieldname = 'MATNR'.
           wa-ref_tabname = 'MARA'.
           wa-seltext_l = 'MATERIAL'.
           append wa to tab1.
          wa1-no_colhead = 'X'.
           wa2-NAME = SLIS_EV_TOP_OF_PAGE.
           wa2-FORM = 'WRITE_TOP_PAGE'.
           APPEND wa2 TO tab2.
    NUM = 0.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
      EXPORTING
        I_CALLBACK_PROGRAM             = sy-cprog.
    do 2 times.
    NUM1 = NUM1 + 10.
    refresh: tab.
    select mandt matnr up to NUM1 rows from mara into table tab.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        IS_LAYOUT                        = wa1
        IT_FIELDCAT                      = tab1
        I_TABNAME                        = 'TAB'
        IT_EVENTS                        = tab2
      TABLES
        T_OUTTAB                         = tab.
    enddo.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
    FORM WRITE_TOP_PAGE.
      NUM = NUM + 1.
      WRITE: / ,
             / 'TABLE NUMBER :', NUM.
    ENDFORM.

    Hi Jim,
    yes for some reason ALV expects you to be using different tables. It seems that it does not save the contents of the tables at each call of 'append' rather it waits until 'display' to deal with the table contents at that time, which in your case is the 20 items.
    What you can do is use dynamic tables. check this out:
    REPORT  ZNRW_ALV_BLOCK                          .
    type-pools: slis.
    data : NUM1 type I,
    NUM type I.
    types:
    begin of str,
    client like mara-mandt,
    mat like mara-matnr,
    end of str.
    data
    tab type standard table of str.
    data :wa2 type slis_alv_event ,
    tab2 like standard table of wa2,
    wa1 type slis_layout_alv,
    wa type line of slis_t_fieldcat_alv,
    tab1 like standard table of wa.
    wa-reptext_ddic = 'Client Num'.
    wa-fieldname = 'CLIENT'.
    wa-tabname = 'TAB'.
    wa-ref_fieldname = 'MANDT'.
    wa-ref_tabname = 'MARA'.
    wa-seltext_l = 'CLIENT'.
    append wa to tab1.
    wa-reptext_ddic = 'Mat Number'.
    wa-fieldname = 'MAT'.
    wa-tabname = 'TAB'.
    wa-ref_fieldname = 'MATNR'.
    wa-ref_tabname = 'MARA'.
    wa-seltext_l = 'MATERIAL'.
    append wa to tab1.
    wa1-no_colhead = 'X'.
    wa2-NAME = SLIS_EV_TOP_OF_PAGE.
    wa2-FORM = 'WRITE_TOP_PAGE'.
    APPEND wa2 TO tab2.
    NUM = 0.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
    EXPORTING
    I_CALLBACK_PROGRAM = sy-cprog.
    DATA tabDREF TYPE REF TO DATA.
    FIELD-SYMBOLS <tab> TYPE table.
    do 2 times.
    CREATE DATA tabdref TYPE table of str.
    ASSIGN tabDREF->* TO <tab>.
    NUM1 = NUM1 + 10.
    refresh: tab.
    select mandt matnr up to NUM1 rows from mara into table <tab>.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
    EXPORTING
    IS_LAYOUT = wa1
    IT_FIELDCAT = tab1
    I_TABNAME = 'TAB'
    IT_EVENTS = tab2
    TABLES
    T_OUTTAB = <tab>.
    enddo.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
    FORM WRITE_TOP_PAGE.
    NUM = NUM + 1.
    WRITE: / ,
    / 'TABLE NUMBER :', NUM.
    ENDFORM.

  • 100% correlation with main instability and battery...

    100% identification of the main instability and battery problem of Lumia 800
    The headline is very pretentious, I admit.  However, I think I can now point to the problem.  Many Lumia owners are baffled by the nature of their problems – they are unpredictable and intermittent and manifest themselves in many ways. 
    I am NOT talking about “static” bugs such as:
    inability to charge the battery to 1,450mAh,
    the problem to end a call or the impedance of head-phones and audio quality
    Extremely slow start-up after battery drain to zero
    For many of Lumia owners, the phones are perfectly usable, have decent battery life, and then, a series of strange problems out of the blue, you panic to identify what’s going on, switch everything off, hard-reset, etc. and wow, suddenly it looks OK, stable and jolly again, only to go into problems after a while.
    The problems I am talking about are intermittent, unpredictable and are impossible to replicate at will, mainly classified as:
    Freezes;
    Self turning offs and self-restarts;
    Intermittent drain of battery.
    As above, it is not possible (at least for me) to replicate the conditions that cause problems intermittently, but I think that I now know at least one common thread – the “Current” in the “Battery Status” page in the “Diagnostic” page.  
    I found that during all the intermittent problems, no matter that I switch-off everything (including 2G rather than 3G) and even after hard-reset, the Current is higher than the “normal steady state” that I think is about 150-160mAh.  Whenever the “Current (Discharging) is higher than 160 (after a brief transitional time), expect troubles.
    I can only speculate that some “rogue” process is looping on the CPU in the background (unfortunately there is no Windows PC style “Task Manager” that can show all processes) – a possible support for this hypothesis is that the back of the device is warm and sometimes hot to touch ALWAYS when these kind of problems strike.
    Why isn't Nokia updating us about this issue?  Admission and promise to resolve it (if this can be solved – I wonder it other WP7 phones have similar problems, if yes, this is the end...) will keep many loyal customers to Nokia.  We are getting tired of bugs and problems and only in the case of the battery, Nokia admitted it. Please Nokia, don’t push us into the arms of the iThing!!!

    Hello Fabio
    Its a strange issue but firstly you can check the power settings in the wireless card properties. Please go to Device Manager then right click on Wlan card ->Properties.
    There you should find a Advanced tab. All settings should be set to Use default value and Highest.
    Best regards

  • Main vi and sub vi execution

    I am struggling a lot with my Main vi and Subvi execution problems a lot !
    I have a complicated system. To explain it, I create a simple main vi and 2 subvis. Please have a look at the attachment.
    It is working as expected. The boolean button in the main vi is active when the subvi-s are not running. But while the sub vis are running I can not access the boolean button. I understand why it is happening. The execution is stuck in the subvi and can not see any new input in the main vi.
    My question is how can I solve this?
    What I want is,
    1. When the subvi is running, I still want the boolean button in the main vi to behave in the same way as compared to when the subvi is not running.
    2. I should also be able to run the 2nd subvi when the 1st subvi is still running.
    Please help me out (I am using Labview 2010.)
    Solved!
    Go to Solution.
    Attachments:
    main.vi ‏12 KB
    sub.vi ‏14 KB
    sub2.vi ‏15 KB

    Oh sorry, I thought I saved them to LV2010 but I guess I accidentally recompiled them to latest version.. Attached VI's for 2010.
    Seems I cannot edit my previous post so forgive me for sending VI's twice and if any moderators happen to see this, feel free to remove the VI's in previous message..
    Attachments:
    main.vi ‏23 KB
    sub.vi ‏24 KB
    sub2.vi ‏25 KB

  • How to get Main meters and Sub meters in sap isu

    Hi,
    I have a requirement to collect number of main meters that linked with submeters.
    Can anyone suggest me a table where i can get the main meters and submeters list.
    Scenario :
    A Premise may consist of more that one installation of same division.
    Out of these one meter may be main meter.
    And remaining all are sub meters.
    All the installations under a premise we can get from EANL table by giving the premise input.
    and now how the main and sub installations are differed out of these?
    Is there any particular table that consists of a field which tells that meter is main or sub?
    Thanks ,
    Ramya

    Hi Ramya,
    Go through this link, it might be helpful.
    http://forums.sdn.sap.com/thread.jspa?threadID=1417493&tstart=2310
    Regards
    Tarun

  • Main meter and sub meter issue

    We are creating a main & sub meter sub-meters order  are not being downloaded by EL16, only main meter order are downloaded.It happens only in Production system. But in ouq dev and qua both order are downloaded.
    Meter reading orders for the sub-meters are created automatically when we
    create orders for the main meters. The main and sub-meters are in the
    same MRU. When we execute EL16, only the orders for the main meters are
    downloaded.
    Only the order for the main meter is getting downloaded.The order for
    the sub-meter is not getting downloaded even though both are in the same
    MRU.
    I am unable to find the exact reason .
    Pls help me regarding this issue

    Hello,
    Please consider the 'old' note 305694 which explains the changed behavior...
    Only in the case of available meter reading order also for the sub installation the system will download also the meter reading order for the second register. The other opportunity is to modify as described in the note 425739....OR use note  853927 and customized this functionality using the switch DIFF_MRUS_EL35 in table TE410S.....
    I hope this helps...
    Regards
    Olivia

  • Serial Number assignment for main items and sub items

    Hi
    All, good evening, i need clarificaction on the serial number assignment. My client's requirement is to maintain the serial numbers, so in this regard when i am confirming production order in this i need some information how the serial numbers are picked and consumed for main items and the sub items.
    I need someone to help me in solving this.
    Regards
    Narsing

    dear Narsing,
    please look here:
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/f8c817b3f911d1896e0000e8284931/frameset.htm

  • ALV with multiple header & dynamic columns

    Hello All,
    I have a requirement where in I need to print multiple header in alv.
    For eg.
    User Name : <Name_1>
    Channel     : <Channel_1>
    Sale Org    : <Sales Org_1>
    Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8
    User Name : <Name_2>
    Channel     : <Channel_2>
    Sale Org    : <Sales Org_2>
    Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8
    no of columns (Col1 , col2 )  are dynamic  . Which would be the best alv type do I need do use?  Is it possible using simple alv grid display. How to handle dynamic column.
    Thnx.

    it is not possible with normal grid or list.
    I guess it is possible by using ALV Block list
    Modified below program to get mutiple header
    REPORT z_alv_block_list.
    Type-pools
    TYPE-POOLS: slis.
    Data declarations.
    DATA: BEGIN OF t_vbak OCCURS 0,
            vbeln TYPE vbeln,
            bstnk TYPE vbak-bstnk,
            erdat TYPE vbak-erdat,
            kunnr TYPE vbak-kunnr,
          END OF t_vbak.
    DATA: BEGIN OF t_vbap OCCURS 0,
            vbeln  TYPE vbeln,
            matnr  TYPE vbap-matnr,
            netpr  TYPE vbap-netpr,
            waerk  TYPE vbap-waerk,
            kwmeng TYPE vbap-kwmeng,
            meins  TYPE vbap-meins,
          END OF t_vbap.
    DATA: t_fieldcatalog1 TYPE slis_t_fieldcat_alv.
    DATA: t_fieldcatalog2 TYPE slis_t_fieldcat_alv.
    DATA: v_repid         TYPE syrepid.
    DATA: s_layout        TYPE slis_layout_alv.
    DATA: v_tabname       TYPE slis_tabname.
    DATA: t_events        TYPE slis_t_event.
    start-of-selection event.
    START-OF-SELECTION.
      v_repid = sy-repid.
    Get the fieldcatalog for the first block
      PERFORM get_fieldcat1 CHANGING t_fieldcatalog1.
    Get the fieldcatalog for the second block
      PERFORM get_fieldcat2 CHANGING t_fieldcatalog2.
    Get the data for the first block
      SELECT vbeln bstnk erdat kunnr UP TO 10 ROWS
             INTO TABLE t_vbak
             FROM vbak WHERE vbeln > '0060000100'.
    Get the data for the second block
      SELECT vbeln matnr netpr waerk kwmeng meins UP TO 10
    ROWS
             INTO TABLE t_vbap
             FROM vbap WHERE vbeln > '0060000100'.
    init
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
           EXPORTING
                i_callback_program = v_repid.
    First block
      v_tabname = 'ITAB1'.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
           EXPORTING
                is_layout   = s_layout
                it_fieldcat = t_fieldcatalog1
                i_tabname   = v_tabname
                it_events   = t_events
           TABLES
                t_outtab    = t_vbak.
    Second block
      v_tabname = 'ITAB2'.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
           EXPORTING
                is_layout   = s_layout
                it_fieldcat = t_fieldcatalog2
                i_tabname   = v_tabname
                it_events   = t_events
           TABLES
                t_outtab    = t_vbap.
    *Display
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
          FORM GET_FIELDCAT1                           
          Get the field catalog for the first block    
    FORM get_fieldcat1 CHANGING lt_fieldcatalog TYPE
    slis_t_fieldcat_alv.
      DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
    Order number
      s_fieldcatalog-col_pos       = '1'.
      s_fieldcatalog-fieldname     = 'VBELN'.
      s_fieldcatalog-tabname       = 'T_VBAK'.
      s_fieldcatalog-ref_tabname   = 'VBAK'.
      s_fieldcatalog-ref_fieldname = 'VBELN'.
      APPEND s_fieldcatalog TO lt_fieldcatalog.
      CLEAR s_fieldcatalog.
    Customer purchase order.
      s_fieldcatalog-col_pos       = '2'.
      s_fieldcatalog-fieldname     = 'BSTNK'.
      s_fieldcatalog-tabname       = 'T_VBAK'.
      s_fieldcatalog-ref_tabname   = 'VBAK'.
      s_fieldcatalog-ref_fieldname = 'BSTNK'.
      APPEND s_fieldcatalog TO lt_fieldcatalog.
      CLEAR s_fieldcatalog.
    Creation date.
      s_fieldcatalog-col_pos       = '3'.
      s_fieldcatalog-fieldname     = 'ERDAT'.
      s_fieldcatalog-tabname       = 'T_VBAK'.
      s_fieldcatalog-ref_tabname   = 'VBAK'.
      s_fieldcatalog-ref_fieldname = 'ERDAT'.
      APPEND s_fieldcatalog TO lt_fieldcatalog.
      CLEAR s_fieldcatalog.
    Customer
      s_fieldcatalog-col_pos       = '4'.
      s_fieldcatalog-fieldname     = 'KUNNR'.
      s_fieldcatalog-tabname       = 'T_VBAK'.
      s_fieldcatalog-ref_tabname   = 'VBAK'.
      s_fieldcatalog-ref_fieldname = 'KUNNR'.
      APPEND s_fieldcatalog TO lt_fieldcatalog.
      CLEAR s_fieldcatalog.
    ENDFORM.
          FORM GET_FIELDCAT2                           
          Get the field catalog for the second block   
    FORM get_fieldcat2 CHANGING lt_fieldcatalog TYPE
    slis_t_fieldcat_alv.
      DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
    Order number
      s_fieldcatalog-col_pos       = '1'.
      s_fieldcatalog-fieldname     = 'VBELN'.
      s_fieldcatalog-tabname       = 'T_VBAP'.
      s_fieldcatalog-ref_tabname   = 'VBAP'.
      s_fieldcatalog-ref_fieldname = 'VBELN'.
      APPEND s_fieldcatalog TO lt_fieldcatalog.
      CLEAR s_fieldcatalog.
    Material number
      s_fieldcatalog-col_pos       = '2'.
      s_fieldcatalog-fieldname     = 'MATNR'.
      s_fieldcatalog-tabname       = 'T_VBAP'.
      s_fieldcatalog-ref_tabname   = 'VBAP'.
      s_fieldcatalog-ref_fieldname = 'MATNR'.
      APPEND s_fieldcatalog TO lt_fieldcatalog.
      CLEAR s_fieldcatalog.
    Net price
      s_fieldcatalog-col_pos       = '3'.
      s_fieldcatalog-fieldname     = 'NETPR'.
      s_fieldcatalog-tabname       = 'T_VBAP'.
      s_fieldcatalog-ref_tabname   = 'VBAP'.
      s_fieldcatalog-ref_fieldname = 'NETPR'.
      s_fieldcatalog-cfieldname    = 'WAERK'.
      s_fieldcatalog-ctabname      = 'T_VBAP'.
      APPEND s_fieldcatalog TO lt_fieldcatalog.
      CLEAR s_fieldcatalog.
    Currency.
      s_fieldcatalog-col_pos       = '4'.
      s_fieldcatalog-fieldname     = 'WAERK'.
      s_fieldcatalog-tabname       = 'T_VBAP'.
      s_fieldcatalog-ref_tabname   = 'VBAP'.
      s_fieldcatalog-ref_fieldname = 'WAERK'.
      APPEND s_fieldcatalog TO lt_fieldcatalog.
      CLEAR s_fieldcatalog.
    Quantity
      s_fieldcatalog-col_pos       = '5'.
      s_fieldcatalog-fieldname     = 'KWMENG'.
      s_fieldcatalog-tabname       = 'T_VBAP'.
      s_fieldcatalog-ref_tabname   = 'VBAP'.
      s_fieldcatalog-ref_fieldname = 'KWMENG'.
      s_fieldcatalog-qfieldname    = 'MEINS'.
      s_fieldcatalog-qtabname      = 'T_VBAP'.
      APPEND s_fieldcatalog TO lt_fieldcatalog.
      CLEAR s_fieldcatalog.
    UOM
      s_fieldcatalog-col_pos       = '6'.
      s_fieldcatalog-fieldname     = 'MEINS'.
      s_fieldcatalog-tabname       = 'T_VBAP'.
      s_fieldcatalog-ref_tabname   = 'VBAP'.
      s_fieldcatalog-ref_fieldname = 'MEINS'.
      APPEND s_fieldcatalog TO lt_fieldcatalog.
      CLEAR s_fieldcatalog.
    ENDFORM.

  • ALV with check boxs and buttons

    Hi guys,
    It's been a while since last time I used ALV and its options.
    I have a requirement to show many records in ALV format. each record starts with a check box, user can choose which record by checking each and click on a button to merge them (those record contain text). Everything should show up on ALV screen. Any idea what how should I do that??
    I think I should use screen painter but I have no idea how to implement that...
    Thanks,

    Hi Ben,
    Here is the code as per ur requirement ..
    just go through this....i hope u will get some help...
    REPORT zashu_alv_in_popup_mara.
    TYPE-POOLS : slis.
    *Data Declaration
    DATA:i_repid LIKE sy-repid.
         i_repid = sy-repid.
    Declaration for ALV
    DATA: wa_fcat TYPE slis_fieldcat_alv,
          fcat TYPE slis_t_fieldcat_alv,
          wa_fcat1 TYPE slis_fieldcat_alv,
          fcat1 TYPE slis_t_fieldcat_alv.
    *Types Declaration
    TYPES:BEGIN OF ty_mat,
           matnr TYPE mara-matnr,
           checkbox(1),
          END OF ty_mat.
    TYPES:BEGIN OF ty_makt,
           matnr TYPE mara-matnr,
           maktg  TYPE makt-maktg,
           maktx  TYPE makt-maktx,
          END OF ty_makt.
    *Internal table Declaration
    DATA:it_mat TYPE TABLE OF ty_mat WITH HEADER LINE.
    DATA:it_makt TYPE TABLE OF ty_makt WITH HEADER LINE.
    *Range Declaration
    RANGES : r_matnr FOR mara-matnr.
    *Start of Selecdtion
    START-OF-SELECTION.
      PERFORM get_data.
      PERFORM display_data.
      PERFORM display_alv.
         Form  get_data
    FORM get_data.
    Read material from MARA
      SELECT matnr FROM mara INTO TABLE it_mat.
    ENDFORM.                               " GET_DATA
         Form  display_data
    FORM display_data.
      wa_fcat-row_pos   = '1'.
      wa_fcat-col_pos   = '1'.
      wa_fcat-fieldname = 'CHECKBOX'.
      wa_fcat-tabname   = 'IT_MAT'.
      wa_fcat-seltext_m = 'SELECT'.
      APPEND wa_fcat TO fcat.
      CLEAR wa_fcat.
      wa_fcat-row_pos   = '1'.
      wa_fcat-col_pos   = '2'.
      wa_fcat-fieldname = 'MATNR'.
      wa_fcat-tabname   = 'IT_MAT'.
      wa_fcat-seltext_m = 'MATERIAL'.
      wa_fcat-outputlen = 50.
      APPEND wa_fcat TO fcat.
    Display data in a POPUP
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
           EXPORTING
                i_selection          = 'X'
                i_zebra              = 'X'
                it_fieldcat          = fcat
                i_tabname            = 'IT_MAT'
                 i_checkbox_fieldname = 'CHECKBOX'
           TABLES
                t_outtab             = it_mat.
    IF NOT it_mat[] IS INITIAL.
    LOOP AT it_mat  WHERE checkbox = 'X'.
            r_matnr-sign = 'I'.
            r_matnr-option = 'EQ'.
            r_matnr-low = it_mat-matnr.
            r_matnr-high = ' '  .
            APPEND r_matnr.
            CLEAR r_matnr.
          ENDLOOP.
        ENDIF.
    select matnr maktx maktg from makt  into table it_makt where matnr in
    r_matnr.
    ENDFORM.                               " DISPLAY_DATA
    *&      Form  DISPLAY_ALV
          text
    -->  p1        text
    <--  p2        text
    FORM display_alv .
    *ALV Display in a POPUP window
      wa_fcat1-row_pos   = '1'.
      wa_fcat1-col_pos   = '1'.
      wa_fcat1-fieldname = 'MATNR'.
      wa_fcat1-tabname   = 'IT_MAKT'.
      wa_fcat1-seltext_m = 'Material No'.
      APPEND wa_fcat1 TO fcat1.
      CLEAR wa_fcat.
      wa_fcat1-row_pos   = '1'.
      wa_fcat1-col_pos   = '2'.
      wa_fcat1-fieldname = 'MAKTX'.
      wa_fcat1-tabname   = 'IT_MAKT'.
      wa_fcat1-seltext_m = 'DESCRIPTION'.
      APPEND wa_fcat1 TO fcat1.
      wa_fcat1-row_pos   = '1'.
      wa_fcat1-col_pos   = '3'.
      wa_fcat1-fieldname = 'MAKTG'.
      wa_fcat1-tabname   = 'IT_MAKT'.
      wa_fcat1-seltext_m = 'GROUP'.
      APPEND wa_fcat1 TO fcat1.
      CLEAR wa_fcat1.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = i_repid
         i_grid_title                      = 'Material Description'
         it_fieldcat                       = fcat1
      I_SCREEN_START_COLUMN             = 30
      I_SCREEN_START_LINE               = 10
      I_SCREEN_END_COLUMN               = 70
      I_SCREEN_END_LINE                 = 30
        TABLES
          t_outtab                        = it_makt
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV
    Thanks & Regards
    Ashu SIngh

  • ALV With Multiple Header information

    Hi Friends,
    I have the following requirement.
    Company Header Information 1
    Company Header Information 2
    Company Header Information 3
    Company Header Information 4
    Company Header Information 5
    Operator1 Details1
    Operator1 Details2
         Customer Information A
                 Sales InformationA1
                 Sales InformationA2
                 Sales InformationA3
                 Sales InformationA4
    Operator1 Information2
         Customer Information B
                 Sales InformationB1
                 Sales InformationB2
                 Sales InformationB3
                 Sales InformationB4
    Is this possible through any ALV?
    Thanks & Regards,
    Lijo Joseph

    hi,
    Execute this program nad check if this helps in ur requirement.
    *& Report  ZKEERTHI_ALV3                                               *
    REPORT  ZKEERTHI_ALV3   LINE-COUNT 100                        .
    *& tables declaration
    TABLES: MARA.
    *& type-pools declaration
    TYPE-POOLS: SLIS.
    *& data declaration
    DATA: G_REPID TYPE SY-REPID.
    DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,  "mara
           WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    DATA : IT_FIELDCAT1 TYPE SLIS_T_FIELDCAT_ALV,  "makt
           WA_FIELDCAT1 TYPE SLIS_FIELDCAT_ALV.
    DATA : IT_FIELDCAT2 TYPE SLIS_T_FIELDCAT_ALV,  "marc
           WA_FIELDCAT2 TYPE SLIS_FIELDCAT_ALV.
    DATA: GT_PRINT TYPE SLIS_PRINT_ALV,
          WA_LAYOUT TYPE SLIS_LAYOUT_ALV,
          XS_EVENT  TYPE SLIS_ALV_EVENT,
          GT_XEVENTS TYPE SLIS_T_EVENT,
          GT_YEVENTS TYPE SLIS_T_EVENT,
          GT_ZEVENTS TYPE SLIS_T_EVENT,
          WA_SORT TYPE SLIS_SORTINFO_ALV,
          IT_SORT TYPE SLIS_T_SORTINFO_ALV.
    DATA: BEGIN OF IT_MARA OCCURS 0,
            MATNR LIKE MARA-MATNR,
            MTART LIKE MARA-MTART,
            MATKL LIKE MARA-MATKL,
            MEINS LIKE MARA-MEINS,
            NTGEW LIKE MARA-NTGEW,
          END OF IT_MARA.
    DATA: BEGIN OF IT_MAKT OCCURS 0,
            MATNR LIKE MAKT-MATNR,
            SPRAS LIKE MAKT-SPRAS,
            MAKTX LIKE MAKT-MAKTX,
            MAKTG LIKE MAKT-MAKTG,
          END OF IT_MAKT.
    DATA: BEGIN OF IT_MARC OCCURS 0,
            MATNR LIKE MARC-MATNR,
            WERKS LIKE MARC-WERKS,
            LADGR LIKE MARC-LADGR,
            MTVFP LIKE MARC-MTVFP,
            DISPR LIKE MARC-DISPR,
            DISMM LIKE MARC-DISMM,
            DISPO LIKE MARC-DISPO,
          END OF IT_MARC.
    *& initialisation
    INITIALIZATION.
    G_REPID = SY-REPID.
    *& selection screen
    SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_MATNR FOR MARA-MATNR,
                    S_MTART FOR MARA-MTART.
    SELECTION-SCREEN END OF BLOCK B.
    *& start of selection
    START-OF-SELECTION.
    PERFORM GET_MARADETAILS.
    PERFORM GET_MAKTDETAILS.
    PERFORM GET_MARCDETAILS.
    *&      Form  get_maradetails
          text
    -->  p1        text
    <--  p2        text
    FORM GET_MARADETAILS .
    SELECT MATNR
           MTART
           MATKL
           MEINS
           NTGEW FROM MARA
           INTO TABLE IT_MARA
           WHERE MATNR IN S_MATNR AND
                 MTART IN S_MTART.
    ENDFORM.                    " get_maradetails
    *&      Form  get_maktdetails
          text
    -->  p1        text
    <--  p2        text
    FORM GET_MAKTDETAILS .
    SELECT MATNR
           SPRAS
           MAKTX
           MAKTG FROM MAKT INTO TABLE IT_MAKT
           FOR ALL ENTRIES IN IT_MARA
           WHERE MATNR = IT_MARA-MATNR..
    ENDFORM.                    " get_maktdetails
    *&      Form  get_marcdetails
          text
    -->  p1        text
    <--  p2        text
    FORM GET_MARCDETAILS .
    SELECT MATNR
           WERKS
           LADGR
           MTVFP
           DISPR
           DISMM
           DISPO FROM MARC
           INTO TABLE IT_MARC
           FOR ALL ENTRIES IN IT_MARA
           WHERE MATNR = IT_MARA-MATNR.
    ENDFORM.                    " get_marcdetails
    *& end of selection
    END-OF-SELECTION.
    PERFORM SORT_LIST.
    PERFORM MODIFY_FIELDCAT.
    PERFORM EVENT_LIST.
    PERFORM BLOCK_LIST.
    *&      Form  modify_fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM MODIFY_FIELDCAT .
    CLEAR WA_FIELDCAT.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-TABNAME = 'IT_MARA'.
      WA_FIELDCAT-SELTEXT_L = 'MATERIAL NUM'.
      WA_FIELDCAT-COL_POS = 1.
      WA_FIELDCAT-OUTPUTLEN = 18.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-FIELDNAME = 'MTART'.
      WA_FIELDCAT-TABNAME = 'IT_MARA'.
      WA_FIELDCAT-SELTEXT_L = 'MAT TYPE'.
      WA_FIELDCAT-COL_POS = 2.
      WA_FIELDCAT-OUTPUTLEN = 5.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-FIELDNAME = 'MATKL'.
      WA_FIELDCAT-TABNAME = 'IT_MARA'.
      WA_FIELDCAT-SELTEXT_L = 'MAT GROUP'.
      WA_FIELDCAT-COL_POS = 3.
      WA_FIELDCAT-OUTPUTLEN = 10.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-FIELDNAME = 'MEINS'.
      WA_FIELDCAT-TABNAME = 'IT_MARA'.
      WA_FIELDCAT-SELTEXT_L = 'UNIT'.
      WA_FIELDCAT-COL_POS = 4.
      WA_FIELDCAT-OUTPUTLEN = 5.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-FIELDNAME = 'NTGEW'.
      WA_FIELDCAT-TABNAME = 'IT_MARA'.
      WA_FIELDCAT-DO_SUM = 'X'.
      WA_FIELDCAT-SELTEXT_L = 'QUANTITY'.
      WA_FIELDCAT-COL_POS = 5.
      WA_FIELDCAT-OUTPUTLEN = 15.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
    CLEAR WA_FIELDCAT1.
      WA_FIELDCAT1-FIELDNAME = 'MATNR'.
      WA_FIELDCAT1-TABNAME = 'IT_MAKT'.
      WA_FIELDCAT1-SELTEXT_L = 'MATERIAL NUM'.
      WA_FIELDCAT1-COL_POS = 1.
      WA_FIELDCAT1-OUTPUTLEN = 18.
    APPEND WA_FIELDCAT1 TO IT_FIELDCAT1.
      CLEAR WA_FIELDCAT1.
      WA_FIELDCAT1-FIELDNAME = 'SPRAS'.
      WA_FIELDCAT1-TABNAME = 'IT_MAKT'.
      WA_FIELDCAT1-SELTEXT_L = 'LANGUAGE'.
      WA_FIELDCAT1-COL_POS = 2.
      WA_FIELDCAT1-OUTPUTLEN = 2.
    APPEND WA_FIELDCAT1 TO IT_FIELDCAT1.
      CLEAR WA_FIELDCAT1.
      WA_FIELDCAT1-FIELDNAME = 'MAKTX'.
      WA_FIELDCAT1-TABNAME = 'IT_MAKT'.
      WA_FIELDCAT1-SELTEXT_L = 'MAT DESC'.
      WA_FIELDCAT1-COL_POS = 3.
      WA_FIELDCAT1-OUTPUTLEN = 40.
    APPEND WA_FIELDCAT1 TO IT_FIELDCAT1.
      CLEAR WA_FIELDCAT1.
      WA_FIELDCAT1-FIELDNAME = 'MAKTG'.
      WA_FIELDCAT1-TABNAME = 'IT_MAKT'.
      WA_FIELDCAT1-SELTEXT_L = 'GRP DESC'.
      WA_FIELDCAT1-COL_POS = 4.
      WA_FIELDCAT1-OUTPUTLEN = 40.
    APPEND WA_FIELDCAT1 TO IT_FIELDCAT1.
      CLEAR WA_FIELDCAT1.
    CLEAR WA_FIELDCAT2.
      WA_FIELDCAT2-FIELDNAME = 'MATNR'.
      WA_FIELDCAT2-TABNAME = 'IT_MARC'.
      WA_FIELDCAT2-SELTEXT_L = 'MATERIAL NUM'.
      WA_FIELDCAT2-COL_POS = 1.
      WA_FIELDCAT2-OUTPUTLEN = 18.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
      CLEAR WA_FIELDCAT2.
      WA_FIELDCAT2-FIELDNAME = 'WERKS'.
      WA_FIELDCAT2-TABNAME = 'IT_MARC'.
      WA_FIELDCAT2-SELTEXT_L = 'PLANT'.
      WA_FIELDCAT2-COL_POS = 2.
      WA_FIELDCAT2-OUTPUTLEN = 4.
      APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
      CLEAR WA_FIELDCAT2.
      WA_FIELDCAT2-FIELDNAME = 'LADGR'.
      WA_FIELDCAT2-TABNAME = 'IT_MARC'.
      WA_FIELDCAT2-SELTEXT_L = 'LOAD GRP'.
      WA_FIELDCAT2-COL_POS = 3.
      WA_FIELDCAT2-OUTPUTLEN = 4.
      APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
      CLEAR WA_FIELDCAT2.
      WA_FIELDCAT2-FIELDNAME = 'MTVFP'.
      WA_FIELDCAT2-TABNAME = 'IT_MARC'.
      WA_FIELDCAT2-SELTEXT_L = 'GRP CHK'.
      WA_FIELDCAT2-COL_POS = 4.
      WA_FIELDCAT2-OUTPUTLEN = 4.
      APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
      CLEAR WA_FIELDCAT2.
      WA_FIELDCAT2-FIELDNAME = 'DISPR'.
      WA_FIELDCAT2-TABNAME = 'IT_MARC'.
      WA_FIELDCAT2-SELTEXT_L = 'MRP PROFILE'.
      WA_FIELDCAT2-COL_POS = 5.
      WA_FIELDCAT2-OUTPUTLEN = 4.
      APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
      CLEAR WA_FIELDCAT2.
      WA_FIELDCAT2-FIELDNAME = 'DISMM'.
      WA_FIELDCAT2-TABNAME = 'IT_MARC'.
      WA_FIELDCAT2-SELTEXT_L = 'MRP TYPE'.
      WA_FIELDCAT2-COL_POS = 6.
      WA_FIELDCAT2-OUTPUTLEN = 4.
      APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
      CLEAR WA_FIELDCAT2.
      WA_FIELDCAT2-FIELDNAME = 'DISPO'.
      WA_FIELDCAT2-TABNAME = 'IT_MARC'.
      WA_FIELDCAT2-SELTEXT_L = 'MRP CON'.
      WA_FIELDCAT2-COL_POS = 7.
      WA_FIELDCAT2-OUTPUTLEN = 4.
    APPEND WA_FIELDCAT2 TO IT_FIELDCAT2.
      CLEAR WA_FIELDCAT2.
    ENDFORM.                    " modify_fieldcat
    *&      Form  BLOCK_LIST
          text
    -->  p1        text
    <--  p2        text
    FORM BLOCK_LIST .
    CLEAR WA_LAYOUT.
    WA_LAYOUT-ZEBRA = 'X'.
    WA_LAYOUT-TOTALS_TEXT = 'TOTAL'.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
      EXPORTING
        I_CALLBACK_PROGRAM             = G_REPID
       I_CALLBACK_PF_STATUS_SET       = ' '
       I_CALLBACK_USER_COMMAND        = 'user_command'.
      IT_EXCLUDING                   =
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        IS_LAYOUT                        = WA_LAYOUT
        IT_FIELDCAT                      = IT_FIELDCAT[]
        I_TABNAME                        = 'IT_MARA'
        IT_EVENTS                        = GT_XEVENTS
       IT_SORT                          = IT_SORT
      I_TEXT                           = ' '
      TABLES
        T_OUTTAB                         = IT_MARA
    EXCEPTIONS
      PROGRAM_ERROR                    = 1
      MAXIMUM_OF_APPENDS_REACHED       = 2
      OTHERS                           = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        IS_LAYOUT                        = WA_LAYOUT
        IT_FIELDCAT                      = IT_FIELDCAT1
        I_TABNAME                        = 'IT_MAKT'
        IT_EVENTS                        = GT_YEVENTS
      IT_SORT                          =
      I_TEXT                           = ' '
      TABLES
        T_OUTTAB                         = IT_MAKT
    EXCEPTIONS
      PROGRAM_ERROR                    = 1
      MAXIMUM_OF_APPENDS_REACHED       = 2
      OTHERS                           = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        IS_LAYOUT                        = WA_LAYOUT
        IT_FIELDCAT                      = IT_FIELDCAT2
        I_TABNAME                        = 'IT_MARC'
        IT_EVENTS                        = GT_ZEVENTS
      IT_SORT                          =
      I_TEXT                           = ' '
      TABLES
        T_OUTTAB                         = IT_MARC
    EXCEPTIONS
      PROGRAM_ERROR                    = 1
      MAXIMUM_OF_APPENDS_REACHED       = 2
      OTHERS                           = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK             = ' '
       IS_PRINT                      = GT_PRINT
      I_SCREEN_START_COLUMN         = 0
      I_SCREEN_START_LINE           = 0
      I_SCREEN_END_COLUMN           = 0
      I_SCREEN_END_LINE             = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER       =
      ES_EXIT_CAUSED_BY_USER        =
    EXCEPTIONS
      PROGRAM_ERROR                 = 1
      OTHERS                        = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " BLOCK_LIST
    *&      Form  EVENT_LIST
          text
    -->  p1        text
    <--  p2        text
    FORM EVENT_LIST .
    CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_TOP_OF_PAGE.
      XS_EVENT-FORM = 'XTOP_OF_PAGE'.
      APPEND XS_EVENT TO GT_XEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_END_OF_PAGE.
      XS_EVENT-FORM = 'XEND_OF_PAGE'.
      APPEND XS_EVENT TO GT_XEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_TOP_OF_LIST.
      XS_EVENT-FORM = 'XTOP_OF_LIST'.
      APPEND XS_EVENT TO GT_XEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_END_OF_LIST.
      XS_EVENT-FORM = 'XEND_OF_LIST'.
      APPEND XS_EVENT TO GT_XEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_END_OF_PAGE.
      XS_EVENT-FORM = 'YEND_OF_PAGE'.
      APPEND XS_EVENT TO GT_YEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_TOP_OF_PAGE.
      XS_EVENT-FORM = 'YTOP_OF_PAGE'.
      APPEND XS_EVENT TO GT_YEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_TOP_OF_LIST.
      XS_EVENT-FORM = 'YTOP_OF_LIST'.
      APPEND XS_EVENT TO GT_YEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_END_OF_LIST.
      XS_EVENT-FORM = 'YEND_OF_LIST'.
      APPEND XS_EVENT TO GT_YEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_END_OF_PAGE.
      XS_EVENT-FORM = 'ZEND_OF_PAGE'.
      APPEND XS_EVENT TO GT_ZEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_TOP_OF_PAGE.
      XS_EVENT-FORM = 'ZTOP_OF_PAGE'.
      APPEND XS_EVENT TO GT_ZEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_TOP_OF_LIST.
      XS_EVENT-FORM = 'ZTOP_OF_LIST'.
      APPEND XS_EVENT TO GT_ZEVENTS.
      CLEAR XS_EVENT.
      XS_EVENT-NAME = SLIS_EV_END_OF_LIST.
      XS_EVENT-FORM = 'ZEND_OF_LIST'.
      APPEND XS_EVENT TO GT_ZEVENTS.
      CLEAR XS_EVENT.
    ENDFORM.                    " EVENT_LIST
    FORM XTOP_OF_PAGE.
    WRITE:/ 'TOP OF PAGE FOR MARA'.
    ENDFORM.
    FORM YTOP_OF_PAGE.
    WRITE:/ 'TOP OF PAGE FOR MAKT'.
    ENDFORM.
    FORM ZTOP_OF_PAGE.
    WRITE:/ 'TOP OF PAGE FOR MARC'.
    ENDFORM.
    FORM XEND_OF_PAGE.
    WRITE:/ 'END OF PAGE FOR MARA'.
    ENDFORM.
    FORM YEND_OF_PAGE.
    WRITE:/ 'END OF PAGE FOR MAKT'.
    ENDFORM.
    FORM ZEND_OF_PAGE.
    WRITE:/ 'END OF PAGE FOR MARC'.
    ENDFORM.
    FORM XTOP_OF_LIST.
    WRITE:/ 'TOP OF LIST FOR MARA'.
    ENDFORM.
    FORM YTOP_OF_LIST.
    WRITE:/ 'TOP OF LIST FOR MAKT'.
    ENDFORM.
    FORM ZTOP_OF_LIST.
    WRITE:/ 'TOP OF LIST FOR MARC'.
    ENDFORM.
    FORM XEND_OF_LIST.
    WRITE:/ 'END OF LIST FOR MARA'.
    ENDFORM.
    FORM YEND_OF_LIST.
    WRITE:/ 'END OF LIST FOR MAKT'.
    ENDFORM.
    FORM ZEND_OF_LIST.
    WRITE:/ 'END OF LIST FOR MARC'.
    ENDFORM.
    *&      Form  sort_list
          text
    -->  p1        text
    <--  p2        text
    FORM SORT_LIST .
      CLEAR WA_SORT.
      WA_SORT-FIELDNAME = 'MTART'.
      WA_SORT-SUBTOT = 'X'.
        APPEND WA_SORT TO IT_SORT.
      CLEAR WA_SORT.
      WA_SORT-FIELDNAME = 'MATKL'.
    WA_SORT-SUBTOT = 'X'.
      APPEND WA_SORT TO IT_SORT.
      CLEAR WA_SORT.
    ENDFORM.                    " sort_list
    regards,
    keerthi

  • Problem when displaying images when working  with PHP, mysql and dreamweaver in a brower

    Hey Guys
    I am new to dynamic development but I already did some
    research and tutorials about how to get a dynamic web site working
    with PHP and Mysql in Dreamweaver. I set up a test page to view
    some content on it directly from the mysql database and it worked
    just fine in dreamweaver only when I pressed the
    live data view.
    When I tried to view the same page using the browser preview
    with firefox and internet explorer, plain text from the database
    was correctly displayed on the brower but the images were absent.
    In the mysql database I used the varchar as my picture data
    type field so that I will refer in dreamweaver in the data binding
    panel in the img.src to the picture column of my database.
    I anyone can tell me what am I doing wrong so that my
    pictures are not displayed in the browser when i click the browser
    preview facility in dreamweaver I would be very very and very
    pleased ! :)

    The odds are that it is the way that you have referenced the
    images rather
    than an issue with the database. If you have the images root
    relative like
    this "/images" then they will work in preview, and on the
    webserver, but
    will not view when looking at the file via localhost.
    If possible make the links page relative and then they should
    work fine.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "mariosal026" <[email protected]> wrote in
    message
    news:ea3nq2$9ol$[email protected]..
    > Hey Guys
    >
    > I am new to dynamic development but I already did some
    research and
    > tutorials
    > about how to get a dynamic web site working with PHP and
    Mysql in
    > Dreamweaver.
    > I set up a test page to view some content on it directly
    from the mysql
    > database and it worked just fine in dreamweaver only
    when I pressed the
    >
    live
    > data view.
    >
    > When I tried to view the same page using the browser
    preview with firefox
    > and
    > internet explorer, plain text from the database was
    correctly displayed on
    > the
    > brower but the images were absent.
    >
    > In the mysql database I used the varchar as my picture
    data type field so
    > that
    > I will refer in dreamweaver in the data binding panel in
    the img.src to
    > the
    > picture column of my database.
    >
    > I anyone can tell me what am I doing wrong so that my
    pictures are not
    > displayed in the browser when i click the browser
    preview facility in
    > dreamweaver I would be very very and very pleased ! :)
    >

Maybe you are looking for

  • IPhone 5 getting really really hot when plugged into MacBook Pro Retina?

    Hi I have had my Macbook for about 1 month and I recently discovered that my phone is getting extremely hot while charging through USB port. I was not sure if it was my phone as I was having issues with volume buttons, so was not sure if I had some d

  • Writing an update statement in oracle forms 9i

    Hi , I have a problem situation in which I am fetching values from a cursor and a recod group into two data block items text box and combo box respectively . Both the data is fetched from different tables . Now based on the selection from combo box I

  • [XI 3.1 SP3] WinAD subgroup shown as user

    Strange things happen with configuring WinAD. The following: I have succesfully configurated WinAD and Single Sign On with BOXI Enterprise 3.1 SP3. But when I try to update a group it imports a subgroup as user of this group and not as subgroup. I am

  • Need Help - Installation failing at:  Phase 25 Intsall instance basics

    Hello everyone, We are trying to install solution manager 4 on linux readhat E4 (oracle db).  Currently, we are stuck at phase 25 "install instance basics.   I can see at the bottom of the screen, the message says the phase is "Creating instance dire

  • Bulk changes to Common Resource Parameters

    Hi, I need to make changes to many disks and file server resources at once in my cluster. The settings I need to change are in the common properties for resources: http://msdn.microsoft.com/en-us/library/aa372230(v=vs.85).aspx RestartPeriod RestartTh