<?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: Function module for classifications/characteristics in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416166#M200189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the bapi: BAPI_CLASS_GET_CHARACTERISTIC&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jun 2006 14:21:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-14T14:21:44Z</dc:date>
    <item>
      <title>Function module for classifications/characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416164#M200187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone suggest a function module or bapi I can use to get values for characteristics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using characteristics to store additional information about fleet vehicles that are not included as standard SAP fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment, I am using a couple of database calls, using tables 'CABN' and 'AUSP' to find values of these characteristics for a particular vehicle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There must be an easier way, using a function module or bapi. Could anyone shed some light?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 14:17:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416164#M200187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T14:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for classifications/characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416165#M200188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use CLAF_CLASSIFICATION_OF_OBJECTS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 14:20:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416165#M200188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T14:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for classifications/characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416166#M200189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the bapi: BAPI_CLASS_GET_CHARACTERISTIC&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 14:21:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416166#M200189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T14:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for classifications/characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416167#M200190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried...... CUOBJ is the internal object number.  This works good for us when getting characteristics for a sales doc item(VBAP-CUOBJ).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

* Internal Table for Characteristic Data
  data: begin of i_char occurs 0.
          include structure comw.
  data: end of i_char.
  clear i_char.  refresh i_char.

* Retrieve Characteristics.
  call function 'CUD0_GET_VAL_FROM_INSTANCE'
       exporting
            instance           = cuobj
       tables
            attributes         = i_char
       exceptions
            instance_not_found = 1.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this what you are looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 14:22:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416167#M200190</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-14T14:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for classifications/characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416168#M200191</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;you can try this BAPI &amp;lt;b&amp;gt;BAPI_CLASS_GET_CLASSIFICATIONS&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 15:29:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416168#M200191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T15:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for classifications/characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416169#M200192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the replies guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have had a look at&lt;/P&gt;&lt;P&gt;CLAF_CLASSIFICATION_OF_OBJECTS&lt;/P&gt;&lt;P&gt;BAPI_CLASS_GET_CHARACTERISTIC&lt;/P&gt;&lt;P&gt;BAPI_CLASS_GET_CLASSIFICATIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but either they don't do what I want, or my knowledge is insufficient :oP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for CUOBJ - I am using equipment that have classifications, however the CUOBJ field in table EQUI is not filled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 08:48:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416169#M200192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-19T08:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for classifications/characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416170#M200193</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;For a given object, the following functions should give the details of the classification / characteristic values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_OBJCL_GETDETAIL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give the details of the classes to which the Equipement belongs&lt;/P&gt;&lt;P&gt;BAPI_OBJCL_GETCLASSES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the Equipment number as the object number to the function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 08:55:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416170#M200193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-19T08:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for classifications/characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416171#M200194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just check Function Modules &amp;lt;b&amp;gt;CLSE_SELECT_CABN and CLSE_SELECT_CAWN&amp;lt;/b&amp;gt; for Reading characteristic attributes and Reading characteristic values respectively.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Also have a look at &amp;lt;b&amp;gt;BAPI_OBJCL_GETDETAIL&amp;lt;/b&amp;gt; for which object table as 'MARA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;TM.&lt;/P&gt;&lt;P&gt;Please mark point if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 08:59:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416171#M200194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-19T08:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for classifications/characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416172#M200195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stuart,&lt;/P&gt;&lt;P&gt;You can use 'BAPI_OBJCL_GETCLASSES' and 'BAPI_OBJCL_GETDETAIL' to get the value of the characteristics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the Example.&lt;/P&gt;&lt;P&gt;(I am assuming that you are mentioning about the characteristics of an Equipment)&lt;/P&gt;&lt;P&gt;    ws_equipment = &amp;#145;1012122&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            input  = ws_equipment&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            output = ws_equipment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   i_object-object      = ws_equipment.&lt;/P&gt;&lt;P&gt;          i_object-objecttable = EQUI.&lt;/P&gt;&lt;P&gt;          i_object-classtype   = 002.&lt;/P&gt;&lt;P&gt;          APPEND i_object.&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   = i_object-object&lt;/P&gt;&lt;P&gt;              objecttable_imp = i_object-objecttable&lt;/P&gt;&lt;P&gt;              classtype_imp   = i_object-classtype&lt;/P&gt;&lt;P&gt;              read_valuations = 'X'&lt;/P&gt;&lt;P&gt;            TABLES&lt;/P&gt;&lt;P&gt;              alloclist       = i_alloclist&lt;/P&gt;&lt;P&gt;              allocvalueschar = i_allocvaluescharnew&lt;/P&gt;&lt;P&gt;              allocvaluesnum  = i_allocvaluesnumnew&lt;/P&gt;&lt;P&gt;              allocvaluescurr = i_allocvaluescurrnew&lt;/P&gt;&lt;P&gt;              return          = i_return.&lt;/P&gt;&lt;P&gt;                    &lt;/P&gt;&lt;P&gt;                     LOOP AT i_alloclist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              CASE i_alloclist-classnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                WHEN "classname". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      objectkey        = i_object-object&lt;/P&gt;&lt;P&gt;      objecttable      = i_object-objecttable&lt;/P&gt;&lt;P&gt;      classnum         = i_alloclist-classnum&lt;/P&gt;&lt;P&gt;      classtype        = i_object-classtype&lt;/P&gt;&lt;P&gt;      unvaluated_chars = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      allocvaluesnum   = i_allocvaluesnumnew&lt;/P&gt;&lt;P&gt;      allocvalueschar  = i_allocvaluescharnew&lt;/P&gt;&lt;P&gt;      allocvaluescurr  = i_allocvaluescurrnew&lt;/P&gt;&lt;P&gt;      return           = i_return.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   LOOP AT i_allocvaluescharnew.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CASE   i_allocvaluescharnew-charact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        WHEN &amp;#145;characteristic name&amp;#146;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Fetch the current value of the characteristic from i_allocvaluescharnew-value_char    &lt;/P&gt;&lt;P&gt;         &lt;/P&gt;&lt;P&gt;             &lt;/P&gt;&lt;P&gt;      ENDCASE.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tip: If the characteristic is NUM, then get the corresponding value from i_allocvaluesnumnew&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bittu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 13:05:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416172#M200195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-19T13:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for classifications/characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416173#M200196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's what I currently use&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT SINGLE atinn FROM cabn INTO char_no
                      WHERE atnam = 'WARRANTY_SUPPLIER1'.
  SELECT SINGLE atwrt FROM ausp INTO wa_vehicle-warr_supp1
                      WHERE objek = wa_vehicle-equnr
                      AND   atinn = char_no.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Are there any reasons why I shouldn't do it this way?&lt;/P&gt;&lt;P&gt;It seems quicker than calling two BAPIs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2006 07:41:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416173#M200196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-20T07:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for classifications/characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416174#M200197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no issue using your won select statement. Infact, if you drill down BAPI also will be fetching values from the same tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the BAPI will give you far more details. So, if you need more details you can use the BAPI without worrying about from which table they are coming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact your SELECT statements might be more efficient in this case as the data you are selecting is limited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers and close the thread if the issue is resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2006 07:45:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416174#M200197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-20T07:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for classifications/characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416175#M200198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this way also...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table which you are using are correct tables. classifications/characteristics values present in those tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2006 07:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416175#M200198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-20T07:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for classifications/characteristics</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416176#M200199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Rich Heilman ,&lt;/P&gt;&lt;P&gt;        It works fine.&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;J.Chandaran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2007 05:38:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-classifications-characteristics/m-p/1416176#M200199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-28T05:38:26Z</dc:date>
    </item>
  </channel>
</rss>

