<?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: Needed replacement for obsolete fm 'BAPI_CLASS_GET_CLASSIFICATIONS' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/needed-replacement-for-obsolete-fm-bapi-class-get-classifications/m-p/4738729#M1111796</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;Use,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Retrieve Material Batch Classes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      classtype          = zc7b1_batch_class_type&lt;/P&gt;&lt;P&gt;      features           = 'X'&lt;/P&gt;&lt;P&gt;      language           = 'E'&lt;/P&gt;&lt;P&gt;      object             = w_object&lt;/P&gt;&lt;P&gt;      objecttable        = 'MCH1'&lt;/P&gt;&lt;P&gt;      initial_charact    = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_class            = t_lclass&lt;/P&gt;&lt;P&gt;      t_objectdata       = t_objectdata&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      no_classification  = 1&lt;/P&gt;&lt;P&gt;      no_classtypes      = 2&lt;/P&gt;&lt;P&gt;      invalid_class_type = 3&lt;/P&gt;&lt;P&gt;      OTHERS             = 4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2008 12:28:41 GMT</pubDate>
    <dc:creator>mohammedahasanullah_mulla</dc:creator>
    <dc:date>2008-11-06T12:28:41Z</dc:date>
    <item>
      <title>Needed replacement for obsolete fm 'BAPI_CLASS_GET_CLASSIFICATIONS'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/needed-replacement-for-obsolete-fm-bapi-class-get-classifications/m-p/4738727#M1111794</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;I am upgrading 4.6c system to ECC version, I have encountered an obsolete fm 'BAPI_CLASS_GET_CLASSIFICATIONS'.Can anyone provide me replacement for this fm.Below is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'BAPI_CLASS_GET_CLASSIFICATIONS'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                classtype             = 'P01'&lt;/P&gt;&lt;P&gt;                classnum              = wa_obj_class-class&lt;/P&gt;&lt;P&gt;                key_date              = sy-datum&lt;/P&gt;&lt;P&gt;           IMPORTING&lt;/P&gt;&lt;P&gt;                return                = ws_return&lt;/P&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;                object_classification = it_values&lt;/P&gt;&lt;P&gt;                class_objects         = it_object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Indu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 12:13:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/needed-replacement-for-obsolete-fm-bapi-class-get-classifications/m-p/4738727#M1111794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-06T12:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Needed replacement for obsolete fm 'BAPI_CLASS_GET_CLASSIFICATIONS'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/needed-replacement-for-obsolete-fm-bapi-class-get-classifications/m-p/4738728#M1111795</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 this: CLAF_CLASSIFICATION_OF_OBJECTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        call function 'CLAF_CLASSIFICATION_OF_OBJECTS'&lt;/P&gt;&lt;P&gt;          exporting&lt;/P&gt;&lt;P&gt;            class              = &amp;lt;class&amp;gt;&lt;/P&gt;&lt;P&gt;            classtype          = &amp;lt;klart&amp;gt;&lt;/P&gt;&lt;P&gt;            object             = &amp;lt;matnr&amp;gt;&lt;/P&gt;&lt;P&gt;            objecttable        = 'MARA'&lt;/P&gt;&lt;P&gt;          tables&lt;/P&gt;&lt;P&gt;            t_class            = t_class  &lt;/P&gt;&lt;P&gt;            t_objectdata       = t_objectdata &lt;/P&gt;&lt;P&gt;          exceptions&lt;/P&gt;&lt;P&gt;            no_classification  = 1&lt;/P&gt;&lt;P&gt;            no_classtypes      = 2&lt;/P&gt;&lt;P&gt;            invalid_class_type = 3&lt;/P&gt;&lt;P&gt;            others             = 4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 12:19:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/needed-replacement-for-obsolete-fm-bapi-class-get-classifications/m-p/4738728#M1111795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-06T12:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Needed replacement for obsolete fm 'BAPI_CLASS_GET_CLASSIFICATIONS'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/needed-replacement-for-obsolete-fm-bapi-class-get-classifications/m-p/4738729#M1111796</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;Use,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Retrieve Material Batch Classes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      classtype          = zc7b1_batch_class_type&lt;/P&gt;&lt;P&gt;      features           = 'X'&lt;/P&gt;&lt;P&gt;      language           = 'E'&lt;/P&gt;&lt;P&gt;      object             = w_object&lt;/P&gt;&lt;P&gt;      objecttable        = 'MCH1'&lt;/P&gt;&lt;P&gt;      initial_charact    = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      t_class            = t_lclass&lt;/P&gt;&lt;P&gt;      t_objectdata       = t_objectdata&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      no_classification  = 1&lt;/P&gt;&lt;P&gt;      no_classtypes      = 2&lt;/P&gt;&lt;P&gt;      invalid_class_type = 3&lt;/P&gt;&lt;P&gt;      OTHERS             = 4.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 12:28:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/needed-replacement-for-obsolete-fm-bapi-class-get-classifications/m-p/4738729#M1111796</guid>
      <dc:creator>mohammedahasanullah_mulla</dc:creator>
      <dc:date>2008-11-06T12:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Needed replacement for obsolete fm 'BAPI_CLASS_GET_CLASSIFICATIONS'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/needed-replacement-for-obsolete-fm-bapi-class-get-classifications/m-p/4738730#M1111797</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;Thanks for the immediate reply.I have replaced the code as per ur suggestion as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;   CLASS                      = wa_obj_class-class&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CLASSTEXT                  = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    classtype                  = 'P01'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CLINT                      = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FEATURES                   = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LANGUAGE                   = SY-LANGU&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    object                     =&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJECTTABLE                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   KEY_DATE                   = SY-DATUM&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INITIAL_CHARACT            = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_VALUE_DESCRIPT          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CHANGE_SERVICE_CLF         = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INHERITED_CHAR             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CHANGE_NUMBER              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    t_class                    = it_values&lt;/P&gt;&lt;P&gt;    t_objectdata               = it_object&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  I_SEL_CHARACTERISTIC       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  T_NO_AUTH_CHARACT          =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   NO_CLASSIFICATION          = 1&lt;/P&gt;&lt;P&gt;   NO_CLASSTYPES              = 2&lt;/P&gt;&lt;P&gt;   INVALID_CLASS_TYPE         = 3&lt;/P&gt;&lt;P&gt;   OTHERS                     = 4&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am not able to replace the EXPORTING parameter 'object'.As it is mandatory parameter i cannot ignore it.Kindly suggest me a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Indu..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 07:49:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/needed-replacement-for-obsolete-fm-bapi-class-get-classifications/m-p/4738730#M1111797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-07T07:49:24Z</dc:date>
    </item>
  </channel>
</rss>

