To read batch characteristics on Purcahse order

Hi Helpful,
My client wants to capture details when ever chages are done to  drawing no ,revision level which are currenly maintained as bath characteristics in calssification view of material master to be updated automatically on purcahse order wheen ever Po is raised for this material.
For Eg: If we do changes  to purcahse order text in material master that automatically gets captured on Purcase order text field when we raise a PO for that material.
pls replt ASAP.
Thank you,
sairam

Hi
The problem is you can't use the KNUMV, because u make sure to get the princing active in the document at run time.
If you want to know the old data you can read the table KONV using field KNUMV, but here you can't know if some modification is done.
U can try to know the field-symbols:
DATA: XKOMV LIKE KOMV.
DATA: FIELDNAME(30) VALUE '(SAPMV45A)XKOMV[]'.
FIELD-SYMBOLS: <TKOMV> TYPE TABLE.
ASSIGN (FIELDNAME) TO <TKOMV>.
LOOP <TKOMV> INTO XKOMV.
ENDLOOP.
Max

Similar Messages

  • Varinat configuration copy of batch characteristics from Sale order to production batch

    hi experts ,
    below is the scenario :
    the characteristics and its value which are maintained in the sale order must be copied to batch produced during process order GR .
    it was not available in 4.7 but availbale in ECC 6.0 i guess by SAP.
    i have created configured material with class type 300 and KMAT . have mainatined CU41 . created material variant and have filled  MRP 3 fields.
    have created material variant with class type 023 . (also tried with class type 300) .
    created sale order for confgured material and item category is also correct . i do not get pop up for material variant which has same charcateristics as that of material configured.
    also on after MRP run and process order creation w.r.t Sale order i did GR . but the batch was created with 023 class type and no characteristics were copied .
    kindly guide  , i have not worked much on variant configuration.
    regards,
    satish

    Satish Yadav,
    the problem start as you havent got pop up saying there exist a material variant with values you selected for configurable material in sales order, so please check settings related to item catagory.
    Also as sales order is created for configurable material , for which material you run MRP?
    check below link for more information on material variant and its replacement in sales order.
    http://scn.sap.com/docs/DOC-31570
    checka nd reply back, Hope it will solve your issue.
    Thanks
    Ritesh

  • Read the characteristics of a planned order in APO

    how can we read the characteristics of a planned order in APO.What Function Module can be used for this?
    how can we manually schedule the order activities based on the characteristics. Can we use the function module 
    /SAPAPO/OM_ACT_SCHEDULE by copying and making some changes in it for this purpose?

    Hi,
    if there are any orders in your system with characteristics (in planning version 000) then this report will find them:
    report  get_char.
    data:
       ls_genp     type /sapapo/om_gen_params,
       lt_orderid  type /sapapo/om_orderid_tab,
       lt_char     type /sapapo/om_charact_val_tab.
    ls_genp-simversion = '000'.
    call function '/SAPAPO/OM_ORDER_GET_ALL'
      exporting
        is_gen_params = ls_genp
        iv_simsession = ''
      importing
        et_orders     = lt_orderid.
    call function '/SAPAPO/OM_ORDER_GET_DATA'
      exporting
        is_gen_params       = ls_genp
        iv_simsession       = ''
        it_order            = lt_orderid
      importing
        et_charact_val_acts = lt_char.
    Best regards
    Thomas

  • 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

  • Batch determination in Subcontracting order

    Hi,
    Can any one of you explain me the steps for doing batch determination for subcontracting orders. i am facing the same issue, but i dont know what steps to follow.
    our scenario is:  we do a GR against a Sub contracted PO using 101 mvt type and when i am trying to post the document, it's asking me to enter the batch for few components which are maintained as vendor consigned stock and in batches.
    is it possible to automate the process? can any body explain how to setup the customization for batch determination?
    thanks in advance,
    Kanth

    Follow the below steps.
    01. For movement type 543 "O" assign your search procedure T code : OMCG
    02. Maintain conditions record or strategy record.
    A1) Normaly we use batch determination at delivery level, because at the time of order material may or may not be created.for this material should be configured with batch and batch determination should be checked in sales views of material.
    A2) Batch Determination during order Creation.
    For this you need to maintain a Classes d for you Material. Depending on the Manufacturing process you can define the characteristics for your material.
    Ex: Purity for Medicines,  Resistance for Electric Items.
    You need to create a class (You might have to create a new class type) which incorporates the characteristic.
    First Create the Characteristic Using Ct04 and then using Cl02 create the Class  including this characteristic.
    Then in your material master Classification View Enter this class.
    Then Create a Batch for the particular plant and Stor Loc using MSC1N.Give the value of the characteristics in this batch.
    Then go to SPRO ->Logistics General ->Batch Management and maintain the Condition Technique (Procedure, Strategy Types and assignment to sales docs etc).
    Then Create the Batch Determination Record using VCH1.

  • 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 

  • Automatic capture of batch number as production order

    Hi,
       How to make the order number to capture automatically while confirming the production order.As it should pick the order by default in the goods movement screen.
    Abap coding and user exit to perform this.
    Regards,
    Deepak GS

    Hi,
    Batch determination uses characteristic values assigned to batch classification for sorting batches and make a selection. A series of customization steps should be completed for batch determination. You will have to learn by reading SAP help or threads throughout this forum. Check out threads below.
    [Batch Determination within Production Orders;
    [Automatic Batch Determination;
    narainmech wrote:
    >      But for GR it is ok, if this is required for the child item level , while doing the confirmation when the issue is happening in bith cases 1. BAckflush 2. Manual issue
    >
    > Here in both the case it should pick the batch automatically.
    According to which criteria do you want batches to be selected, order name? Are there batches in the system named after production order for components of the order? No matter what, selection must be based on batch characteristics.
    Regards.

  • Read Master Data for Process order status change (REL to CRTD)

    I am unable to read master data and thus change the status of process order from REL to CRTD. (COR2)
    The reason it says, error in BOM reading, Transport Requirement (TR) already generated.
    Even after deleting the TR (LB02), the issue still exists.
    Is there another way of changing the status or some more steps are needed for the TR deletion?
    Thnx!
    Abhi.

    Order header Status-
    REL  Released
    MSPT Material shortage
    PRT  Printed
    PRC  Pre-costed
    BASC Batch assignment complete
    BCRQ Order to be handled in batches
    SETC Settlement rule create.
    In the error log it gives-
    Diagnosis
    Transfer requirements have already been generated, so therefore the bill of material cannot be read.
    System Response
    The system does not execute the action.
    Then I deleted the TR (LB02), but still I cannot reread the master data.
    The MSPT was for only 2 materials out of 6 and there is no GMPS status.
    There is prod supply area and control cycle used.
    and the TR generated at order release.

  • Strategy Types in Batch Search Strategy (Process Order)

    Hi Expert,
    What are the difference between the strategy types - Order type/Plant/Mat, Order type/Plant, Prod Material?
    For Order type/Plant combination- If my criteria is to do automatic batch determination at process order release against the sort rule characteristics (LOBM_LWERT) GR received date. I maintained LOBM_LWERT in all material classes, now in selection criteria which class I will choose as different materials contain different class in the class type 023.
    I am confused.
    In case of Order type/Plant/mat- number of master data is huge.
    Pls suggest
    Krish

    Got answer.closed

  • 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.

  • Problem in batch determination with Transfer Order

    Hello,
    I want to use SLED batch determination to supply my shop floor from my central warehouse.
    I activate the SLED batch determination procedure for WM and I create the search strategy for movement code 319.
    When I convert my transfer requirement in transfer order the batch proposed is the first batch number while it's not the first expired. 
    In my TO if I choose to display the Batch determination, the list is well sort by expired date, and so the first batch of the list is the first expired. So why it is not this batch that is proposed in the batch field of my order ?
    Thanks for your help.
    Laurent.

    Hello,
    thanks for your answers.
    I confirm that the removal strategy is H for the storage type 200 (the warehouse where the component come from).
    The search strategy seems to be well maintened because when I display the Batch determination in my TO (Environement/Display Batch det.) , I obtained the list of batch sort by expired date. But in the field batch it still the first batch number that is proposed.
    What do you mean by "(i.e. storage type, section are choosen according to Whse & Material master indicator and bins do exist)" ?
    Laurent.

Maybe you are looking for