Netprice in inforecord

Hello all!
In the Inforecord there is the possibilty to enter different conditions. We have Z000 for gross price and ZR00 for discount.
The problem here is, that just the info out of Z000 will be taken to calculate the netprice of the inforecord in field EINE-NETPR.
If I enter the discount also in the screen of the grossprice it will be included in the netprice.
On the purchase order on the other hand, both versions are considered.
What can I do, that also the additonal condition ZR00 is considered in the NETPR?
Thankful for all help,
Barbara

Hello Jürgen,
thanks for your answer, but this doesn't help me. I tried this report several times,
but even if I change just the conditions and the report can be run, it just changes
back to the gross price.
The other conditions (like discount) are not considered. Could it be a mistake in the customizing?
How do you work with the different conditions. Do you change them within one condition
or do you change every condition for every single entry?
After some tests I think that the reason might be, that SAP just calculates the netprice,
if the to conditions are created within one conditionset. Then one condition is the main
condition and the other condition is the additional condition.
In order to be able to work with mass changes it would be a lot easier for me to allow
two different condtionsets - two main conditions, where one refers to the other.
Do you have some experience on that?
Kind regards,
Barbara
Edited by: Barbara Wimmer on Sep 1, 2009 10:55 AM
Any idea on that?
Barbara

Similar Messages

  • BAPI/FM to change the PO inforecord condition type netprice

    Hi Frnds,
    Is there any BAPI which changes the PO inforecord net prices based on the condition type values(KSCHL). If anybody has come across such developments, please do reply...
    Regards,
    Karthick C

    Hi,
    You can use the BAPI -
    'BAPI_PRICES_CONDITIONS'. Inside this BAPI, if you go to the tables BAPICONDCT, there is a parameter called as OPERATION. You need to mention this field before using the BAPI.
    003 - Delete: Message contains objects to be deleted
    004 - Change: Message contains changes
    005 - Replace: This message replaces previous messages
    009 - Original: First message for process
    023 - Wait/Adjust: Data should not be imported
    018 - Resend
    You should mention any of the above one parameter for your BAPI calling.
    Regards,
    JLN

  • Purchase order netprice without condition record

    Hi All,
    We are trying to create a PO and there is no condition record exists for the material,but the system still pulls the price.
    Could any body tell me where this netprice is coming from?
    There is an inforecord exists for this material and vendor but no condition records are being maintained.
    Thanks in advance.
    Regards,
    Venkat

    Hi Venkat,
    The price will be picked from info record or last po(with that material and vendor combination) or contract or condition records.
    This is the priority level.
    Regards,
    Prasath

  • Suppress NetPrice field for POS created with info records

    Hi ,
    What is the BADI used for Suppressing NetPrice Field for POS created with Inforecords(ME21n and ME22N).
    I dont find any user exit for this, so please can anyone say me what is the Badi used to meet the requirement.
    Thanks in advance,
    Donlad

    Hi sanjay,
    Suppressing in the sense, no changes should be made to net price field.
    The netprice should be suppressed only when po is a Production Po(Identified by account assignemnet Cateogery 'P') and material  has an inforecord.
    for other orders(overhead/nonbillable) using a material has an existing inforecord , the netprice field should not be suppressed.
    Waiting for your respopnse.
    THanks,
    Donald

  • VA03 netprice in ALV report

    Hi Experts,
    I am creating a ALV report for sales.
    My doubt is in va03 the net price(vbap-netpr) is have the data type is CURR and its field length is 11 and 2 decimal place. But in  va 01 its accepting more that  3 decimal places for USD and EUR . 
    I need help on how to get the same decimal price to display in the ALV report.
    Please explain with sample.
    Thanks in advance.

    Boopathy S,
    In your final internal table which has to displayed define one field for Netprice type P decimal 3. You cant just refer VBAP-NETPR, if that field has 788.456 like value.
    Regards,
    Venkat.O

  • Fetch the netprice from the validity period which always matches with the

    Let me describe the same.
    Suppose the PO creation date is 04.07.2007
    The conditions for an item in a contract for the PO are as follows;
    1. Validity from 04.07.2007 validity to 04.07.2007 Netprice = 100.00
    2. Validity from 05.07.2007 validity to 31.12.9999 Netprice = 200.00
    We need to always fetch the netprice from the validity period which always matches with the PO creation date. here the value 100.00 should be the correct netpr as the PO creation date matches with the first validity period.
    But the program is fetching the netprice 200.000 which belongs to the second validity period. That is beacuse the select statement which fetches the data for contracts collects on the basis of EKKO-kdate and ekko-kdtab.the fields kdate and kdtab retrieves the validity period of the contract which is from 04.07.2007 to 31.072007. This data is then used to retrieve the netpr data from EKPO and it fetched 200.00 as it retrives the netprice of current data in contract validity and h not with respect to PO creation date.
    This data is then used to fetch the get the netpr data from EKPO.
    what we need is the netprice for that validity period of item(Conditions) that matches with the PO creation date..
    Below is the code where I'm selecting the data from ekko and ekpo for the contracts data..Can you please add the code snippet to the below attachesd subroutine to get the required data from KONV and KONP so that we can retrieve the correct Netprice.
    FORM select_contracts USING p_s_cebeln LIKE s_cebeln[]
    p_c_k_bstyp TYPE ebstyp
    p_p_bukrs TYPE bukrs
    p_p_ekorg TYPE ekorg
    p_p_ekgrp TYPE bkgrp
    *Begin of Mod-004
    fp_p_cernam type ty_r_ernam
    p_p_cernam TYPE ernam
    *End of Mod-004
    p_s_werks LIKE s_werks[]
    p_s_matnr LIKE s_matnr[]
    p_s_lifnr LIKE s_lifnr[]
    p_s_val_dt LIKE s_val_dt[].
    *mod-002
    data : l_amount type BAPICURR_D, " Net price
    l_waers TYPE waers, " Currency Key
    l_eff_amount type BAPICURR_D. " Effective value
    data: l_v_netpr type bprei.
    *mod-002
    SELECT ebeln
    bukrs
    bstyp
    aedat
    ernam
    lifnr
    zterm
    ekorg
    ekgrp
    waers
    wkurs
    kdatb
    kdate
    inco1
    INTO TABLE i_ekko
    FROM ekko
    WHERE ebeln IN p_s_cebeln
    AND bstyp EQ p_c_k_bstyp
    AND bukrs EQ p_p_bukrs
    AND ekorg EQ p_p_ekorg
    AND ekgrp EQ p_p_ekgrp
    *Begin of Mod-004
    AND ernam EQ p_p_cernam
    AND ernam IN fp_p_cernam
    *End of Mod-004
    AND lifnr IN p_s_lifnr
    AND ( kdatb IN p_s_val_dt OR kdate IN p_s_val_dt ).
    IF sy-subrc EQ 0.
    Populates internal table i_ekpo using EKPO table.
    SELECT ebeln
    ebelp
    loekz
    txz01
    matnr
    werks
    ktmng
    menge
    meins
    bprme
    netpr
    peinh
    webaz
    mwskz
    uebto
    untto
    erekz
    pstyp
    knttp
    repos
    webre
    konnr
    ktpnr
    ean11
    effwr
    xersy
    aedat
    prdat
    INTO TABLE i_ekpo
    FROM ekpo
    FOR ALL ENTRIES IN i_ekko
    WHERE ebeln = i_ekko-ebeln
    and aedat = i_ekko-aedat
    AND werks IN p_s_werks
    AND matnr IN p_s_matnr.
    LOOP AT i_ekpo INTO rec_ekpo.
    MOVE rec_ekpo-ebeln TO rec_contr-ebeln.
    MOVE rec_ekpo-ebelp TO rec_contr-ebelp.
    MOVE rec_ekpo-loekz TO rec_contr-loekz.
    MOVE rec_ekpo-txz01 TO rec_contr-txz01.
    MOVE rec_ekpo-matnr TO rec_contr-matnr.
    MOVE rec_ekpo-werks TO rec_contr-werks.
    MOVE rec_ekpo-ktmng TO rec_contr-ktmng.
    MOVE rec_ekpo-menge TO rec_contr-menge.
    MOVE rec_ekpo-meins TO rec_contr-meins.
    MOVE rec_ekpo-bprme TO rec_contr-bprme.
    MOVE rec_ekpo-netpr TO rec_contr-netpr.
    move l_v_netpr TO rec_contr-netpr.
    mod-002
    read table i_ekko into rec_ekko with key
    ebeln = rec_ekpo-ebeln.
    l_waers = rec_ekko-waers.
    CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
    EXPORTING
    currency = l_waers
    amount_internal = rec_contr-netpr
    IMPORTING
    AMOUNT_EXTERNAL = l_amount.
    rec_contr-netpr = l_amount.
    mod-002
    MOVE rec_ekpo-peinh TO rec_contr-peinh.
    MOVE rec_ekpo-webaz TO rec_contr-webaz.
    MOVE rec_ekpo-mwskz TO rec_contr-mwskz.
    MOVE rec_ekpo-uebto TO rec_contr-uebto.
    MOVE rec_ekpo-untto TO rec_contr-untto.
    MOVE rec_ekpo-erekz TO rec_contr-erekz.
    MOVE rec_ekpo-pstyp TO rec_contr-pstyp.
    MOVE rec_ekpo-knttp TO rec_contr-knttp.
    MOVE rec_ekpo-repos TO rec_contr-repos.
    MOVE rec_ekpo-webre TO rec_contr-webre.
    MOVE rec_ekpo-konnr TO rec_contr-konnr.
    MOVE rec_ekpo-ktpnr TO rec_contr-ktpnr.
    MOVE rec_ekpo-ean11 TO rec_contr-ean11.
    MOVE rec_ekpo-effwr TO rec_contr-effwr.
    mod-002
    CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
    EXPORTING
    currency = l_waers
    amount_internal = rec_contr-effwr
    IMPORTING
    AMOUNT_EXTERNAL = l_eff_amount.
    rec_contr-effwr = l_eff_amount.
    *mod-002
    MOVE rec_ekpo-xersy TO rec_contr-xersy.
    APPEND rec_contr TO i_contr.
    CLEAR: rec_ekpo,rec_contr.
    mod-002
    CLEAR : rec_ekko,l_amount, l_eff_amount,l_waers.
    mod-002
    ENDLOOP.
    Modifying i_contr using i_ekko.
    SORT i_ekko BY ebeln.
    LOOP AT i_contr INTO rec_contr.
    READ TABLE i_ekko INTO rec_ekko WITH KEY
    ebeln = rec_contr-ebeln
    BINARY SEARCH.
    MOVE rec_ekko-bukrs TO rec_contr-bukrs.
    MOVE rec_ekko-bstyp TO rec_contr-bstyp.
    MOVE rec_ekko-aedat TO rec_contr-aedat.
    MOVE rec_ekko-ernam TO rec_contr-ernam.
    MOVE rec_ekko-lifnr TO rec_contr-lifnr.
    MOVE rec_ekko-zterm TO rec_contr-zterm.
    MOVE rec_ekko-ekorg TO rec_contr-ekorg.
    MOVE rec_ekko-ekgrp TO rec_contr-ekgrp.
    MOVE rec_ekko-waers TO rec_contr-waers.
    MOVE rec_ekko-wkurs TO rec_contr-wkurs.
    MOVE rec_ekko-kdatb TO rec_contr-kdatb.
    MOVE rec_ekko-kdate TO rec_contr-kdate.
    MOVE rec_ekko-inco1 TO rec_contr-inco1.
    MODIFY i_contr FROM rec_contr.
    ENDLOOP.
    ENDIF.
    REFRESH: i_ekko,
    i_ekpo.
    CLEAR : rec_ekko,
    rec_ekpo,
    rec_contr.
    ENDFORM. "select_contracts
    Thanks.

    Hi,
    Please get the valid condition ( based on date ) from A016 (MK & LPA). With the appropriate KNUMH read the Condition header. You can access the different condition items viz., PB00, RA00 etc., for the values from table KONP. Further if you have Value scales / Quantity scales, you can read the data from KONM, KONW.
    An additional tips: in KONP, if you have a condition like RA00 - Rebate, the value will be multiplied by 10 and saven in database to accomodate the discount to the third decimal.
    I could not completely understand your requirements like nature of development ( Is it a Report / SAP Script ??) you are working etc., so that I could help you precisely.
    Hope this helps,
    Best Regards, Murugesh AS
    Message was edited by:
            Murugesh Arcot

  • BADI for Disabling NetPrice field in ME21N & ME22N based of Material Type.

    Hi.
    I had a requirement to disable "net price" field while creating or changing a PO (ME21N & ME22N) based on the type of material entered.
    Please asssit me in finding the BADI or exit name which can meet my requirement. Thanks.

    Hi Ranga nadh,
       The BAdi what you have mentioned is correct.
    ME_PROCESS_PO_CUST - In this BAdi, we are having a method PROCESS_ITEM. These method is used to process all the Item data. As the field Netprice is at the level. You can use this method.
    Here inside this method we are having a parameter IM_ITEM
    So, You create a implementation and inside this method you can code here to appear the field in disable mode.
    Cheers,
    Swamy Kunche

  • Changes in Netprice(KOMP-NETWR) While Creation Sales Order(VA01)

    Hi expert ,
    My issues while creating sales order(Va01) is :
    i have added two conditions types namely YVAT and YNBT in Condition , while calculating netprice (NETWR) its picking both values for YVAT and YNBT , i want only netprice excluding YVAT and YNBT , for example
    NETPRICE is  3000.00
    YVAT      is      50.00
    YNBT      is       30.00
    NET         is       3080.00
    but i want to display only 3000.00 in NET(KOMP-NETWR)
    please suggest  is there any user exit to do this calculations.

    Hi,
    I'm not sure if you need to update ADRC table - the address number is usually the the customer's address and is picked automatically.
    Also the transport zone is picked automatically based on the customers address or on the shipping conditions in the Sales Order.
    Transportation Zone (LZONE) also exists in the partner function (VBPA) and the shipping partner (VTPA) - in case you need to suggest a different route for shipping other than the one determined automatically.
    To change this - change both the internal tables table xvbpa and xvtpa (after reading with sales order and item from structures vbak and xvbap) in USER_SAVE_DOCUMENT_PREPARE in the include MV45AFZZ.
    But, I'm not sure if the Address Number (determining the shipping point) would be independent of the Transp Zone, though it's changed in the exit.
    Regards,
    Anil.

  • Overruling of planned delivery time in inforecord

    Dear Experts,
    for certain materials we have defined planned delivery Times within the respective material info records.
    This is working as expected.
    However, in certain cases the real delivery time for a material could differ from the one stored in the inforecord (be shorter).
    Is it possible, that the end-user can overrule this planned delivery time during the PO creation, or do we have
    to maintain the info-record for this (keeping in mind, that only as an exception the delivery time should be overruled).
    Thanks for your Support on this and best regards.
    Jan

    Of-course they can change the planned delivery time at the time of PO creation.
    System will fetch the default planned delivery time and delivery date as per defined material master.
    But when you change the planned delivery time (in delivery tab), then system will calculate the delivery date automatically.
    If this will happen very exceptional, then no need to maintain in info record or material master. Just change the planned delivery time at the time PO creation, system will change the delivery date accordingly automatically.

  • Creation of inforecord

    hello all,
    i have created a program to create inforecord using BDC.
    I do not pass the plant as I do not want it.
    but finally when the inforecord is created, it is created with plant. table EINE has plant also.
    do you have any guess as to how this is happening ?
    useful answers will be rewarded.

    HI....
       why dont you execute your bdc in 'A' mode and just check at what stage th plant is getting inserted.
        aand how is it getting iserted in the screen.You will e able to find out why this is happening...
    Edited by: shlesha K on Jul 7, 2008 7:56 AM

  • Country of origin from Inforecord to batch record at GR time

    Hi Folks,
    We have a material which is purchased from 2 different vendors in different countries. The material is batch managed and a specific batch will only ever be purchased from 1 country. Some customers will only accept the material if sourced from 1 of the 2 countries. I have maintained the country of origin in the inforecord for each vendor. What I need to happen is that at the time of goods receipt of a new batch, the country of origin is passed to the batch record but this is not happening. The vendor is being pulled in, but not the CoO. The receipt is processed by an interface and not manually so it cannot be added manually at GR time.
    Do I need to use a user exit in the batch creation process to populate this field in the batch record (if so, any idea which one would be suitable), or is there another way of configuring it to populate automatically from the inforecord?
    Cheers
    Keith

    Hi,
    To fulfill your requirement please use the user exit. Possible two user exits are EXIT_SAPLV01Z_013 (enhancement SAPLV1ZN in trs SMOD) and EXIT_SAPMM07M_003 (enhancement MBCFC003). The user exit EXIT_SAPLV01Z_013 is best option. Thanking you.

  • Freight charges getting added to Netprice in PO item overview

    Hi,
    In PO,freight charge is getting added to net price of the line item.
    From that 12.5 CST is getting calculated.
    For example Rs 1lakh is my netprice.
    Rs 10000 is my freight charge.
    But 12.5% CST to be calculated on 1lakh only,but it's getting calculated on Rs110000.
    How to get rid of this?
    Regards

    Hi,
    1.  Please check the freight condition type using M/06. Tick the checkbox for Accruals in the control data of the condition type.
    2. In the pricing procedure, against that freight codition type, ensure that the statistical checkbox is ticked and the Accrual key and account key assigned.
    Thanks & Regards,
    Amjad

  • Po prices is not updateing from inforecord

    Guru
    In Po when enter the Material & QTy & Price for that material is appering from info earlear now  the problem is that Price is not picking from the last Po or Inforecord what must be problem. can u help me
    Thanks
    Sudhir

    Hi
    Price from inforecord has following steps
    1) System will search for inforecord with valid price if it finds then the price will be pulled to PO
    2) If there is  inforecord and no valid price then system will look for last PO to pull the price.
    3) If there is no info record then we have to enter the price manually.
    In your case check the above prerequisites additon to that
    1) If it is refering the last PO no then check whether the item is deleted or not.
    2) If it is refereing the valid price in info record then check the validity period of the PIR.
    Hope it helps.
    Thanks/Karthik

  • PO price is not picking from Inforecord

    Hello All,
    When PO is created by one particular user the price is not picked from inforecord. Inforecord validity periods are active and this price is not of previous purchase order. The problem is only for this user. Can you please advice what needs to be done here.
    Thanks a lot in advance.
    Best regards,
    Raji

    Hi,
    1. Check out user profile whether EVO parameter is maintained properly for all the users.
    2. Check in EVO parameter key you set radio button on Always copy.
    EVO is parameter ID for Defining Defualt values for buyer. Relevent customization carried out in SPRO --> Mat mangt --> Pur --> Env data --> define default value for buyer.
    Rewards, if helpful to you.
    rgds,
    rajesh

  • Purchase Order - Pricing - Quantity scale from inforecord...

    Gurus
    Today we are running purchase order item pricing - where we have prices in inforecord - quantity scale prices...
    We have only one plant - and inforrecords are created for plant AAA.
    Quantity scale prices for plant AAA => material 801020
    Qty 2 => price 100
    Qty 5 => price 90
    Qty 9 => price 80
    So far - so good...
    But then "someone" decided to create two new plants...
    So now we can en up with:
    item 10     Material 801020      Qty = 2     Plant = AAA
    item 20     Material 801020      Qty = 3     Plant = BBB
    item 30     Material 801020      Qty = 4     Plant = CCC
    And - of course - we want to continue to use the quantity scale prices...
    Summarize the qty per material.
    Qty = 9
    But how can we solve this "scale-problem"...???

    I think the word "Group Condition" is the functionality I've been looking for.
    In our PB00 we have the flag set for group cond - and we have no group condition routine specified....but I have not succeeded to group the item qty based on material numbers....
    I created my own VOFM formulas...
    form frm_gruppenkey_095.
       xvakey          = '095'.
       xvakey+3(18) = komp-matnr.
    endform.
    ...and now it works...... !!!!!

Maybe you are looking for

  • How to display a photoGallery ?

    Hi Friends, i am creating a view-based application in that i am parsing XML file to collect the images in it. I am storing those images into an array. Now i need to display these images like a photo gallery. Can i use UITableView display the images o

  • I am trying to reinstall CS5 Production Pro-serial number is invalid

    I am trying to reinstall CS5 Production Pro on a new computer. The computers that I had this program on have died. I am trying to reinstall on a new computer. I have been on hold for almost an hour and the customer care chat I've been on hold for tha

  • Update/change packing info VL02

    We are running on a 4.0B system. We want to use the packing functinality to pack materials onto pallet and pack the pallets onto trailers. I have found IDoc DELVRY01 and function module WS_DELIVERY_UPDATE. The problem is that they can only be use to

  • Is there a download available for Adobe InDesign CS6?

    I have my serial number but can't find the CD..  is there a link I can go to get this program?  My pc was wiped out by a virus and I need to reinstall it.. Thank you in advance.. Eric

  • When rendering a picture my photoshop cc crashes down.

    i want to render a picture but my photoshop cc crashes down.it says photoshop isnt working anymore .why is that happening anybody got an clue?