Skip to Content
avatar image
Former Member

How obtain the value stored in MSC3N in the folder "Classification"

Hi all,

I need to get to the value stored in MSC3N in the folder "Classification" Characteristic description and value.

At the time I 've found this funtion

BAPI_CLASS_GET_CHARACTERISTICS

BAPI_CHARACT_GETDETAIL

to obtain the "Characteristic description" but for the what can I do?

Does anybody know the steps (or functions) to obtain this information ?

I thank you in advance.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 09, 2009 at 06:38 PM

    Hi,

    try this function module you will get the same details like MSC3n.

    
    * concatenate the material number and Batch number
      w_l_object = material number with leading zeros._
      w_l_object+18(10) = w_e_7b1_view-batch_number.
    
    * Retrieve Material Batch Classes
      CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
        EXPORTING
          classtype          = zc7b1_batch_class_type
          features           = 'X'
          language           = 'E'
          object             = w_l_object  "it is a combination of Material and Batch number
          objecttable        = 'MCH1'
          initial_charact    = 'X'
        TABLES
          t_class            = t_lclass
          t_objectdata       = t_objectdata
        EXCEPTIONS
          no_classification  = 1
          no_classtypes      = 2
          invalid_class_type = 3
          OTHERS             = 4.
    
      IF sy-subrc = 0.
    
      ENDIF.
    

    or

    you will get full dat from CABN ,CAWN,CAWNT tables

    Prabhudas

    Edited by: Prabhu Das on Jul 10, 2009 12:08 AM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 09, 2009 at 06:26 PM

    Check table CABN.

    Regards

    Sabu.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 09, 2009 at 06:39 PM

    Is BAPI_CLASS_GET_CLASSIFICATIONS what you want?

    Rob

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 09, 2016 at 03:23 PM

    use the fm VB_BATCH_GET_DETAIL

    Add comment
    10|10000 characters needed characters exceeded