Batch Classification Update duing MIGO

Hello Experts,
I have a requirement where in i have to update one of the batch characteristics with my own value when the user presses the classification button in MIGO transaction during GR.
I tried various user exits and BADI's to accomplish this but ultimately was unsuccessful.
The most useful BADI which i felt would solve my purpose was CACL_VALUE_CHANGE.
Here only some characteristics are flowing and not all.
I even tried to debug the standard program but again could not get any clue.
Very thankful to anyone who could help me.
Cheers,
Ravi Kiran

try using BADI - MB_MIGO_BADI

Similar Messages

  • Updating Batch classification data from MIGO for Purchase order

    Hi,
    I need to update batch classification data (in MSC3n) from MIGO for purchase order. The logic needed for this is as below,
    1) Pass material and batch to MCH1 table to get CUOBJ_BM.
    2) Pass CUOBJ_BM to INOB table to get INOB-OBJEK.
    3) Pass INOB-OBJEK to CLAF_CLASSIFICATION_OF_OBJECTS to get class name & characteristic name.
    4) Pass INOB-OBJEK, CLASS name and characteristic name to BAPI_OBJCL_CHANGE to update batch classification data.
    I created implicit enhancement at the bottom of FM "CLVF_VB_INSERT_CLASSIFICATION". But the problem is, the return parameter of BAPI_OBJCL_CHANGE is giving the following error.
    Class type 023, object type MCH1, object RAW-6             0000001151
    Object is currently locked by user
    The assignment was not changed
    Please let me know how to do it. Is there any BADI or User Exit?

    Hi,
    As you said the break point is not triggering did you activate your exit and activated even the project to which your exit is assigned.
    I hope you missed activating your project in CMOD transaction. Please verify it once and if it is not activated then immediately activate it and try debugging again.
    Regards,
    Rafi

  • Batch classification update

    Hi guys,
    I need to make the following, when there is a goods receipt, I want to update the posting date in the batch classification as soon as I post the goods from transaction MIGO.
    How can I make this?
    Regards

    Hi andrea,
    I tried what you said, but it does not update in the classification, the field is empty as follows
    Deletion Ind. for Batches     Not Set
    Quality Score Usage Decision     100
    Usage Decision     01       A
    Status of Batch     Released
    Batch Number     2010080167
    Expiration date, shelf life     23.06.2012
    Date of last goods receipt
    Date of Manufacture
    I have something also in my mind I'd like to share with you, regarding the reference  table you told me, I think that this is responsible only for maintaining  the data in the BASIC DATA tab of the characteristic, but it has nothing to do with the value, if I'm wrong then correct me, and I hope you a have a solution for the problem.
    Regards,

  • Material Batch Classification Update

    Hi ,
    Is there a Function Module or BAPI to update Material Batch Classification ?
    Thanks.

    hi,
    check tcode bapi. or search function bapiclas
    cheers.
    ...reward if useful.

  • Batch Characteristics update using MIGO

    Hello Gurus - Need your valuable suggestions on the issue below.
    I have a requirement to update only certain batch characteristics at the time of goods receipt using MIGO by clicking on the classification view. Users should have access to update only 4 out of 10 characteristics in a batch. I did assign authorization group to the characteristics & made the changes to the roles but i think that there is no auth. check performed for classification during goods receipt. Please let me know the possible options to fulfill this requirement.
    Thanks for your time.

    Thanks for your reply Craig. I did set up the characteristic as 'Entry Required' & changed the config to update only required charac. in foreground. When i posted the GR, system did not give me any pop-up to update the characteristics but i got a warning message saying that the values are missing in classification. So i went to classification view but none of the required characteristics are highlighted. So how will the user know which characteristics are required?
    Also to let you know, we are updating certain characteristics in the background using enhancement. Do you think will there be any conflict with this?
    Thanks for your help.

  • Need Badi/user exit-migo-update batch classification

    Hello all,
    I need to update revision level and country of origin in batch classification tab in migo while posting GR.
    I've already done using exit "EXIT_SAPLV01Z_014".
    But this exit triggers only when classification tab is clicked in migo.
    But i need to also update rev level and country of origin when GR is posted(Save button is pressed).
    I tried MB_CF001,MB_CF001,MBCF0002,MBCF0005,MBCF0006,MBCF0007,MBCF0009,MBCF0010,MBCF0011
    and badis
    MB_DOCUMENT_BADI,CACL_VALUE_CHANGE.
    Please someone help me
    Thanks in advance

    Hi Sriram,
    If you want to add logic on particular action you need to search for exact BADI.
    e.g.
    As you are expecting that your code need to be trigger when user press SAVE button (Time of Posting) so at that time you need to check which BADI get trigger ( I am assuming that you have knowledge on how to search BADI)
    List down the BADI name and check the methods. You will get exact method name in listed BADI's.
    I am hoping that while checking badi you will find MB_MIGO_BADI just check and use method [POST_DOCUMENT] for your logic.
    Also in User Exit you will see multiple function modules in component those function modules are behaving like PAI and PBO. so you need to find out whcih function module will trigger as per your requirement.
    please find below link which will help you to understand how to search User Exit.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0041d4e6-1e43-2e10-0db4-9386abe98fe6?overridelayout=t…
    Please let me know if its work for you.
    Regards,
    Nikhil

  • Which table will get updated for batch characterstics for the MIGO trans?

    Hi all,
    As i am trying to post a goods receipt for 101/102 movement type in MIGO transaction.
    But it is giving error as 'Batch characterstics values are not classified'.
    If i give Batch Type- as  PRODUCTION(P)  in batch classification.
    It will get posted.
    Can any one help me out in which table this field will get updated.
    Thanks...

    HI ,
                 Try table MSEG.
    Regards,
    Mohan

  • Batch Classification Characteristic Values in MIGO...

    Hi,
    Can we update Batch Classification Characteristic Values in MIGO...
    Batch is also created while doing MIGO. I have no issues in creating Batch.
    Thanks in advance...

    Hi.
      You can use the CACL_VALUE_CHANGE badi.
    Regards.

  • Need a bapi r  fn module to update the batch classification in the bom

    hi,
    iam working a exit : exit_saplcoml_001.This exit is for material quantity calculation.the materials are currently classified in the material master under the classification tab.Ans due to this the classification becomes cross plant.
    To make the material classification plant specific i have decided to maintain the classification in the batch classification of bom.i am finding for a function module r a bapi to update the calculated values in to the batch classification characteristics.please help mi with this.
    thanks.

    Hi
    U can try to use BAPI_MATERIAL_SAVEREPLICA
    Max

  • Batch classification during GR against production order using txn MIGO

    Hello All
           I am usng batch classification during for movement type 101, when am doing the GR against production order using txn MB31 the system automatically navigates to classification screen wherein i need to enter the characterstic value & it all goes well, I can also view the stock with batch no and the classifcation value when the GR is being done with txn MB1.
          But when am dong the same thing i.e. GR against production order using txn MIGO system doesnt navigates to classification screen for characterstic value entry and am able to do the posting. I want that system must navigate to classification screen automatically if i do the GR using MIGO also as it doen in the case of txn MB31.
           Please suggest what settings are to be done for the same, I am unable to figure out why the system is behaving in this manner. Kindly provide your inputs to sort out this issue. Waiting for your valuable inputs.
    Regards,
    J K Tharwani

    Dear,
    did u refer SAP Note 519303 ?
    After keeping Batch Classification as 4 in OMCV, in MIGO, it will start showing the Batch Classification button under "Batch" Tab, it will not show the Batch Classification Pop-up automatically as it shows in case of MB31.
    If you wan users to enter the characteristics values mandatorily in the Batch Classification then in CT04 for these characteristics activate Entry required indicator in "Basic Data" Tab
    SAP Note 519303
    Please refer this also,
    [MIGO|Re: How can I get the MRP history?]
    Regards,
    R.Brahmankar

  • BADi/UserExit for MIGO : To popup batch classification screen auto

    Hi all,
    I want to pop up batch classification screen automatically in MIGO when performing a goods movement . In MIGO there is a command button for that to open up the batch classification screen, but my requirement is when click CHECK or SAVE button, branch it to batch classification screen if those characteristics are not maintained.
    Please reply .
    Thanks and Best regards,
    Sandun

    HI ,
    Chk BADI using these steps..
    1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
    2. In 'Display' mode, go to 'Methods' tab.
    3. Double click the method 'Get Instance' to display it source code.
    4. Set a breakpoint on 'CALL METHOD cl_exithandler => get_class_name_by_interface'.
    5. Then run your transaction.
    6. The screen will stop at this method.
    7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.

  • Update Batch Classification for a Material

    Hello friends,
    I'm facing the following problem : A specific BTCI wich simulates MB01 was calling another program called SAPLCTMS to update Batch classification for a Material, this program (SAPLCTMS ) seems to be not necessary after the support package Level 57 (we just installed SAP4.6C). I didn't find any note on OSS for this...
    Now i'm trying to use this BAPI instead of BTCI for the Material batch classification  :
    CALL FUNCTION 'BAPI_OBJCL_CHANGE'
             EXPORTING
                  objectkey          = l_objnum
                  objecttable        = 'MCH1'
                  classnum           = 'ZGB_TIDCLASS'
                  classtype          = '022'
                  status             = '1'
                  keydate            = sy-datum
             TABLES
                  allocvaluesnumnew  = t_valuesnum
                  allocvaluescharnew = t_valueschar
                  allocvaluescurrnew = t_valuescurr
                  return             = t_return.
    But its not working, it keeps asking for a batch number. I guess i'm not using the right FM ?
    Any ideas about this ?
    Thank you in advance for your help !
    Best Regards.
    Edited by: Soufiane FAYSSAL on Jun 18, 2009 11:42 AM

    Hello,
    I am Ashok Chelikani. I am working on the same Issue.
    i am getting following message:
    TYPE ID    NUMBER  MESSAGE
    E       |C1   |003          |Characteristic DIMENSIONSCOLOR not found or not valid
    I        |CL   |736          |Assignment was not created 
    my procedure as follows:
    CLEAR: lv_objnum.
    lv_objnum = I_MSEG-MATNR.
    **Get Object Details
    CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
    EXPORTING
    objectkey = lv_objnum
    objecttable = 'MARA'
    classnum = 'Z_RMBCH1'
    classtype = '001' 
    TABLES
    allocvaluesnum = lt_alloc_num
    allocvalueschar = lt_alloc_char
    allocvaluescurr = lt_alloc_curr
    return = lt_return.
    IF NOT lt_return IS INITIAL.
    CLEAR: lv_objnum.
    lv_objnum(18) = I_MSEG-MATNR.
    lv_objnum+18(10) = I_MSEG-CHARG.
    CALL FUNCTION 'BAPI_OBJCL_CHANGE'
    EXPORTING
    objectkey = lV_objnum
    objecttable = 'MCH1'
    classnum = 'Z_RMBCH1'
    classtype = '023' 
    tables
    allocvaluesnumnew = lt_alloc_num
    allocvaluescharnew = lt_alloc_char
    allocvaluescurrnew = lt_alloc_curr
    return = lt_return.
    lt_return returing error message. Kindly help me.

  • Batch Classification in MIGO

    Hello,
    I'm using enhancement MBCFC004 (user exit EXIT_SAPMM07M_004) in order to fill batch classification in MIGO transaction, when pressing 'Classifications' button in 'Batch' tab.
    I've put a break point in the code I've created, but when pressing the classification button nothing happens.
    The project and the user-exit are activated.
    What can be the problem.
    Thanks,
    Hagit.

    Hi Hagit!
    BADIs are defined (and can be searched with) in transaction SE18.
    Own extensions can be implemented with transaction SE19.
    Both transactions have little blue 'i'-buttons: press them and you get pretty good help.
    Otherwise look at help.sap.com
    Regards,
    Christian

  • MIGO - how check batch classification.

    Hi all,
    When using the transaction Migo (create), the user can enter a certain characteristic through -> batch -> classification for each position. I have to check that the input code is not already used in another posizion.
    I found the Badi CACL_VALUE_CHANGE, but at this point I have only the characteristic of a single position.
    Does anybody know the internal table which stores the characteristics and at what point can I go to check them?
    I also found these internal tables IZH, AMM and ZM, but at the time of final check, they are not available.
    I thank you in advance

    Hi,
    You can get the characteristic values from the standad table AUSP , and table CHVW.
    Thanks and Regards,
    Narayani

  • Configuration  of Batch classification in MIGO Tcode

    Hello all,
    In Migo TCode how can we Enable or Configure the batch Classification. Can you please let me know?
    Moderator message: not directly related to ABAP development, please search for information.
    Edited by: Thomas Zloch on Mar 18, 2011 3:29 PM

    Hi Hagit!
    BADIs are defined (and can be searched with) in transaction SE18.
    Own extensions can be implemented with transaction SE19.
    Both transactions have little blue 'i'-buttons: press them and you get pretty good help.
    Otherwise look at help.sap.com
    Regards,
    Christian

