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

Similar Messages

  • 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 create/change purchase info record

    Hi All,
    Could any one suggest me the BAPI for the create/change purchase info record(ME11/ME12).
    Earliest can be appriciable.
    Regards
    Anil

    Hi,
         I did not get any bapi related to create/change purchase info. But i can give u list of purchase info . if u got revert back to me
    Reward if it is usefull..
    Bye.
    BAPI_INFORECORD_GETLIST

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

  • 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

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

  • BAPI or FM to create PIR(Purchasing Info Record)

    Hi all,
    Is anyone aware of any BAPI or Function module which i can use to create Purchasing Infor Records.
    Or else using BDC is the only

    Hi Syed,
    didnt find any BAPI for creating Info Records, so it seems BDC is the option.
    but dere is a BAPI  * BAPI_INFORECORD_GETLIST * for displaying the Info Records
    Tk cr..
    Regards
    Karan

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

  • Purchase info record numbering

    Hi,
    I need to create purchase info record for a meterial. for that i have done the following.
    1. Created purchase infor record numbering range and group.
    2. But at the time of creating the purchase info record the number which displaying is not related to
    number i have created.
    Please let me know where purchase info record group is assigned  for numbering.
    regards
    Suresh S

    Hi Suresh,
    I undersatand your requirement.
    SAP has provided only Two standard document Types for Pur. Info Records.
    IL for Stock Material ( with matl No.)
    IN For material Group (w/o MMR).
    By default, if you enter Matl No. in the initial screen, system automatically picks the doc. type IL and the no. range assigned to it.
    If you're not entered matl. no. in the initial screen, and proceed the Transaction further, system picks the doc. type IN and prompts you to enter Matl Group.
    In the second case, the system picks up the no. range as per assignment.
    Here in your case, you want create a new no. range and assign to your IL/ IN.
    For this, you go to the transaction Define No. Ranges in Inforecord, from menu bar, choose Group-> maintain. Here you maintain your new no. range with a name. Now your new group is created with your required no. range.
    Then select your new group ( Check box), select, IL, and click assign button and save.. Your IL is assigned to your new group and system picks the new No. Range when you are creating a Inforecord with Mat No. Similarly, you can change No. range for IN also.
    or one more option you have.
    In the first screen of No. Ranges Transaction, select change intervals tab button, you'll be goto intervals screen. There, from Menu bar, choose Interval-> change current No. Then you reset your current no. to Zero, save it. The again choose Change Interval, then in that screen, change the Interval with your new no. range.
    Here in the second case, u need not maintain new groups. Just changing the Interval for the existing group.
    You can adopt any one of these options.
    Regards,
    kanth

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

  • Consignment purchase info record - no tax code found

    Dear all
    I have faced one problem regarding the consignment purchase info records' tax code. When I go to create the consignment pur info record we couldn't find any values existed in the field tax code. However, if I go to change another plant, the tax code information can be selected. (the plant - BP04  country HK is not worked, the plant BP06 country AU is fine). If we created the purchase info record without tax code, we would see a error when we are doing MRKO. Why ??? I have already double checked the configurations, it seems fine. Please see below. Could you help me to solve this ?? thanks  a lot.
    1. define procedure OBQ3
    Step 1,condition type BASB
    Step 2,condition type MWVS (input tax),from 1 to 1, account key VST.
    Step 3,condition type MWAS (output tax),from 1 to 1, account key MWS (out put tax)
    2. Assign country to calculation procedure in OBBG
    3. Define tax codes for sale and purchase in TC FTXP
    input tax indicates V
    output tax indicates A
    4.Assign tax code for non taxble transactional OBCL
    5.Define tax accounts OB40.

    closed

  • 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

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

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

  • Customizing the Enjoy PO document overview for Purchase Info Records (PIR)

    Greetings!
    I am looking to use purchase info records to store material pricing information but we donu2019t want to lose the document overview functionality that SAP delivers with the enjoy PO screens (ME21n, ME22n, ME23n).
    Has anyone had success implementing user exit MEQUERY1 to customize the document overview so that a purchase info record query can be added to the document overview & the attributes of the purchase info record can be copied over to the PO?
    Iu2019d be curious to know what solutions other SAP shops came up with.
    Thanks.
    Richard Wortmann

    Nick,
    Thanks for the reply.  We will have the source list generated for the purchase info records (PIRs) however the gap I'm looking to solve for is mainly for non-MRP material buys. 
    Our current business situation allows material handlers to run a query in the document overview to ID specific materials on a purchasing contract (aka outline agreement) and drag those materials to the shopping cart on the PO.  This provides a very easy process for the buyer to ID materials & supplier relationships.
    Since we are moving away from purchasing contracts we want to continue with the same drag and drop process but only allow PIR's to be selected in the query.
    Looks like in OSS note 377180 SAP provides a user exit to implement this functionality (via MEQUERY1)- I'm just wondering if anyone has had success adding a PIR query to the document overview and creating POu2019s with reference to that query.
    Thanks.
    Rich Wortmann

Maybe you are looking for