Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM to get Material Charecterstis and Material Charecterstiscs of Material

Former Member
0 Kudos

Hi Experts.

do we have any funtion module for getting the Material Charecterstis and Material Charecterstiscs values for a metrial..

Ex: Input = Material : JDMPPLUS

output = class: WTY_MAINT_PLAN

Charecterstic value : JDCSP

Thanks

1 ACCEPTED SOLUTION

former_member242255
Active Contributor
0 Kudos

BAPI_MATERIAL_GETCHARMERCHHIER try with this

6 REPLIES 6

former_member242255
Active Contributor
0 Kudos

BAPI_MATERIAL_GETCHARMERCHHIER try with this

Former Member
0 Kudos

This message was moderated.

former_member585060
Active Contributor
0 Kudos

Hi,

Try this FM CLAF_CLASSIFICATION_OF_OBJECTS

CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
      EXPORTING
*     CLASS                      = ' '
*     CLASSTEXT                  = 'X'
        classtype                  = w_klart    " Material class
*     CLINT                      = 0
*     FEATURES                   = 'X'
*     LANGUAGE                   = SY-LANGU
        object                     = w_matnr    "Material
*     OBJECTTABLE                = ' '
*     KEY_DATE                   = SY-DATUM
*     INITIAL_CHARACT            = 'X'
*     NO_VALUE_DESCRIPT          =
*     CHANGE_SERVICE_CLF         = 'X'
*     INHERITED_CHAR             = ' '
*     CHANGE_NUMBER              = ' '
      TABLES
        t_class                    = wa_sclass
        t_objectdata               = wa_clobjdat       
*     I_SEL_CHARACTERISTIC       =
*     T_NO_AUTH_CHARACT          =
 EXCEPTIONS
   no_classification          = 1
   no_classtypes              = 2
   invalid_class_type         = 3
   OTHERS                     = 4
              .
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.

Regards

Bala Krishna

Former Member
0 Kudos

Hi,

Chcek this link..

GauthamV
Active Contributor
0 Kudos

Use this fm.

CLAF_CLASSIFICATION_OF_OBJECTS

Also use this table.

KLAH

0 Kudos

Cross Reply

Cheers,

Amit.