<?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 Interactive ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975835#M1159519</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;&lt;/P&gt;&lt;P&gt; I had developed an ALV report. In that i need to add interactive functionality for vendor number and PO so that they go directly to vendor master transaction and ME23N respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please suggest me how to work out this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Jan 2009 04:12:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-10T04:12:29Z</dc:date>
    <item>
      <title>Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975835#M1159519</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;&lt;/P&gt;&lt;P&gt; I had developed an ALV report. In that i need to add interactive functionality for vendor number and PO so that they go directly to vendor master transaction and ME23N respectively.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please suggest me how to work out this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2009 04:12:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975835#M1159519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-10T04:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975836#M1159520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the demo program BCALV_TEST_GRID_EVENTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to this link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6712282"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: avinash kodarapu on Jan 10, 2009 9:56 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2009 04:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975836#M1159520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-10T04:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975837#M1159521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALV Report Links:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/difference-between-drilldown-report-and-interactive-report.htm" target="test_blank"&gt;http://www.sap-img.com/abap/difference-between-drilldown-report-and-interactive-report.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.itcserver.com/blog/2006/06/29/interactive-reports-in-abap/" target="test_blank"&gt;http://www.itcserver.com/blog/2006/06/29/interactive-reports-in-abap/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reference Code&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/an-interactive-alv-report.htm" target="test_blank"&gt;http://www.sap-img.com/abap/an-interactive-alv-report.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functions on ALV Reports:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. 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;Link containing all the important PDFS. ( There is a PDF for ALV Grid in this link)&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.easymarketplace.de/online-pdfs.php" target="test_blank"&gt;http://www.easymarketplace.de/online-pdfs.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope these details are useful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2009 04:34:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975837#M1159521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-10T04:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975838#M1159522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please search SDN before posting your question. Trust me you will get faster solutions if you try to search &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy searching !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2009 04:40:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975838#M1159522</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-10T04:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975839#M1159523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
   EXPORTING
     i_callback_program                = sy-repid
*            I_CALLBACK_PF_STATUS_SET          = ' '
*            I_CALLBACK_USER_COMMAND           = ' '
*            I_CALLBACK_TOP_OF_PAGE            = ' '
*            I_GRID_TITLE                      =
*            I_GRID_SETTINGS                   =
     i_callback_user_command           = 'USER_COMMAND '                          
     is_layout                         = is_layout
     it_fieldcat                       = it_fieldcat
*            IT_EXCLUDING                      =
*            IT_SPECIAL_GROUPS                 =
*            IT_SORT                           =
*            IT_FILTER                         =
*            IS_SEL_HIDE                       =
*            I_DEFAULT                         = 'X'
     i_save                            = 'X'
*            IS_VARIANT                        =
*            IT_EVENTS                         =
*            IT_EVENT_EXIT                     =
    TABLES
      t_outtab                          = it_final
   EXCEPTIONS
     program_error                     = 1
     OTHERS                            = 2
            .
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.


ENDFORM.                    " alv_display

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  user_command
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      --&amp;gt;R_UCOMM      text
*      --&amp;gt;RS_SELFIELD  text
*----------------------------------------------------------------------*
FORM user_command  USING r_ucomm LIKE sy-ucomm
                         rs_selfield TYPE slis_selfield.
  CASE r_ucomm.

*----- When the User Clicks on on the Order
    WHEN '&amp;amp;IC1'.
      IF rs_selfield-fieldname EQ 'BANFN'.
        READ TABLE it_final INTO wa_final INDEX rs_selfield-tabindex.
        SET PARAMETER ID 'BAN' FIELD wa_final-banfn.
        CALL TRANSACTION 'ME53N' AND SKIP FIRST SCREEN.
      ELSEIF rs_selfield-fieldname EQ 'EBELN'.
        READ TABLE it_final INTO wa_final INDEX rs_selfield-tabindex.
        CHECK wa_final-ebeln IS NOT INITIAL.
        SET PARAMETER ID 'BES' FIELD wa_final-ebeln.
        CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
      ELSEIF rs_selfield-fieldname EQ 'BELNR'.
        READ TABLE it_final INTO wa_final INDEX rs_selfield-tabindex.
        CHECK wa_final-belnr IS NOT INITIAL.
        SET PARAMETER ID 'MBN' FIELD wa_final-belnr.
        SET PARAMETER ID 'MJA' FIELD wa_final-gjahr.
        CALL TRANSACTION 'MB03' AND SKIP FIRST SCREEN.

      ENDIF.
  ENDCASE.
