Purchase info record price simulation

Hi all,
I need to emulate the process used by transaction me1l in order to make a price simulation to obtain the net price and the effective price from the purchase info record related to a PO item.
I have to calculate them from the standard info record (info category = 0) using:
- pricing date = PO creation date
- simulation quantity = PO item quantity
- base unit of measure = PO item unit of measure
I have tried to use the function module ME_PRICING_INFORECORD but I haven't obtained the same values as using the transaction me1l. I don't know if I have used the correct input parameters but I have tried several options and I haven't obtained the correct values for any of them.
The parameters used are:
infoa = info record data obtained from table eina
infoe = info record data obtained from table eine
inpreissim -> simulation data:
      inpreissim-simng = PO item quantity
      inpreissim-simme = PO item unit of measure
      inpreissim-sidat = PO creation date
      inpreissim-pseff = 'X' for the effective price
      inpreissim-pseff = ' ' for the net price
simulation = 'X'
Does anybody know how I can emulate boton 'Price Simulation' in the transacction me1l in my code?

Hi Carmen,
i have the solution below
but for several rows i received wrong value for net_price and currency ( i suppose that the problem is with RM06I, missing CLEAR statement)
maybe the solution - CLEAR RM06I in ME_PRICING_DIALOG, because is not set up as initial, and takes values from previous row, if menge is initial
IF NOT MENGE IS INITIAL.
RM06I-SIMNG = MENGE.
RM06I-MEIN2 = MEINS.
KOMK-PRSDT = TERMIN.
ENDIF.
Do you have anybody the solution how set CLEAR RM06I ( i cannot modify SAP FM) or something else?
    CALL FUNCTION 'ME_PRICING_REFRESH'.
Provides dialog box for entry of simulation parameters
    CALL FUNCTION 'ME_PRICING_DIALOG'
         EXPORTING
              dunkel = 'X'
              infoa  = la_eina
              infoe  = la_eine
              meins  = i_meins
              menge  = i_menge
              termin = i_termin.
Price computations in Purchasing
    CALL FUNCTION 'ME_PRICING_INFORECORD'
         EXPORTING
              dialog_not_by_zero = 'X'
              infoa              = la_eina
              infoe              = la_eine
              simulation         = 'X'
         IMPORTING
              preisp             = la_komp
              preisk             = la_komk
              e_currency         = l_currency.
Thanks for advice
Martin

