How to check valuation type and batch during creating PO

Hi All,
can every body help me please,
I have a material which manage by batch and valuation type.
When user create purchase order using that kind of material I want the system checking field batch and valuation type. If they not match then system will give an error message.
What should I do to make the system checking that fields?
Thxs
- ely -

Hi Ely
Fortunately, you do not need to do any coding or need to use exits.
You can configure the screen layout settings as follows:
1) SPRO->MM->Purchasing->Purchase Order-> Define screen layout at doc level
2) Double click on the key-NBF (most probably you are using this for your PO document type. If you are using any other field layout key..make changes there)
3) Double click on GR/IR control .
4) Make Valuation Type & Batch fields 'Required'.
System works intelligently here. If the material is batch managed, system expects you to enter a batch in PO. If the material has split valuation, then system also expects you to enter valuation type. FOr other materials, system does not expect you to enter batch or valuation type.
Best regards
Ramki

Similar Messages

  • ATP check by valuation type and batches???

    Dear experts,
    I create a seles order, input one material and valuation type,  I can't fix the batche in sales order,the system give a message as following, so the ATP check is wrong.is there any solution to deal this issue?
    "Availability check for material 21-01 only occurs at plant level
    Message no. V1562
    Diagnosis
    You entered valuation type 9999999999999 for material 21-01 which is to be handled in batches without specifying a batch. Therefore, an availability check can only occur at plant level since it is not possible to determine all batches belonging to the valuation type. Usually, the plant stock level is higher than the stock level within a valuation type. Too much may be confirmed as a result.
    Procedure
    When you enter a batch number, the availability check occurs at batch level."
    Best regards
    Lance

    by myself

  • Valuation type as batch

    Hi,
    I have activated split valuation as auto (val. category as X) and when i doing migo, i have assinged my own valuation type and batch , both as  111 and again i did one more gr with 222 (val type and batch)...
    Issue is when i create 3rd gr, the batch column came as non-editable  mode and sytem selected as 111..
    I'm not able to create another val type and batch (i need to create another batch and val type as 333) , pls suggest to how to get it???

    HI,
    you may search first, or check below link :
    Split Valuation
    Split Valuation
    http://www.sap-img.com/mm025.htm
    Batch vs Valuation Type

  • Auto creation of Stor Location and Batch during stock upload via MI09

    Hi Experts!
    Please guide me to configure automatic creation of storage location and batch during stock count through mi09.  Eg : I got material A in storage location 1000 and got batch 123 for this material. Then when i want to do the stock count, if i enter the storage location 2000 and batch 122 for this material, then system will auto create this storage location and batch in the master data.
    I tried to configure it in OMJJ for storage location but it is not working. Please anyone guide me step by step how to configure it. Storage location and Batch.
    Thanks.
    Crystal.

    hi
    check this
    Create Storage Location Automatically
    In this step, you specify whether the automatic creation of storage location data is allowed for goods issues and transfer postings.
    This is advisable if you work with negative stocks and a material's first movement may be an outward movement.
    Note that the reversal movement for a goods issue, for example, movement type 202 or 262, is not considered as an issue but as a receipt. If you only use the automatic creation of storage location data for reversals of goods issues, you do not have to allow negative stocks.
    You have to allow automatic creation per plant first of all. You then have to explicitly allow the creation of storage location data for each movement type.
    The storage location data is only created if the quantity is posted to 'standard' storage location stock. It is not created for receipts into a special stock (for example, into sales order stock).
    Default settings
    The standard system is set in such a way that the storage location data is created automatically for all types of receipts (goods receipt with/ without reference, stock transfers, intial entry of stock balances, reversal of goods issues, etc.).
    Activities
    1. Enter for each plant whether the automatic creation of storage location data is generally allowed.
    2. Specify the movement types for which storage location data is created automatically.

  • How to make valuation type field not changeable  in delivery tab of PO

    Hai friends,
                    I am new to badis..please guide me to solve the issue...
    how to make valuation type field not changeable  in delivery tab of PO...
    The field shd be in display mode only ...actually...there  a badi has been used before
    to get valuation type from a ztable depending on material and plant...
    Now ..my requirement is that the user shd not change the default value brought from the ztable...

    Hi SRINIVAS,
    You can achieve this from BADI only if BADI is allows you to do this. You cannot achieve everything from a BADI. Check if there is any expoting field in the methods that can be ticked for making the field in display mode. If not then you cannot achieve this from BADI.
    The field you want to default to display is a standard or zfield. If z, then you can changethe attribute of the screen field to Output only.
    Regards,
    Manish

  • Valuation Type: Auto Batch

    Dear Guru,
    Please kinldy guide me about how to set valuation type for automatic by batch.
    I've set valuation category: X Automat.(batch)
    when I good receipt and input QTY, Amount, Batch number, the system keep price as standard price 0.0 EUR
    I would like to keep price as moving or standard price as amount that I've input when good receipt.
    Please kinldy guide me
    Thank you
    Saiyaman

    Hi ,
    The header material which has valuation category -X  must have price control - V .
    All other valuation type can have V or S . Since the valuation type is a batch ,system will use the price control from material type .
    1. maintain the price control in the materil type in OMS2
    2. In the header material along with moving average price maintain standard price also .because if the material type has -V ,it will pick PO price while creating batch/valution type on GR.
    if the mateil type has - S ,then it will take the standard price from the materila .So you have to maintain std price in the header material eventhough the material is having price control - V
    hope it helps

  • How can we change the valuation type for a material created.

    How can we change the valuation type for a material created.
    Note : All open orders are closed for this material.3
    Please guide

    Hi,
    You can change valuation class, or you can set valuation category for your material master. If valuation category is set you can extend your material master and in this way creating records for different valuation types.
    Please try to set the desired changes in your mmr (MM02) > save > SAP will give you error message > push 'Display error' button and you will see what conditions must be eliminated to carry out the change.
    - you are not allowed to have open transactional data
    - no stock in the current and previous period (using proper posting date in MB1A + 201 you can reduce your stock level to 0, and after that you can set it back by MB1A + 202)
    - in case of valuation category setting batch archiving may be necessary
    BR
    Csaba

  • How to check data type of the field symbol at run time

    Hi,
    My code is as following:
          LOOP AT <fs> ASSIGNING <wa_covp_ext>.
            ASSIGN COMPONENT 86 OF STRUCTURE <wa_covp_ext> TO <f_zzname>.
            IF sy-subrc = 0.
              ASSIGN COMPONENT 158 OF STRUCTURE <wa_covp_ext> TO <f_pernr>.
              IF sy-subrc = 0.
                  SELECT SINGLE sname INTO <f_zzname> FROM pa0001
                                WHERE pernr = <f_pernr>
                                AND endda GE sy-datum
                                AND begda LE sy-datum.
             ENDIF.
          ENDIF.
        ENDLOOP.
    This query is giving dump when <f_zzname> is type P length 8 and decimals 2, because it tries to put PA0001-sname into it which is type C length 30. So I want to check the type of <f_zzname> before the select statement. If it is character 30, then I will write the select statement else not.
    How to check data type of the field symbol at run time? If it's not possible, then can somebody suggest a workaround? Thanks.

    check this ...
    write describe statement  ...
    field-symbols : <f_zzname> .
    data : sname like pa0001-sname,
           typ(10).
    assign sname to  <f_zzname>.
    describe  field <f_zzname> type typ.
    write : typ. <-- typ contains character type in this case ..
    U can check if typ is of character(C) if so .. write the select statement ...

  • How many new tax type and tax code  are created for change in TDS

    Hello Gurus.
    we are using SAP since more than  one year.
    now tDS rate is change , so i would like to know How many new tax type  and Tax Code is created in our system
    and also like to know At what percentage  i will crete that  new tax code.
    we have pair of tax type and tax code as shown in Example( for Interest) below
    Tax type        Tax code           Name
    I1      IC      Sec 194A - Interest on deposits
    I1      IO      Sec 194A - Interest on deposits OT
    I2      IC      Sec 194A - Interest on deposits Surcharg
    I3      IC      Sec 194A - Interest on deposits EC& SHEe
    I3      IO      Sec 194A - Interest on deps EC& SHEe OT
    I4      IC      Sec 194A - Interest on deposits Pymt
    I4      IO      Sec 194A - Interest on deposits Pymt OT
    I5      IC      Sec 194A - Interest on dep Pymt Surcharg
    I6      IC      Sec 194A - Interest on dep Pymt EC& SHEe
    so  how namy  additional  reuire to create new tax type and code more.
    i am waiting your reply.
    Regard,
    Riten patel
    Edited by: riten patel on Oct 29, 2009 10:23 AM
    Edited by: riten patel on Oct 29, 2009 10:23 AM
    Edited by: riten patel on Oct 29, 2009 10:33 AM

    Hello Hansachechani
    we have  followinng   tax key
    115O     Dividend 115O(1)
    192B     Salary
    194A     Interest income other than securities
    194C     Payment to contractors
    194H     Commission
    194I     Rent
    194J     Prof/Technical services
    195     Payment to foreign nationals
    206C     Tax Collected at Sources (Scrap)
    ST     Service Tax
    and we have followig tax type
    C4     Sec 194H Commission Payment
    C5     Sec 194H Commission Pymt Surcharge
    C6     Sec 194H Commission Pymt EC & SHE Cess
    D4     Sec 115O(1) Dividend Payment
    D5     Sec 115O(1) Dividend Pymt Surcharge
    D6     Sec 115O(1) Dividend Pymt EC & SHE Cess
    F4     Sec 195 Foreign Prof fees Payment
    F5     Sec 195 Foreign Prof fees Pymt Surcharge
    F6     Sec 195 Foreign Prof Fees Pymt E&HS Cess
    G1     Service Tax on GTA
    G2     Service Tax on GTA E Cess
    G3     Service Tax on GTA S&HE Cess
    I4     Sec 194A Int on Deposit Payment
    I5     Sec 194A Int on Deposit Pymt Surcharge
    I6     Sec 194A Int on Deposit Pymt EC & SHE Ce
    L4     Sec 194C Contractors Payment
    L5     Sec 194C Contractors Payment Surcharge
    L6     Sec 194C Contractors Payment EC&S HE Ces
    P4     Sec 194J Professional Payment
    P5     Sec 194J Professional Pymt Surcharge
    P6     Sec 194J Professional Pymt EC & SH E Ces
    R4     Sec 194I Rent Payment
    R5     Sec 194I Rent Payment Surcharge
    R6     Sec 194I Rent Payment E Cess & SH E Cess
    So Is it necessary to create new tax key and tax type?
    wheather i create new tax code only?
    I ma waiting your reply.
    Regard,
    Riten patel

  • How to check the BW and BIA systems are up and working fine.

    Hi friends,
    how to check the BW and BIA systems are up and working fine. And also what is ICM, how to check whether it is working properly or not.
    ANd what is name resolution and IP , how to check whether this is running fine.
    regards, balu.

    Hi,
    you can use process monitoring or the alert function in the standalone TREXAdmin tool.
    ICM:
    http://help.sap.com/saphelp_nw04/helpdata/EN/0a/a7903febb15a7be10000000a11405a/content.htm
    name resolution
    http://en.wikipedia.org/wiki/Domain_Name_System
    IP:
    http://en.wikipedia.org/wiki/IP
    Please also have a look at the transactions TREXADMIN and RSDDBIAMON2.
    I think it´s better if you use the forum search and google/wikipedia before you ask such questions.
    Best Regards,
    Jens

  • Operation for checking action type and then reason

    Dear All
    I am trying to write a PCR in which first i need to check the action and then if it is a involuntry termination then i need to check the reason and say if it is dismmisal then i need to process certain logic.
    Is there any operation by which i cna check action type and reason
    Thanks for your supporta nd cooperation
    Best Regards

    Hi,
    Please check MAS1N, MAS1G for OUTWP in Payroll.
    Also there are some country specific operations like that, e.g. HKMAS.
    You can use it as a reference for your custom operation, if standard doesn't fit your requirements.
    Cheers

  • How to check the memory and CPU usage on NPU

    Hi expert ,
    Could you tell me how to check the memory and cpu usage on NPU?
    I think ASR1000 has this command (show platform hardware qfp active...) , but I coudn't find the same command on ASR9001.
    I checked " show controllers np counters all"  command, but I did not find it.
    Platform: ASR9001
    version: 4.3.2
    NP: Tyhoon
    Thanks,

    Hi Kanako,
    understand your question, but something like that doesnt exist for the trident/typhoon NPU's for the asr9k.
    in fact cpu usage is not really applicable for parallel/serialized hardware forwarders, but mainly the KPI is here
    the PPS it handles.
    The max pps it can handle is dependent on feature set.
    What you could do is measure the rates on the PARSE_FABRIC_RECEIVE count (packets received from fabric, so egress direction), PARSE_ENET_RECEIVE count (packets received from the interface to the fabric, so ingress) and the LOOPBACK count, that is packets that are recirculated for extra processing. The sum of these 3 gives an idea of the PPS rate the NPU is working on.
    Memory consumption is something tricky also, there are many memories attached to the NPU, notably:
    TCAM used for vlan matching, ACL and QOS matching
    Search memory for L2 and L3 (shared on Trident, separated on Typhoon)
    Frame memory for packet bufferin in QOS
    Stats memory, for all kinds of counters of QOS maps, interface stats etc
    their usage is rather dynamic also.
    The few things you want to verify on these are:
    - ACL usage (in terms of Tcam entries)
    - MAC table size (2M max on typhoon)
    - FIB size (4M max on typhoon)
    frame memory is dependent on the buffering, which is a sum of all the packets instant queue length and size of all pmaps attached to interfaces served by the same NPU. there is no good overview as to how much you have available of that, but it has a rather significant size 1G or 2G depending on the TR or SE cards (typhoon specific).
    regards
    xander
    Xander Thuijs CCIE #6775
    Principal Engineer 
    ASR9000, CRS, NCS6000 & IOS-XR

  • How to check whether follow on document is created for sc or po,is there any table or fm available?

    How to check whether follow on document is created for sc or po,is there any table or fm available?

    Hello Venu
    Check FM: BBP_PD_SC_GETDETAIL and BBP_PD_PO_GETDETAIL table E_HEADER_REL
    Check this: SRM Shopping cart and PO tables link
    Regards

  • How to view the input and output layouts created in the planning folder?

    Hi all,
    How to view the input and output layouts created in the planning folder in the bw 3.5?
    Thanks
    Pooja

    Hi,
    You can refer to this link. How to create planning folder and executing the planning folder.
    http://help.sap.com/saphelp_nw04/Helpdata/EN/5d/7c4b52691011d4b2f00050dadfb23f/frameset.htm
    Hope this helps

  • Valuation type with batch management.

    Dear all:
    We have created our self valuation category D, without automatic valuation type.
    From what we have checked, it is mandatory to enter a valuation type during batch creation with MSC1N. This link between batch master and valuation type is impossible to change.
    Our plan was to employ 2 valuation types, independently of the batch used, so that with a STO we could be able to post and outbound movement from valuation type A and a subsequent inbound goods receipt of valuation type B.
    That's a problem for us as we use batch numbers to refer to certain material features, and those shouldn't change given the valuation type, so that it is mandatory for us to use the same batch number for both valuation types. Given that the link between batch master and valuation type is unbreakable, this looks not possible.
    We already tried to de-activate the valuation type as a required field during the batch creation, but it didn't work as the field still needed an entry during the saving. There are also several error messages that would need to be de-activated (M7043, 06649...)
    If we cannot use two valuation types with the same batch, is there any solution we can manage, besides of the duplication of batch numbers?
    Any help will be greatly appreciated.
    Thanks in advance.

    Hi, Jürgen, thanks for your comments.
    We have as well the batch management at plant level, but our idea was to use split valuation in order to avoid the use of plant as the minimum valuation level, as this would have further issues regarding the logistic side (we can use the stock determination group to solve this when using split valuation).
    So we face the problem that with a given batch number we cannot post movements with two different valuation types.
    I'll take a look at the note anyway, thanks for your help.

Maybe you are looking for