ENDFORM.                    "user_command
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2009 07:58:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975839#M1159523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-10T07:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975840#M1159524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Please follow the code below.&lt;/P&gt;&lt;P&gt;&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_BYPASSING_BUFFER       = ' '&lt;/P&gt;&lt;P&gt;      I_SAVE                   = 'A'&lt;/P&gt;&lt;P&gt;      I_CALLBACK_PROGRAM       = 'Program name'&lt;/P&gt;&lt;P&gt;      I_CALLBACK_PF_STATUS_SET = 'F01_ALV_EVENT_PF_STATUS_SET'&lt;/P&gt;&lt;P&gt;      I_CALLBACK_USER_COMMAND  = 'F01_ALV_EVENT_USER_COMMAND'&lt;/P&gt;&lt;P&gt;      IS_LAYOUT                = WA_LAYOUT&lt;/P&gt;&lt;P&gt;      IT_FIELDCAT              = IT_FCAT[]&lt;/P&gt;&lt;P&gt;      I_GRID_TITLE             = W_GRIDTITLE&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      T_OUTTAB                 = IT_OFIN[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM F01_ALV_EVENT_USER_COMMAND USING PU_UCOMM     LIKE SY-UCOMM&lt;/P&gt;&lt;P&gt;                                      PU_SELFIELD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE PU_UCOMM.&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;      CASE PU_SELFIELD-FIELDNAME.&lt;/P&gt;&lt;P&gt;        WHEN 'LIFNR'.&lt;/P&gt;&lt;P&gt;          W_LIFNR1 = PU_SELFIELD-VALUE.&lt;/P&gt;&lt;P&gt;          SET PARAMETER ID 'LIF' FIELD W_LIFNR1.&lt;/P&gt;&lt;P&gt;          CALL TRANSACTION 'XK03'.&lt;/P&gt;&lt;P&gt;          EXIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        WHEN 'EBELN'.&lt;/P&gt;&lt;P&gt;          W_EBELN1 = PU_SELFIELD-VALUE.&lt;/P&gt;&lt;P&gt;          SET PARAMETER ID 'BES' FIELD W_EBELN1.&lt;/P&gt;&lt;P&gt;          CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT'&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;P&gt;              I_EBELN        = W_EBELN1&lt;/P&gt;&lt;P&gt;              I_ENJOY        = 'X'&lt;/P&gt;&lt;P&gt;              I_DISPLAY_ONLY = 'X'.&lt;/P&gt;&lt;P&gt;          EXIT.&lt;/P&gt;&lt;P&gt;      ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE IT_OFIN INTO WA_OFIN  INDEX PU_SELFIELD-TABINDEX.&lt;/P&gt;&lt;P&gt;      MOVE WA_OFIN-EBELN TO W_EBELN.&lt;/P&gt;&lt;P&gt;      MOVE WA_OFIN-EBELP TO W_EBELP.&lt;/P&gt;&lt;P&gt;      MOVE WA_OFIN-ZSPLTNO TO W_ZSPLTNO.&lt;/P&gt;&lt;P&gt;      EXPORT W_EBELN FROM W_EBELN TO MEMORY ID 'MEM1'.&lt;/P&gt;&lt;P&gt;      EXPORT W_EBELP FROM W_EBELP TO MEMORY ID 'MEM2'.&lt;/P&gt;&lt;P&gt;      EXPORT W_ZSPLTNO FROM W_ZSPLTNO TO MEMORY ID 'MEM3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL TRANSACTION 'transaction to be called'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN '/&amp;amp;EB9'.&lt;/P&gt;&lt;P&gt;      PU_SELFIELD-REFRESH = 'X'.&lt;/P&gt;&lt;P&gt;      LOOP AT IT_OFIN INTO WA_OFIN WHERE SEL = 'X'.&lt;/P&gt;&lt;P&gt;        MOVE WA_OFIN-EBELN TO WA_EXPT-EBELN.&lt;/P&gt;&lt;P&gt;        MOVE WA_OFIN-EBELP TO WA_EXPT-EBELP.&lt;/P&gt;&lt;P&gt;        MOVE WA_OFIN-ZSPLTNO TO WA_EXPT-ZSPLTNO.&lt;/P&gt;&lt;P&gt;        APPEND WA_EXPT TO IT_EXPT.&lt;/P&gt;&lt;P&gt;        CLEAR WA_EXPT.&lt;/P&gt;&lt;P&gt;        CLEAR WA_OFIN.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;      IF NOT IT_EXPT IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        EXPORT IT_EXPT = IT_EXPT TO MEMORY ID 'MM4'.&lt;/P&gt;&lt;P&gt;        REFRESH IT_EXPT[].&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        MESSAGE I020(message id).&lt;/P&gt;&lt;P&gt;        EXIT.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL TRANSACTION 'transaction to be called'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2009 08:09:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975840#M1159524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-10T08:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975841#M1159525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this below code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt; SELECT * into corresponding fields of table itab FROM MARA.&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*build field catalog for basic list&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELDCATALOG-FIELDNAME = 'MATNR'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-SELTEXT_S = 'MAT-NUMBER'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-COL_POS = 0.&lt;/P&gt;&lt;P&gt;APPEND FIELDCATALOG TO FIELDCATALOG.&lt;/P&gt;&lt;P&gt;CLEAR FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELDCATALOG-FIELDNAME = 'ERSDA'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-SELTEXT_S = 'CREATE-DATE'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-COL_POS = 1.&lt;/P&gt;&lt;P&gt;APPEND FIELDCATALOG TO FIELDCATALOG.&lt;/P&gt;&lt;P&gt;CLEAR FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELDCATALOG-FIELDNAME = 'ERNAM'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-SELTEXT_S = 'NAME'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-COL_POS = 2.&lt;/P&gt;&lt;P&gt;APPEND FIELDCATALOG TO FIELDCATALOG.&lt;/P&gt;&lt;P&gt;CLEAR FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELDCATALOG-FIELDNAME = 'LAEDA'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-SELTEXT_S = 'LAST-DATE'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-COL_POS = 3.&lt;/P&gt;&lt;P&gt;APPEND FIELDCATALOG TO FIELDCATALOG.&lt;/P&gt;&lt;P&gt;CLEAR FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*call function module&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;                    EXPORTING&lt;/P&gt;&lt;P&gt;                      I_CALLBACK_PROGRAM             = SY-REPID&lt;/P&gt;&lt;P&gt;                     I_CALLBACK_USER_COMMAND        ='HANDLE_ALV_UCOMM'&lt;/P&gt;&lt;P&gt;                       IT_FIELDCAT                    = FIELDCATALOG[]&lt;/P&gt;&lt;P&gt;                     TABLES&lt;/P&gt;&lt;P&gt;                       t_outtab                       = ITAB&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;                             .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt; WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form HANDLE_ALV_UCOMM using r_ucomm like sy-ucomm&lt;/P&gt;&lt;P&gt;r_selfield type slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  case r_ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     read table itab index r_selfield-tabindex.&lt;/P&gt;&lt;P&gt;     PERFORM BUILD_FIELDCATLOG_MARC.&lt;/P&gt;&lt;P&gt;     PERFORM DATA_RETRIEVAL_MARC.&lt;/P&gt;&lt;P&gt;     PERFORM DISPLAY_ALV_MARC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     endcase.&lt;/P&gt;&lt;P&gt;     ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*Build field catalog for secondary list&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BUILD_FIELDCATLOG_MARC.&lt;/P&gt;&lt;P&gt;refresh FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELDCATALOG-TABNAME = 'ITAB1'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-FIELDNAME = 'WERKS'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-SELTEXT_S = 'PLANT'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-COL_POS = 1.&lt;/P&gt;&lt;P&gt;APPEND FIELDCATALOG TO FIELDCATALOG.&lt;/P&gt;&lt;P&gt;CLEAR FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELDCATALOG-TABNAME = 'ITAB1'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-FIELDNAME = 'PSTAT'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-SELTEXT_S = 'MAINTANANCE-STATUS'.&lt;/P&gt;&lt;P&gt;FIELDCATALOG-COL_POS = 2.&lt;/P&gt;&lt;P&gt;APPEND FIELDCATALOG TO FIELDCATALOG.&lt;/P&gt;&lt;P&gt;CLEAR FIELDCATALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*form data retrival&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM DATA_RETRIEVAL_MARC.&lt;/P&gt;&lt;P&gt;     SELECT werks pstat lvorm FROM MARC into table itab1&lt;/P&gt;&lt;P&gt;     WHERE MATNR = itab-MATNR.&lt;/P&gt;&lt;P&gt;     ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*call function display-alv&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM DISPLAY_ALV_MARC.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   I_CALLBACK_PROGRAM             = SY-REPID&lt;/P&gt;&lt;P&gt;   IT_FIELDCAT                    = FIELDCATALOG[]&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    t_outtab                       = ITAB1.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2009 14:01:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975841#M1159525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-10T14:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975842#M1159526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 11:13:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/4975842#M1159526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T11:13:51Z</dc:date>
    </item>
  </channel>
</rss>