Similar Messages

  • Purchase Info Record - Price Determination (Pricing) Date Control

    Dear Guru,
    Can i get some advice here for the "Price Determination (Pricing) Date Control" (Pr. Date. Cat ) setting which is maintain in the Purchase Info Record --> Purchasing Organization Data 1.
    Can anyone advice me on the purpose and where is the configuration?
    Thank You very much,
    Regards,
    Chee Wee

    Hi
    If you maintain Pricing date category in info record then different pricing date can be considered for a certain material supplied by a particular vendor.
    If you maintain in the Vendor master then the same price determination date will be considered for all the vendors materials.
    For example,
    If you want to maintain two pricing for the materials with different periods then you can use the validity periods according to the requirement.
    Validity periods,
    1. 01.11.2010 to 31.12.2010
    2. 01.01.2011 to 31.01.2011
    Regards,
    BK

  • Purchase Info record price conditions

    Hello Gurus,
    My client wants to extract their Purchase Info Record in R/3 to the BW Environment. This I have already done.
    The problem now is that my client wants to see the price conditions associated to the Info Record. To see the conditions you have to select validity time period first and only after that you have the prices associated.
    Do you know if there is a way to transfer this kind of data to BW without creating a custom DataSource?
    Best regards

    hi,
    Yeah, I just checked it..
    Its not possible in Std. SAP system...
    There is no field provided for the same...
    the other way, but doesn't applies to you...as you are doing massive job...
    still if req. then check..
    The other way is:
    Maintain Quotation and ref. it in inforecord...price gets updated easily from it...
    Regards
    Priyanka.P

  • How to set price in PR refer to last po or purchase info record?

    Hi,
        We meet problem for moving average material, do you know how to set Price in purchase request refer to last po price or purchase info record price, not material master valuation price? As the material price valuation may be low than current purchase price.  When dept manager release pr strategy according to value in PR, if pr price not same with PO price, then release will be meaningless.
    Thanks,
    Li Jing

    HI Li Jing  
    you can use usre exit for the same.
    Regards,
    Yagnesh Bhatt

  • Use of Purchase info records in SRM SC in Extended Classic scenario

    Hi All,
    We have implemented SRM 7.13 with Extended classic scenario. If we have Purchase info record in SAP ECC for the material, it gets populated in SRM SC in Source of supply Tab but the price of Purchase info record does not get updated in the SC line item.
    Can anyone let me know which configurations is required to fetch the Purchase info record price or we need to have a customization to achieve this.
    Thanks,
    Ankur

    HI Ankur
    when you say the price did not get updated did you check the sequence which is used for price determination ?
    1. User entry
    2. Contracts
    3.  Info record
    If still you think it is an issue please check the report  EBP_GET_BACKEND_PRICES and let me know if your problem gets fixed?
    Regards
    Vinita

  • Expiry of Purchase info record reminder

    Hi All,
    Is anyone aware about if it is possible to set some kind of reminder with a lead time, with respect to tht expiry of Purchase info record price in Material management
    Regards
    Vivek

    hi  vivek
    info  record maintains  vendor  number  and  material  number and  purchase  org  and  plant 
    this  is  relation  of  vendor  and  pricing   condition  of  matrial  already  recieved  from  vendor  this  info  record  u  can  use   as   reference  condition  record 
    u  can not   give  lead  time    for  info  records
    ok
    regards
    kishorre   reddy

  • Report for Materials expired with price on Purchase Info Record

    Hi Experts,
    Can anyone of you advice a report in SAP that can identify the materials where the price has expired on Purchase Info Record.
    Thanks in advance.
    Regards,
    Nagarjun

    HI,
    ME1P will be used to monitor the changes in terms of pricing conditions you made to your info record via Transaction MEKP.
    In case of SA, you will have to build up your simple query by joining two tables A016 and KONP.
    Regards
    KK

  • Purchase info record BDC Condition type for gross price

    Hi,
    I have got flat file with vendor material plant porg conditon type price.
    It has to be posted to SAP purchase info record.
    The first condition type is always for gross  price.
    How can I validate whether the condition type given in the file will be for gross price and will be applicable for that vendor or material given in the file.
    Regards,
    Praveen

    Check with A017 Table
    Thanks
    Seshu

  • CK11N User exit for valuation strategy sequence Price Purchase info records

    Hi,
    When ck11n is executed for a particular material whose purchase order is created then only price from purchase info records is considered. As the sub strategy selected is purchase order price via condition table.
    Requirement: CK11N should consider purchase info record even if there is no purchase order against that material. As the check of valid  agreement is done outside SAP.
    Can anyone sugest a solution ? eg any user exit
    BR,
    Ameya

    Hi
    I lost my notes on this somewhere.... Just to refresh my memory - Can you tell me whats the difference between Net Quotation price, Gross quot Price, eff price from Quotation and Quot price via cond table
    I compiled it actually, but lost it somewhere
    br, Ajay M

  • How to correct the net price of Purchase info record

    Hi
    When I create the purchase info record, I input the wrong net price.
    And when I use ME12 to change the purchase info record, i find the net price cannot be modify.
    How to resolve it?
    Thanks a lot.

    MR21 and MR22 are used to modify the value of the stock for the material.
    I understand that you want to change the price in the info record and the field appears as non modifiable.
    In order to modify this value, you should use ME12 and press F8 or the button Conditions and input a new price. Please note that you can also fix a time fence for validity of this data.
    Hope it will help.
    Regards,
    Flaviano.

  • Minimum price for purchase info record

    Hi
    For some supplier, we need to set up a minimum price in purchase info record condition as show in example.
    Price / pce : 50.00 CHF / 100 pce
    Minimum price : 200.00 CHF
    So price for PO should be for X quantity : Min(200, X * 50 / 100)
    Is it possible to do that? Our internal competence center says us that it's not possible, but i would like your opinion.
    Thanks for your help

    Hi,
    If you want to scale up your price as per quantity in PO, it can be done. for example for 60 quantity price is $100 and for 70 quantity it is $95.
    Go to Transaction M/06 and select the base condition PB00. Make sure the 'Group Condition' indicator and 'Rounding Difference Comparison' indicator should be activated and the 'Group Condition Routine' field should be entered with '1' (Overall Document).
    2) Maintain your purchasing info record for Material A where the Condition Group should be set (ABC, for instance). Select the base condition PB00 and then set up the scaled pricing value (Y, for instance).
    3) Maintain the PO for Material A . Upon completion of maintenance, click on 'Check' icon to activate the Pricing Determination. You will see that the pricing Y is applicable to Materials A.
    Regards,
    Ahmad Farhan Khalid

  • Automatically update of the info record price conditions from last purchase

    Dear.
    I need to massive update the info record price conditions from the last purchase order price for a list of materials.
    Does exist a standard transaction where I can I do this ?
    Thanks.

    hi,
    Yeah, I just checked it..
    Its not possible in Std. SAP system...
    There is no field provided for the same...
    the other way, but doesn't applies to you...as you are doing massive job...
    still if req. then check..
    The other way is:
    Maintain Quotation and ref. it in inforecord...price gets updated easily from it...
    Regards
    Priyanka.P

  • Update price in purchase info record

    Hi ,
    We have a requirement to update Price in consignment purchase info records.  this case i tried with below function modules but not updating price at pricing condition level.
    ME_POST_INFORECORD
    ME_UPDATE_INFORECORD
    ME_UPDATE_INFORECORD_COND
    ME_PRICING_INFORECORD
    Please suggest to acheive the issue.
    Regards
    Veera

    Hi,
    Try the following function module:
    MASS_CHANGE_PURINFO_REC.
    Regards,
    Sachin Mahajan.

  • Net Price Calculation for Purchase Info Record

    Hi
    New report is required which should display the Net Price changes in the Info record.(Fol Individual Condition record)
    I want to know, Is there any function module which will consider  the PIR condition record - Condition type's and calculate
    & output the Net price.
    Anybody can help me on this requirement.
    Thanks in advance,
    Shankar.

    Check the t- code ME1E for info record price history

  • Purchasing Info Records for Material-qty

    I have material no. base unit of measure at MM is in  PC with std price in RMB,
    Order unit at info record in CAR with gross price in USD.
    Question:
    When I did purchasing price simulation for 1 PC the calculated value is same with 2 PC
    When I did purchasing price simulation for 3 PC the calculated value is same with 4 PC
    why cost of 1pc is same as 2 pcs , 3 pc is same as 4pcs and so on? what is the root cause?
    anyone can help

    To explain:-
    When you at first execute 'Price Simulation', system will calculate for
    simulation quantity (based on standard quantity + base UoM).
    E.g. take 5 PC
    Info record price is 340 USD / CAR (which is 2000 PC for mat 1C11010937)Price of 0,17 USD is correctly calculated.
    Afterwards, when you execute the 2nd step 'Simulation', it will show net value of 1,02 USD
    This has following technical reason:
    During price simulation, quantity (simul-mglme) will be calculated in
    MENGE_UMRECHNEN_FLOAT to 0,003, this is already the rounding result
    and will be taken for price determination.
    5 / 2000 = 0,003 (-> should be 0,0025)
    0,003 multiplied by 340 USD will show the price of 1,02 USD.
    If you take 1 PC (as simulation quantity) the internal calculated
    quantity is 0,001, multiplied by 340 USD will show the price of 0,34 USD
    If you take 2 PC (as simulation quantity) the internal calculated
    quantity is still  0,001, multiplied by 340 USD will still show the price of 0,34 USD
    This behavior is directly related to large conversion factors and very
    low prices for 1 PC (price e.g. less than 0,5 USD / 1 PC)

Maybe you are looking for

  • Contracts getting saved but when it change VA42-  it gives error message

    Hi Experts, Any one encountered following error while contracts change VA42. While Creating Contracts VA41- We are selecting Contract start date and end date for one year If we save the Contract is getting saved and immediately we are getting Message

  • Layered menu buttons

    So I've been using DVD Studio Pro for a while and I'm just now dealing with a problem I don't know how to solve. I'm using a layered menu with 10 buttons. I create a button by dragging on the menu. I set the target to the correct track and the remote

  • Where do you get imessage from i dont see it anywheres

    ive been looking for it every where in this update/app store an cants see it

  • LSMW RFBIBL00

    Hi I'm using RFBIBL00 prg for doing FB01 postings. I use structures BBKPF,BBSEG. Actually in the source file i have 50 line items. All the 50 line items should get posted as one Document. Now what happens is for each source record..a separate documen

  • JSP and RowSetBrowser Bean

    I am using BC4J for creating a JSP based application. I want to use RowSetBrowser web bean for listing the records, but I want to show page by page, for example 10 records per page and clciking on next page on NavigatorBar ( another web bean in my js