<?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: class could not be found error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-could-not-be-found-error/m-p/1707842#M309894</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;In which program the badi is called?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Nov 2006 18:43:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-21T18:43:50Z</dc:date>
    <item>
      <title>class could not be found error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-could-not-be-found-error/m-p/1707839#M309891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I'm trying to implement the BADI NETW_USER_FIELDS_F4 to be able to define a search help for an user field in transaction CJ20N. &lt;/P&gt;&lt;P&gt;The Badi implemenation, class are active. But upon executing the F4 help, the program dumps with the following description&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" CREATE OBJECT: Class "\CLASS=CL_EX_NETW_USER_FIELDS_F4" could not be found. "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dump is from the get_instance method at the following line - &lt;/P&gt;&lt;P&gt;  CREATE OBJECT exit TYPE (abs_type_classname).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter 'exit' which is a type ref to object returns "illegal reference". Not sure where am I making the mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls note that the dump is even before the program reaches the BADI implementation, so the code I have in the AT_F4 method is not of significance I suppose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uday&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 17:08:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-could-not-be-found-error/m-p/1707839#M309891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T17:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: class could not be found error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-could-not-be-found-error/m-p/1707840#M309892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some discussion already on the same and the problem had been solved,&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="86650"&gt;&lt;/A&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="142241"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kathirvel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 18:15:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-could-not-be-found-error/m-p/1707840#M309892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T18:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: class could not be found error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-could-not-be-found-error/m-p/1707841#M309893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I already tried those threads. But this time, the program is still at the instance creation step when it dumps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Dumps at this step&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call method cl_exithandler=&amp;gt;get_instance&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;         exit_name              = 'NETW_USER_FIELDS_F4'&lt;/P&gt;&lt;P&gt;         null_instance_accepted = const-flg_yes&lt;/P&gt;&lt;P&gt;       changing&lt;/P&gt;&lt;P&gt;           instance = ref_netw_f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This is later !!!&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  if not ref_netw_f4 is initial.&lt;/P&gt;&lt;P&gt;    call method ref_netw_f4-&amp;gt;at_f4&lt;/P&gt;&lt;P&gt;         exporting  i_caufvd     = caufvd&lt;/P&gt;&lt;P&gt;                    i_afvgd      = afvgd&lt;/P&gt;&lt;P&gt;                    i_user_field = user_field&lt;/P&gt;&lt;P&gt;         importing  e_value      = return_value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 18:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-could-not-be-found-error/m-p/1707841#M309893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T18:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: class could not be found error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-could-not-be-found-error/m-p/1707842#M309894</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;In which program the badi is called?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 18:43:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-could-not-be-found-error/m-p/1707842#M309894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T18:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: class could not be found error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-could-not-be-found-error/m-p/1707843#M309895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SE38 -&amp;gt; LCONWF31&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Noticed in debugging the data declaration &lt;/P&gt;&lt;P&gt;ref_netw_f4  type ref to if_ex_netw_user_fields_f4&lt;/P&gt;&lt;P&gt;returns the value "illegal reference". Not sure why this is the case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 18:48:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-could-not-be-found-error/m-p/1707843#M309895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T18:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: class could not be found error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/class-could-not-be-found-error/m-p/1707844#M309896</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;Try to see the &amp;lt;a href="https://websmp102.sap-ag.de/~form/handler?_APP=01100107900000000342&amp;amp;_EVENT=REDIR&amp;amp;_NNUM=865187"&amp;gt;note 865187&amp;lt;/a&amp;gt;, it could be helpful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can't see the note, this is an extract:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Summary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Symptom &lt;/P&gt;&lt;P&gt;You have implemented BAdI NETW_USER_FIELDS_F4 to provide F4 help for Network Activity User Fields.&lt;/P&gt;&lt;P&gt;You go to transaction CJ20N or CN22 and press 'F4' on a Network Activity User Field. Short Dump occurs because of&lt;/P&gt;&lt;P&gt;Runtime errors         CREATE_OBJECT_CLASS_NOT_FOUND&lt;/P&gt;&lt;P&gt;Exception              CX_SY_CREATE_OBJECT_ERROR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You go to transaction SE18 and do a Check(CTRL + F2) on BAdI NETW_USER_FIELDS_F4. The system gives a Message:&lt;/P&gt;&lt;P&gt;Message no. ENHANCEMENT367&lt;/P&gt;&lt;P&gt;"BAdI class CL_EX_NETW_USER_FIELDS_F4 does not exist."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other terms &lt;/P&gt;&lt;P&gt;BAdI NETW_USER_FIELDS_F4, BAdI class CL_EX_NETW_USER_FIELDS_F4 does not exist, F4 help for Network Activity User Fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reason and Prerequisites &lt;/P&gt;&lt;P&gt;This is because BAdI Adapter Class CL_EX_NETW_USER_FIELDS_F4 is not present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution &lt;/P&gt;&lt;P&gt;You will have to create the exit class by performing the following steps:&lt;/P&gt;&lt;P&gt;1. Go to Transaction SE18.&lt;/P&gt;&lt;P&gt;2. Enter BAdI Definition name NETW_USER_FIELDS_F4.&lt;/P&gt;&lt;P&gt;3. Go to menu path Utilities-&amp;gt;Regeneration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the BAdI class CL_EX_NETW_USER_FIELDS_F4 should get generated.&lt;/P&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;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2006 18:50:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/class-could-not-be-found-error/m-p/1707844#M309896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-21T18:50:03Z</dc:date>
    </item>
  </channel>
</rss>

