Archiving - removal of deletion indicator on p.o. item line

Hi all,
we've run into some problems in 4.7 with old p.o.'s which have been delete marked of the archiving program (step 1 - residence time one), where the user now want's to remove the deletion mark again, - but this is not possible, as the purch. req. has already been archived :o(
Example:
Purchase orders have a residence time as follows:      
Residence time 1:       30 days
Residence time 2:       395 days
Purchase requisitions have a residence time as follows:
Residence time 1:       30 days (we're having a one step archiving procedure for MM_EBAN)
Now the p.o. has got a delete mark on item line according to residence time 1 = 30 days (MM_EKKO) and afterwards the purch. req. has been archived (according to residence time 1 = 30 days (MM_EKKO). The user can't manually remove the deletion mark from the p.o. item line again, because of an error saying "purchase requisition xxx, item xxx does not exist"
What can we do, to remove the delete mark from the p.o. item line again - can the link between the p.o. and the archived purch. req. be removed ?
Thanks in advance for your reply :o)
Best regards/Med venlig hilsen
Ulla Köhler Hansen
Application Consultant, SAP R/3 - SRM/PLM Solutions
The Danfoss Group
Danfoss Information Technology
Loc. 1.0.53
Ellegaardvej 25 A
DK-6400 Sønderborg
Denmark
Tel.: + 45 7488 3913
Fax: + 45 7488 4715
e-mail: [email protected]
http://www.danfoss.com/
This message and any files transmitted with it may be confidential and are intended only for
the individual named. If you are not the named addressee you should not disseminate, distribute
or copy this e-mail. Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.

Hi
I have made the change in your code , try this code .
it_bapimepoitem-po_item = '00100'.
*it_bapimepoitemx-po_item = 'X'.*
it_bapimepoitem-DELETE_IND = ' '.
it_bapimepoitemx-DELETE_IND = 'X'.
APPEND it_bapimepoitem.
APPEND it_bapimepoitemx.
Hope it will help you .
Regards
Rahul

Similar Messages

  • Removal of deletion indicator in Production order

    Hi,
    Can any one explain me how to remove the deletion indicator in production order.
    thanks and regards
    Murugesan

    As I know we have delition flag status and delition flag in the control data tab page.
    both are related, whenever you set the status as delition flag set, this indicator will come automatically, and visa versa. I am not sill clear which you are refering as delition indicator?
    Is it some thing different from what I am talking about?
    If so what is the significance of this indicator and why you are using this?
    Form dlition  inicator many of he fuctions can be blocked. Is there any function which can be blocked after delition indicator than delition flag indicator what I am refferring?

  • Removal of Deletion Indicator

    Dear Experts,
    Please advise can we reverse the deletion indicator from Process Order. If yesthen plz explain how.
    Thanks
    Sumit

    HI
    use t-code COR2 change process order,
    goto menu
    process order>functions>deletion flag-->inactive
    -ashok

  • Production Order Deletion Indicator - Reversal

    PP Experts,
    We have set the deletion indicator on our production orders, now we need to undo the  deletion indicator on some.  Is it possible to remove the deletion indicator, not the deletion flag, but the deletion indicator.
    Barry

    Hi Barry Nelson,
    Well the most important thing is every body said and again i am repeating we can not revesal the deletion indicator for a production order.
    Mainly Deletion Indicator is used to reduce the old order data stored in the SAP system when ever they come to conclusion there is no use OK.
    Activating Deletion Flag means you are deleting from Tables as well OK. Once the data is deleted from tables means you can not find any information of the order OK.
    It will also increases the system performance as well.
    I hope it helps you any questions pop me again.
    Regards,
    Madhu.G

  • Unmarking of Purchase Order deletion indicator

    Hi
    Purchase order deletion indicator was flaged for the line itme due to which not able to do the goods receipt
    Reset the deletion flag , still i am not able to do the GR
    It is giving the error message - PO has the deletion indication
    Could you please help on this
    Thanks
    Tanvi

    Hi
    In EKPO table deletion indicator is not there
    In EKKO table deletion indicator field has the value C
    How to unflag the deletion indicator at header level
    Error message is
    Purchase order 4511582854 has deletion indicator
    Message no. M7031
    Could you please suggest how to move further
    Thanks
    Tanvi

  • Preventing Deletion indicator in PR once work order is completed

    Dear colleagues,
    Users create work orders in IW31 with the choice of external service; control key is PM02. Once work order is saved purchase requisition (PR) is created in background. With reference to PR, purchase order (PO) is created by purchase specialist.
    When work order is technically completed (system status TECO) deletion indicator is set to PR line item(s) automatically which result in undesirable situations since PR(s) has subject to release strategy in our system.
    Is it possible to prevent setting deletion indicator in PR once reference work order is technically completed?
    Kind regards
    Melih

    Hi,
    In this case that behavior has negative effects on PR Workflow process because in our system when PR(s) is created it is subject to release strategy according to preconfigured conditions.
    Once the order is technically completed (TECO) deletion indicator is set to PR line item(s) automatically meanwhile release strategy tab is disappeared from PR line item(s).
    In addition to that in ME54N system gives the MEPO822 (Purchase requisition XXXXXXXXX cannot be released) message even PR is approved before the order is technically completed.
    Kind regards
    Melih

  • Set deletion indicator in purchase requisition account assignment

    Hi Guys,
    Can you please help we with the solution to set deletion indicator in purchase requisition account assignment or close purchase requisition. A purchase requisition of $3.600.000,00 was created through Project system Network-External Processing and it has 2 duplicate network activities and $2.246.577,20 was converted to purchase order then $1,353,423 became the network remaining order plan. A purchase order service entry sheet was accepted and the invoice was created. Now Iu2019m experiencing problem when Iu2019m trying to change WBS element and Network system status to TECO in order to remove the remaining order plan of $1,353,423. Iu2019m getting error message number:06411 the procedure I have follow to correct the error is to reduce quantities in the account assignment item and delete superfluous account assignment by setting deletion in each case but I cannot do that because the fields are grey
    Regards
    Sandile

    Hi,
    please check first if the report ZMO_CORRECT_EBKN  from note 739004  can correct the problem.
    I would like to recommend you to check also the note 796973 whether the correction is avalilable in your coding, it should solve the issue.
    In case the problem still persists, please open a ticket to get help from the primary support in area MM-SRV.
    Regards,
    Edit

  • How to set deletion indicator to SERVICE ENTRY SHEET

    Dear Experts,
    Please explain, is it mandatory to set Deletion indicator to Service entry sheet before Start of Archiving Service  entry sheet.
    Also explain Procedural steps to set deletion indicator to service entry sheet.
    Thanks in Advance

    Dear,
    First of all Revoke Acceptacne as
    Entry Sheet --> Set Status --> Revoke Acceptance .
    After that you can delete....but no Invoice must be exist.

  • Change production order with deletion indicator

    Hello
    We have some production order with deletion indicator, status 'DLT'. We want to reative them and do GR. How can we do, can we remove the status 'DLT'
    Thanks
    Hailiang

    Hailiang,
    Its not possible to revoke the deletion flag.
    so you need to create new orders, and thats why its being suggested that think twice before setting deletion flag.
    if you are not sure with the orders you can set TECO , and it can ve easily revokeas and when required.
    Regards
    Ritesh

  • How to remove the deletion on item level in PO

    Hi Experts,
    How can I remove the deletion on item in a PO ? Do I need to fill the item again lower in the document?
    Thanks for your help.

    Go to PO change mode,Select the line item and besides deletion indicator there are teo indicators one to lock PO line item and another to unlock PO line item, select the unlock one.
    Save po
    Regards
    PK

  • How to Remove batch mangement indicator from Material Master

    Hi
    I am trying to remove batch mangement indicator from Material master..but system does not allow
    Before this .. I have done all activities also ...clear open SD documnets ,deliveriy documents ,PO documents ,Process order teco and . reservations and activae deletion flag in  batch  ... and made current period  stock an previous period  stock zero... i have cleard all documnets ...still system does not allow remove indicator..could you please guide in this issue ..how to remove batch indicator.
    Regards
    Sasi

    Hi,
    Please refer the below links.
    Re: untick Batch Manegement Indicator on Material Master
    Remove batch management flag and deletion of material documents
    How to remove Batch Management in the Material
    Re: How to remove Batch Management Check in the Material
    Thanks.

  • Material Master Record - How to remove or delete storage location

    Dear all,
    Is there a way to remove or delete a storage location accidentally extended via MM01 due to extending the general plant view?
    I've tried the following:
    1. I've used MM06 to flag the particular storage lcoation for deletion. However, when go to MM02 and select the plant view, the storage location that already been flag still exist for selection. I only get the warning prompt "The storage location has been flag for deletion".
    2. I tried MMSC attempt to delete and I get either messages with different material master record:
    a) "Material not fully maintained for this transaction/event"
    OR
    b) "Storage location 60BF already exists and cannot be deleted"
    P/S: If this question has been asked before by others, please point me to that thread.
    I'm grateful for any suggestion. Thanks.
    Steven

    Hi Jurgen,
    I've gone through the data archiving project in the past. I was actually hoping I don't have to go through this big exercise for this minor situation.
    The storage locations in the SAP system are fine. The problem is that when I came in to this organization, I found out that the procurement users have accidentally extended material master record to those storage location irrelevant to them. Those users don't post any stock to those accidentally extended storage location. They admit that it was a mistake. So, I don't really have to do stock movement or GI out from those affected storage location because there's nothing in them.
    Now that I've initially flag for deletion (MM06) of those mistakes done by those procurement users over the few years counting to 2000+ material master records affected. But the standard behavior of the SAP system allows change to proceed in MM02 except for that warning message MM081. So, I was actually asking around to explore if there's actually an option to make it an error prompt instead and stop the whole change process at MM02 transaction level.
    If I may re-confirm, what I've done so far via flaging for deletion of material master record at storage location level - is this the only correct solution available?
    Hope this clarifies my intention of opening this thread. Sometimes, users are quite tough in accepting the results from standard SAP system behavior.
    Thanks for the time in explaining.
    Steven

  • Reset/undo the Deletion Indicator in the Prod Orders

    Hi Friends,
       I have set the Deletion Flag and feletion Indictor inthe Prodcution orders in order to prepare them for Archiving. Now I want change some of them.
    But I am unable to go into Change mode of Prod Orders(CO02). Message says Prod Order is already deleted and hence can only be displayed.
    How can I reset the deletion Indicator?
    Thanks
    Siva

    Thanks Diego!! I can reset the Deletion Flag  from CO02 but not the deletion Indicator which I set vis the program PPARCHP1. Now I am even unable to go to CO02.
    Siva

  • Table EKKO-LOEKZ Delete Indicator can't be changed once set

    Hi Gurus:
    We ran Archive Object MM_EKKO Preprocessing Program RM06EV70.  This set the deletion indicator EKKO-LOEKZ to an 'L' on 2008 Purchase Orders.  It was discovered that around 100 really can't be archived.   On this Forum we were told that SAP Tcode MEMASSPO can change LOEKZ back to blank.  Our SCM Team tried that but we get  error messages that the PO can't be changed and  that Purchasing document 6200000617 already archived.  
    Does anyone know what we are doing wrong or another way to set LOEKZ back to blank?
    Thank you
    Dennis

    Hi Jurgen:
    I use Tcode MEMASSPO.
    I select fields on Purchase Order Header.  I select the deletion indicator MASSEKKO-LOEKZ on the list.
    I enter a PO Number with an 'L' in the LOEKZ field from the preprocessor.
    I change the new value field to  blank on the PO Header.  I hit the mass change button.   The 'L' is changed to a  blank. 
    I hit the save icon.   I get all of the following errors.
    6200000617 : Instance 6200000617 of object type PurchaseOrder could not be changed
    6200000617 : Instance 6200000617 of object type PurchaseOrder could not be changed
    6200000617 : Purchasing document 6200000617 already archived.
    If we do this for a PO that was not set to a 'L' by the preproessor program.  We can change it to using MEMASSPO to 'L' (SAP Changes it to 'C' and we can blank it out again. 
    I don't think there is anyway to get MEMASSPO to change the PO.  Any ideas?

  • "Deletion Indic. not set in BE"

    Hi,
    Does anybody came accross 'Deletion Indic. not set in BE' seletion criterion on BBP_GET_STATUS_2.
    Surprsingly, their exists no code in the program which is using this parameter 'be_del' and their are no OSS message for the same.
    Any ideas on this one.
    Regards,
    Piyush Garg

    Hi
    Which SRM version are you using ?
    We are using SRM 5.5 version. No problems, there is not any code for the field "be_del" as such. We have not faced this problem yet.
    Please provide the detailed process to show how to replicate the steps.
    <u>Meanwhile, Have a look at the following relevant SAP OSS Notes</u>.
    Note 1040917 - BBP_STATUS_READ: Error messages are not deleted
    691569 - Error messages in BBP_GET_STATUS_2
    Note 890319 ActualValues in SC from back-end documents are not deleted
    989891 BBP_GET_STATUS_2: Incorr quantity determination in back end 
    1040847 Requirement is removed from sourcing after BBP_GET_STATUS_2
    1012124 SHP not reappear in SOCO after backend PO delete
    1032713 BBP_GET_STATUS_2: incorrect sourcing indicator  
    757625 Incorrect Status I1112->analysis report
    755769 Status I1113, no item or header relations->analysis report
    994314 PO appears twice in applet preview in limit SHP 
    949162 Follow-on documents exist, status I1111 and I1113 active
    947198 IMS monitor: Web Dynpro with hierarchies
    922575 BE_REFOBJ and BE_REFOBJ_ITEM filled during Confirmation(SUS)
    844209 BE_REFOBJ is filled at confirmation
    798044 Correction for object links missing between SC and BE docs
    776921 Display of deleted purchase orders on history screen
    723680 Corrections in the mapping of SAP XML messages
    723594 SRM 4.0 XML confirmation mapping error   
    662411 BBP_GET_STATUS_2: Too many database updates
    651040 No update of shopping cart after reversing goods receipt
    638505 Delete shopping cart item: Status stil active
    604420 Composite SAP note SRM 3.0 SP1 group
    626109 Enhancement BBP_PD_SC_REF_GETLIST for local bid invitations
    619897 EBP 3.0: local SC reporting and SC status
    576555 Perf: BBP_GET_STATUS_2/Confirmatn for only Classic Scenario
    578033 Item from the shopping cart are deleted in backend
    573202 'Buffer table not up to date' for APPEND at tables
    570440 Problems with Delete/Restore of back end documents
    551276 Too many database updates in BBP_GET_STATUS_2
    498899 Correction instructions for EBP 3.0 in Note 436151 incorrect
    422697 Change of structure 'BBPS_SC_REFUPDATE'
    459422 EBP SC Status: Backend PO delete indicator set at random
    501052 Deleted purchase orders not displayed in the history
    513034 History for an extended limit purchase order in test status
    417334 EBP/BBP: Deletion of requisition not displ. when UOM wrong
    426444 BBP_GET_STATUS_2: Dump
    Do let me know.
    Regards
    - Atul

Maybe you are looking for

  • Can't open ANY pdf files. Updated to 10.1.8--still "Access Denied."

    Hello everyone, I am currently unable to open any PDF files. I recently did a clean re-install of Windows 7 (restored my Toshiba Satellite to out-of-the-box state). After that, I restored all of my personal files from an external HD. Now, every time

  • Values not appearing in Dropdown for field

    Hi All , My issue is that i have a field in a table which has a dropdown list for choosing values. Somehow the dropdown does not contain any values. The dropdown is supposed to fetch the fixed values from the value range of the standard domain 'SO_ES

  • Cannot extract the embedded font 'F2'. Some characters may not display or print correctly.

    This question was previously published but no answer has been found. Error message is : "Cannot extract the embedded font 'F2'. Some characters may not display or print correctly." Many pdf documents display this error with Adobe Reader 8.1.0. We hav

  • Help! Droplets and Exporting

    hey folks, I seem to recall this being posted, but for the life of me i cannot find it. what is the correct way to setup the photoshop Action & and Automate options when it comes to creating a sharpening droplet (for use in an Export's "Post-Processi

  • Where is the Clear History button?

    I have an app that is called "7-in-1 offline photo translator" and someone told me that if you press the ''clear history'' button you can clear the apps translation history. Where is that on the iPad? I dont see it! Please help me!! Is that button on