|Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
BAPI to Read Classification Information Maintained for an Object (Equipment/Material/etc)
By Sheetal Reddy Proddutur, CSC
Sometimes additional link
information is useful when you link a document with an SAP object.
Classification makes it possible for you to characterize a document - SAP object
link (for example, Equipment sale price) by using characteristics.
For example, you can add
additional price information, such as sale price, to Equipment.
You can maintain
classification in either the document info record or in the master record for
the object. You maintain the essential classification data in the classification
Below steps are generally
maintained by functional consultants.
you can use classification functions, you need to set up your classification
are three steps to setting up a classification system:
Defining the Properties of Objects
use characteristics to describe the properties of objects. You create
characteristics centrally in the system.
the SAP Library, Characteristics (CA-CL-CHR).
need classes to classify objects. These classes must be set up. During set up
you must assign characteristics to the classes.
you have created the classes you require for classification, you can assign
objects to these classes. You use the characteristics of the class to describe
the objects you classify.
completes the data you require to use your classification system. You can then
use your classification system to find objects that match the criteria you
you have set up the classification system you can use it to find certain
objects. To do this:
you use classification to find objects, you use the characteristics as search
criteria, and the system compares the values you enter with the values of the
Here we will see how to
read values that are maintained in characteristics of a class.
In this tutorial we will
get values of characteristics of a class maintained for Equipment.
Go to IE03 -> enter
we can see the class type is ‘002’ , class ‘Z_EQP_DETAIL’ ,
Characteristic ‘Z_EQUIP_PRICE’ and value ‘10000.00’. (get Characteristic
name as shown in below screen shots).
3.a select Characteristic and select
3.b select explanation button in the
can see Characteristic name and value
We will see how to read this value
Call BAPI ‘BAPI_OBJCL_GETDETAIL’
and pass below parameters.
Objectkey – Equipment number
Objecttable – Equipment master table
Classnum – Class (Z_EQP_DETAIL)
Classtype – Class type (002)
In the return parameters values are
stored in table ‘allocvaluescurr’.
Read this table with key charact = characteristic
name (Z_EQUIP_PRICE). Value is returned in ‘value_from’
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards