Skip to Content
avatar image
Former Member

Class Type 005 & MIC assignment Table

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
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 27, 2017 at 10:06 AM
    Thanks for help on this.
    Add comment
    10|10000 characters needed characters exceeded

    • 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.

  • Jun 07, 2017 at 02:01 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 07, 2017 at 02:07 PM

    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.
    
    Add comment
    10|10000 characters needed characters exceeded