<?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: Error using BAPI_OBJCL_GETCLASSES in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-bapi-objcl-getclasses/m-p/2877512#M675552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using a class type of '023', If yes you might have to get the objectkey first by using BAPI&lt;STRONG&gt;GET&lt;/STRONG&gt;KEY&lt;STRONG&gt;OBJ&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please search for the exact BAPI name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srihari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 29 Sep 2007 07:18:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-29T07:18:46Z</dc:date>
    <item>
      <title>Error using BAPI_OBJCL_GETCLASSES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-bapi-objcl-getclasses/m-p/2877510#M675550</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 have a problem using BAPI_OBJCL_GETCLASSES. This is a piece of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: objectkey,&lt;/P&gt;&lt;P&gt;           alloclist,&lt;/P&gt;&lt;P&gt;           i_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE i_mcha-matnr i_mcha-charg INTO objectkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_OBJCL_GETCLASSES'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        objectkey_imp         = objectkey&lt;/P&gt;&lt;P&gt;        objecttable_imp       = objecttable&lt;/P&gt;&lt;P&gt;        classtype_imp         = classtype&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        alloclist             = alloclist&lt;/P&gt;&lt;P&gt;        return                = i_return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that sometimes it function return me the class correctly and &lt;/P&gt;&lt;P&gt;no others  (not found it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However i test in the se37 'BAPI_OBJCL_GETCLASSES' the objectkey not found&lt;/P&gt;&lt;P&gt;previously and it exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manuel H.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 22:28:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-bapi-objcl-getclasses/m-p/2877510#M675550</guid>
      <dc:creator>manuelhildemaro_ramossanc</dc:creator>
      <dc:date>2007-09-28T22:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error using BAPI_OBJCL_GETCLASSES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-bapi-objcl-getclasses/m-p/2877511#M675551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe that while concatenating MATNR and CHARGE, it is missing leading zeroes for material. I suggest you to use CONVERSION_EXIT_MATN1_INPUT to get correct Material no, concatenate this with Batch no and then pass to the fm. Hopefully it will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2007 04:33:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-bapi-objcl-getclasses/m-p/2877511#M675551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-29T04:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error using BAPI_OBJCL_GETCLASSES</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-bapi-objcl-getclasses/m-p/2877512#M675552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using a class type of '023', If yes you might have to get the objectkey first by using BAPI&lt;STRONG&gt;GET&lt;/STRONG&gt;KEY&lt;STRONG&gt;OBJ&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please search for the exact BAPI name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srihari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Sep 2007 07:18:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-bapi-objcl-getclasses/m-p/2877512#M675552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-29T07:18:46Z</dc:date>
    </item>
  </channel>
</rss>

