<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ALV Grid in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2647234#M609911</link>
    <description>&lt;P&gt;Please see the below simple ALV program.&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;*&amp;amp; Report ZSALESORDER_REPORT2&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;REPORT ZSALESORDER_REPORT2.&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TY_VBAP,&lt;/P&gt;&lt;P&gt;         VBELN TYPE VBAP-VBELN,&lt;/P&gt;&lt;P&gt;         POSNR TYPE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;         MATNR TYPE VBAP-MATNR,&lt;/P&gt;&lt;P&gt;         MATWA TYPE VBAP-MATWA,&lt;/P&gt;&lt;P&gt;         CHARG TYPE VBAP-CHARG,&lt;/P&gt;&lt;P&gt;         NETPR TYPE VBAP-NETPR,&lt;/P&gt;&lt;P&gt;       END OF TY_VBAP.&lt;/P&gt;&lt;P&gt;TYPES:BEGIN OF TY_FINAL,&lt;/P&gt;&lt;P&gt;        VBELN TYPE VBAP-VBELN,&lt;/P&gt;&lt;P&gt;        POSNR TYPE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;        MATNR TYPE VBAP-MATNR,&lt;/P&gt;&lt;P&gt;        MATWA TYPE VBAP-MATWA,&lt;/P&gt;&lt;P&gt;        CHARG TYPE VBAP-CHARG,&lt;/P&gt;&lt;P&gt;        NETPR TYPE VBAP-NETPR,&lt;/P&gt;&lt;P&gt;      END OF TY_FINAL.&lt;/P&gt;&lt;P&gt;DATA:IT_SALES TYPE TABLE OF TY_VBAP,&lt;/P&gt;&lt;P&gt;     WA_SALES TYPE TY_VBAP.&lt;/P&gt;&lt;P&gt;DATA:IT_FINAL TYPE TABLE OF TY_FINAL,&lt;/P&gt;&lt;P&gt;     WA_FINAL TYPE TY_FINAL.&lt;/P&gt;&lt;P&gt;DATA: IT_SLIS TYPE SLIS_T_FIELDCAT_ALV,&lt;/P&gt;&lt;P&gt;      WA_SLIS TYPE SLIS_FIELDCAT_ALV.&lt;/P&gt;&lt;P&gt;DATA:LS_LAYOUT  TYPE  SLIS_LAYOUT_ALV.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS: S_ORDER FOR WA_SALES-VBELN.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF  BLOCK B1.&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA.&lt;/P&gt;&lt;P&gt;PERFORM PROCESS_DATA.&lt;/P&gt;&lt;P&gt;PERFORM FIELDCATE.&lt;/P&gt;&lt;P&gt;PERFORM DISPLAY.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;FORM GET_DATA.&lt;/P&gt;&lt;P&gt;  SELECT  VBELN&lt;/P&gt;&lt;P&gt;          POSNR&lt;/P&gt;&lt;P&gt;          MATNR&lt;/P&gt;&lt;P&gt;          MATWA&lt;/P&gt;&lt;P&gt;          CHARG&lt;/P&gt;&lt;P&gt;          NETPR&lt;/P&gt;&lt;P&gt;       FROM VBAP&lt;/P&gt;&lt;P&gt;       INTO TABLE IT_SALES&lt;/P&gt;&lt;P&gt;       WHERE VBELN IN S_ORDER.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;FORM PROCESS_DATA.&lt;/P&gt;&lt;P&gt;  LOOP AT IT_SALES INTO WA_SALES.&lt;/P&gt;&lt;P&gt;    WA_FINAL-VBELN = WA_SALES-VBELN.&lt;/P&gt;&lt;P&gt;    WA_FINAL-POSNR = WA_SALES-POSNR.&lt;/P&gt;&lt;P&gt;    WA_FINAL-MATNR = WA_SALES-MATNR.&lt;/P&gt;&lt;P&gt;    WA_FINAL-MATWA = WA_SALES-MATWA.&lt;/P&gt;&lt;P&gt;    WA_FINAL-CHARG = WA_SALES-CHARG.&lt;/P&gt;&lt;P&gt;    WA_FINAL-NETPR = WA_SALES-NETPR.&lt;/P&gt;&lt;P&gt;    APPEND WA_FINAL TO IT_FINAL.&lt;/P&gt;&lt;P&gt;    CLEAR:WA_FINAL.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;FORM FIELDCATE.&lt;/P&gt;&lt;P&gt;  WA_SLIS-FIELDNAME = 'VBELN'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-TABNAME = 'IT_FINAL'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-SELTEXT_S = 'Order number'.&lt;/P&gt;&lt;P&gt;  APPEND WA_SLIS TO IT_SLIS.&lt;/P&gt;&lt;P&gt;  CLEAR:WA_SLIS.&lt;/P&gt;&lt;P&gt;  WA_SLIS-FIELDNAME = 'POSNR'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-TABNAME = 'IT_FINAL'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-SELTEXT_S = 'Order number'.&lt;/P&gt;&lt;P&gt;  APPEND WA_SLIS TO IT_SLIS.&lt;/P&gt;&lt;P&gt;  CLEAR:WA_SLIS.&lt;/P&gt;&lt;P&gt;  WA_SLIS-FIELDNAME = 'MATNR'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-TABNAME = 'IT_FINAL'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-SELTEXT_S = 'Order number'.&lt;/P&gt;&lt;P&gt;  APPEND WA_SLIS TO IT_SLIS.&lt;/P&gt;&lt;P&gt;  CLEAR:WA_SLIS.&lt;/P&gt;&lt;P&gt;  WA_SLIS-FIELDNAME = 'MATWA'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-TABNAME = 'IT_FINAL'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-SELTEXT_S = 'Order number'.&lt;/P&gt;&lt;P&gt;  APPEND WA_SLIS TO IT_SLIS.&lt;/P&gt;&lt;P&gt;  CLEAR:WA_SLIS.&lt;/P&gt;&lt;P&gt;  WA_SLIS-FIELDNAME = 'CHARG'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-TABNAME = 'IT_FINAL'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-SELTEXT_S = 'Order number'.&lt;/P&gt;&lt;P&gt;  APPEND WA_SLIS TO IT_SLIS.&lt;/P&gt;&lt;P&gt;  CLEAR:WA_SLIS.&lt;/P&gt;&lt;P&gt;  WA_SLIS-FIELDNAME = 'NETPR'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-TABNAME = 'IT_FINAL'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-SELTEXT_S = 'Order number'.&lt;/P&gt;&lt;P&gt;  APPEND WA_SLIS TO IT_SLIS.&lt;/P&gt;&lt;P&gt;  CLEAR:WA_SLIS.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;*&amp;amp; Form FIELD_CAT&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;*&amp;amp; text&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;*&amp;amp;      --&amp;gt; P_&lt;/P&gt;&lt;P&gt;*&amp;amp;      --&amp;gt; P_&lt;/P&gt;&lt;P&gt;*&amp;amp;      --&amp;gt; P_&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*.&lt;/P&gt;&lt;P&gt;FORM DISPLAY.&lt;/P&gt;&lt;P&gt;  LS_LAYOUT-ZEBRA             = 'X'.&lt;/P&gt;&lt;P&gt;  LS_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.&lt;/P&gt;&lt;P&gt;*  LS_LAYOUT-NO_TOTALLINE      = 'X'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;*     I_INTERFACE_CHECK        = ' '&lt;/P&gt;&lt;P&gt;*     I_BYPASSING_BUFFER       = ' '&lt;/P&gt;&lt;P&gt;*     I_BUFFER_ACTIVE          = ' '&lt;/P&gt;&lt;P&gt;      I_CALLBACK_PROGRAM       = SY-REPID&lt;/P&gt;&lt;P&gt;*      I_CALLBACK_PF_STATUS_SET = ' '&lt;/P&gt;&lt;P&gt; *     I_CALLBACK_USER_COMMAND  = ' '&lt;/P&gt;&lt;P&gt;*     I_CALLBACK_TOP_OF_PAGE   = ' '&lt;/P&gt;&lt;P&gt;*     I_CALLBACK_HTML_TOP_OF_PAGE       = ' '&lt;/P&gt;&lt;P&gt;*     I_CALLBACK_HTML_END_OF_LIST       = ' '&lt;/P&gt;&lt;P&gt;*     I_STRUCTURE_NAME         =&lt;/P&gt;&lt;P&gt;*     I_BACKGROUND_ID          = ' '&lt;/P&gt;&lt;P&gt;*     I_GRID_TITLE             =&lt;/P&gt;&lt;P&gt;*     I_GRID_SETTINGS          =&lt;/P&gt;&lt;P&gt;      IS_LAYOUT                = LS_LAYOUT&lt;/P&gt;&lt;P&gt;      IT_FIELDCAT              = IT_SLIS&lt;/P&gt;&lt;P&gt;*     IT_EXCLUDING             =&lt;/P&gt;&lt;P&gt;*     IT_SPECIAL_GROUPS        =&lt;/P&gt;&lt;P&gt; *     IT_SORT                  = &lt;/P&gt;&lt;P&gt;*     IT_FILTER                =&lt;/P&gt;&lt;P&gt;*     IS_SEL_HIDE              =&lt;/P&gt;&lt;P&gt;*     I_DEFAULT                = 'X'&lt;/P&gt;&lt;P&gt;*     I_SAVE                   = 'SAVE'&lt;/P&gt;&lt;P&gt;*     IS_VARIANT               =&lt;/P&gt;&lt;P&gt;*     IT_EVENTS                =&lt;/P&gt;&lt;P&gt;*     IT_EVENT_EXIT            =&lt;/P&gt;&lt;P&gt;*     IS_PRINT                 =&lt;/P&gt;&lt;P&gt;*     IS_REPREP_ID             =&lt;/P&gt;&lt;P&gt;*     I_SCREEN_START_COLUMN    = 0&lt;/P&gt;&lt;P&gt;*     I_SCREEN_START_LINE      = 0&lt;/P&gt;&lt;P&gt;*     I_SCREEN_END_COLUMN      = 0&lt;/P&gt;&lt;P&gt;*     I_SCREEN_END_LINE        = 0&lt;/P&gt;&lt;P&gt;*     I_HTML_HEIGHT_TOP        = 0&lt;/P&gt;&lt;P&gt;*     I_HTML_HEIGHT_END        = 0&lt;/P&gt;&lt;P&gt;*     IT_ALV_GRAPHICS          =&lt;/P&gt;&lt;P&gt;*     IT_HYPERLINK             =&lt;/P&gt;&lt;P&gt;*     IT_ADD_FIELDCAT          =&lt;/P&gt;&lt;P&gt;*     IT_EXCEPT_QINFO          =&lt;/P&gt;&lt;P&gt;*     IR_SALV_FULLSCREEN_ADAPTER        =&lt;/P&gt;&lt;P&gt;*     O_PREVIOUS_SRAL_HANDLER  =&lt;/P&gt;&lt;P&gt;*    IMPORTING&lt;/P&gt;&lt;P&gt;*     E_EXIT_CAUSED_BY_CALLER  =&lt;/P&gt;&lt;P&gt;*     ES_EXIT_CAUSED_BY_USER   =&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      T_OUTTAB                 = IT_FINAL[]&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      PROGRAM_ERROR            = 1&lt;/P&gt;&lt;P&gt;      OTHERS                   = 2.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;* Implement suitable error handling here&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2022 10:08:25 GMT</pubDate>
    <dc:creator>former_member815291</dc:creator>
    <dc:date>2022-08-01T10:08:25Z</dc:date>
    <item>
      <title>ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2647230#M609907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;                 I need to know about ALV Grid and sample codings to work with ALV Grid. So can anyone send me the links for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shanthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 11:05:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2647230#M609907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T11:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2647231#M609908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Goto Se38 and give BC_ALV* then press F4 then you will all SAP DEMO programs in the ALV, that was developed by SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 11:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2647231#M609908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T11:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2647232#M609909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple ALV report&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/controls/alvgrid.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/controls/alvgrid.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Please give me general info on ALV.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=58286" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=58286&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=76490" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=76490&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=20591" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=20591&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=66305" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=66305&lt;/A&gt; - this one discusses which way should you use - ABAP Objects calls or simple function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. How do I program double click in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=11601" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=11601&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=23010" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=23010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. How do I add subtotals (I have problem to add them)...&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=20386" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=20386&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=85191" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=85191&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=88401" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=88401&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=17335" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=17335&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. How to add list heading like top-of-page in ABAP lists?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=58775" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=58775&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=60550" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=60550&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=16629" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=16629&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. How to print page number / total number of pages X/XX in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=29597" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=29597&lt;/A&gt; (no direct solution)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=64320" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=64320&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=44477" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=44477&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. How can I set the cell color in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=52107" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=52107&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. How do I print a logo/graphics in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=81149" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=81149&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=35498" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=35498&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=5013" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=5013&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. How do I create and use input-enabled fields in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=84933" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=84933&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=69878" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=69878&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. How can I use ALV for reports that are going to be run in background?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=83243" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=83243&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=19224" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=19224&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11. How can I display an icon in ALV? (Common requirement is traffic light icon).&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=79424" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=79424&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=24512" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=24512&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12. How can I display a checkbox in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=88376" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=88376&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=40968" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=40968&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=6919" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=6919&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go thru these programs they may help u to try on some hands on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV Demo program&lt;/P&gt;&lt;P&gt;BCALV_DEMO_HTML&lt;/P&gt;&lt;P&gt;BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode&lt;/P&gt;&lt;P&gt;BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode&lt;/P&gt;&lt;P&gt;BCALV_GRID_DEMO Simple ALV Control Call Demo Program&lt;/P&gt;&lt;P&gt;BCALV_TREE_DEMO Demo for ALV tree control&lt;/P&gt;&lt;P&gt;BCALV_TREE_SIMPLE_DEMO&lt;/P&gt;&lt;P&gt;BC_ALV_DEMO_HTML_D0100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 11:11:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2647232#M609909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T11:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2647233#M609910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome to SDN forum&lt;/P&gt;&lt;P&gt;see the links and do accordingly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple ALV report&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/controls/alvgrid.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/controls/alvgrid.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox" target="test_blank"&gt;http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Please give me general info on ALV.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=58286" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=58286&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=76490" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=76490&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=20591" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=20591&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=66305" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=66305&lt;/A&gt; - this one discusses which way should you use - ABAP Objects calls or simple function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. How do I program double click in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=11601" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=11601&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=23010" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=23010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. How do I add subtotals (I have problem to add them)...&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=20386" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=20386&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=85191" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=85191&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=88401" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=88401&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=17335" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=17335&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. How to add list heading like top-of-page in ABAP lists?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=58775" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=58775&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=60550" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=60550&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=16629" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=16629&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. How to print page number / total number of pages X/XX in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=29597" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=29597&lt;/A&gt; (no direct solution)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=64320" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=64320&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=44477" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=44477&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. How can I set the cell color in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=52107" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=52107&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;8. How do I print a logo/graphics in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=81149" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=81149&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=35498" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=35498&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=5013" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=5013&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9. How do I create and use input-enabled fields in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=84933" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=84933&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=69878" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=69878&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10. How can I use ALV for reports that are going to be run in background?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=83243" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=83243&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=19224" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=19224&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11. How can I display an icon in ALV? (Common requirement is traffic light icon).&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=79424" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=79424&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=24512" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=24512&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;12. How can I display a checkbox in ALV?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=88376" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=88376&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=40968" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=40968&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=6919" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=6919&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;13. Top-of-page in ALV&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="147020"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;14. ALV Group Heading&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/fu037.htm" target="test_blank"&gt;http://www.sap-img.com/fu037.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How to add list heading like top-of-page in ABAP lists?&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=58775" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=58775&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=60550" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=60550&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=16629" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=16629&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go thru these programs they may help u to try on some hands on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV Demo program&lt;/P&gt;&lt;P&gt;BCALV_DEMO_HTML&lt;/P&gt;&lt;P&gt;BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode&lt;/P&gt;&lt;P&gt;BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode&lt;/P&gt;&lt;P&gt;BCALV_GRID_DEMO Simple ALV Control Call Demo Program&lt;/P&gt;&lt;P&gt;BCALV_TREE_DEMO Demo for ALV tree control&lt;/P&gt;&lt;P&gt;BCALV_TREE_SIMPLE_DEMO&lt;/P&gt;&lt;P&gt;BC_ALV_DEMO_HTML_D0100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2007 11:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2647233#M609910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-10T11:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2647234#M609911</link>
      <description>&lt;P&gt;Please see the below simple ALV program.&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;*&amp;amp; Report ZSALESORDER_REPORT2&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;REPORT ZSALESORDER_REPORT2.&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF TY_VBAP,&lt;/P&gt;&lt;P&gt;         VBELN TYPE VBAP-VBELN,&lt;/P&gt;&lt;P&gt;         POSNR TYPE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;         MATNR TYPE VBAP-MATNR,&lt;/P&gt;&lt;P&gt;         MATWA TYPE VBAP-MATWA,&lt;/P&gt;&lt;P&gt;         CHARG TYPE VBAP-CHARG,&lt;/P&gt;&lt;P&gt;         NETPR TYPE VBAP-NETPR,&lt;/P&gt;&lt;P&gt;       END OF TY_VBAP.&lt;/P&gt;&lt;P&gt;TYPES:BEGIN OF TY_FINAL,&lt;/P&gt;&lt;P&gt;        VBELN TYPE VBAP-VBELN,&lt;/P&gt;&lt;P&gt;        POSNR TYPE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;        MATNR TYPE VBAP-MATNR,&lt;/P&gt;&lt;P&gt;        MATWA TYPE VBAP-MATWA,&lt;/P&gt;&lt;P&gt;        CHARG TYPE VBAP-CHARG,&lt;/P&gt;&lt;P&gt;        NETPR TYPE VBAP-NETPR,&lt;/P&gt;&lt;P&gt;      END OF TY_FINAL.&lt;/P&gt;&lt;P&gt;DATA:IT_SALES TYPE TABLE OF TY_VBAP,&lt;/P&gt;&lt;P&gt;     WA_SALES TYPE TY_VBAP.&lt;/P&gt;&lt;P&gt;DATA:IT_FINAL TYPE TABLE OF TY_FINAL,&lt;/P&gt;&lt;P&gt;     WA_FINAL TYPE TY_FINAL.&lt;/P&gt;&lt;P&gt;DATA: IT_SLIS TYPE SLIS_T_FIELDCAT_ALV,&lt;/P&gt;&lt;P&gt;      WA_SLIS TYPE SLIS_FIELDCAT_ALV.&lt;/P&gt;&lt;P&gt;DATA:LS_LAYOUT  TYPE  SLIS_LAYOUT_ALV.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.&lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS: S_ORDER FOR WA_SALES-VBELN.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF  BLOCK B1.&lt;/P&gt;&lt;P&gt;PERFORM GET_DATA.&lt;/P&gt;&lt;P&gt;PERFORM PROCESS_DATA.&lt;/P&gt;&lt;P&gt;PERFORM FIELDCATE.&lt;/P&gt;&lt;P&gt;PERFORM DISPLAY.&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;FORM GET_DATA.&lt;/P&gt;&lt;P&gt;  SELECT  VBELN&lt;/P&gt;&lt;P&gt;          POSNR&lt;/P&gt;&lt;P&gt;          MATNR&lt;/P&gt;&lt;P&gt;          MATWA&lt;/P&gt;&lt;P&gt;          CHARG&lt;/P&gt;&lt;P&gt;          NETPR&lt;/P&gt;&lt;P&gt;       FROM VBAP&lt;/P&gt;&lt;P&gt;       INTO TABLE IT_SALES&lt;/P&gt;&lt;P&gt;       WHERE VBELN IN S_ORDER.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;FORM PROCESS_DATA.&lt;/P&gt;&lt;P&gt;  LOOP AT IT_SALES INTO WA_SALES.&lt;/P&gt;&lt;P&gt;    WA_FINAL-VBELN = WA_SALES-VBELN.&lt;/P&gt;&lt;P&gt;    WA_FINAL-POSNR = WA_SALES-POSNR.&lt;/P&gt;&lt;P&gt;    WA_FINAL-MATNR = WA_SALES-MATNR.&lt;/P&gt;&lt;P&gt;    WA_FINAL-MATWA = WA_SALES-MATWA.&lt;/P&gt;&lt;P&gt;    WA_FINAL-CHARG = WA_SALES-CHARG.&lt;/P&gt;&lt;P&gt;    WA_FINAL-NETPR = WA_SALES-NETPR.&lt;/P&gt;&lt;P&gt;    APPEND WA_FINAL TO IT_FINAL.&lt;/P&gt;&lt;P&gt;    CLEAR:WA_FINAL.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;FORM FIELDCATE.&lt;/P&gt;&lt;P&gt;  WA_SLIS-FIELDNAME = 'VBELN'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-TABNAME = 'IT_FINAL'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-SELTEXT_S = 'Order number'.&lt;/P&gt;&lt;P&gt;  APPEND WA_SLIS TO IT_SLIS.&lt;/P&gt;&lt;P&gt;  CLEAR:WA_SLIS.&lt;/P&gt;&lt;P&gt;  WA_SLIS-FIELDNAME = 'POSNR'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-TABNAME = 'IT_FINAL'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-SELTEXT_S = 'Order number'.&lt;/P&gt;&lt;P&gt;  APPEND WA_SLIS TO IT_SLIS.&lt;/P&gt;&lt;P&gt;  CLEAR:WA_SLIS.&lt;/P&gt;&lt;P&gt;  WA_SLIS-FIELDNAME = 'MATNR'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-TABNAME = 'IT_FINAL'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-SELTEXT_S = 'Order number'.&lt;/P&gt;&lt;P&gt;  APPEND WA_SLIS TO IT_SLIS.&lt;/P&gt;&lt;P&gt;  CLEAR:WA_SLIS.&lt;/P&gt;&lt;P&gt;  WA_SLIS-FIELDNAME = 'MATWA'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-TABNAME = 'IT_FINAL'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-SELTEXT_S = 'Order number'.&lt;/P&gt;&lt;P&gt;  APPEND WA_SLIS TO IT_SLIS.&lt;/P&gt;&lt;P&gt;  CLEAR:WA_SLIS.&lt;/P&gt;&lt;P&gt;  WA_SLIS-FIELDNAME = 'CHARG'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-TABNAME = 'IT_FINAL'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-SELTEXT_S = 'Order number'.&lt;/P&gt;&lt;P&gt;  APPEND WA_SLIS TO IT_SLIS.&lt;/P&gt;&lt;P&gt;  CLEAR:WA_SLIS.&lt;/P&gt;&lt;P&gt;  WA_SLIS-FIELDNAME = 'NETPR'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-TABNAME = 'IT_FINAL'.&lt;/P&gt;&lt;P&gt;  WA_SLIS-SELTEXT_S = 'Order number'.&lt;/P&gt;&lt;P&gt;  APPEND WA_SLIS TO IT_SLIS.&lt;/P&gt;&lt;P&gt;  CLEAR:WA_SLIS.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;*&amp;amp; Form FIELD_CAT&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;*&amp;amp; text&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*&lt;/P&gt;&lt;P&gt;*&amp;amp;      --&amp;gt; P_&lt;/P&gt;&lt;P&gt;*&amp;amp;      --&amp;gt; P_&lt;/P&gt;&lt;P&gt;*&amp;amp;      --&amp;gt; P_&lt;/P&gt;&lt;P&gt;*&amp;amp;---------------------------------------------------------------------*.&lt;/P&gt;&lt;P&gt;FORM DISPLAY.&lt;/P&gt;&lt;P&gt;  LS_LAYOUT-ZEBRA             = 'X'.&lt;/P&gt;&lt;P&gt;  LS_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.&lt;/P&gt;&lt;P&gt;*  LS_LAYOUT-NO_TOTALLINE      = 'X'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;*     I_INTERFACE_CHECK        = ' '&lt;/P&gt;&lt;P&gt;*     I_BYPASSING_BUFFER       = ' '&lt;/P&gt;&lt;P&gt;*     I_BUFFER_ACTIVE          = ' '&lt;/P&gt;&lt;P&gt;      I_CALLBACK_PROGRAM       = SY-REPID&lt;/P&gt;&lt;P&gt;*      I_CALLBACK_PF_STATUS_SET = ' '&lt;/P&gt;&lt;P&gt; *     I_CALLBACK_USER_COMMAND  = ' '&lt;/P&gt;&lt;P&gt;*     I_CALLBACK_TOP_OF_PAGE   = ' '&lt;/P&gt;&lt;P&gt;*     I_CALLBACK_HTML_TOP_OF_PAGE       = ' '&lt;/P&gt;&lt;P&gt;*     I_CALLBACK_HTML_END_OF_LIST       = ' '&lt;/P&gt;&lt;P&gt;*     I_STRUCTURE_NAME         =&lt;/P&gt;&lt;P&gt;*     I_BACKGROUND_ID          = ' '&lt;/P&gt;&lt;P&gt;*     I_GRID_TITLE             =&lt;/P&gt;&lt;P&gt;*     I_GRID_SETTINGS          =&lt;/P&gt;&lt;P&gt;      IS_LAYOUT                = LS_LAYOUT&lt;/P&gt;&lt;P&gt;      IT_FIELDCAT              = IT_SLIS&lt;/P&gt;&lt;P&gt;*     IT_EXCLUDING             =&lt;/P&gt;&lt;P&gt;*     IT_SPECIAL_GROUPS        =&lt;/P&gt;&lt;P&gt; *     IT_SORT                  = &lt;/P&gt;&lt;P&gt;*     IT_FILTER                =&lt;/P&gt;&lt;P&gt;*     IS_SEL_HIDE              =&lt;/P&gt;&lt;P&gt;*     I_DEFAULT                = 'X'&lt;/P&gt;&lt;P&gt;*     I_SAVE                   = 'SAVE'&lt;/P&gt;&lt;P&gt;*     IS_VARIANT               =&lt;/P&gt;&lt;P&gt;*     IT_EVENTS                =&lt;/P&gt;&lt;P&gt;*     IT_EVENT_EXIT            =&lt;/P&gt;&lt;P&gt;*     IS_PRINT                 =&lt;/P&gt;&lt;P&gt;*     IS_REPREP_ID             =&lt;/P&gt;&lt;P&gt;*     I_SCREEN_START_COLUMN    = 0&lt;/P&gt;&lt;P&gt;*     I_SCREEN_START_LINE      = 0&lt;/P&gt;&lt;P&gt;*     I_SCREEN_END_COLUMN      = 0&lt;/P&gt;&lt;P&gt;*     I_SCREEN_END_LINE        = 0&lt;/P&gt;&lt;P&gt;*     I_HTML_HEIGHT_TOP        = 0&lt;/P&gt;&lt;P&gt;*     I_HTML_HEIGHT_END        = 0&lt;/P&gt;&lt;P&gt;*     IT_ALV_GRAPHICS          =&lt;/P&gt;&lt;P&gt;*     IT_HYPERLINK             =&lt;/P&gt;&lt;P&gt;*     IT_ADD_FIELDCAT          =&lt;/P&gt;&lt;P&gt;*     IT_EXCEPT_QINFO          =&lt;/P&gt;&lt;P&gt;*     IR_SALV_FULLSCREEN_ADAPTER        =&lt;/P&gt;&lt;P&gt;*     O_PREVIOUS_SRAL_HANDLER  =&lt;/P&gt;&lt;P&gt;*    IMPORTING&lt;/P&gt;&lt;P&gt;*     E_EXIT_CAUSED_BY_CALLER  =&lt;/P&gt;&lt;P&gt;*     ES_EXIT_CAUSED_BY_USER   =&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      T_OUTTAB                 = IT_FINAL[]&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      PROGRAM_ERROR            = 1&lt;/P&gt;&lt;P&gt;      OTHERS                   = 2.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;* Implement suitable error handling here&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 10:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid/m-p/2647234#M609911</guid>
      <dc:creator>former_member815291</dc:creator>
      <dc:date>2022-08-01T10:08:25Z</dc:date>
    </item>
  </channel>
</rss>

