<?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: oops alv in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471400#M555660</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;have a look at the following documentation of Rich Heilman:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/alv%20object%20model%20-%20simple%202d%20table%20-%20the%20basics.pdf" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/alv%20object%20model%20-%20simple%202d%20table%20-%20the%20basics.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/alv%20object%20model%20-%20simple%202d%20table%20-%20event%20handling.pdf" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/alv%20object%20model%20-%20simple%202d%20table%20-%20event%20handling.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Navneeth K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2007 09:10:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-25T09:10:01Z</dc:date>
    <item>
      <title>oops alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471394#M555654</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;    I WANT SOME OOPS ALV MATERIAL AN D EXAPMLE FOR EACH TYPE OF ALV .PLEASE SEND THE MATERIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANK YOU&lt;/P&gt;&lt;P&gt;ASHOK KUMAR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:04:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471394#M555654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: oops alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471395#M555655</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;some links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com" target="test_blank"&gt;http://www.sapgenie.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.abap4u.com" target="test_blank"&gt;http://www.abap4u.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/5e/88d440e14f8431e10000000a1550b0/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/5e/88d440e14f8431e10000000a1550b0/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;download the PDF from following link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ALV object Grid methods allow the same functionality as ALV grid report function modules but are displayed within&lt;/P&gt;&lt;P&gt;a screen (dialog program). SAP has provided a suit of programs which demonstrate how to For examples see standard SAP &lt;/P&gt;&lt;P&gt;programs as detailed below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_01 This report illustrates the simplest case of using an editable/noneditable ALV Grid Control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_02 This report illustrates how to set chosen cells of an ALV Grid Control editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_03 In this example the user may change values of fields SEATSOCC (occupied seats) and/or PLANETYPE. &lt;/P&gt;&lt;P&gt;The report checks the input value(s) semantically and provides protocol messages in case of error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_04 This report illustrates how to add and remove lines to a table using the ALV Grid Control and how to &lt;/P&gt;&lt;P&gt;implement the saving of the new data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_05 This example shows how to use checkboxes within an ALV Grid Control. You learn:&lt;/P&gt;&lt;P&gt;(1) how to define a column for editable checkboxes for an attribute of your list&lt;/P&gt;&lt;P&gt;(2) how to evaluate the checked checkboxes&lt;/P&gt;&lt;P&gt;(3) how to switch between editable and non-editable checkboxes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_06 This example shows how to define a dropdown listbox for all cells of one column in an editable ALV &lt;/P&gt;&lt;P&gt;Grid Control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_07 This example shows how to define dropdown listboxes for particular cells of your output table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_08 This report implements an ALV Grid Control with an application specific F4 help. The following aspects &lt;/P&gt;&lt;P&gt;are dealt with:&lt;/P&gt;&lt;P&gt;(1) how to replace the standard f4 help&lt;/P&gt;&lt;P&gt;(2) how to pass the selected value to the ALV Grid Control&lt;/P&gt;&lt;P&gt;(3) how to build an f4 help, whose value range depend on a value of another cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer these documents also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/b708766f-a934-42a1-8064-c4de75b48fc4/Sample-Program-of-alv-using-oops.ppt" target="test_blank"&gt;http://esnips.com/doc/b708766f-a934-42a1-8064-c4de75b48fc4/Sample-Program-of-alv-using-oops.ppt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/a2e42503-cf0f-4418-94ee-580f5900a81f/alv-with-oop.doc" target="test_blank"&gt;http://esnips.com/doc/a2e42503-cf0f-4418-94ee-580f5900a81f/alv-with-oop.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/2d953590-e8c5-490c-a607-d1ab7cf517d7/ALV.pdf" target="test_blank"&gt;http://esnips.com/doc/2d953590-e8c5-490c-a607-d1ab7cf517d7/ALV.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sample programs:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/victorav15/sapr3/abap_ood.html#d_grid" target="test_blank"&gt;http://www.geocities.com/victorav15/sapr3/abap_ood.html#d_grid&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_color.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_color.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alvhome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alvhome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;download the PDF from following link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.sap.com/www.abap4.it/download/ALV.pdf" target="test_blank"&gt;www.abap4.it/download/ALV.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some more:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-hefte.de/download/dateien/1025/087_leseprobe.pdf" target="test_blank"&gt;http://www.sap-hefte.de/download/dateien/1025/087_leseprobe.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.alvgmbh.de/dwnload/gonio_t.pdfhttp://" target="test_blank"&gt;http://www.alvgmbh.de/dwnload/gonio_t.pdfhttp://&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;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:06:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471395#M555655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: oops alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471396#M555656</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;Go thru this following Link,&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/7%2bsteps%2bto%2bcreate%2boops%2balv" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/7%2bsteps%2bto%2bcreate%2boops%2balv&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap-7%2bsteps%2bto%2bcreate%2boops%2balv(for%2bbeginners)" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap-7%2bsteps%2bto%2bcreate%2boops%2balv(for%2bbeginners)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Padmam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:07:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471396#M555656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: oops alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471397#M555657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Ashok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales Order Flow &amp;#150; Tree Report&lt;/P&gt;&lt;P&gt;report z_sales_tree_rpt .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*******************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Create a tree report of sales orders to deliveries to invoices *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*******************************************************************&lt;/P&gt;&lt;P&gt;include z_sales_tree_rpt_top.&lt;/P&gt;&lt;P&gt;include z_sales_tree_class_def.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;selection-screen begin of block a0 with frame title text-001.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*selection-screen comment 5(60) text-c00 modif id sc1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;selection-screen begin of block b5 with frame title text-s05.&lt;/P&gt;&lt;P&gt;select-options:&lt;/P&gt;&lt;P&gt;  s_erdat for vbak-erdat,&lt;/P&gt;&lt;P&gt;  s_ernam for vbak-ernam.&lt;/P&gt;&lt;P&gt;parameters: s_vbtyp like vbfa-vbtyp_n default 'C'.&lt;/P&gt;&lt;P&gt;selection-screen end of block b5.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;selection-screen end of block a0.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Initialization&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*at selection-screen output.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; perform update_sel_screen_attributes.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Start of Selection&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  refresh: itab_data, itab_selection.&lt;/P&gt;&lt;P&gt;  perform update_selection_table tables itab_selection.&lt;/P&gt;&lt;P&gt;  perform create_input_table tables itab_data&lt;/P&gt;&lt;P&gt;                                    itab_selection.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  if not itab_data is initial.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;create the application object&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;this object is needed to handle the ABAP Objects Events of Controls&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    create object g_application.&lt;/P&gt;&lt;P&gt;    call screen 2000.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    message i043(z1).&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Includes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  include z_sales_tree_forms.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  include z_sales_tree_pbo.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  include z_sale_tree_pai.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INCLUDE Z_SALES_TREE_CLASS_DEF                                     *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; class lcl_application definition.&lt;/P&gt;&lt;P&gt;  public section.&lt;/P&gt;&lt;P&gt;    methods:&lt;/P&gt;&lt;P&gt;      handle_node_double_click&lt;/P&gt;&lt;P&gt;        for event node_double_click&lt;/P&gt;&lt;P&gt;        of cl_gui_list_tree&lt;/P&gt;&lt;P&gt;        importing node_key,&lt;/P&gt;&lt;P&gt;      handle_expand_no_children&lt;/P&gt;&lt;P&gt;        for event expand_no_children&lt;/P&gt;&lt;P&gt;        of cl_gui_list_tree&lt;/P&gt;&lt;P&gt;        importing node_key,&lt;/P&gt;&lt;P&gt;      handle_item_double_click&lt;/P&gt;&lt;P&gt;        for event item_double_click&lt;/P&gt;&lt;P&gt;        of cl_gui_list_tree&lt;/P&gt;&lt;P&gt;        importing node_key item_name,&lt;/P&gt;&lt;P&gt;      handle_button_click&lt;/P&gt;&lt;P&gt;        for event button_click&lt;/P&gt;&lt;P&gt;        of cl_gui_list_tree&lt;/P&gt;&lt;P&gt;        importing node_key item_name,&lt;/P&gt;&lt;P&gt;      handle_link_click&lt;/P&gt;&lt;P&gt;        for event link_click&lt;/P&gt;&lt;P&gt;        of cl_gui_list_tree&lt;/P&gt;&lt;P&gt;        importing node_key item_name,&lt;/P&gt;&lt;P&gt;      handle_checkbox_change&lt;/P&gt;&lt;P&gt;        for event checkbox_change&lt;/P&gt;&lt;P&gt;        of cl_gui_list_tree&lt;/P&gt;&lt;P&gt;        importing node_key item_name checked.&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CLASS lcl_application IMPLEMENTATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      ........                                                      *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class lcl_application implementation.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  method  handle_node_double_click.&lt;/P&gt;&lt;P&gt;    " this method handles the node double click event of the tree&lt;/P&gt;&lt;P&gt;    " control instance&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    " show the key of the double clicked node in a dynpro field&lt;/P&gt;&lt;P&gt;    read table itab_data with key node_key = node_key into wa_data.&lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      select single rfmng rfwrt matnr&lt;/P&gt;&lt;P&gt;        into (vbfa-rfmng, vbfa-rfwrt, vbfa-matnr)&lt;/P&gt;&lt;P&gt;        from vbfa&lt;/P&gt;&lt;P&gt;        where vbelv = wa_data-vbeln&lt;/P&gt;&lt;P&gt;        and   posnv = wa_data-posnn.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endmethod.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  method  handle_item_double_click.&lt;/P&gt;&lt;P&gt;    " this method handles the item double click event of the tree&lt;/P&gt;&lt;P&gt;    " control instance. You have variables node_key and item_name&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    " show the key of the node and the name of the item&lt;/P&gt;&lt;P&gt;    " of the double clicked item in a dynpro field&lt;/P&gt;&lt;P&gt;    read table itab_data with key node_key = node_key into wa_data.&lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      select single rfmng rfwrt matnr&lt;/P&gt;&lt;P&gt;        into (vbfa-rfmng, vbfa-rfwrt, vbfa-matnr)&lt;/P&gt;&lt;P&gt;        from vbfa&lt;/P&gt;&lt;P&gt;        where vbelv = wa_data-vbeln&lt;/P&gt;&lt;P&gt;        and   posnv = wa_data-posnn.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  endmethod.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  method  handle_link_click.&lt;/P&gt;&lt;P&gt;    " this method handles the link click event of the tree&lt;/P&gt;&lt;P&gt;    " control instance&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    " show the key of the node and the name of the item&lt;/P&gt;&lt;P&gt;    " of the clicked link in a dynpro field&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   g_event = 'LINK_CLICK'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   g_node_key = node_key.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   g_item_name = item_name.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endmethod.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  method  handle_button_click.&lt;/P&gt;&lt;P&gt;    " this method handles the button click event of the tree&lt;/P&gt;&lt;P&gt;    " control instance&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    " show the key of the node and the name of the item&lt;/P&gt;&lt;P&gt;    " of the clicked button in a dynpro field&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   g_event = 'BUTTON_CLICK'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   g_node_key = node_key.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   g_item_name = item_name.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endmethod.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  method  handle_checkbox_change.&lt;/P&gt;&lt;P&gt;    " this method handles the checkbox_change event of the tree&lt;/P&gt;&lt;P&gt;    " control instance&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    " show the key of the node and the name of the item&lt;/P&gt;&lt;P&gt;    " of the clicked checkbox in a dynpro field&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   g_event = 'CHECKBOX_CHANGE'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   g_node_key = node_key.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   g_item_name = item_name.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endmethod.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  method handle_expand_no_children.&lt;/P&gt;&lt;P&gt;    data: node_table type treev_ntab,&lt;/P&gt;&lt;P&gt;          node type treev_node,&lt;/P&gt;&lt;P&gt;          item_table type item_table_type,&lt;/P&gt;&lt;P&gt;          item type mtreeitm.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;show the key of the expanded node in a dynpro field&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   g_event = 'EXPAND_NO_CHILDREN'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   g_node_key = node_key.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    if node_key = 'Child2'.                                 "#EC NOTEXT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;add the children for node with key 'Child2'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Node with key 'New3'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      clear node.&lt;/P&gt;&lt;P&gt;      node-node_key = 'New3'.                               "#EC NOTEXT&lt;/P&gt;&lt;P&gt;      node-relatkey = 'Child2'.&lt;/P&gt;&lt;P&gt;      node-relatship = cl_gui_list_tree=&amp;gt;relat_last_child.&lt;/P&gt;&lt;P&gt;      append node to node_table.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Node with key 'New4'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      clear node.&lt;/P&gt;&lt;P&gt;      node-node_key = 'New4'.                               "#EC NOTEXT&lt;/P&gt;&lt;P&gt;      node-relatkey = 'Child2'.&lt;/P&gt;&lt;P&gt;      node-relatship = cl_gui_list_tree=&amp;gt;relat_last_child.&lt;/P&gt;&lt;P&gt;      append node to node_table.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Items of node with key 'New3'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      clear item.&lt;/P&gt;&lt;P&gt;      item-node_key = 'New3'.&lt;/P&gt;&lt;P&gt;      item-item_name = '1'.&lt;/P&gt;&lt;P&gt;      item-class = cl_gui_list_tree=&amp;gt;item_class_text.&lt;/P&gt;&lt;P&gt;      item-length = 11.&lt;/P&gt;&lt;P&gt;      item-usebgcolor = 'X'. "&lt;/P&gt;&lt;P&gt;      item-text = 'SAPTROX1'.&lt;/P&gt;&lt;P&gt;      append item to item_table.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      clear item.&lt;/P&gt;&lt;P&gt;      item-node_key = 'New3'.&lt;/P&gt;&lt;P&gt;      item-item_name = '2'.&lt;/P&gt;&lt;P&gt;      item-class = cl_gui_list_tree=&amp;gt;item_class_text.&lt;/P&gt;&lt;P&gt;      item-alignment = cl_gui_list_tree=&amp;gt;align_auto.&lt;/P&gt;&lt;P&gt;      item-font = cl_gui_list_tree=&amp;gt;item_font_prop.&lt;/P&gt;&lt;P&gt;      item-text = 'Comment to SAPTROX1'.                    "#EC NOTEXT&lt;/P&gt;&lt;P&gt;      append item to item_table.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Items of node with key 'New4'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      clear item.&lt;/P&gt;&lt;P&gt;      item-node_key = 'New4'.&lt;/P&gt;&lt;P&gt;      item-item_name = '1'.&lt;/P&gt;&lt;P&gt;      item-class = cl_gui_list_tree=&amp;gt;item_class_text.&lt;/P&gt;&lt;P&gt;      item-length = 11.&lt;/P&gt;&lt;P&gt;      item-usebgcolor = 'X'. "&lt;/P&gt;&lt;P&gt;      item-text = 'SAPTRIXTROX'.&lt;/P&gt;&lt;P&gt;      append item to item_table.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      clear item.&lt;/P&gt;&lt;P&gt;      item-node_key = 'New4'.&lt;/P&gt;&lt;P&gt;      item-item_name = '2'.&lt;/P&gt;&lt;P&gt;      item-class = cl_gui_list_tree=&amp;gt;item_class_text.&lt;/P&gt;&lt;P&gt;      item-alignment = cl_gui_list_tree=&amp;gt;align_auto.&lt;/P&gt;&lt;P&gt;      item-font = cl_gui_list_tree=&amp;gt;item_font_prop.&lt;/P&gt;&lt;P&gt;      item-text = 'Comment to SAPTRIXTROX'.                 "#EC NOTEXT&lt;/P&gt;&lt;P&gt;      append item to item_table.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    call method g_tree-&amp;gt;add_nodes_and_items&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        node_table = node_table&lt;/P&gt;&lt;P&gt;        item_table = item_table&lt;/P&gt;&lt;P&gt;        item_table_structure_name = 'MTREEITM'&lt;/P&gt;&lt;P&gt;      exceptions&lt;/P&gt;&lt;P&gt;        failed = 1&lt;/P&gt;&lt;P&gt;        cntl_system_error = 3&lt;/P&gt;&lt;P&gt;        error_in_tables = 4&lt;/P&gt;&lt;P&gt;        dp_error = 5&lt;/P&gt;&lt;P&gt;        table_structure_name_not_found = 6.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      message a000(tree_control_msg).&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endmethod.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Reward all helpfull answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:07:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471397#M555657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: oops alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471398#M555658</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;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf" target="test_blank"&gt;http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ALV object Grid methods allow the same functionality as ALV grid report function modules but are displayed within&lt;/P&gt;&lt;P&gt;a screen (dialog program). SAP has provided a suit of programs which demonstrate how to For examples see standard SAP &lt;/P&gt;&lt;P&gt;programs as detailed below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_01 This report illustrates the simplest case of using an editable/noneditable ALV Grid Control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_02 This report illustrates how to set chosen cells of an ALV Grid Control editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_03 In this example the user may change values of fields SEATSOCC (occupied seats) and/or PLANETYPE. &lt;/P&gt;&lt;P&gt;The report checks the input value(s) semantically and provides protocol messages in case of error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_04 This report illustrates how to add and remove lines to a table using the ALV Grid Control and how to &lt;/P&gt;&lt;P&gt;implement the saving of the new data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_05 This example shows how to use checkboxes within an ALV Grid Control. You learn:&lt;/P&gt;&lt;P&gt;(1) how to define a column for editable checkboxes for an attribute of your list&lt;/P&gt;&lt;P&gt;(2) how to evaluate the checked checkboxes&lt;/P&gt;&lt;P&gt;(3) how to switch between editable and non-editable checkboxes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_06 This example shows how to define a dropdown listbox for all cells of one column in an editable ALV &lt;/P&gt;&lt;P&gt;Grid Control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_07 This example shows how to define dropdown listboxes for particular cells of your output table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCALV_EDIT_08 This report implements an ALV Grid Control with an application specific F4 help. The following aspects &lt;/P&gt;&lt;P&gt;are dealt with:&lt;/P&gt;&lt;P&gt;(1) how to replace the standard f4 help&lt;/P&gt;&lt;P&gt;(2) how to pass the selected value to the ALV Grid Control&lt;/P&gt;&lt;P&gt;(3) how to build an f4 help, whose value range depend on a value of another cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can refer these documents also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/b708766f-a934-42a1-8064-c4de75b48fc4/Sample-Program-of-alv-using-oops.ppt" target="test_blank"&gt;http://esnips.com/doc/b708766f-a934-42a1-8064-c4de75b48fc4/Sample-Program-of-alv-using-oops.ppt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/a2e42503-cf0f-4418-94ee-580f5900a81f/alv-with-oop.doc" target="test_blank"&gt;http://esnips.com/doc/a2e42503-cf0f-4418-94ee-580f5900a81f/alv-with-oop.doc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://esnips.com/doc/2d953590-e8c5-490c-a607-d1ab7cf517d7/ALV.pdf" target="test_blank"&gt;http://esnips.com/doc/2d953590-e8c5-490c-a607-d1ab7cf517d7/ALV.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sample programs:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/victorav15/sapr3/abap_ood.html#d_grid" target="test_blank"&gt;http://www.geocities.com/victorav15/sapr3/abap_ood.html#d_grid&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_color.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_color.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alvhome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alvhome.htm&lt;/A&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;Omkar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471398#M555658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: oops alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471399#M555659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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="276798"&gt;&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;Regards&lt;/P&gt;&lt;P&gt;Peram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:08:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471399#M555659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: oops alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471400#M555660</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;have a look at the following documentation of Rich Heilman:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/alv%20object%20model%20-%20simple%202d%20table%20-%20the%20basics.pdf" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/alv%20object%20model%20-%20simple%202d%20table%20-%20the%20basics.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/alv%20object%20model%20-%20simple%202d%20table%20-%20event%20handling.pdf" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/alv%20object%20model%20-%20simple%202d%20table%20-%20event%20handling.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Navneeth K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:10:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471400#M555660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-25T09:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: oops alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471401#M555661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have posted several simplified sample report dealing with various aspects of ALV grid programming. Simply search the &amp;lt;i&amp;gt;ABAP Objects&amp;lt;/i&amp;gt; forum for &amp;lt;b&amp;gt;ZUS_SDN&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2007 09:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv/m-p/2471401#M555661</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-06-25T09:10:05Z</dc:date>
    </item>
  </channel>
</rss>

