Reading a Purchasing Info Record - Function Module

Hello! I've done some searches but have been unable to find exactly what I am looking for. I've been tasked to find a Function Module that will read a Purchasing Info Record for a combination of Vendor, Material, Purchasing Org, Pricing Date, Info Record Category, and Plant. Does such a Function Module exist?
Thanks!

Check the following FM:
MM_CURRENT_PRICE_INFORECORD
MEX_READ_INFORECORD
ME_COPY_TIME_DEP_COND_INFOREC
ME_DETERMINE_KOTABNR
ME_FILL_KOMG_IN
ME_GET_INFORECORD_CONDITIONS
ME_GET_INFORECORD_CONDITIONS_1
MMPUR_INFO_RECORD_DISPLAY
ME_UPDATE_INFORECORD_COND
ME_UPDATE_PO_PRICE
Edited by: Jürgen L. on Dec 1, 2009 2:26 PM

Similar Messages

  • Purchase Info Record - Creation

    Hi,
    I want to create a Purchase Info Record. I came to know that, the following FM's are used for creating a Purchase Info Record.
    ME_INITIALIZE_INFORECORD
    ME_DIRECT_INPUT_INFORECORD
    ME_POST_INFORECORD
    The following are my questions....
    Is there any other FM's available for creating a Purchase Info Record. I want to test these FM's in SE37. Can anyone guide me with the minimum parameters required to run these FM's in SE37. How can I find the info record number created using these FM's.I mean to say.. there are no output parameters available in these FM's to know whether the PIR creation is success/wrong.
    I request everyone to help me with your answers.
    Many thanks !

    Hi,
    I am using the following information to execute the function module ME_DIRECT_INPUT_INFORECORD.
    Material : 123
    Material Group: 12164400
    Vendor Account Number: 100015
    Purchase Order Unit of Measure: PC
    Purchase Organization: 460
    Purchasing Group: 100
    Currency Key: DKK
    Plant: 316
    I get the error 'Please adjust conversion factors in conditions'.
    I do not know the root cause for this error. Can anyone guide me to solve this error? Have I missed any mandatory fields required to run the above mentioned FM?
    Kindly help. Many 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

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

  • Table for the Purchase Info Record:Text

    Dear All
    As the Purchase Info Record data is saved in the tables like EINA/EINE/EIPA
    In which table can i find the "Info Record:Text"
    Please help me guys

    Hi,
    It is important to realize that all Text records are not stored transparently in tables like other data. Text records are stored within clusters in SAP.
    You can access these texts in SAP when you create a include text node in your SmartForm. Once created you begin by selecting the Text Type: Include Text.
    The Text Key for an include text is made up of the following parts.
    You can use the ABAP function module u201CREAD_TEXTu201D to access Text records by passing the correct header information. You can see the text in the TDLINE.
    If you go to SE37 u2013 ABAP Function Modules and enter READ_TEXT you can press the Test/Execute button and enter real data into the import parameters and validate that your text can be accessed using this function module. You can then incorporate it into your ABAP program to access any SAP text that you need.
    This is essentially what is done automatically for you in SmartForms when using the Text Type: Include Text.
    Finding Header Information for Info Record Texts
    You can find the header information for text records using the following steps.
    1.Click on the Text tab for either header or item texts
    2.Double-click on any header or item text in the Purchase Order
    3.Go to any existing text
    4.Use menu path Edit u2013> Text u2013> Long Text
    5.Select menu option Goto u2013> Header
    The header information will be displayed and will contain the following field values
    Text Name: Info Record Number 53000128641 090
    Language: EN
    Text ID: BT (Purchase order text)
    Text Object: EINE (Texts, pur. info. pur.org.data).
    For more clarity please check the below link.
    http://www.sap-advisor.com/abap-coding/sap-text-administration-and-info-records-for-purchase-orders/
    I hope this will clear your issue. Thanking you.

  • BAPI for Purchase Info record creation - ME11 transaction

    Hi,
      Is there any bapi or function modules which will create the Purchase info record in Me11 transaction and also bapi for change Purchase info record in Me12 transaction?
    Points will be awarded.
    Regards,
    vinoth.

    Hi,
    ME_MAINTAIN_INFORECORD
    ME_UPDATE_INFORECORD
    ME_GET_INFORECORD_CONDITIONS
    ME_PRICING_INFORECORD.
    ME_DIRECT_INPUT_INFORECORD
    ME_POST_INFORECORD.

  • Creating Purchasing info records using transaction ME11

    Hello Friends,
    I am trying to post Purchase info records through ME11.
    Everything is fine but we are not able to record the Conditions tab - i.e, Condition Qty & scale Quantities,
    Can anybody Please help is there any BAPI or any Function module to Post Purchase Info records,
    i.e, alternative to ME11 transaction.
    Thanks in advance,
    Regards,
    Phaneendra

    Hello Rahul,
    Thanks for your reply, Here i am using the same.
    But i am not able to update data by konp & konm structures.
    Do you have any idea on this ?
    ie, in flat file only one line is read by the Program for KONM Structure .Please help.
    Regards,
    Phaneendra
    Edited by: phaneendra punukollu on Feb 8, 2010 4:36 PM

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

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

  • How to retrieve the long texts from  purchase Info record (ME13)

    Hi,
    How do I retrieve the long texts data from the tab, Texts of the Purchase Info record(ME13).  I want to retrieve the current long texts data(long text1, long text2 long text3, long text4) for a given purchase info record. These long texts points to the structure BRM06I.
    So, now how do I fetch the data from the structure BRM06I. Is there any function module for the same..
    Thanks.

    Hello,
    Texts are stored in tables STXH & STXL (header and item). You can search these tables by selecting Text object = EINA and Text name = Info Rec #. The text ID's you will see are the ID for various texts maintained.
    Cheers !

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

  • Creation of purchase info record

    Hi any body pls let me know how we can create purchase info record(me11)
    i am an abaper i want to know the functionality in that
    let me know the mandatory fields because i have an requirement to create it using
    lsmw
    thanks in advance

    hi,
    try abap RM06IBI0
    A.

  • Mass Creation of Material Group Purchase info record

    Dear All
    Currently we are developing a custom transaction in SAP to mass upload Purchase Info records from a flat file (excel)
    We are using the standard Function Module ME_POST_INFORECORD to create the PIR s
    We use two different number ranges for Material and Material Group PIR s. This is set up already in SPRO>MM>PIR>Define Number Ranges
    Purchasing info record for stock material (Group - IL ) have a number range X
    Purchasing info record for material group (non-stock mat.)(Grpup -IN) have number range Y
    So when we create a Material PIR manually in SAP it picks X number range and  Y number range for Material Group PIR
    But when we create Material Groups PIR via the new custom transaction it creates PIR s with Number range X.
    Upon checking understood that the standard FM ME_POST_INFORECORD is always defaulting the Number Range Group as IL internally . Seems like a harcoding done by SAP
    Wanted to know
    - Is there any another FM we should consider while creating Material Group PIR s. Any other Function module provided by SAP for that ?
    - Or what can be other way to resolve this ?
    Please let me know your views on this.
    Regards
    Shyam

    Hi,
    For mass upload from flat files you can consider LSMW with different options e.g. IDoc:
    Message Type         INFREC
    Basic Type           INFRECMASS01
    or simply via recording of transaction (this should be using exactly the same NR as you have when doing this manually).
    Regards,
    Tomek

  • 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

  • Archiving Purchase Info Records

    Hi,
    Can you please let me know what are the prerequsites that need to be completed before archiving a Purchase Info Record?
    do we need to check for any other dependency/flag other than the Mark for deletion (table field LOEKZ   'X')
    Please any one of you sugest me the solution for the above questions;
    Thanks,
    Jeevan.

    Hi Jeevan,
    In order to be able to delete an info record, you have to mark the Info Records for deletion. 
    To do so, use transaction ME15 and flag record for deletion. After you have deleted all info records, use archiving program RM06IW30 or follow the menu path Logistics - Materials Management u2013Purchasing - Master Data - Info Record - Follow on Functions - Archive. 
    Make sure that you only archive Records Marked for deletion as all records may be deleted! 
    Create Archive File: Info Record:
    a) Select Action: Archive and enter a new Variant, for example: Z_EINA_ARCH_ 01, press 'Maintain'
    b) On selection screen enter the data range (Vendor, Material, etc.) you want to archive.
    c) Deselect the 'Test' flag if you don't want to test first.
    d) Press green back-arrow and enter the description of this new variantt on the screen which follows.
    e) Save the variantt which brings you again to the selection screen. Press green back arrow again.
    f) To start archiving process (batch-job), press the 'Start Date' button and select the time when you want to start this process. Select 'Immediate' for instant processing and press the 'Save' button on the bottom of the Start Time' window.
    g) Select the 'Spool Parameter' button and save entries. Eventually enter a valid printer to have the result outputted.
    h) You are ready now to start the process. Press the 'Start' button and monitor the success with the 'Job Overview' button You can also go the 'fast path' by using transaction SE38, program RM06IW30 to archive info records. For large data archiving, use the background jobs and run those during off-peak times. If you run the program online, you will see a confirmation on the status bar telling 'New Archive file created:.... ' Delete Archived Records: Info Record
    a) Follow the menu path: Tools - Administration - Administration - Archiving
    b) Select the Object Name MM_EINA for info records
    c) Select the menu button 'Delete'
    d) Select the menu button: 'Archive Selection'
    e) Click the archive created in previous step
    f) Select Start Date for process and Spool Parameters for output
    g) Submit selection.
    h) Check status by pressing the Job Overview button
    Reg,
    Ashok
    Assign points if useful.

Maybe you are looking for

  • Which is better for outdoor music bluetooth or airplay speakers?

    which is better for outdoor music listening airplay speakers or bluetooth, cost, etc.? 

  • Xmltable fn:string-join

    create table emp (doc XMLtype); insert into emp values( xmltype('<dept bldg="114">      <employee id="903">           <name>                <first>Mary</first>                <last>Jones</last>           </name>           <office>415</office>        

  • How can I control which display my dock displays on?

    When I boot my MacBook Pro, the dock starts on my MacBook screen, but if I use my Thunderbolt display a lot, the dock suddenly jumps over there, where I don't want it. How can I force the dock to go back to my laptop screen and stay there?

  • Video compression in After Effects

    Hi, i have a little problem with video compression in After Effects.When I was looking for example on that video: http://vimeo.com/18672227 the quality in HD is really great. When we was trying to compress our video in After Effects, the best result,

  • Change default upload folder

    When uploading files (Email attachments etc), the default folder in the Open dialog is Desktop. How can I set a different default folder? Thank you.