cancel
Showing results for 
Search instead for 
Did you mean: 

Class Type 005 & MIC assignment Table

former_member308137
Participant
0 Kudos
Hi Team, Please help to know in which table, I can found the MIC which has Classification tick mark with class type 005. Regards, Satish
former_member308137
Participant
0 Kudos
Thanks for help on this.
former_member42743
Active Contributor
0 Kudos
When you pick your own reply as the answer, its common and courteous practice to either explain the answer, or at least say you went in a different direction. If you used the coding below at all, you should accept that as answer maybe with a comment that says the code was a big help and we used parts of it to resolve our issue.

Also, you should close the question as well after accepting it.

HarshT
Explorer
0 Kudos

Poor guy wanted to say thanks for helping but is noob to say that in answers without any explanation.

Accepted Solutions (0)

Answers (2)

Answers (2)

anand_sagarsethi
Contributor
0 Kudos

You have to use : BAPI_OBJCL_GETCLASSES to actually read the classification

you will change class type as '005' and objecttable_imp = 'QALS'

Example:

       
 DATA :   v_objectkey TYPE bapi1003_key-object ,          
              v_classtype TYPE bapi1003_key-classtype .
 
          v_objectkey = matnr.            " material 
         v_classtype = '023'.             " Classification type          
 
        CALL FUNCTION 'BAPI_OBJCL_GETCLASSES'
            EXPORTING
              objectkey_imp     = v_objectkey
              objecttable_imp   = 'MARA''
              classtype_imp     = v_classtype
              read_valuations   = 'X'
            TABLES
              alloclist       = l_i_alloclist
              allocvalueschar = l_i_char_value
              return          = l_i_return.
former_member42743
Active Contributor
0 Kudos

I don't believe you'll find that info in any table. If there was an indicator it would be in QPMK but I don't see one. You should look to your ABAP'ers to find the FM's to check classification.

Craig