Maybe you are looking for

  • What the iPod touch really needs.

    So I may have missed a thread on this... But does it not seem logical that what the the iPod touch really needs bluetooth. I could care less about using bluetooth for audio, synking or anything else but 1 thing... Given that the iPhone is locked into

  • Why does solid black type become screened in my PDF?

    I have created a document in InDesign CS3 (5.0.4) on a Windows XP (SP3) system (3 GHz Pentium processor, 3.5 GB of RAM). This document is composed of solid black text set in the Futura typeface. There is no transparency, opacity effect, or screen val

  • Unreadable data

    Hi, My application connects through JDBC to a MySql. The problem is that althgough mysql can store data that contains cyrillic characters (the cp1251 charset is set for the DB columns), when I try to get these values from database, i get only unreada

  • Synchronous Scenario : Logging in XI

    Hello All,    As per the documentation it is possible to turn on logging for synchronous calls even though logging_synch is set to 0 in sxmb_adm. Did any one had luck in doing this??? http://help.sap.com/saphelp_nw04/helpdata/en/d6/49543b1e49bc1fe100

  • Searching... No service issue west Michigan???

    I am in west Michigan and having the same searching, no signal issues only at home at or thru the night. I can always turn off and back on and get a signal temporarily. When I leave home in the morning and head to the lakeshore I have no problems. Ha