<?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 Object Oriented ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1590422#M265752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any tell me how can i define custom defined search help in the object oriented alv. It would be more helpful if  u could send some example reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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, 30 Sep 2006 10:29:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-30T10:29:35Z</dc:date>
    <item>
      <title>Object Oriented ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1590422#M265752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any tell me how can i define custom defined search help in the object oriented alv. It would be more helpful if  u could send some example reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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, 30 Sep 2006 10:29:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1590422#M265752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-30T10:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Object Oriented ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1590423#M265753</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 to se38 -&amp;gt; give bcalv_*   - &amp;gt; press f4 -&amp;gt; u will get a list of programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ur requiremnt is exaactly included there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Sep 2006 10:54:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1590423#M265753</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-09-30T10:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Object Oriented ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1590424#M265754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anurita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through the program &amp;lt;b&amp;gt;BCALV_EDIT_08&amp;lt;/b&amp;gt; in SE38 present in your SAP system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also go through the link,&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvscr.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvscr.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Azaz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Sep 2006 11:09:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1590424#M265754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-30T11:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Object Oriented ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1590425#M265755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anurita ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can go through this document.&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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Sep 2006 14:36:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1590425#M265755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-30T14:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Object Oriented ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1590426#M265756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;for any type of ALV programs u can search for the string &amp;lt;b&amp;gt;BCALV*&amp;lt;/b&amp;gt; in SE38..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Sep 2006 17:20:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1590426#M265756</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-09-30T17:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Object Oriented ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1590427#M265757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anurita&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example report that explains all options regaring F4 help in ALV grids is BCALV_TEST_GRID_F4_HELP (Example Report for F4 Help of the ALV Grid). This example is quite well documented in the header (see below):&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------
*&amp;amp; Report  BCALV_GRID_F4_HELP                                          *
*&amp;amp;                                                                     *
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;                                                                     *
*&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;
* Purpose:
* ~~~~~~~~
* This report illustrates the use of f4-Help in an alv grid control.
*-----------------------------------------------------------------
* Background:
* ~~~~~~~~~~~
* There a two possibilities to implement an f4-Help in the alv grid
* control: one can either use standard f4-help or write one by Hand.
* For the former there is nothing to do at all. This report shows how
* to implement user-defined f4-help.
*-----------------------------------------------------------------
* The user should look at the definition of classes grid_application
* and lcl_event_receiver:
* all the grid-specific things happen there, while the rest
* of the program is concerned with dynpro programming
*---------------------------------------------------------------------
* To check program behavior
* ~~~~~~~~~~~~~~~~~~~~~~~~~
* For each choice it is explained in detail which functionality the
* f4-help dispalys. Just try out different modes at the start-dynpro.
* We also included a message signaling when datatable update actually
* occurs.
*-----------------------------------------------------------------
* Essential steps (search for '§')
* ~~~~~~~~~~~~~~~
* First you must define and set an event handler for event onf4
* of class cl_gui_alv_grid, just as with any event in the object
* model. In our case, its method on_f4 of (the local) class
* lcl_event_receiver (definition see below).
* We set the handler in PBO-module create_object of dynpro 100.
*
* For the easiest case where you don't want to make changes do step
* 1. Register all columns for which you want to define an f4-help.
* 1a.You can deregister columns during run-time to use standard f4-help.
* 1b.Or register additional columns during run-time.
* 2. Implement your event handler method.
* 3. Set attribute m_event_handled of er_event_data to avoid standard
*    f4-help.
* If you want to allow the user to change data via f4-help you have to
* 4. set in the fieldcatalog the corresponding column editable (see
*    Documentation). It does not suffice to set the complete grid
*    editable.
* 5. Declare data and field-symbols for values to be changed.
* 6. Assign the values for the corresponding cells you want to edit:
*    you can edit any cells. Do not refresh your table!
* 7. If your f4-help relates to other values of your table, you must
*    set parameters getbefore and/or chngeafter during registration.
* 8. In case the column you want to define an f4-help has no standard
*    f4-help defined, you must set parameter F4AVAILABL in the field
*    catalog.
* 9. If you want to check the data yourself, you can register for the
*    events data_changed and/or data_changed_finished. For the former
*    you can check where the event was raised and act accordingly.
*10. Often one uses drop down boxes instead of f4-help. To do so, you
*    first have to extend your datatable by one field and set the
*    fieldcatalog parameter drdn_field accordingly.
*11. Then you have to prepare a drop down table, give it to your grid
*    and fill in the additional field of your datatable appropritately.
*!!  If you define a drop down box for a column, you can not define an
*    f4-help for the same column.
*&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&amp;amp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find these steps documented within the coding as well, e.g.:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*§10 define data table to handle drop down boxes
data: begin of gt_outtab occurs 0.
        include structure sflight .
data: drop_down_handle type int4. "dropdown handle for a field
data: style type lvc_t_styl.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus I am sure you will be able to manage your task using this template report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Oct 2006 05:40:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv/m-p/1590427#M265757</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2006-10-01T05:40:46Z</dc:date>
    </item>
  </channel>
</rss>

