Archive Purchase Info Record MM_EINA : problem with CDHDR

Hello,
I have notice that when i archive an Info Record, Only CDPOS is deleted and not CDHDR.
In the customizing, Object Class CHANGEDOCU is set.
Can someone explain why datas in CDHDR are not deleted ?
Thank you,
Cipriano

Yes, I agree with Jurgen.  You should open a message with SAP.  As, the CDHDR records should be archived along with the CDPOS records.  That is how it works when I archive purchase info records with MM_EINA.
Best Regards,
Karin Tillotson

Similar Messages

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

  • BAPI for Purchase info record creation

    Hi
    Please let me know how to create purchase info record through BAPI, with tax codes along with material price.
    please guide me.
    Simha

    Hi,
    ME_MAINTAIN_INFORECORD
    ME_UPDATE_INFORECORD
    ME_GET_INFORECORD_CONDITIONS
    ME_PRICING_INFORECORD.
    ME_DIRECT_INPUT_INFORECORD
    ME_POST_INFORECORD.

  • Material purchase info record

    hi to all
    please help me in this issue,
    when i save the purchase order with material a purchase info record is creating with out plant , how can i overcome it
    thanks & Regards
    Reddy
    Message was edited by:
            k reddy

    when i save the purchase order with material a purchase info record is creating with out plant , how can i overcome it <b>--->whats ur issue ?.</b>
    Regards
    Prabhu

  • Problem with Purchase Info Record Condition Data ( ME11)

    Hi all,
    I am trying post Data for Purchase Info Records with Conditions data.
    I am using a standard Batch Input Method ( LSMW).
    Object 0060
    Method 0000
    Program Name RM06IBI0
    Program Type B Batch Input
    I am able to post data only for the condition type PB00. for other condition types FRC1 & FRA1 not able to post the data ( also session is not giving any error).
    Therefore I am trying out witH BAPI option ( BAPI_PRICES_CONDITIONS),
    when i try to test the BAPI i am getting an error "Record KNUMH = 0000668598,
    VARNUMH = 000000000000000000000000000000: det. data missing ( Structue BAPICONDIT) .
    i am passing below mentioned values to the structue BAPICONDIT
    OPERATION 009
    SD_DOC
    ITM_NUMBER 000000
    COND_NO 0000668598
    COND_COUNT 02
    APPLICATIO M
    COND_TYPE FRC1
    SCALETYPE F
    SCALE_QTY 0.000
    SCALE_VAL 1.000000000
    CURRENCKEY USD
    CURREN_ISO USD
    CALCTYPCON C
    COND_VALUE 2.000000000
    CONDCURR USD
    COND_ISO USD
    COND_P_UNT 1
    COND_UNIT KG
    CONUNITISO KG
    NUMCONVERT 1
    DENOMINATO 1
    BASE_UOM KG
    BASEQTYISO KG
    CONDITIDX 01
    Please Suggest what else needs to be passed to get the BAPI working.
    Regards,
    Sriram

    Hi Phemmy,
    it is possible to create  PO before info record .info record establishes the relationship between vendor and your particular material.
    to answer your 2nd question:
    it is possible to create inforecord automatically during PO creation. in the ME2N screen, in the material tab, put the material code. then go to item details.in the materail data tab, you will get infoupdate  check it.and then inforecord will be created automatically.
    Thanks
    Nisha
    Edited by: nishaprasad on Jan 14, 2010 11:29 AM

  • A problem with Purchase info Record...

    Hi all,
      Am a basis person with no experience on MM... so ill like to ask you MM geeks this....It will be best if i narrate my ordeal....I am try to investigate some things....I have a PO which was created on 8.12.2009 and a purchase info record related to this PO created on the 30.09.2009...and created by(Info Rec) a person who has the authorization to created POs but not info records.
    Now my questions Are this.
    1. Is it possible to have an info record created before its PO.
    2. Are info records created automatically? if yes, when do this occur...

    Hi Phemmy,
    PO is a purchasing document. Info record is a master data that has a material-vendor relation set.  SAP recommends to create Info record before PO as it is a master data and the conditions ( net price & effective price) are adopted from it.
    1. Po can be created before Info Recod. It is not mandatory the otherway round but recommended.
    2. Info record is created automatically when a Po is created if the Infoupdate indicator is set in Po (Item details --> Material Data Tab).
    3. Uncheck the Infoupdate indicator if the info record need not be created.
    Regards,
    Bijoy Kumar

  • Cost Estimate with Purchase info record

    Hello Everyone,
    I have a problem with Cost Estimation ( with Purchase info record), We hare using PIR ( Purchase Info records) for calculating cost estimation. These records are maintained on the base of Vendor and Material. There are some materials extended to more than one plant.Ex: Material: Mat1 are created under Plant PL1 and PL2.
    Problems is when we are executing cost run with parameters Mat1 and PL1, system some times taking PL2 ( the last transaction created with that material - irrespective of the plant )transactions also, please help me how to solve this problem, my user wants, system should take the transactions only selected plants.
    Thanks & Regards

    Hi,
    guess SAPNET note 713111 describes your system behaviour, additional information can be found in 351835.
    Maybe a valuation strategy with "user exit" can find the info-record price you are expecting.
    Best regards, Christian

  • Purchase info record with same values

    Hi,
    I want to create purchase info records with the same material vendor purchasing org. plant ,how can it be done.
    This is required because it is possible for the same vendor to deliver material for the same plant and purchasing organisation.Is there a workaround or any reason for this.
    Regards

    In SAP , this is not possible to have 2 different inforecords for the combinaiton of MaterialVendorPur orgPlantinfo record type
    could you please explain more regarding the requirement ....
    Regards
    Mani

  • Extended Purchase Info Record using with LSMW

    HI guru's,
    How to extend purchase infor record using with LSMW programm.. what is the T.Code and important fields.
    regards
    JK

    Hi,
    You will need to create an LSMW programme for this, the source fields will be as below
    LIFNR     Account Number of the Vendor
    MATNR     Material Number
    EKORG     Purchasing Organization
    WERKS     Plant
    MAHN1     Number of days for first reminder/urging letter (expediter)
    MAHN2     Number of days for second reminder/urging letter (expediter)
    MAHN3     Number of days for third reminder/urging letter (expediter)
    APLFZ     Planned delivery time in days
    UNTTO     Underdelivery tolerance limit
    EKGRP     Purchasing group
    NORBM     Standard purchase order quantity
    MWSKZ     Tax on Sales/Purchases Code
    NETPR     Net price in purchasing info record
    WAERS     Currency Key
    LTEX1_02     Long Text
    LTEX2-02     Long Text
    LTEX3-02     Long Text
    LTEX4-02     Long Text
    LTEX5-02     Long Text
    LTEX6-02     Long Text
    LTEX7-02     Long Text
    Regards
    Merwyn

  • 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

  • Archiving for Info records.

    Hi.
    I have a question about to delete some purchasing info records.
    I use the object MM_EINA to do it, but do I need to use other object?
    I just need to delete info records, but I don't know if there is dependence with other object.
    I hope that somebody helps me...
    Thanks.

    Hi Lili,
    You are right, you need to use MM_EINA to archive and delete purchasing info records. Please have a look at this link, it explains the details for MM_EINA:
    http://help.sap.com/saphelp_47x200/helpdata/en/9b/c0963457889b37e10000009b38f83b/frameset.htm
    Hope this helps,
    Naveen

  • Archiving of Info Records

    Hi,
    I have 22 Materials and now user wants me to archive all the INFO Records related to these 22 materials?
    Please guide me what are the prerequisite needed to be done by me before archiving all the INFO Records.
    Note: We had errors in Production system, which we want to reproduce in Quality system.
    Cheers,
    Kumar.S

    Hi
    Follow the below steps:
    1. Flag Info-Records for deletion (ME15)
    This will Set the Deletion Flag only in Purchase Info Record.
    Once Deletion Flag is set you need to Archive them Using SARA with Archiving Object MM_EINA which will delete the Info Records from the Database.
    2. Run the archiving program - RM06IW30 (Menu path -> Logistics - Materials Management u2013Purchasing - Master Data - Info Record - Follow on Functions - Archive)
    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 
    regards
    Antony

  • Purchasing Info Record marked for deletion

    Hi experts,
    I need some explanation on Purchasing Info Records and more precisely on the deleted ones.
    Could you tell me why a Purch. Info Record that is marked for deletion is still set when a PO is created?
    In ME13 I have the following warning message : 06-718 (Purchasing info record & & & & flagged for deletion).
    In ME21N the same message is displayed as warning and users are able to save the PO with the deleted Info Record.
    I don't understand why SAP still retrieves Info Records that are marked for deletion...
    Is there a way to prevent SAP from using deleted info records?
    Thank you for your help.
    Regards,
    Philippe

    Hi Philippe,
    The message  06718 can be set as an error or warning in customising.
    If message 06718 is set as error then system will not allow to save 
    the document with that info record.
    The deletion indicator is the reservation to delete this record. But
    this is not comparable with the deletion of the record from the database
    This has to be done within the archiving run for the object MM_EINA.
    Untill this inforecord is not archived the data is taken as usual."
    Online documentation provides the following information
    "You cannot delete obsolete info records immediately. You can
    only flag them for subsequent deletion. Info records earmarked for
    deletion in this way are not actually deleted until the archiving
    program is run. This is done at regular intervals by your system
    administrator. You can flag an individual info record for deletion,
    or create a list of deletion proposals and choose the relevant records
    that are to be deleted from this list."
    Kind regards,
    Lorraine

  • Purchase Info record - Split valuation

    Hi Experts,
    I have a problem in working with split valuation.
    I have a material with split valuation with valutation types Domestic and Import.
    Same vendor supplies both the valuation types material.
    I want to create purchase info record for two valuation types with the same material, vendor,purchasing org.,Plant.
    I am able to create info record for only one valuation type.
    Is there any way that I can create info record for both the valuation types for a vendor,material,Plant and Porg.?
    Thanks in advance.
    Best regards

    Dear Lakshmi,
    I'm not sure how u create an info record until val,type level  , as per i know valuation type is the information in the Purh.Org data in info record. So when maintaining info record you got combination of vendor,material, plant, p.org, and info rec category.
    The material per valuation type value will updated to the mat master when u done GR,
    So you dont need to maintain the value in info record, because in the material accounting level there'll be 2 valuation type for that material which contain both value for domestic and others.
    Edited by: w1n on Apr 9, 2008 6:25 PM

  • 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

Maybe you are looking for