Dependencies in batch characteristics

Dear All,
We have a material variant (M1). Material variant is attched with a configurable mat In
basic data2 under "Cross-plant CM". Configurable mat is having a varinat class-VC1 (Class type - 300)
& character "plan_Thickness" attached. That characteristics is having a value range (5-10mm). Intervals allowed in that characteristics.
We have a batch class BT1 attached with the matrial varaint (M1). that is having a characteristics
called "Actual_Thickness".
Now as per our scenario, value of the characteristics "Actual_Thickness" should check the range of the
characteristics "plan_Thickness" & should not allow to enter value beyond this range.
How to do this. Can we use dependencies to restrict that.
Waiting for response from your end.
Regards,
SrG

Hi,
what is the scenario,
Can you please explain in detail?
Regards,
Shaiil

Similar Messages

  • MIGO : Error when copying batch characteristics

    Hi,
    I've some problem on MIGO Tcode when i want to copy the batch characteristics.
    I work with class type 022.
    I create a GR from PO. (movement 101). My item line contained sub-items (with BOM). So i would like to copy the batch characteristics in reference of component batch values.
    I've implemented the UE "EXIT_SAPMM07M_004".
    Case 1 : In this UE, i fill a standard internal table (named VALUES) with the characteristics names and values i want to resume.
    and i use the FM 'CLFM_OBJECT_CLASSIFICATION' with the father and the son batch information in UE, i go to MSC3n and all characteristics are copied (even those unwanted). But when i go to MCS2N,  i retrieve the expected values.
    Case 2 : Only use the internal table, but some characteristics are not maintained.
    Case 3 : Only use the FM, but no characteristics are reversed.
    Does anyone could help me ?
    Thanks in advance
    Best regards.

    Hi,
    Table and field used in additional data table should be related to the object than only it will work, for e.g. MCHA and ERDAT will work if you create a characteristcis and assign it to class type Batch (022/023) because MCHA table has Batch no. as primary key,
    this implies for using material specific table e.g. MARA , you should use characteristics with class type 001 (Material class) , try using with table MARC also
    Cheers
    Dheeraj

  • Copy of Batch characteristics value from material master to Batch

    Hi Gurus,
    I have maintained some values in the characteristics under batch classification in material master and want to copy the values in batch characteristics during batch creation at process order release.
    Can any one help me to achieve this in standard way?
    Thanks
    Sandip

    Hi,
    Try to understand the batch classification functionality...In batch classification characteristic values changes from batch to batch...Values should not be maintained in the material master...it does not have any meaning...in the material master we need to assign only the batch class with class type 023 in classification view ...no need to assign the values there....Batch classification means characteristics values differs from batch to batch...
    Thanks
    Kumar 

  • Updated Batch Characteristics on Order Release is not available in MSC3N

    Hi All,
    I have maintained the Class (023) and characteristics for Finished Material. When I am releasing the production order, I am assigning the values for batch characteristics (Custom defined characteristic) after that, If I go and see the corresponding batch in display mode (MSC3N) the value for the characteristic is not updated (entered value not available its blank).
    u2022     Automatic batch creation for the production order during the order releasing is happening exactly as per the configuration but the entered value for the characteristic is not available for the corresponding batch in change as well as display mode (MSC2N/MSC3N)
    Please guide to solve out this issue
    Thanks in Advance

    Hi Sanil,
               Thanks for your speedy reply.
    For me characteristics and all available as per the expectations but the updated value for the characteristcs on release is not sticking with the batch.
    Please guide me to solve out this issue.
    Thanks in Advance

  • Copying Batch Characteristics Value from Standard SAP Table Field

    Dear Experts,
    1. While creating a user-defined Batch Characteristics 'CREATED_BY' using ct04,  on the Additional Data tab, I filled  the following fields as follows:  Table Name = MCHA,  Field Name =ERNAM.
    'CREATED_BY' was then assigned to a batch Class TRIMMED (of class type 022).
    TRIMMED  was assigned to a batch managed material ADE245DD.     
    After posting co15 (confirmation of production order) for material ADE245DD, the value in table MCHA & field ERNAM is automatically copied into the Batch Characteristics value field of u2018CREATED_BYu2019  for the generated batch.
    2. But I am unable to achieve the same result when I create another Batch Characteristic with similar settings in the Additional Data tab as follows: Table Name = MARC, Field Name = DISPO.
    After doing co15, the value stored in table MARC and field DISPO does not get copied into the Batch Characteristics value.
    Please what do I need to do in Scenario 2 above to achieve the same result as in Scenario1?
    Regards

    Hi,
    Table and field used in additional data table should be related to the object than only it will work, for e.g. MCHA and ERDAT will work if you create a characteristcis and assign it to class type Batch (022/023) because MCHA table has Batch no. as primary key,
    this implies for using material specific table e.g. MARA , you should use characteristics with class type 001 (Material class) , try using with table MARC also
    Cheers
    Dheeraj

  • Batch Characteristics value in report

    I want to develop a custom report where material master batch characteristics value should be displayed.
    The report will display based on Process order No. In Process order AFPO table I am bringing MATNR, CHARG, WERKS information.
    Now, the MATNR is maintained with a batch classification of class type 001 (material class) one characteristic "Z_NUMERIC" and value is maintained as "22345".
    Now, in custom report I have to bring the 22345 no. In which Table I can get the information for material for 001 class type characteristics value?
    Please repond.

    You can find it in table ausp
    Regards,
    Dhaval

  • SD pricing based on Batch characteristics

    Hi,
    I have a requirement whereby the pricing in the billing document is dependent on the batches in the delivery document. Eg. For a single material, I may two batches each one having its % of impurities - 2% for the Batch 1, and 5% for Batch 2 in the delivery document. For this reason, Batch 1 should have Price 1 and Batch 2 should have Price 2 in the billing document. How will I configure this? At the time of Sales order, I do not know my exact price(since the batch details are not known), hence, I will be giving just a base price. The actual prices are to be calculated in the billing document based on batch characteristics(in the delivery document).
    I would appreciate your inputs.
    Regards,
    Tim

    Hi,
      I think you can maintain your condition record in VK11 on the following combinations:
       Material /Batch
    This access sequence can be created by making your own condition tables in transaction V/03.
    While doing billing ,you can carry out new pricing.
      Suppose you have a condition type PR00 in sales order and you are also maintaining access sequence for this purpose then this access sequences should be such that when you carry out pricing at billing the same values should not be copy to billing.
      Then the system would take the value of second access sequence from VK11.
      Your second access sequence will be Material/Batch and the condition in the billing document will be picked based on them.
    Regards
    Karan

  • Getting Batch from Packaging material Number (Batch characteristics)

    Hi Gurus,
    I've a requirement.
    i want to know the batches where the packaging material is used.
    Packaging material is one of the batch characteristics, if i assign the same packaging material number in one batch, that should not be assigned to another batch.
    I want to know in which batches the same packaging material is assigned.
    Please guide me?? which table has the links for batch, packaging material number and main material number???
    How can i find this???
    Thanks in advance.
    Adi.

    we can use the MMCL transaction/BMBC to see this.
    In MMCL we have a FM to get the Data.

  • Modifying batch characteristics value

    Dear Experts,
    We have created batch characteristics named 'POTENCY','LOD','ASSAY'.
    Now the value of POTENCY is calculated based on the formula, that is LOD * ASSAY. There are chances that the value is sometimes calculated more than 100%. Now I want to put a restriction that if the value increases more than 100 than the value of POTENCY should be automatically be 100.
    What should I do to resolve this issue.
    NOTE - POINTS WILL BE REWARDED.......

    Hello,
    You can write a specific FM called by the configurator (procedure which call a user FM). Input are your LOD andd ASSAY, output is POTENCY. Inside you can write your formula.
    Parameters are given by std tables.
    This is sample :
    FUNCTION zsca_calcul.
    *"  IMPORTING
    *"     VALUE(GLOBALS) TYPE  CUOV_00
    *"  TABLES
    *"      MATCH STRUCTURE  CUOV_01
    *"      QUERY STRUCTURE  CUOV_01
    *"  EXCEPTIONS
    *"      FAIL
    *"      INTERNAL_ERROR
    DATA : w_met_cmin_r  LIKE cuov_01-atflv.
      CLEAR : w_matnr_paracheve, w_instance .
      BREAK-POINT.
    lecture des données en entrée dans la table query
      LOOP AT query WHERE atcio = 'I'.   "input parameter
    vérification type num
        IF query-atfor NE 'CHAR'.
         MESSAGE ID 'ZSCA_CONFIGURATEUR' TYPE 'W' NUMBER '000' RAISING fail
        ENDIF.
        CASE query-varnam.
          WHEN  'MET_NUMART_MLAZ'. ' my single input characteristic
            w_matnr_paracheve = query-atwrt.
            PERFORM lire_mara.  ' process the input parameter
            PERFORM lire_carac.
          WHEN OTHERS..
         MESSAGE ID 'ZSCA_CONFIGURATEUR' TYPE 'W' NUMBER '000' RAISING fail.
        ENDCASE.
      ENDLOOP.
    update of the output characteristic MET_CODEMAT (it is numeric and contains value 9
      READ TABLE query WITH KEY varnam = 'MET_CODEMAT'.
      match = query.
      match-atfor = 'NUM'.
      match-atflv = 9.
      APPEND match.
    ENDFUNCTION.
    Regards.

  • Change Documents for batch characteristics

    Dear Guys,
    Badly in need of your help !
    In our project, we are required to report changes made on batches characteristics.
    My program fetches records from CDPOS table that has change doc. object as 'CLASSIFY'.
    The challenge is to find the new and old value. They are not directly stored in VALUE NEW and VALUE OLD. They are simply '1'.
    I'm sure that they are stored somewhere in the database because the vlaue before and after change can be seen in the transaction mch3n via menu-> Display Change Documents.
    I tried hard finding the table-field but looks like its not straight forward. This is really challenging.
    Regards,
    Ashok

    Gert,
    The change done in the project profile will only affect newly created projects.
    Have you checked if change documents are created for new projects?
    Hope this helps
    Rgds
    Martina

  • SAP MM Batch characteristics during Plant to plant stock transfer

    Hello,
    I have a requirement where if i have 100 kg of a batch A in X plant and i transfer 70 kg of this batch A to Y plant. So now i have 70 kg of Batch A in X plant and 30 kg in Y plant.
    I want the batch characteristics of the batch A to be copied in Plant B as well, but when plant B does some quality testing and overwrites a few batch characteritics this should not affect the batch characteritics of the Batch A in plant X. ( We donot want to create a new batch in Plant Y due to traceability reasons)
    We have maintained Batch level at "Plant level" in config
    Any pointers to userexit to force copy the batch characteristics initially from Plant X to Plant Y for Batch A is also welcome.
    Thanks
    Anurag

    Please dont post the same question in multiple forums.  Continue in one thread
    thanks
    G. Lakshmipathi

  • BAPI to update batch characteristics

    Hi,
    We have a requirement to update batch characteristics in SAP. I used the VB_BATCH_CHANGE to update the batch characteristics. Below is my code. After the call, I don't get any error from this BAPI/RFC, but batch chararacteristcis values are not updated. Any ideas?
    FUNCTION Z_VB_CHANGE_BATCH.
    *"*"Global Interface:
    *"  IMPORTING
    *"     VALUE(YMCHA) LIKE  MCHA STRUCTURE  MCHA
    *"     VALUE(YUPDMCHA) LIKE  UPDMCHA STRUCTURE  UPDMCHA OPTIONAL
    *"     VALUE(CHANGE_LGORT) LIKE  MCHB-LGORT OPTIONAL
    *"     VALUE(BYPASS_LOCK) LIKE  AM07M-XSELK DEFAULT SPACE
    *"     VALUE(BYPASS_POST) LIKE  AM07M-XSELK DEFAULT SPACE
    *"     VALUE(X_BNCOM) LIKE  BNCOM STRUCTURE  BNCOM OPTIONAL
    *"     VALUE(KZCLA) LIKE  T156-KZCLA OPTIONAL
    *"     VALUE(XKCFC) LIKE  T156-XKCFC OPTIONAL
    *"     VALUE(CLASS) LIKE  KLAH-CLASS OPTIONAL
    *"     VALUE(NO_CHECK_OF_QM_CHAR) LIKE  AM07M-XSELK DEFAULT SPACE
    *"     VALUE(REF_MATNR) LIKE  MCHA-MATNR OPTIONAL
    *"     VALUE(REF_CHARG) LIKE  MCHA-CHARG OPTIONAL
    *"     VALUE(REF_WERKS) LIKE  MCHA-WERKS OPTIONAL
    *"     VALUE(SET_OLD_BATCH) LIKE  AM07M-XSELK DEFAULT 'X'
    *"     VALUE(BUFFER_REFRESH) LIKE  AM07M-XSELK OPTIONAL
    *"     VALUE(NO_CHANGE_DOCUMENT) LIKE  AM07M-XSELK DEFAULT SPACE
    *"     VALUE(GRUND) LIKE  MSEG-GRUND DEFAULT SPACE
    *"     VALUE(NO_CFC_CALLS) LIKE  AM07M-XSELK DEFAULT SPACE
    *"     VALUE(BATCH_DEL_FLAGS) LIKE  BATCHDELFLG STRUCTURE  BATCHDELFLG
    *"       DEFAULT SPACE
    *"     VALUE(SEND_SYS) TYPE  LOGSYS DEFAULT SPACE
    *"  EXPORTING
    *"     VALUE(YMCHA) LIKE  MCHA STRUCTURE  MCHA
    *"     VALUE(EMKPF) LIKE  EMKPF STRUCTURE  EMKPF
    *"  TABLES
    *"      CHAR_OF_BATCH STRUCTURE  CLBATCH OPTIONAL
    *"      CHANGED_BATCH STRUCTURE  MCHA OPTIONAL
    *"      ZIMSEG STRUCTURE  IMSEG OPTIONAL
    *"      RETURN STRUCTURE  BAPIRET2 OPTIONAL
    *"  EXCEPTIONS
    *"      NO_MATERIAL
    *"      NO_BATCH
    *"      NO_PLANT
    *"      MATERIAL_NOT_FOUND
    *"      PLANT_NOT_FOUND
    *"      LOCK_ON_MATERIAL
    *"      LOCK_ON_PLANT
    *"      LOCK_ON_BATCH
    *"      LOCK_SYSTEM_ERROR
    *"      NO_AUTHORITY
    *"      BATCH_NOT_EXIST
    *"      NO_CLASS
    *"      ERROR_IN_CLASSIFICATION
    *"      ERROR_IN_VALUATION_CHANGE
      DATA: F_TRANSACTION_ID           LIKE ARFCTID.
      CALL FUNCTION 'TRANSACTION_BEGIN'
        IMPORTING
          TRANSACTION_ID = F_TRANSACTION_ID.
      CALL FUNCTION 'VB_CHANGE_BATCH'
        EXPORTING
          YMCHA                     = YMCHA
          YUPDMCHA                  = YUPDMCHA
          CHANGE_LGORT              = CHANGE_LGORT
          BYPASS_LOCK               = BYPASS_LOCK
          BYPASS_POST               = BYPASS_POST
          X_BNCOM                   = X_BNCOM
          KZCLA                     = KZCLA
          XKCFC                     = XKCFC
          CLASS                     = CLASS
          NO_CHECK_OF_QM_CHAR       = NO_CHECK_OF_QM_CHAR
          REF_MATNR                 = REF_MATNR
          REF_CHARG                 = REF_CHARG
          REF_WERKS                 = REF_WERKS
          SET_OLD_BATCH             = SET_OLD_BATCH
          BUFFER_REFRESH            = BUFFER_REFRESH
          NO_CHANGE_DOCUMENT        = NO_CHANGE_DOCUMENT
          GRUND                     = GRUND
          NO_CFC_CALLS              = NO_CFC_CALLS
          BATCH_DEL_FLAGS           = BATCH_DEL_FLAGS
          SEND_SYS                  = SEND_SYS
        IMPORTING
          YMCHA                     = YMCHA
          EMKPF                     = EMKPF
        TABLES
          CHAR_OF_BATCH             = CHAR_OF_BATCH
          CHANGED_BATCH             = CHANGED_BATCH
          ZIMSEG                    = ZIMSEG
        EXCEPTIONS
          NO_MATERIAL               = 1
          NO_BATCH                  = 2
          NO_PLANT                  = 3
          MATERIAL_NOT_FOUND        = 4
          PLANT_NOT_FOUND           = 5
          LOCK_ON_MATERIAL          = 6
          LOCK_ON_PLANT             = 7
          LOCK_ON_BATCH             = 8
          LOCK_SYSTEM_ERROR         = 9
          NO_AUTHORITY              = 10
          BATCH_NOT_EXIST           = 11
          NO_CLASS                  = 12
          ERROR_IN_CLASSIFICATION   = 13
          ERROR_IN_VALUATION_CHANGE = 14
          OTHERS                    = 15.
      IF SY-SUBRC IS INITIAL.
        CALL FUNCTION 'TRANSACTION_END'
          EXPORTING
            TRANSACTION_ID = F_TRANSACTION_ID
          EXCEPTIONS
            OTHERS         = 1.
      ELSE.
        CALL FUNCTION 'BALW_BAPIRETURN_GET2'
          EXPORTING
            TYPE   = SY-MSGTY
            CL     = SY-MSGID
            NUMBER = SY-MSGNO
            PAR1   = SY-MSGV1
            PAR2   = SY-MSGV2
            PAR3   = SY-MSGV3
            PAR4   = SY-MSGV4
          IMPORTING
            RETURN = RETURN.
        APPEND RETURN.
        CALL FUNCTION 'TRANSACTION_ABORT'
          EXPORTING
            TRANSACTION_ID = F_TRANSACTION_ID
          EXCEPTIONS
            OTHERS         = 1.
        EXIT.
      ENDIF.
    ENDFUNCTION.
    Thanks,
    Sara

    Hi Subramani,
    Thanks for your response.
    BAPI_BATCH_CREATE will not work for us, because we are trying to update batch, not creating new batch.
    Also, The function TRANSACTION_END, I am calling in the code is responsible for committing the transaction.
    Thanks,
    Sara

  • Restricting duplicate entries in for Batch Characteristics

    Hi All,
    How can we restrict duplicate values for Batch characteristics. The characteristics is a user input field but we want to keep a check that user doesn't input duplicate entries as in previous batches.

    I think I misread your question.
    When you say user doesn't input duplicate entries as in previous batches. do you mean the values in some other batch should not be entered in the current batch? For example, if in batch A, the characteristics Gold value reads as 1000 $, when the user creates the batch B, the user should not be allowed to enter value 1000$ for characteristic Gold?
    If the assumption is correct, then I think standard configurations can't help. However take a look at the user exit EXIT_SAPLV01Z_014 in program SAPLV1ZN.I also recommend you posting this question in materials management forum after closing this thread, if you don't find suitable answer.
    Regards,

  • Error in Uploading  Initial balance with Batch Characteristics!

    Dear Gurus,
    I have a material on which batch management and batch specific unit of measure is activated. I want to upload the initial balance thorugh MB1C. I have created a recording of MB1C. when i run the recording with the uplaod file, system opens a Coding block screen and does not open the Batch classification screen and does not take batch characteristics. Initially, in the recording there was no error.
    Help me ikn this.
    Thanks in advance.

    hi,
    the characteristics screen behaves strangely during a recording. i suggest you create the batch record separately. when you do a recording for this, HIGHLIGHT ALL THE CHARACTERISTICS, click on the magniying glass, and enter the values one by one.
    1) upload batch records (LSMW recording - as described above)
    2) upload stock balances (LSMW using BAPI)
    hope you figure this out. i recently did this in a project successfully.
    regards,
    marvin

  • MBCFC004 problem with updation of batch characteristics

    hi,
    I am facing a problem in updattion of batch charactristics using exit MBCFC004.. EXIT_SAPMM07M_004 
    in user exit interface EXIT_SAPMM07M_004 there is one table parameter 'Values' which is used to update batch characteristics.
         i am able to add characteristics values but not able to delete or change batch characteristics.
    please help

    Class type 023 is classified as a type which allows multiple object types.
    For this class you may have to use 'BAPI_OBJCL_CHANGE_KEY' (check out its code).
    The key relationships for such class types are maintained in table INOB and can be fetched  using the BAPI 'BAPI_OBJCL_GET_KEY_OF_OBJECT' .
    Hope this helps.
    Thanks and Regards,
    Srihari

Maybe you are looking for

  • Can't launch debugger

    Hello, I can't launch the debugger anymore in NWDS sp13. When I do I get the follwing error: Exception occurred during launch Reason: Source locator does not exist: org.eclipse.jdt.debug.ui.javaSourceLocator I was debugging fine last night before shu

  • Why wont my ipad connect to wifi ???

    why wont my ipad connect to wifi ???

  • BPEL Dehydration/Memory question

    I’m using Oracle BPEL PM 10.1.2.0.2 running on Oracle Application Server 10.1.2. My scenario is simple, I’m using manual tasks in my flows that can be open for several days, and therefore it won’t be good if the processes stay in memory, consuming re

  • Target Flash from HTML

    I want to be able to click and HTML Link such as: <a href="gotoFrame" target="flashID">TEXT</a> And have the Flash read that you clicked the link and then go to the specified place depnending on the HREF. Basically, I just need to know how to get Fla

  • Copy method crm_copy_badi

    I'm trying to create amendment contract from contract. While creating from  contract   to amendment contract every ref. value getting copied except poduct details(like prdt_id, description , rate , qty) . amentment contract is the copy of business tr