HI... Create\Update pricing in Purchase Info Record

Hi Guru's,
I have got requirement to create or update the pricing condition in purchase info record (PIR).I have used below function modules to create or update General and purchase information for PIR but using those function module, im not able to create or update pricing condition..
ME_INITIALIZE_INFORECORD
ME_DIRECT_INPUT_INFORECORD  - Create new entries in PIR
ME_MAINTAIN_INFORECORD - Change the PIR
ME_POST_INFORECORD
I have tried the below function module to create or update pricing condition,here issue is function module successfully executed but it was not upating PIR.
ME_PRICING_REFRESH
ME_PRICING_DIALOG
ME_PRICING_INFORECORD
Could you please provide any sample code / function module to update the pricing condition in PIR.
Thanks in Advance.

Dear Shivakumar,
Can you kindly provide sample code for the function module MASS_CHANGE_PURINFO_REC? I found it is difficult to figure out how to populate the import parameters. And the Where-used function didn't return any result, so I can't even refer to the standard program. Thank you!
Regards,
Arwen

Similar Messages

  • Update Scales on Purchasing Info Record

    Dear All,
    I need to upload and update Scales on Purchasing Info Record.
    Is there any BAPI or IDOC or Standard Batch/Direct Input (LSMW)  or any Function module for this data upload.
    Thanks in advance.

    Thanks for your suggestion but I have lots of records and I couldn't use t-code MEKP to create those scales on PIR.
    I won't only  update existing scales on PIR but also I want to crate new scales on PIR. Is there anybody to suggest me any upload programme(BAPI, IDOC, Direct Input) for it?

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

  • Conditions in scale pricing in purchase info record

    Dear Experts,
    Need your valuable inputs on the following issue:
    We have entered into an agreement with a vendor with the following clause:
    1 PAC of material ABC costs Rs. 13000/-
    In every month , the first PAC bought will be priced at Rs 13000/- and any quantity further bought in the same month will be priced at Rs. 6000/- per PAC.
    For example:
    07th July: PO placed for the material at 13000/-
    15th July: Po placed for the material should automatically be at 6000/-
    01st August: PO placed for the material at 13000/- and so on.
    We looked up for Scales in Purchase Info Record and found to be valid only on quantity basis within the validity period of the info record.
    Our concern is how to map the scaling condition for every month, whereby, the pricing of the purchase order in PO is system-dependent.
    Looking forward to get the best solution,
    Regards,
    Nihar

    I do not think its possible with scale maintain. Scale is used for picking price as per quantity.
    Here, your requirement is against validity. Your price will be fluctuated against validity period.
    You can maintain the price for the validity period as per your requirement in info record.
    But unfortunately you have to maintain the price for every validity period for every months.
    Otherwise you have the option of development, where you can write your own logic for the price picking in PO.

  • PURCHASE INFO RECORD TAX CODE UPDATION THROUGH PO

    In Purchase info record tax code is alredy exist  for one vendor and material.
    while making new  Purchase order for same vendor and material but tax code is differant then can tax code will not update automatic in purchase info record.
    How to do automatic updation in purchase info record?

    Hi,
    The Tax code will be updated from the PO at the first time Info record created from the PO as per the Info update setting.
    In your case as already with tax code an Info record exist as per standard the new tax code willn't get updated in to the existing info record. You have to change the new tax code in the info recordfrom the transaction ME12.
    Regards
    Eshwar H

  • IDoc status 51 - LSMW for Creating Purchasing Info Records

    Dear All,
    My req is to create a Conversion for Purchasing Info Records. LSMW's IDoc method is used to develop this conversion wherein Message Type "INFREC" and Basic Type "INFRECMASS01" are being used.
    In the 14th step (Start IDoc Processing), I 'am getting the IDoc status "51" and Status Text "Application document not posted". If I double click on respective IDoc number, I got its Control record, Data records, and Status records; in the status records I can see "51" in Red color with the message "Function module not allowed: IDOC_INPUT_INFREC". If I double click on this it asks me to check the process code...
    Request you guys to resolve the issue....
    Solution will b rewarded.. Thanks in advance....

    I shouldnot use basic type INFREC01 instead of NFRECMASS01.
    'coz Within the FM there is a check for basic type like:
    check idoc type
    if f_idoc_control-idoctp c_idoctp_infrec01. " INFREC01
    raise wrong_function_called.
    endif.
    Even one can go to WE57 and see the basic Type INFREC01 assigned to the FM IDOC_INPUT_INFREC, hence one shud use this basic type...

  • IDoc status 51 - LSMW for Creating Purchasing Info Records using IDoc meth

    Dear All,
    My req is to create a Conversion for Purchasing Info Records. LSMW's IDoc method is used to develop this conversion wherein Message Type "INFREC" and Basic Type "INFRECMASS01" are being used.
    In the 14th step (Start IDoc Processing), I 'am getting the IDoc status "51" and Status Text "Application document not posted". If I double click on respective IDoc number, I got its Control record, Data records, and Status records; in the status records I can see "51" in Red color with the message "Function module not allowed: IDOC_INPUT_INFREC". If I double click on this it asks me to check the process code...
    Request you guys to resolve the issue....
    Solution will b rewarded.. Thanks in advance....

    U should use basic type INFREC01 instead of NFRECMASS01.
    Within the FM there is a check for basic type like:
    check idoc type
        if f_idoc_control-idoctp <> c_idoctp_infrec01. " INFREC01
          raise wrong_function_called.
        endif.
    Edited by: Joyjit Ghosh on Sep 15, 2008 4:57 PM

  • Pricing not updated in Purchase Info Record using INFREC01. is it possible?

    Hi Gurus,
    I am using IDoc INFREC01 to create Purchase info record for material, but when I see in ME13 that PIR is created successfully but price is never updated, though I have populated field NETPR and EFFPR hence condition PB00 (basic pricing condition) not created.
    Is it possible to update only single pricing (basic price PB00) condition through INFREC01 ??? or should I use another BAPI or some standard report ...??.
    I am extending Pricing Conditions for Purchase inforec through seprate IDOC: COND_A01, but it could only do that if there is basic pricing condition i.e. PB00.
    Please advice.
    Thanks in advance.
    Robin

    HI,
    You can update pricing field for conditon type PB00, please use correct validity period.
    Even there are no basic Price condition PB00, you can add new condition types with existing types.
    Price vaue can depend on the pricing conditions that you have maintained.
    Thanks....

  • Update/create the purchase info records

    Hi All,
    i got a requirment for update/create the purchase info records for the transaction ME11.
    i came to know that the FM <b>ME_DIRECT_INPUT_INFORECORD</b> is suitable for this requirment.
    but when i am trying to test this by passing data to I_EINA and I_EINE.
    it is giving some error message like "<b>Please enter at least one vendor</b>, Number entered not within external number range and etc".
    can any one guid me in passing the data to this function module, i.e. what are the required fields that are to be passed to this FM.
    if i have to update/create the EINA & EINE table data.
    Thanks,
    Rama

    Hi,
    Better use report RM06IBI0 - read its documentation with
    Tcode SE38
    Greetings Andreas

  • Pricing schema for purchase info records

    hi guys!
    does anyone knows either SAP standard got function to define pricing schema for PIR? if yes, can you please tell me how to set it up step by step?
    Thanks a lot,
    crystal.

    Hi,
    there is no separate pricing schema for reading info records.
    When creating PO, the system first searches for a purchasing                
    info record with the combination of vendor/material at purchasing           
    organization/plant level. If there is no such info record, the system       
    then search at purchasing organization level. If there is no such           
    info record here either, you must enter it manually.                                                                               
    If the purchasing info record exist, then valid conditions have             
    priority during price determination. If an info record does not             
    contain any conditions or invalid conditions, the system read from          
    last purchasing document in the info record and then suggest the price      
    from here. The price determined in this way are default values that         
    can be changed by the buyer if necessary.                                                                               
    You can save useful quotation data for a material in purchasing             
    info record. The info record can be created automatically by                
    setting the info update indicator during quotation maintenance              
    in the item detail.                                                                               
    Please first check is there any valid info record exist for this            
    material/vendor. You can always create/change/view it manually              
    via Ta ME11/ME12/Me13.                                                      
    Please read also the notes 392988, 456691.
    Regards,
    Edit

  • Creating Conditions for Purchase Info Records using IDoc COND_A01

    Hi All,
    we are using IDOC COND_A01 to update and add conditions in ME12 transactions.
    But when we send a condition IDoc which contains 2 condition types (Segment KONP), the standard function call creates only one database entry in the table KONP. The entry in KONP is for  standard condition types PB00, but not  for company specific types (Say: ZABC) .But when we create them manually in ME12 maintaining an purchase info record  we get both the entries in the KONP database table.
    Has anyone come accross such a problem? Is there any special field in the IDoc COND_A01 which controls the creation of the condition types?
    Thanks for any answer!

    U should use basic type INFREC01 instead of NFRECMASS01.
    Within the FM there is a check for basic type like:
    check idoc type
        if f_idoc_control-idoctp <> c_idoctp_infrec01. " INFREC01
          raise wrong_function_called.
        endif.
    Edited by: Joyjit Ghosh on Sep 15, 2008 4:57 PM

  • Error occured while creating purchase info record in mm

    sir,
    while creating purchase info record  an error occured while inserting net price. it said
    NOT POSSIBLE TO DETERMINE A CONDITION TYPE FOR A PRICE
    when it attempted to generate the time dependent condition for the price you entered the systeem was unable to determine a condition type, price determination is therefore not possible.
    please inform me how to solve this problem.
    thankyou

    I think you are not using the stdard pricing becuse of that it is thrwing error
    Ok First check your pricing procedure which your using for PO
    than in that pricing procedure if you are using PB00 fro Gross price than you will have antoher pricing procedure attached to this condition.
    check in M/06 for your gross price conditon
    now did you assign the pricing procedure to vendor?
    bottom line is somthing missing in your config.
    Check all the config as below
    Pricing Procedure:
    In MM module, pricing procedure is used during RFQ and PO creation. Total value of material based on all addition and subtraction like discount, surcharge, tax, freight, etc. In this we are defining pricing procedure and linking to vendor and purchase department through the virtual schemas.
    Following steps for pricing procedure as,
    1. Define conditions.
    2. Define pricing procedure.
    3. Define virtual purchase organization and vendor.
    4. Info Record.
    Customization for Pricing Procedure :
    1. Definition of Conditions :
    /NMEK0-condition typeu2026condition types- definition (define for basic price, net price, discount, surcharge, tax etc.)
    2. Defining pricing procedure :
    /NMEK0- calculation schema-calculation schemasu2014New entries (Define procedure and put the conditions like formula so that final price will be net price / total value as per company requirement)
    3. Linking pricing procedure to independent condition types.
    /NMEK0-condition typeu2026condition types- definition for position for defined conditions (Enter the defined pricing procedure in the each independent conditions u201CPricing Procedureu201D box)
    4. Defining Schema group for Vendor :
    /NMEK0- calculation schema-schema groupsu2014vendoru2014New Entries.
    5. Defining Schema group for Purchase Organization--- New entries.
    /NMEK0- calculation schema- schema groups---- purchasing organization--- new entries.
    6. Linking Virtual Purchase Organization to actual Purchase Organization.
    /NMEK0- calculation schema- schema groups----- Assign P.Org. (in actual P.Org, enter virtual P.Org)
    7. Linking Pricing procedure to virtual P.Org and virtual vendor :
    /NMEK0- calculation schema- Determine Schema--- -Standard --- New entries (Enter virtual schema and P.Org. along with pricing procedure)
    8. Linking virtual vendor to actual vendor-- /NXK02 then enter schema group vendor in Purchasing Data )
    9. Info Records (/NME11)---- click on u201CPurch. Org. data1u201D and enter condition types and pricing procedure
    What are the steps in pricing determination in MM? Condition, Access sequence and schema.
    In the SAP MM Pricing is more important. Just yesterday I have completed the Pricing as I am doing the SAPMM now. I can give some light on this Topic, not 100%. After 2 days definitely some more I can share.
    The Basic thing is Condition Technique. In which there are
    1. Access Sequence 2. Condition Record 3. Condition Type 4. Condition Table.
    A Access Sequence access a Condition Record of a Condition Type in a Condition Table is a Condition Technique.This is a simple logic
    Here the Condition Type is very important like PB00, PBXX,RA01 etc.
    In the background every Condition Type has its own defition means the purpose of the Condition Type like, is it for Pricing or Percentage, Quntity base, Accrual Feilds etc is to be defined to work this functions.
    Normally we use the existing ones without any risk. But some cases, we have to Create a New Condition Types as per the organisation requirement.
    The Pricing Schema is useful to minimise condition types while mention prices for Vendor on the basis of Pricing Schema which we defined according to organisation requirement.
    The Pricing Schema means the calculations procedure of Condition Type.
    Ex. RA01 - Discoount % is caclulated on PB00 - Gross Price means
    RA01 is based on PB00 like that we have to define in the Pricing Schema
    which makes easy to use in realtime.
    Here PB00 has the Access Sequence - 0002.
    But RA01 does not have the Access Sequence.Why because it is a dependent on PB00. But both are Condition Types.
    In the system, by default some standard Scheme will be there at Vendor Schema Group in the Vendor Master Screen means the standard one is assigned which is very lengthy which may fullfil our requirement. But some cases which may not fullfil our requirement, in such we have to define.
    For the configuration, I may not able to explain properly through here but will give some Idea.
    Configuration: SPRO-IMG-Material Management- Purchasing- Conditions-Define Price Deternmination Process
    1. Define Access Sequence
    2. Define Condition Type
    3. Defince Calculation Schema:- Here you have to define the Schema
    Define Schema group
    1. Define Schema Group vendor
    2. Define Pricing Schema group
    3. Schema group for Purchase Organisation
    4. Assign Schema group to Purchase Organisation
    Define Schema determination
    1.define calculation schema for Standard purchase organisation
    After completion of the Schema Group, we have to assign it to Vendors.
    Then whenever we use any transaction with this Vendor, the concerned Schema will work as configured by us.
    I think this will help you. Actually the Pricing is a vast. Becuase each Condition have its own importance and each Access Sequence have its own importance. So you need not bother about this. First you learn how to define the Calculation Schema through the above.
    Here we can create many Calculation Schemas which can assign one schema to Local vendors
    another schema to out side vendor one more schema to foreign vendors like that we can classify.

  • Updation of  purchase info record during cost is released / additive costs

    Hi Gurus,
    Is there any enhancement available to to update the purchase info record with thecondition type
    fild during release of materials using CK40N /CK24.
    ie Whenever a cost is released ,  the object should populate the overhead condition type (ZUB1) on the INFO record
    Another requirement is
    Whenever there is adding/updating additive costs (ck74n and ck75n), the object should populate the corresponding condition types on the INFO records (ZFR2 for freight cost; ZOC2 for duty cost).
    If you have any suggestions kindly replay.
    Thank you very much.
    Regards,
    Jayaram.

    Hi,
    But my next question is how can I know how much cost centers will be for some document? If I need to define number of cost centers in advance, then this solution is not very flexible. The best solution would be if I could add values to classification flexibly (for example: one time 3 values and the other time 1 value).
    :-Check box additional values in values tab of char. that will allow to enter flexible number of values any time
    The other question is about values of parameters. For each cost center I need to enter two values (cost center number, and costs for that cost center). So, for each cost center I need to add 2 values. Is that possible using classification?
    :-Create classification with chara. cost center, cost center value and check box additional values as above that will allow you to add values for cost center and cost center value.
    Anirudh.

  • Create Purchase info record using LSMW idoc method

    Hello Friends,
    I am trying to update Purchase Info records using LSMW Standard program RM06IBI0.
    But it is not updating the condition price details and scale Quantity.
    For that the  form  suggessted LSMW IDOC method. with : Message Type         COND_A / COND_A02.
    But i dont know is the info record created earlier to this step or else we can create both using this method
    at a time ?  Does anybody please suggest.
    ( Actually Purchase Info record created using transaction  ME11 ).
    Regards,
    Phaneendra

    you first create the info record and subsequently you load the conditions.
    become familiar with the condition tables and its key first. Check How table A017 and A018 are maintained.
    Intresting is the field VAKEY which is actually the link to your info record.
    This is a combination of vendor, material, purchasing org, plant , and info record indicator.
    data:  begin of ZZVARKEYA,
            ZLIFNR like LFM1-LIFNR,
            ZMATNR like MARc-MATNR,
            ZEKORG like LFM1-EKORG,
            ZWERKS like MARC-WERKS,
            ZINFTYP like EINE-ESOKZ,
            end of zzvarkeyA.

  • Purchasing info Record - Auto update Setting

    Dear Experts,
    I have some query with purchasing info record: please go through the following scenario:
    I have created some po in post with tax code "V1 - 4% Vat"  and with reference to those info records are already created (as there was info update indicator was ticked in PO)
    now,  as tax rates are changed, i am creating PO with new tax code "V2 - 5% Vat" but even there is info update indicator is ticked in PO its not getting updated in the same info record
    kindly adivice what settings are required to be done in system.
    Thanks
    N. Chauhan

    Please note that if you create a PO for a material/ Vendor combination without a info record then system will automatically create an info record @ the time of PO creation If info update is on & will save the tax code in the info record which you enter in the PO.
    But once an info record is generated then system wont overwrite the tax code in the info record even though the info - update is on.  This is Std - System Behaviour.
    If you dont want the particular tax code then go to ME12 & edit the tax code & check.
    Thanks & Regards,

Maybe you are looking for