Batch characteristics dependency conept !!!

Hi Experts,
Please help to understand the concept of Dependency concept at Class level and Characteristics level.

Hi Saurabh,
Dependancies are used for maintaining relationships of the classes or characteristics. e.g. we take characteristics, Plant,Department,Functional group..etc. Now I want to maintain departments and functional groupsfor a plant. I will give dependancy to departments and functional groups for plants. So that when I will select a plant then the departments and functional groups related to that plant will only get displayed.
Hope this will clear all doubts.
Regards,
Ravindra

Similar Messages

  • 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

  • Reproduce Batch Characteristics F4 Search Help

    Hi All,
    I must reproduce the batch characteristics screen for a z-transaction based on the tcode msc1n. I have the screen working fine except for the F4 help. The fields are generated dynamicaly with type ATWRT (same as msc1n) based on Class/matnr..... I wanted to assign the same help to these fields but it looks like the standard method is also created dynamically via code (a lot of code).
    I think the standard uses the form create_new_batch_classif  in prog SAPLCHRG(include LCHRGF05)
    One way that I thought it might work is with something like calling that routine with:
    PERFORM create_new_batch_classif(saplchrg)
    but is there any way of doing this and having all the relevant data (tables and fields) available so that the routine knows what to do?
    Does anyone know if this is re-producable?
    Thanks,
    Kroc.

    Thanks Ramchander.
    The standard tcode dynamically builds the screen fields depending on the class/klart. The field type is always ATWRT but there is no F4 help attached. The help is determined by code using the routine create_new_batch_classif in the saplchrg function pool. If I have to re-create that, then that is what I will do but it is a monster so really hoping there is an easier way.
    Thanks.

  • 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

  • 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

Maybe you are looking for

  • Changes in holiday and factory calender ?

    Hi Gurus, i have to delete a holiday from my holiday calendar ? i  have some doubts about transporting the changes to quality and prd can anybody explain how we have to trans Port CALENDER

  • IPhone's and Public Certificates

    Hello, My question is specific to using PEAP (EAP-MSCHAP v2) with 3rd party certificates on iPhones. I have read that despite having a public certificate, iPhones will continue to prompt to accept the cert every time. Can anyone confirm if this is tr

  • Gantt businessgraphic shows no bars

    Hi everybody, I'm trying to implement a Gantt chart via the businessgraphic ui element. After struggling with the Chart designer the chart itself is looking okay but the Timevalues are only shown as points and not as a bar. If I define 2 timevalues:

  • Hot corners for screen saver and sleep stopped working

    All of sudden my hot corners don't seem to work.  They were fine the last time I tried to use them.  I place the cursor in the corner and nothing happens?

  • Odd crash after SU 2006/QT 7.1 - NOT VersionCue

    I started a thread here: http://discussions.apple.com/thread.jspa?threadID=482611&tstart=0 because I thought it was just Mail misbehaving. But there's a deeper problem: something to do with com.apple.security, that occurs when (I think) QT 7.1 is ins