<?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: Abap OOP Question in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871280#M1138824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that means there is no possiblity to use CO_VH_TYPE_CLOCK directly although it&lt;/P&gt;&lt;P&gt;is an attribute of IF_WD_VALUE_HELP_HANDLER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ertas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Nov 2008 13:35:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-25T13:35:17Z</dc:date>
    <item>
      <title>Abap OOP Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871272#M1138816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally how can I use this method correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interface IF_WD_SELECT_OPTIONS has a method named ADD_SELECTION_FIELD.&lt;/P&gt;&lt;P&gt;Especially the import Parameter I_VALUE_HELP_TYPE is the most interesting one for me.&lt;/P&gt;&lt;P&gt;Because I need a special type : CO_VH_TYPE_CLOCK .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data ztest type ref to IF_WD_SELECT_OPTIONS.
create object ztest.


CALL METHOD ztest-&amp;gt;add_selection_field
  EXPORTING
     i_id                         = 'BUKRS'
     i_value_help_type            = IF_WD_VALUE_HELP_HANDLER=&amp;gt;CO_VH_TYPE_CLOCK .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me I dont know how to solve this requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;sa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 09:55:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871272#M1138816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T09:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Abap OOP Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871273#M1138817</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;The interface is just as class without implementation, u should assign the interface to a class and then to implement the method ADD_SELECTION_FIELD or you should say us where this interface is used, a BADI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That interface is used in the class CL_WDR_SELECT_OPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 10:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871273#M1138817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T10:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Abap OOP Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871274#M1138818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls can you show me that just in a small code example. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds&lt;/P&gt;&lt;P&gt;ilhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 10:05:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871274#M1138818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T10:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Abap OOP Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871275#M1138819</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;Your code should be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data ztest type ref to CL_WDR_SELECT_OPTIONS. 
create object ztest.
 
 
CALL METHOD ztest-&amp;gt;IF_WD_SELECT_OPTIONS~add_selection_field
  EXPORTING
     i_id                         = 'BUKRS'
     i_value_help_type            = IF_WD_VALUE_HELP_HANDLER=&amp;gt;CO_VH_TYPE_CLOCK .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don't know the class CL_WDR_SELECT_OPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's know where u need to call the method above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 10:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871275#M1138819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T10:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Abap OOP Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871276#M1138820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)I get now the message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if_wd_value_help_handler=&amp;gt;CO_VH_TYPE_CLOCK &lt;/P&gt;&lt;P&gt;is not type compatible with formal parameter   i_value_help_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) By the way how did you find out that you need CL_WDR_SELECT_OPTIONS ?&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;ertas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 10:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871276#M1138820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T10:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Abap OOP Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871277#M1138821</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've searched where the interface IF_WD_SELECT_OPTIONS is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data ztest type ref to CL_WDR_SELECT_OPTIONS.
create object ztest.

CALL METHOD ztest-&amp;gt;IF_WD_SELECT_OPTIONS~add_selection_field
  EXPORTING
    i_id              = 'BUKRS'
    i_value_help_type = IF_WD_VALUE_HELP_HANDLER=&amp;gt;CO_PREFIX_NONE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway the parameter IF_WD_VALUE_HELP_HANDLER=&amp;gt;CO_PREFIX_NONE is type string so u can also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data ztest type ref to CL_WDR_SELECT_OPTIONS.
data: i_value_help_type type string.
create object ztest.


CALL METHOD ztest-&amp;gt;IF_WD_SELECT_OPTIONS~add_selection_field
  EXPORTING
    i_id              = 'BUKRS'
*    i_value_help_type = IF_WD_VALUE_HELP_HANDLER=&amp;gt;CO_PREFIX_NONE.
    i_value_help_type = i_value_help_type.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: max bianchi on Nov 25, 2008 12:02 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 11:02:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871277#M1138821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T11:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Abap OOP Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871278#M1138822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;max thank you very much for your help but I need CO_VH_TYPE_CLOCK  not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    i_value_help_type = IF_WD_VALUE_HELP_HANDLER=&amp;gt;CO_PREFIX_NONE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but exactly this is my problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    i_value_help_type = IF_WD_VALUE_HELP_HANDLER=&amp;gt;CO_VH_TYPE_CLOCK  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if_wd_value_help_handler=&amp;gt;CO_VH_TYPE_CLOCK &lt;/P&gt;&lt;P&gt;is not type compatible with formal parameter i_value_help_type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is it not possible to use CO_VH_TYPE_CLOCK  ????&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;ertas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 13:01:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871278#M1138822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T13:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Abap OOP Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871279#M1138823</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 don't know what CO_VH_TYPE_CLOCK means, anyway u can transfer it to a variable type string and use it for the method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data ztest type ref to CL_WDR_SELECT_OPTIONS.
data: i_value_help_type type string.
create object ztest.

move IF_WD_VALUE_HELP_HANDLER=&amp;gt;CO_VH_TYPE_CLOCK to i_value_help_type.

CALL METHOD ztest-&amp;gt;IF_WD_SELECT_OPTIONS~add_selection_field
  EXPORTING
    i_id              = 'BUKRS'
    i_value_help_type = i_value_help_type.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 13:19:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871279#M1138823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T13:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Abap OOP Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871280#M1138824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that means there is no possiblity to use CO_VH_TYPE_CLOCK directly although it&lt;/P&gt;&lt;P&gt;is an attribute of IF_WD_VALUE_HELP_HANDLER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ertas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 13:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871280#M1138824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T13:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Abap OOP Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871281#M1138825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ertas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry but I don't the interface IF_WD_SELECT_OPTIONS and the class CL_WDR_SELECT_OPTIONS, if I understand, it seems they are for WebDynpro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So u should give more information for helping you: I don't understand what and where you need to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 13:42:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871281#M1138825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T13:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Abap OOP Question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871282#M1138826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;max it is very easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;instead

data ztest type ref to CL_WDR_SELECT_OPTIONS.
data: i_value_help_type type string.
create object ztest.
 
CALL METHOD ztest-&amp;gt;IF_WD_SELECT_OPTIONS~add_selection_field
  EXPORTING
    i_id              = 'BUKRS'
    i_value_help_type = IF_WD_VALUE_HELP_HANDLER=&amp;gt;CO_PREFIX_NONE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;this

data ztest type ref to CL_WDR_SELECT_OPTIONS.
data: i_value_help_type type string.
create object ztest.
 
 
CALL METHOD ztest-&amp;gt;IF_WD_SELECT_OPTIONS~add_selection_field
  EXPORTING
     i_id                         = 'BUKRS'
     i_value_help_type            = IF_WD_VALUE_HELP_HANDLER=&amp;gt;CO_VH_TYPE_CLOCK&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to sum up:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no CO_PREFIX_NONE&lt;/P&gt;&lt;P&gt;but CO_VH_TYPE_CLOCK &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 21:12:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oop-question/m-p/4871282#M1138826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T21:12:11Z</dc:date>
    </item>
  </channel>
</rss>

