06-28-2007 4:57 PM
I have equpment number in IE03. When i click on Class Overview for the equipment, it displays Equipment Classification in a table control... This has Characteristic desc. and value assigned....
one of it is <b>Equipment Contract Material</b> for which value is maintained.
I need to retrieve this value either using tables or function modules....
Could any one throw light on this...
06-28-2007 5:05 PM
Hi Ramesh,
Check the tables AUSP,CABN,CABNT,INOB to fetch the characteristics
and check the fun modules and BAPI
BAPI_OBJCL_GETDETAIL
BAPI_OBJCL_CHANGE
or use the fun module:
CLAF_CLASSIFICATION_OF_OBJECTS.
Reward points for useful Answers
Regards
Anji
06-28-2007 5:02 PM
Hi,
For retrieving the characteristic values..You can use the function module BAPI_OBJCL_GETDETAIL
Thanks
Naren
06-28-2007 5:05 PM
Hi Ramesh,
Check the tables AUSP,CABN,CABNT,INOB to fetch the characteristics
and check the fun modules and BAPI
BAPI_OBJCL_GETDETAIL
BAPI_OBJCL_CHANGE
or use the fun module:
CLAF_CLASSIFICATION_OF_OBJECTS.
Reward points for useful Answers
Regards
Anji
06-28-2007 5:10 PM
06-28-2007 5:45 PM
i have only equipment number... i have tried all FM specified but could not get the actual value required.
06-28-2007 6:09 PM
PLz try
BAPI_CLASS_GET_CHARACTERISTICS
u need to pass the class name and class type.
thanks& rerards
vinsee
06-29-2007 4:22 PM
Done this way....
SELECT atinn adzhl INTO CORRESPONDING FIELDS OF cabn
FROM cabn
WHERE atnam = 'EQPT_CONTRACT_MATERIAL'.
ENDSELECT.
IF sy-subrc EQ 0.
SELECT SINGLE atwrt
FROM ausp
INTO v_itab-typbz
WHERE objek = Equipment Number)
AND atinn = cabn-atinn
AND adzhl = cabn-adzhl
AND klart = '002'.