Find batch class of material and characteristics

Hello Experts,
can anybody send sample code to derive the batch class of the material and list of characteristics that are assigned to that class.
Thanks in advance.
Zak.

Tables used for batch characterastics are:
MCH1
AUSP
CABN
MCH1->CUOBJ_BM   = AUSP->OBJEK     (see preceding zeros)
AUSP->ATINN           = CABN->ATINN
Thanks
Ganesh

Similar Messages

  • Table relation for material and characteristics value

    Hi,
    I am looking for the tables which contain the material and characteristics values. e.g. For a particular material what are the characteristics available and what are their uniq values. It will be great if you could provide me the tables name along with the link key (foreign key) between the material no and it's characteristics. Even though I have tried ausp & other tables but I could not find the uniq for a particular material. All answers are appreciable.
    Thanks in advance..
    Pradeep

    Hi Pradeep,
    You can check these tables
      INOB, KSSK, KLAH, CABN, CAWN and AUSP.
    Cheers
    VJ
    If it helps dont forget to mark points

  • Assign Batch Class to Material - Using Upload

    Hi All,
    I have a requirement to assign batch class to material master (MM01 / MM02) - Classification view - Batch Class (022).
    This assignment has to be done through a upload program (BDC / LSMW / BAPI). Can someone please suggest me the best possible option.
    Note:
    1. I don't want to assign batch characteristics values. Just wanted to assign batch class to material.
    2. I have already created LSMW to load material master using LSMW direct input approach.
    Thanks,
    Somu

    Hi Dev,
    My existing LSMW was created using direct input approach which has no option to assign Batch Class to material.
    So my thought is to create a separate program (LSMW / BDC / BAPI) to assign batch class to material.
    Any best possible option please?
    Thanks,
    Somu

  • What's the difference between batch class type 022 and 023?

    Hi Guys,
    I find that some of my SAP client only have class 022 and some have 023, but no client has  them all. I don't know why it happed.
    So what's the difference between batch class type 022 and 023?  Which setting decide which class to be used ?
    Thanks.

    Hi nitin,
    Read  http://www.sapfans.com/forums/viewtopic.php?t=212819&highlight=022  you will know the difference between 022 and 023 .
    Use tcode OMCT you can switch batch level .

  • The difference between batch class type 022 and 023

    what's difference between batch class type 022 and 023?  023 is described as standard batch class type, but there is only 022 type exists in my system. can i use 022?

    Hi,
    both classes mean the same, but which class is used is decieded by batch level. In case of material level or client level the system use automatically only class 023. If you define batch level to plant the system use automatically class 022.
    Regards,
    Abhee.

  • How to assign multiple batch class to material in classification view

    Dear Gurus,
    How to assign multiple batch class to material in classification view.
    plz explain what are the procedure and what are the configuration required before assignment.
    Thanks
    Mani

    OK, Thanks for your reply.
    Regards
    Mani

  • Finding class from material and plant

    Hi experts,
      By giving the material and plnat I need to find out the particular class .
    Is there any Bapi or FM to find this and is there any table to this.
    Please help me on this
    Thanks
    sai

    hi
    use the FM QMSP_MATERIAL_BATCH_CLASS_READ then Check data in tables KLAH and KSSK.
    you can also got to transaction SE80 with FUNCTION GROUP as QMSP.here you can look for the  function module you are looking for in this function group.
    hope this help s you
    Regards
    Aakash

  • How to find batch class based on material number

    Hi experts,
    Can any one say how to get Batch class number by giving material number as input
    regards
    subbu

    Hi ,
    check in MCH1 table.....
    or  try this way..
    By using this function module you can get the batch class related to material..
    * Retrieve Material Batch Classes
      CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
        EXPORTING
          classtype          = zc7b1_batch_class_type
          features           = 'X'
          language           = 'E'
          object             = w_object             "Pass material Number with leading zeros
          objecttable        = 'MCH1'              "Pass table MCH1
          initial_charact    = 'X'
        TABLES
          t_class            = t_lclass             " check here what are all the classes related to material
          t_objectdata       = t_objectdata
        EXCEPTIONS
          no_classification  = 1
          no_classtypes      = 2
          invalid_class_type = 3
          OTHERS             = 4.
    Prabhudas

  • Create Batch Class in Material Master

    I need to create the Batch class for n number of materials.
    I am using the BAPI BAPI_OBJCL_CHANGE but it is not createing the Class. It says no Batch exists.
    There are no Batches created for the Materials which FM or BAPI can be used to create the Batch Class which don't have the Batches.
    I tried manually though MM02 it is working like for class 023 Class FERT03 it is createing but not via BAPI BAPI_OBJCL_CHANGE.

    Hi Abhishek
    I had a simillar isssue last year trying to create an equipment class. I had to finally use bdc.
    Why dont u try to use bdc on mm02, or if u 've that much of patience u can debug mm02 to see how its being done in sap.
    Best of luck.

  • Changing Batch Level from Material Level to Plant Level.

    I want to create the batch class with the class code 22 instead of 23. As the batch class is maintained at the Material Level, not at the Plant Level. So is it possible to change the batch class from Material to Plant Level and create batch class with code 22.
    Kindly suggest.

    Hi, Thanks for ur reply.
    I have applied SAP notes and changed the batch status from material level to plant level...But still i am getting the class type as 23.
    What are the next steps to be done. Currently in OMCT, Batch Level Conversion tab is active and rest all the tabs are in inactive state. so please guide.

  • Table link for material and characterstics values

    Hi all,
    I want link between the material and characteristic values .
    please help me regarding this.
    Regards,
    T srinivas.

    Hi,
    "use this function moduel...
    *Retrieve Batch class , characteristic name and values for Material
      CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
        EXPORTING
          classtype          =  '023'
          features           = 'X'
          language           = 'E'
          object             = w_l_object      "pass material number with leading zeros..
          objecttable        = 'MCH1'   "enter table name MARA, MARC ,MCH!
        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 fololow the below code
    AUSP,CABN , CAWN, CAWNT..
    select * from AUSP in to table t_ausp where OBJEK = matnr .  "Pass materia number with leading zeros
    SELECT SINGLE * FROM cabn
              WHERE atnam = t_ausp -atnam.    "characteristic name stores in this table
    if sy-subrc = 0.
            SELECT SINGLE * FROM cawn WHERE atinn = cabn-atinn
                                       AND adzhl  = cabn-adzhl.  " "characteristic Values stores in this table
    endif.
    Prabhudas

  • To find purchasing organisation for material

    Hi Experts,
    Sounds quite a trivial query but i really could not find the way out to link material with purchasing organisation.
    Please note that we do not want to use Puchasing Info record tables. This is so because requirement itself says automating the PIR creation process through ME11. and for that we need to filter out materials which have a specified Purchasing Organisation.
    Now you may ask a question as to how Purchasing org is maintained on the very first place. This has been created via provision in ISR webform for creating material.
    I hope i have made my query clear enough. Seeking your expert advise on the same.
    Thanks,
    Shreya

    Hi,
    I think  you can not find Purchase organization for a material as one maerial may come from multiple purchase organizations
    (However it depends on the Buisness process) but you can find purchase ogranization with material and plant combination.
    Regards
    Bikas

  • HOW TO FIND MAINTANANCE STATUS OF MATERIAL

    Hi
    I want to find the materials from the system whose BOM is not yet created & whose routing is also not yet created & the finish material to which KMAT material is not assigned. how can i find this as my user want to no this things for maintain the BOM,ROUTING,& KMAT TO THE MATERIAL.

    Hi!,
    1. For materials w/out BOM: Please download the list of all materials and pass that to the table mast in se16 alongwith plant. You will find a list of materials which are having BOM. Just download that list in excel. Now using V-Lookup function of excel, compare the two lists and find out the odd ones (i. e. w/out BOM materials).
    2. For materials w/out Routing: Same process can be repeated with table MAPL to get materials w/out routing.
    3. For materials w/out assigned with KMAT material: Go to se11. Put MARC table and click display. Click CtrlShiftF10.
    Go to settings>Field for selection in menu. Find field "STDPD" (Configurable Material) and check it. Click ok. You will find that field on the selection screen. Now maintain selection option for the field STDPD as "not equal to", keep width of output list and max. number of hits as blank, enter the plant in the the field "werks" and execute. You will find the list of materials for which configurable materials are not maintained.
    You can also use above said logic to develop a small report for your requirement with the help of an developer.
    Regards,
    Uday

  • FM/Class to find the class and characterstics for a given material

    Hi All,
    Is there any Class/FM to find the class and characterstics for a given material.I tried some BAPI_OBJCL* BAPI's but lot of the BAPI's need classnum as input parameter. But i need a BAPI or tables or class which can give the class and its characterstic values for a given material.

    Hi Ben
             Try ..
    BAPI_OBJCL_GETCLASSES
    BAPI_OBJCL_CREATE

  • Batch Management and Class and Characteristics Assignment

    Dear Team,
    Recently We Configured Batch Management in SD, and Batch is determining in Sales order, delivery and Billing. Its working fine.
    Issue-1: While posting stock (Quality server) with moment type 561, production date entered manually but system not calculating Expiry date automatically, i maintained Total shelf Time and Min. Rem. Shelf time.
    Issue-2: In sales order I want determine batch as FIFO Method, in present system it will consider LIFO method,
    I come to know to over come this Issues i need to maintain some Characteristics and Class, Please help me out in creating of characteristics and class and other process,
    Thanking you in advance,
    Sudheer.U

    Dear Team,
    Recently We Configured Batch Management in SD, and Batch is determining in Sales order, delivery and Billing. Its working fine.
    Issue-1: While posting stock (Quality server) with moment type 561, production date entered manually but system not calculating Expiry date automatically, i maintained Total shelf Time and Min. Rem. Shelf time.
    Issue-2: In sales order I want determine batch as FIFO Method, in present system it will consider LIFO method,
    I come to know to over come this Issues i need to maintain some Characteristics and Class, Please help me out in creating of characteristics and class and other process,
    Thanking you in advance,
    Sudheer.U

Maybe you are looking for

  • Multiple libraries on same computer with current iTunes version

    How can I create multiple libraries with the current version of iTunes? I want to add a library to a computer that already has one. Please help!

  • Error while updating order - even after using recommended format

    Used below while updating order: 1) Transaction 2) Synchronization still getting below error: Caused by: atg.service.pipeline.RunProcessException: An exception was thrown from the context of the link named [updatePriceInfoObjects].         at atg.ser

  • Multiple copies in sequence

    Hi, I need to print multiple copies (3) of documents in sequence. So for example of we are printing a 2 page shipping note the customer would like page 1 printed 3 times first and then page 2 printed 3 times. I know we can print  multiple copies by m

  • Oracle Application server goes sluggish on starting Control Services

    Hi Guys, I am facing a unique problem. All services in INFRA and AS are running fine. But the moment I start "OracleORA_ASASControl" and "OracleORA_InfraASControl" services, application server goes sluggish all processes seems to halt. Even "Applicat

  • Incorrect Used Space Canvio 1.0 TB

    I've had the Canvio for about 2 or 3 weeks when I noticed that my computer displays that 965 GB's are used and only 500 some bytes remain.  when totalling up the individual folder capacities on the Canvio, only about 320 GB's are used. Anyone else ha