Deleting Inforecord

Hi Experts,
I need to delete info record completely.
I have set deletion flag using Tcode:ME15.
When i try to create with same set of values ( Vendor, material and Purchase Org ) the following error is displayed:
Purchasing info record 5300005166    flagged for deletion
Purchasing info record 5300005166 1000   already exists
I need to completely delete the info record, so that i can create it with the same inputs of the deleted info record.
Regards,
Nani.

Hi Nani,
have you set the "complete info record" flag in ME15 ?
Currently, you can only archive the entire info record. You cannotarchive information specific to each purchasing organization.                                                                               
please see the on-line documentation regarding the archiving object MM_EINA (purchasing info record):                                                                               
"You must set the Deletion indicator for the entire purchasing info record (that is, at the client level).                                                                               
This means that if purchasing organizations A, B, and C have set the Deletion indicator for info record 10, but the info record is still valid for purchasing organization D, it cannot be archived.                                                                               
If the deletion indicator has not been set at client level, but all purchasing organizations have set it for this info record, the archiving program then sets the deletion indicator at client level.        
The info record is then archived in the next archiving run. 
Hope this can help
Regards,
Mauro

Similar Messages

  • Problem in Unit of measure

    Dear Guru,
    There is a problem with one material
    One material on jan converion ( material master) should change
    1 to 7.369 to 1 to 6.39
    at the end of feb order is created for that material, Now po will take the old conversion
    at the time of R&D iam deleting the info record from Po, then it will take right conversion
    Please suggest me why it is happened
    Regards
    Kashyap Kumar

    1 to 7.369 to 1 to 6.39 is this convertion maintained info record.if yes ,after deleting inforecord system will pick convertion from material master.Check inforecord what convertion factor maintained.

  • Inforecord marked for deletion is being determined

    Hi,
    In SRM 5.5 SP 6, classic scenario.
    We are doing shopping carts introducing the material code in the one screen mode. The problem is that sometimes the system is determining a delete marked inforecord and is not determining the correct inforecord.
    Does anybody know why is this situation produced and any solution
    Thanks

    If particular message is not allowed in OBA5, then it is not configurable message. Neverthless if you like to change this message, you need to configure this in OBMSG first

  • Po prices is not updateing from inforecord

    Guru
    In Po when enter the Material & QTy & Price for that material is appering from info earlear now  the problem is that Price is not picking from the last Po or Inforecord what must be problem. can u help me
    Thanks
    Sudhir

    Hi
    Price from inforecord has following steps
    1) System will search for inforecord with valid price if it finds then the price will be pulled to PO
    2) If there is  inforecord and no valid price then system will look for last PO to pull the price.
    3) If there is no info record then we have to enter the price manually.
    In your case check the above prerequisites additon to that
    1) If it is refering the last PO no then check whether the item is deleted or not.
    2) If it is refereing the valid price in info record then check the validity period of the PIR.
    Hope it helps.
    Thanks/Karthik

  • Info records flagged for deletion don't update purchase orders

    Hi, I would like to know how I can customize SAP-MM in order to avoid that the info records flagged for deletion update the purchase orders.
    When I create a PO from a Purchase requisition (which have data with texts like "Vendor material number"), the Info record flagged for deletion update this data.
    Thank you

    Hello
    I think inforecords flagged for deletion is not being considered for PO updation. Could you please check again.
    It might be posible that 'Vendor material number' is spcified in Purchase requisition and when you create PO from Purchase requisition, it is copied from there to PO.
    I hope it will resolve your issue.
    Best regards
    Avinash

  • Cost not picking from Inforecord

    Dear All,
    As per our costing strategy, cost should be pick up from  inforecord but strange part is that for one of the material the cost is not picking from inforrecord.
    The inforrecord is not marked for deletion, this material has only one valid inforecord which is active , this infrecord is not maintained in other plants, we don't maintain outline agreements.
    Am I missing anything on this?
    Quick responses are appreciated.
    Thanks,
    Ram

    Hi Rajneesh,
    Thanks for response.Our Valuation stratagey is as below.
    Planned Price 1
    Cost from Purchase inforecord
    Standard cost
    We did not update the planned price1 and  we have valid inforecord , still at the moment the cost is picking up from current standard cost.  Strange part this is not for all material , for some materials this strategy is working fine as per costing strategy. Even I compared these materials , everything is same.
    No clue for me, appreciate your reply.
    Thanks

  • BAPI/FM to change the PO inforecord condition type netprice

    Hi Frnds,
    Is there any BAPI which changes the PO inforecord net prices based on the condition type values(KSCHL). If anybody has come across such developments, please do reply...
    Regards,
    Karthick C

    Hi,
    You can use the BAPI -
    'BAPI_PRICES_CONDITIONS'. Inside this BAPI, if you go to the tables BAPICONDCT, there is a parameter called as OPERATION. You need to mention this field before using the BAPI.
    003 - Delete: Message contains objects to be deleted
    004 - Change: Message contains changes
    005 - Replace: This message replaces previous messages
    009 - Original: First message for process
    023 - Wait/Adjust: Data should not be imported
    018 - Resend
    You should mention any of the above one parameter for your BAPI calling.
    Regards,
    JLN

  • 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

  • PO and PIR price, Infoupdate, deletion indicator......

    Hello friends of MM,
    I have a strange situation.. There is an inforecord in the system, correct validity, correct PB00 condition, the price is taken in the PO. (even there is a PO created with different price, updated the price history of the PIR). So far so good.
    If I split the validity and set for the current validity a deletion indicator for PB00 condition (the only existing condition), the price is still adopted, without any messages, into PO price!!!
    If I mark for deletion PB00 for all the rest periods, the PIR price is still adopted in the PO!!!!
    Only after mark for deletion the PIR on Purch.org. level, things come to their place.
    All my efforts are just to try to set the system not to adopt the price from the last PO, if there is no current valid PIR price.....

    Thanks,  Sap: IN!
    It turns out that it is just a misunderstanding! While I was testing, a colleague of mine has created a PO with the same material and so the last PO price was not the one I was expecting - the system is taking the last PO price correctly, although referring in the condition table to the current conditions form the PO (which were marked for deletion).... A coincidence, which took several hours of my life
    Going to my task - to forbid price adoption from last PO - I set message 06219 "Net price for item & adopted from last document" to be error, but:
    1) It turns out it is displayed only in case I put manually a price in the PO, different form the last PO price and the system overwrites it; it is not displayed when system adopts the price, without any manual entry before that
    2) Even I set the message category to Error, I still get it Warning, although in F4 help it is written that this is settable and not hardcoded....
    Any ideas?

  • Inforecord - plant and purch org. assignment

    Hi Experts,
    I would like to have some support / good ideas on following issue:
    we have a plant assigned to purchasing organisation 1:1, and only one (standard) inforecord should exist plant / purch organisation related, because I based my calculation on the inforecord price (through calculation variant / valuation variant). But buyes, who are responsible to create the inforecords frequently make mistakes and create inforecord with no plant, only purch org assignment  than make a new one with plant and purch org assignment, which sometimes gives us difficulties - especially on price handling during Po creation and calculation.
    Could You, pls advise me, which is the easiest way to stop this kind of duplication, and also delete the only purch org. related inforecords - I want to have only the purch org. and plant related inforecords in future.
    Thanks in advance

    SAP made the customizing for this control a kind of hidden.
    instead of putting it into the info record section in IMG, they have this in Conditions section.
    OLME > Conditions > Define Condition Control at Plant Level.
    here enter a minus for No plant-related conditions allowed
    If conditions are not allowed at plant level, you may not create any purchasing info records or contract items relating specifically to the plant.
    you can set a deleition indicator in ME15, and then archive the info record with SARA object MM_EINA

  • Inforecord Archive

    Hi All,
    I am trying to archive some inforecords , for that i am using MM_EINA archiving object in ME17. The job starts and gets cancelled immediately.The job log shows the following logs,
    Job started                                                                  
    Step 001 started (program RM06IW70, variant Z_EINA_ARC_01, user ID ABAP)    
    Reading purchasing info record                                        
    Archiving session 000034 is being created                                    
    1 of 1 purchasing info records processed                              
    Operating system message: No such file or directory                          
    Internal session terminated with a runtime error (see ST22)                  
    Job cancelled 
    I am unable to find out how the operation system message: No such file or directory error  is issued, pls let me know if any technical setting   are missing. Appreciate If anyone can let me know the step by step procedure for archiving inforecords.
    Thanks in advance
    Benny

    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 variant 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 on line, 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

  • Inforecord is different

    Hello Guru,
    I Have one materail  ABC, One vendor ---> 1000
    i have created one inforecord for these combination (Pur org>1000 plant>1000)
    material is for 1000 plant only
    when i create a PO for vendor 1000 and material ABC for plant1000 the inforecord  No disply is correct one.
    for the same combination of material and vendor  i had created another PO but in that PO
    Inforecord No Disply is different No,
    i have checked the Inforecord in EINA and EINE Table but this(2nd PO's) Inforecord No is Doesnot exist,,, why what is the reason
    the First Info no is Available in In Table....
    why system will pick the different inforecord....(both PO are Standard PO doc typeNB)
    i have checked the Info record in (Std, Sub Con, Consignment, Pipeline) but the 2nd Info is not avialble why , first of all Why PO will Pick the Different Info..i have checked the Deletion Flag also
    plz give reason i will give full points...
    sapman

    Yes i have checked In Both PO's The Info Update is There. no problem
    tell me correct reason..
    sapman

  • InfoRecord & conditions

    Hi,
    I need to create InfoRecords & conditions in the same times.
    To create InfoRecords I use the functions :
    -> ME_INITIALIZE_INFORECORD
    -> ME_DIRECT_INPUT_INFORECORD
    -> ME_POST_INFORECORD
    but I didn't find anyplace where to insert my conditions (KONP/KONH/VAKE...)
    Somebody have an example code or a tip ?
    Rgd
    Frédéric

    Dear Kakoli,
    You can use function module 'BAPI_PRICES_CONDITIONS' to create/change/mark as deleted price conditions. Then use 'ME_UPDATE_INFORECORD' to update fields such as EINE-NETPR, EINE-EFFPR, EINE-PRDBI, etc.
    Regards,
    Arwen
    *& Report  ZRMM0002_TEST_02
    *& Create Purchase Info Record Price Condition
    *& Created by Arwen
    *& 2012-10-19
    REPORT  zrmm0002_test_01.
    DATA ta_bapicondct  TYPE TABLE OF bapicondct.
    DATA ta_bapicondhd  TYPE TABLE OF bapicondhd.
    DATA ta_bapicondit  TYPE TABLE OF bapicondit.
    DATA ta_bapicondqs  TYPE TABLE OF bapicondqs.
    DATA ta_bapicondvs  TYPE TABLE OF bapicondvs.
    DATA ta_bapiknumhs  TYPE TABLE OF bapiknumhs.
    DATA ta_mem_initial TYPE TABLE OF cnd_mem_initial.
    DATA ta_bapiret2    TYPE TABLE OF bapiret2.
    DATA wa_bapicondct  LIKE LINE OF ta_bapicondct.
    DATA wa_bapicondhd  LIKE LINE OF ta_bapicondhd.
    DATA wa_bapicondit  LIKE LINE OF ta_bapicondit.
    DATA h_varkey TYPE vakey.
    DATA h_cond_unit TYPE meins.
    * LIFNR, MATNR, EKORG, ESOKZ
    * e.g.
    *0020000500,000000003000000212,1000,0
    *0020000000,000000003000000212,5000,0
    h_varkey = '002000000000000000300000021250000'.
    h_cond_unit = 'G'.
    * Condition Table
    wa_bapicondct-operation = '009'. "Create
    wa_bapicondct-cond_usage = 'A'. "Pricing
    wa_bapicondct-table_no = '018'.
    wa_bapicondct-applicatio = 'M '. "Purchase
    wa_bapicondct-cond_type = 'ZPB0'.
    wa_bapicondct-varkey = h_varkey.
    wa_bapicondct-valid_to = '20120930'.
    wa_bapicondct-valid_from = '20120910'.
    wa_bapicondct-cond_no = '$000000001'.
    APPEND wa_bapicondct TO ta_bapicondct.
    * KONH
    wa_bapicondhd-operation = '009'. "Create
    wa_bapicondhd-cond_no = '$000000001'.
    wa_bapicondhd-created_by = sy-uname.
    wa_bapicondhd-creat_date = sy-datum.
    wa_bapicondhd-cond_usage = 'A'.
    wa_bapicondhd-table_no = '018'.
    wa_bapicondhd-applicatio = 'M '.
    wa_bapicondhd-cond_type = 'ZPB0'.
    wa_bapicondhd-varkey = h_varkey.
    wa_bapicondhd-valid_from = '20120910'.
    wa_bapicondhd-valid_to = '20120930'.
    APPEND wa_bapicondhd TO ta_bapicondhd.
    *KONP
    wa_bapicondit-operation = '009'.
    wa_bapicondit-cond_no = '$000000001'.
    wa_bapicondit-cond_count = '01'.
    wa_bapicondit-applicatio = 'M '.
    wa_bapicondit-cond_type = 'ZPB0'.
    wa_bapicondit-scaletype = 'A'. "STFKZ
    *wa_bapicondit-scalebasin = 'C'. "KZBZG
    *wa_bapicondit-scale_qty = '1'. "KSTBM
    wa_bapicondit-cond_p_unt = '3'. "KPEIN
    wa_bapicondit-cond_unit = h_cond_unit. "KMEIN
    wa_bapicondit-calctypcon = 'C'. "KRECH
    wa_bapicondit-cond_value = '123.45'.
    wa_bapicondit-condcurr = 'CNY'.
    APPEND wa_bapicondit TO ta_bapicondit.
    CALL FUNCTION 'BAPI_PRICES_CONDITIONS'
    * EXPORTING
    *   PI_INITIALMODE       = 'X'
    *   PI_BLOCKNUMBER       =
      TABLES
        ti_bapicondct        = ta_bapicondct
        ti_bapicondhd        = ta_bapicondhd
        ti_bapicondit        = ta_bapicondit
        ti_bapicondqs        = ta_bapicondqs
        ti_bapicondvs        = ta_bapicondvs
        to_bapiret2          = ta_bapiret2
        to_bapiknumhs        = ta_bapiknumhs
        to_mem_initial       = ta_mem_initial
    EXCEPTIONS
       update_error         = 1
       OTHERS               = 2
    READ TABLE ta_bapiret2 WITH KEY type = 'E'
      TRANSPORTING NO FIELDS.
    IF sy-subrc <> 0.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ELSE.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
    ENDIF.
    *&      Form  FRM_UPDATE_INFORECORD
    *       text
    *      -->P_2399   text
    form frm_update_inforecord  using p_part.
       data:it_einex like table of eine with header line,
            it_einax like table of eina with header line,
            it_einay like table of eina with header line ,
            it_einey like table of eine with header line,
            it_reg_eina like table of eina with header line.
       data lv_lifnr type elifn.
       data lv_netpr type iprei.
       data lv_ekorg type ekorg.
       data lv_prdat type prgbi.
       lv_matnr = '000000000000000001'.
       lv_lifnr = '0020000500'.
       lv_ekorg = '1000'.
       lv_netpr = '1.23'.
       lv_prdat = '99991231'.
       select single *
         into it_einay
         from eina
         where matnr = lv_matnr
         and lifnr = lv_lifnr.
       it_einax = it_einay.
       it_reg_eina = it_einax.
       read table it_einay index 1.
       select *
         into table it_einey
         from eine
         where infnr = it_einay-infnr
         and ekorg = lv_ekorg.
       loop at it_einey.
         it_einex = it_einey.
         it_einex-netpr = lv_netpr.
         it_einex-effpr = lv_netpr.
         it_einex-prdat = lv_prdat.
         append it_einex.
       endloop.
       call function 'ME_UPDATE_INFORECORD' in update task
         exporting
           xeina    = it_einax
           xeine    = it_einex
           yeina    = it_einay
           yeine    = it_einey
           reg_eina = it_reg_eina.
       class cl_badi_mm definition load.
       data l_exit type ref to if_ex_me_inforec_send.
       data:it_eina_n type mmpr_einau,
            it_eina_o type mmpr_eina,
            it_eine_n type mmpr_eineu,
            it_eine_o type mmpr_eine ,
            wa_eina_n like line of it_eina_n,
            wa_eine_n like line of it_eine_n,
            wa_eina_o like line of it_eina_o,
            wa_eine_o like line of it_eine_o.
       data: maxmenge like ekpo-menge value '9999999999'.
       l_exit ?= cl_badi_mm=>get_instance( 'ME_INFOREC_SEND' ).
       if not l_exit is initial.
         if not  it_einax  is initial.
           move-corresponding it_einax to   wa_eina_n.
           append wa_eina_n to it_eina_n.
           move-corresponding it_einax to wa_eina_o.
           append wa_eina_o to it_eina_o.
         endif.
         if not  it_einex  is initial.
           move-corresponding it_einex  to   wa_eine_n.
           move 'U' to  wa_eine_n-kz.
           append wa_eine_n to it_eine_n.
           move-corresponding it_einey to wa_eine_o.
           append wa_eine_o to it_eine_o.
         endif.
         call method l_exit->send_changes
           exporting
             n_eina        = it_eina_n
             o_eina        = it_eina_o
             n_eine        = it_eine_n
             o_eine        = it_eine_o
           exceptions
             error_in_send = 1.
       endif.
       commit work.
    endform.                    " FRM_UPDATE_INFORECORD
    消息编辑者为:Arwen Liu

  • Inforecord in APO inbound Q again and again !

    Even after excluding the info record and the associated materials and locations from all the integration models, the inbound Q error points to the same info record in all intergration model activation (one by one in desired order and also in background all models). I have even flagged for deletion, the inforec in ECC. What could the likely issue. I have even deleted the corr. ext procurement relationship in APO.
    Some pointers would be appreciated.
    what does the inforec log say: source and desination location same.
    what did i do > excluded the material and the locations and the inforec#  from corr. # named models as only the inofrec exclusion did not solve this error.
    Regards,
    Lok

    Loknath,
    Are you getting a failed inforecord queue, or are you getting a failed purchase order queue?
    I hope you are aware that just inactivating a CIF model won't delete any data that already exists in SCM.  Depending on the type of queue that you have failing, the 'bad' master data may already exist in SCM, and that is what is creating your error.
    An important thing to remember is that you have to be very structured in your troubleshooting.  Each time you try something new, you must clear all errored queues first.  Otherwise, you may end up looking at an error that had been generated from the previous experiment, and assume that the current experiment had generated the error.
    Rgds,
    DB49

  • Assigned Source can't be deleted while sourcing

    Hi All;
    we are using SRM 7.0 with classic scenario i.e shoppinag cart is created in SRM but PO is created in ERP only after being triggered in SRM.
    When the user creates a shopping cart, the system automatically assigns a source of supply if there is inforecord exist. In sourcing, the buyer is able to delete the supplier number but the inforecord feild is display ony. As a result, the system gives error message that inforecord is different than the assigned source of supply.
    How can we delete the inforecord?
    Or at least, the system should not assign the source of supply automatically in shpooing cart.
    Thanks

    It sounds like it might be corrupted, try exporting it to idml, then opening that and saving it as a a indd document again.
    Message was edited by: Stix Hart for a typo...

Maybe you are looking for

  • ABAP Programming Error with SAP HR IMG

    Hi, I am new to this site and I have a question.  Recently, I had the "Vanilla SAP System" installed on a harddrive for my laptop.  I am studying for the SAP HR Consultant Certification. However, the system doesn't have the training DB and I have to

  • How do I create a group distribution list

    I want to send mail out to the same group of people repeatedly.  How can I identify this group in my contact list as one so I don't have to keep doing its over and over again?  I see there is a group page in the contact book but no plus sign on the b

  • HT1338 are there any more updates to OSX 10.5.8???

    are there any more updates to OSX 10.5.8???

  • Exception Errors while excution...

    After i compile a program in unix the program wont run. It keeps coming back with an exception error. Not only with my programs, but even with ones straight outta a text. However they do run under my win jkd. howcome... ?!?!?! heres the error message

  • Satellite Pro A300 - Webcam driver fails to start under Win 7

    Recently purchased a Sat Pro A300 and immediately upgraded from Vista Bus to Win7 Pro. Didn't try to use webcam before upgrade. Post-upgrade, after downloading and installing Chicony webcam software from Toshiba, continually get message "Webcam drive