Put Header in ALV but error

What I did is that I copy all codes from FBL1N to Z* for me to modify and put header on its report, And these error occur "The type syldb_sp is unknown" I already activate the include where this type was used. Is there anything I need to do more?
Need help badly.

Thank you for your response, I followed your suggestion and it works, Im just wondering why the declaration of types was not inlcuded, Because I just copy all codes from FBL1N to my Z* program. Like what happen now after correcting that error, other variables are not declared so it was unknown. Im expecting that it will work because I just copied all codes.
SE38>FBL1N>Ctrl A--> copy all codes (This is the way I copied the codes)
Then create Z* program and paste all copied codes.
Hope you can give me clarification on this matter because Im confused.
Thank you in advance
Morris
Edited by: Morris Martin Bongas on Nov 18, 2009 6:21 AM

Similar Messages

  • Header in alv grid using class

    Hello All,
        I developed alv grid using class method.
    First I created CREATE OBJECT GR_CCONTAINER
    then  CREATE OBJECT GR_ALVGRID
    then  PERFORM FIELD_CATALOG TABLES GT_FIELDCAT----
    for field catalog
        PERFORM LAYOUT CHANGING GS_LAYOUT.----
    for header
        p_gs_layout-grid_title = 'class method'.
      p_gs_layout-sel_mode = 'D'.
      APPEND P_GS_LAYOUT TO IT_LAYOUT.
    and finally CALL METHOD GR_ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY
    the report is cooming fine but in header it comes only "class method".
    but i need also
    1. reporting date
    2. reporting time.
       can any body tell me how i can i put 2 more heading line
    Thanks,
    Rakesh

    Hi Dude,
    Please refer the below link how to handle  the header in alv using abap oo
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/abapObjects-ALVModel-UsingHeaderand+Footer
    Hope it clears,..............
    Thanks & Regards
    Ramakrishna Pathi

  • Multiple line header for ALV

    I am using  CL_SALV_TABLE (List_Display = X) to create a ALV report. I am willing to change it to function module REUSE_ALV_LIST_DISPLAY if it serves my requirement.
    The header for the report needs to be multiple lines (8 lines). How can I accomplish this?
    I looked into the possibility of using TOP_OF_PAGE event but I will have to hard code the vertical positions of the headers and since it is ALV and you can remove columns at will, I dont think this solution will work. Also if the columns are optimized or output length changed by the user, the positioning of the headers will be ruined.
    Currently the header can only be of one line, how can we make the header to display a table of contents.
    H1-L1          H2-L1          H3-L1
    H1-L2          H2-L2          H3-L2
    H1-L3          H2-L3          H3-L3
    H1-L4          H2-L4          H3-L4
    H1-L5          H2-L5          H3-L5
    H1-L6          H2-L6          H3-L6
    H1-L7          H2-L7          H3-L7
    H1-L8          H2-L8          H3-L8
    Thank you.

    Please guide me hw to put internal table field at report header in ALV.
    this is my field catalog.
    wa_fieldcat-row_pos = 1.
      wa_fieldcat-col_pos = 1.
      wa_fieldcat-tabname = 'ITAB'.
      wa_fieldcat-fieldname = 'VBELN'.
      wa_fieldcat-seltext_m = 'SalesOrderNo'.
      wa_fieldcat-outputlen = '10'.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR wa_fieldcat.
    Also i wnt to total 4 field at header level and other is detail level.
    Please guide me hw to do.
    thnks
    Bhavesh

  • Changing the status of heading in ALV

    HI Gurus,
    I am creating a ALV report program. When I execute the statements (with select options and parameters only)
    I get the output selection screen. But the header comes as the report program name like ZRR_ALV_LIST..
    But I need to change this to some other text of my choice.
    Please help me on this.
    Thanks & Regards,
    Gopinath GS.
    Edited by: Gopigs on May 20, 2011 8:35 AM
    Moderator Message: Basic Question.
    Edited by: kishan P on May 20, 2011 12:31 PM

    This is the simple code that I have done.
    REPORT  zrr_alv_list NO STANDARD PAGE HEADING.
    TABLES:anla.
    TYPE-POOLS: slis.
    SELECTION-SCREEN BEGIN OF BLOCK b100 WITH FRAME TITLE text-bl0.
    SELECT-OPTIONS: s_bukrs FOR anla-bukrs,
                    s_anln1 FOR anla-anln1,
                    s_anln2 for anla-anln2.
      PARAMETERS: p_date LIKE anla-erdat.
    SELECTION-SCREEN END OF BLOCK b100.
    When I execute I get the selection screen. But the header of the selection screen gives the report program name 'zrr_alv_list'.
    Instead i need to put up the header as 'ALV LIST DISPLAY'.
    Also one more query I got just now.
    How can I get the current fiscal year end date and default it to the Parameters field p_date??
    Gs.
    Edited by: Gopigs on May 20, 2011 9:00 AM

  • How To Add Two Heading in ALV Report

    Hello Guys,
    Currently I am Working on a report Contain 45 Column. Each 45 Column have there own heading like Days Target,Days Achieve..like this.
    Our Requirement is That
    1.Upper side of the First 10 Column one more heading required like Production  Details .
    2. From 11 to 20 One More Heading Called Furnace Oil. like that only.
    I ask users That is not possible in ALV but they are adhere to that requirement.
    Can it's is possible in ALV Grid To have a two Heading Column.
    Thanks in Advance.
    Regards
    Swati Namdev

    Hi swati,
    Normally the specified requirment is not possible with the ALV...
    But you can try with the tricky way... where you need to use the Hierarchical ALV.
    Here you need to specify the two fields in the header table for the specified headings, and you need to declare these two fields in the item table also.
    But in this case you will have one blank line on the report output(for the header data).
    Regards,
    Satya.

  • HT204053 I have 2 itunes accounts that I want to put on one iCloud, but can't get them to sync. What can I do that the instructions aren't telling me?

    I have 2 itunes accounts that I want to put on one iCloud, but can't get them to sync. What can I do that the instructions aren't telling me?

    You don't mention anything about the music files on your computer that were used to copy into iTunes. If you have moved those files to a different location on you PC you will get that error message from iTunes. This is because iTunes will look for the music files in the original location that they came from on your PC when they were copied. If this is the case you have to tell iTunes to look in the new location for the music files or move the music files back to the original location.

  • My iPod 5 can't connect to wifi. It connects to personal hotspots but no to my home wifi. I tried resetting the network settings but no change. I put the right password but it just keeps loading forever. What should I do??

    My iPod 5 can't connect to wifi. It connects to personal hotspots but no to my home wifi. I tried resetting the network settings but no change. I put the right password but it just keeps loading forever. What should I do??

    Does the iOS device connect to other networks? If yes that tend to indicate a problem with your network.
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • I want to put header while stroing file in application server

    Hi Guru,
       Can anybody tell how to put header while stroing file in application server.
    in the below pgm data is coming i want to put heading .if we see in al11 transaction the header should come .plese give on eg in the code itself.its urgent
    eg:
    material number
    100
    200
    declarations...................................................
    tables: bkpf.                          " Accounting Document Header
    *"Selection screen elements............................................
    parameters:
      p_burks like bkpf-bukrs.             " Company Code
    select-options:
      s_gjahr for bkpf-gjahr.              " Fiscal year
    Type declaration of the structure to hold Accounting Document Header*
    data:
      begin of fs_bkpf,
        bukrs type bkpf-bukrs,             " Company Code
        belnr type bkpf-belnr,             " Accounting Document Number
        gjahr type bkpf-gjahr,             " Fiscal year
        blart type bkpf-blart,             "        Document type
        bldat type bkpf-bldat,             " Document date in document
      end of fs_bkpf.
    Internal table to hold Accounting Document Header                   *
    data:
      t_bkpf like standard table
               of fs_bkpf.
    Type declaration of the structure to hold file data                 *
    data:
      begin of fs_table,
        str type string,
      end of fs_table.
    Internal table to hold file data                                    *
    data:
      t_table like standard table
                of fs_table.
    field-symbols: <fs>.
    *" Data declarations...................................................
    Work variables                                                      *
    data:
      w_char(50)      type c,
      w_file_name(50) type c value 'YH645_050103'.
    select bukrs                           " Company Code
           belnr                           " Accounting Document Number
           gjahr                           " Fiscal year
           blart                           "        Document type
           bldat                           " Document date in document
      from bkpf
      into table t_bkpf
    where bukrs eq p_burks
       and gjahr in s_gjahr.
    if sy-subrc eq 0.
      loop at t_bkpf into fs_bkpf.
        do.
          assign component sy-index of structure fs_bkpf to <fs>.
          if sy-subrc ne 0.
            exit.
          else.
            move <fs> to w_char.
            if sy-index eq 1.
              fs_table-str = <fs>.
            else.
              concatenate fs_table-str ',' w_char into fs_table-str.
            endif.                         " IF SY-INDEX...
          endif.                           " IF SY-SUBRC...
        enddo.                             " DO...
        append fs_table to t_table.
      endloop.                             " LOOP AT T_KNA1...
    endif.                                 " IF SY-SUBRC...
    open dataset w_file_name for output in text mode encoding default.
    loop at t_table into fs_table.
      transfer fs_table-str to w_file_name.
    endloop.                               " LOOP AT T_TABLE...

    Hi,
    may i know what kind of heading you want to display?
    like date, filename, time etc
    then modify the below code:
    *&      Form  send_statistic
         Create the status Report on application Server
       --->  pv_rlines  - Total No of Records in Internal table          *
       --->  pv_slines  - Total No of Successful records                 *
       --->  pv_elines  - Total No of Errornous  records                 *
       --->  pv_path    - File Path  where the file to be created        *
       --->  pv_flag    - Flag to check for A/c group                    *
    FORM sub_send_statistic USING  pv_rlines  TYPE int4
                                   pv_slines  TYPE int4
                                   pv_elines  TYPE int4
                                   pv_path    TYPE salfile-longname
                                   pv_name    TYPE rlgrap-filename
                                   pv_flag    TYPE char1.
      CLEAR : i_tab,
              wa_tab.
    Convert date to MM/DD/YYYY format
      PERFORM date_convert.
    Convert Time to HH:MM:SS format
      CONCATENATE sy-uzeit+0(2)
                  c_colon
                  sy-uzeit+2(2)
                  c_colon
                  sy-uzeit+4(2)
             INTO v_time1.
    Build the Output File name
      IF   p_sold  = c_x
      AND  pv_flag = c_x.
        CONCATENATE c_objid
                    c_us
                    c_z001
                    c_us
                    sy-datum
                    c_us
                    sy-uzeit
               INTO v_file.
      ENDIF.  " IF   p_sold = c_x
      IF p_cons = c_x.
        CONCATENATE c_objid
                    c_us
                    c_z008
                    c_us
                    sy-datum
                    c_us
                    sy-uzeit
               INTO v_file.
      ELSEIF p_sold = c_x
      AND    pv_flag <> c_x.
        CONCATENATE c_objid
                    c_us
                    sy-datum
                    c_us
                    sy-uzeit
               INTO v_file.
      ENDIF.  " IF p_cons = c_x
    Build the Complete Output File Path
      CONCATENATE pv_path
                  c_slash
                  v_file
             INTO v_outfile.
    Populate the data required for output into an internal table and
    then transfer the table contents to file on application server
    DATA UPLOAD STATISTICS
      wa_tab-rec = text-001.
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    TITLE
      IF   p_sold  = c_x
      AND  pv_flag <> c_x.
        sy-title = text-t17.
      ENDIF.  " IF   p_sold = c_x
      IF  p_sold  = c_x
      AND pv_flag = c_x.
        sy-title  = text-t16.
      ENDIF.  " IF  p_sold = c_x
      IF  p_cons  = c_x
      AND pv_flag = c_x.
        sy-title  = text-t19.
      ENDIF.  " IF  p_cons = c_x
      wa_tab-rec+0(7)   = text-002.
      wa_tab-rec+7(60)  = sy-title.
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    Date & Time
      wa_tab-rec+0(5)   = text-012.
      CONDENSE v_date NO-GAPS.
      wa_tab-rec+6(10)  = v_date.
      wa_tab-rec+60(10) = text-003.
      wa_tab-rec+70(15) = v_time1.
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    Folder Name
      wa_tab-rec+0(18)  = text-005.
      wa_tab-rec+19(72) = pv_path.
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    File Name
      wa_tab-rec+0(18)  = text-006.
    ---Begin of addition -Shivakumar - 09-05-2007--
      wa_tab-rec+19(72) = pv_name.
    ---Begin of addition -Shivakumar - 09-05-2007--
      APPEND wa_tab TO i_tab.
      CLEAR wa_tab.
    Records Read
      CLEAR v_count.
      v_data   = pv_rlines.
      v_count  = STRLEN( v_data ).
      CONDENSE v_data NO-GAPS.
      wa_tab-rec+0(46)  = text-007.
      wa_tab-rec+47(4)  = v_data.
      APPEND wa_tab TO i_tab.
      CLEAR : wa_tab,
              v_data.
    Successfull Records
      CLEAR v_count.
      v_data   = pv_slines.
      v_count  = STRLEN( v_data ).
      CONDENSE v_data NO-GAPS.
      wa_tab-rec+0(46)  = text-008.
      wa_tab-rec+47(4)  = v_data.
      APPEND wa_tab TO i_tab.
      CLEAR : wa_tab,
            v_data.
    Error Records
      CLEAR v_count.
      v_data   = pv_elines.
      v_count  = STRLEN( v_data ).
      CONDENSE v_data NO-GAPS.
      wa_tab-rec+0(46)  = text-009.
      wa_tab-rec+47(4)  = v_data.
      APPEND wa_tab TO i_tab.
      CLEAR : wa_tab,
              v_data.
      v_mesg = text-t04.
      IF   p_sold  = c_x
      AND  pv_flag <> c_x.
        MOVE i_tab  TO i_file.
      ENDIF.  " IF   p_sold = c_x
      IF  p_sold  = c_x
      AND pv_flag = c_x.
        MOVE i_tab  TO i_file1.
      ENDIF.  " IF  p_sold = c_x
      IF NOT i_tab IS INITIAL.
    Open the file on Application server to write the report
        OPEN DATASET v_outfile
                 FOR OUTPUT IN TEXT MODE
            ENCODING DEFAULT MESSAGE v_mesg.
        IF sy-subrc <> 0.
          MESSAGE e000(zconversions) WITH v_mesg.
        ELSE.  " IF sy-subrc <> 0
    Transfer details to the file on application server
          CLEAR wa_tab.
          LOOP AT  i_tab INTO wa_tab.
            TRANSFER wa_tab-rec TO v_outfile.
            CLEAR wa_tab.
          ENDLOOP.  " LOOP AT  i_tab INTO wa_tab
    Close the file
          CLOSE DATASET v_outfile.
        ENDIF.  " IF sy-subrc <> 0
      ENDIF.  " IF NOT i_tab IS INITIAL
    ENDFORM.                    " Create_Report

  • 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

  • Message failed in PI: Status code 200 But Error During Response Parsing:

    Hi
    I have integration scenario for sending PO/PO change/Proact from R/3 to SNC, everything was working till yesterday morning and suddenly all messages are failing in SAP PI with below error. We have not done any changes. The strange thing is this is failing in dev as well as in QA.
    HTTP Status Code 200 Received But Error During Response Parsing: No XI Response Received XML element Envelope missing in SOAP message header (SAP XI Extension)
    I can see some messages in sxmb_moni (we have not configured this) from sender component "Integration_Server_SID" and it's failed with below message
    Proxy calls are not permitted on sender or
    receiver side on the IS (client)
    Thanks,
    Nishant

    HTTP Status Code 200 Received But Error During Response Parsing: No XI Response Received
    XML element {http://schemas.xmlsoap.org/soap/envelope/}Envelope missing in SOAP message header (SAP XI Extension)
    Same problem answered in this discussion....check if it helps:
    Re: BW to File scenario
    Regards,
    Abhishek.

  • HTTP Status Code 200 Received But Error During Response Parsing

    Hi Experts,
    We are testing a simple Proxy(ECC) to File scenario in QA. This interface was working fine in Dev but we are getting the following error here in QA:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Call Adapter  -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">OK_BUT_NO_XI_MESSAGE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>HTTP Status Code 200 Received But Error During Response Parsing: No XI Response Received XML element Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    We searched other threads but could not get any solution. Please provide suggestions.
    Thank You.
    Regards,
    Anandan

    the problem was due to high volume message (247 MB ) ...Java stack was not able to process this huge message ,that is the reason ,it started automatically  and as a result  , "HTTP Status Code 200 Received But Error During Response Parsing" due to unavailability of AFW during Call adapter step in the pipeline processing...
    We have done the following activities in order to solve this problem....
    increase the value of  icm/HTTP/max_request_size_KB to 512MB
                                        icm/wp_roll_timeout   to maximum
                                        HTTP TIMEOUT to 1800 sec
                                       icm/wp_roll_timeout   to maximum
                                         mpi/total_size_MB  to maximum
                                       mpi/buffer_size  to maximum
    and then increased the maxthreadcount ,maxcontentlength using config tool...
    and also increased the java heap size to maximum....
    After doing everything ,the file has been successfully processed....
    the problem has been resolved...

  • Header in ALV Report

    Hi All,
    I want to print a report in the following manner:
    DATE:
    CLASS GROUP :
    MATNR   CLASS     ADSIZE
    123          c             col1
    124          c            col2
    156          c             col2
    DATE:
    CLASS GROUP :
    MATNR   CLASS     ADSIZE
    125         a            col3
    128         a            col4
    150          a             col5
    How do i do it...I am planning to do it with REUSE_ALV_LIST _DISPLAY...but i dont know how to print the header..plz help

    <b>Note : In the below   i am passing  my purchase  order Ebeln  with internal table to the Form header so that all purchase  order are passed to Header  by this way you can also pass it  .</b>
    <b>Add Title(heading) to ALV Grid</b>
    In order to insert a report heading in to the ALV grid you need to perform the following steps:
    1. Update 'REUSE_ALV_GRID_DISPLAY' FM call to include 'top-of-page' FORM
    2. Create 'top-of-page' FORM
    call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
                i_save                  = 'X'
           tables
                t_outtab                = it_ekko
           exceptions
                program_error           = 1
                others                  = 2.
    Form top-of-page.
    *ALV Header declarations
    data: t_header type slis_t_listheader,
          wa_header type slis_listheader,
          t_line like wa_header-info,
          ld_lines type i,
          ld_linesc(10) type c.
    * Title
      wa_header-typ  = 'H'.
      wa_header-info = EKKO-ebeln.
      append wa_header to t_header.
      clear wa_header.
    endform.
    reward points if it is usefull .....
    Girish

  • Header in ALV print (no OO)

    Hi friends! I need some help. I made an ALV using function (not OO). IN screen everything is fine, inclusive header with logo, but when I send it to printer, all header don't print! Why my header don't get printed?
    Thanks for any help!

    Hi Fulvio,
    I just tried and it works with this form
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        I_CALLBACK_TOP_OF_PAGE                = 'TOP'
    FORM top.
      data:
        lt_LISTHEADER      type SLIS_T_LISTHEADER.
      FIELD-SYMBOLS:
        <LISTHEADER>       type line of SLIS_T_LISTHEADER.
      APPEND INITIAL LINE TO lt_LISTHEADER.
      APPEND INITIAL LINE TO lt_LISTHEADER ASSIGNING <LISTHEADER>.
      <LISTHEADER>-typ = 'H'.
      <LISTHEADER>-info = 'Report Fiotec of users '.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
    *      i_logo             = 'FIOTEC_LOGO1'
          it_list_commentary = lt_LISTHEADER.
    ENDFORM.                    "top
    In the grid, we have big-sized 'Report Fiotec of users ', space line before is ignored.
    In print preview as in the spool file, 'Report Fiotec of users ' is output on top in default character size.
    You may set a breakpoint in the Form to see if it is called and processed correctly.  Possibly it is because you try to create the output only on first page - that mean only once in your case. Better check IF SY-PAGNO = 1 or use the event TOP_OF_LIST.
    Regards,
    Clemens

  • Header in alv pop up

    Hello,
    i need to dislay header as well as item details in an alv pop up. I am using FM REUSE_ALV_POPUP_TO_SELECT. but I am not able to get the header information. I am able to get the item details for a particular Purchase order number. I need to display purchase order number in the header of alv POPUP.
    how can i achieve this using the same FM?

    hi
    hope this wil help to u
    ...tables vbak.
    data it_vbak like vbak occurs 0 with header line.
    selection-screen begin of block b1 with frame.
    parameters: alv1 radiobutton group alv, "REUSE_ALV_LIST_DISPLAY
    alv2 radiobutton group alv, "REUSE_ALV_POPUP_TO_SELECT
    alv3 radiobutton group alv, "REUSE_ALV_GRID_DISPLAY
    alv4 radiobutton group alv. " NORMAL DISPLAY
    selection-screen end of block b1.
    select * from vbak
    into corresponding fields of table it_vbak
    up to 10 rows.
    if alv1 = 'X'. perform alv_func1.
    elseif alv2 = 'X'. perform alv_func2.
    elseif alv3 = 'X'. perform alv_func3.
    elseif alv4 = 'X'. perform norm.
    endif.
    **& Form ALV_FUNC1
    *form alv_func1 .
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
    i_structure_name = 'VBAK'
    tables
    t_outtab = it_vbak
    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. " ALV_FUNC1
    **& Form ALV_FUNC2
    *form alv_func2 .
    call function 'REUSE_ALV_POPUP_TO_SELECT'
    exporting
    i_title = 'SALES ORDER INFO'
    i_zebra = 'X'
    i_tabname = 1
    i_structure_name = 'vbak'
    tables
    t_outtab = it_vbak
    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. " ALV_FUNC2
    **& Form ALV_FUNC3
    *form alv_func3 .
    call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
    i_structure_name = 'vbak'
    i_grid_title = 'SALES ORDER INFO'
    tables
    t_outtab = it_vbak
    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. " ALV_FUNC3
    **& Form NORM
    *form norm .
    format intensified.
    skip 1.
    write: /'SALES DOC.',
    ' Created on ',
    ' Time',
    ' Created by',
    ' Valid from ',
    ' Sold-to party'.
    format intensified off. skip 2.
    loop at it_vbak.
    write: / it_vbak-vbeln,
    it_vbak-erdat,
    it_vbak-erzet,
    it_vbak-ernam,
    it_vbak-angdt,
    it_vbak-kunnr.
    endloop.
    endform. " NORM 
    Edited by: Nawanandana Edirisinghe on Sep 3, 2009 12:52 PM

  • Header in ALV grid

    Read the posted messages but still have some query regarding layout of Header in ALV grid. Using ALV Grid (not OO concept) in the report.
    - Can texts be printed in two sections in a single row like
    Name :                                 Designation:
    Age:                                   Cost Centre:
    - How to increse the row size of the header. Right now have to scroll to see the complete header.
    Looking forward for replies.
    Thanks
    anu

    The font size depends on what you have specified  for the parameter SLIS_LISTHEADER ( H = Header, S = Selection, A = Action are the valid values), I don't think we have selection of the font size as such.
    So, in your case you can specify Name / Designation as Header and Age / Cost Center as Selection so that they appear in different font.
    I am guessing you are using the function REUSE_ALV_COMMENTARY_WRITE, for writing the header.
    regards,
    Ravi
    Note : Please mark all the helpful answers

Maybe you are looking for

  • Data model that takes part of data to DSO and part to cube

    Hello experts, I have a question about the data model I am currently working on. This model is about a reservation agency, where a customer contacts the agency through a sales representative and makes a reservation for a certain event. He later has t

  • Calendar itmes not showing end date in list view/when opened

    Hi, Got a client with a very strange issue with meetings. Few of the meetings are not showing end date after accepting those although he can see all meetings in calendar. I have already checked below on his machine switched the month view to ''low de

  • Ipod touch crashes when in sleep mode... needs to be reset every time

    When my ipod goes into sleep ("slide to unlock") mode and has been left for more than five minutes, it won't come back to life without holding down both buttons to reset it. It also seems to kill the battery when it goes into the crash state. This on

  • Problem while openning Interactive Form

    Hi All, I am facing an propblem while openning the Interactive PDF. I created an interactive PDF in Adobe LiveCycle Designer v8.0. The Adobe Reader was 8.1. The form was working well and after quite few days i am  got this below message, but the same

  • Install button on photoshop cs5 installer won't work

    I've downloaded the dmg file of photoshop cs5 to reinstall on my mac and when I click on install nothing happens. Suggestions?