Reset deletion indicator in Purchase Req

Hi Frnds,
   Any FM or BAPI to reset the deleted the Purchase Requitition?
to reset the field "LOEKZ" value to blank...
Mass Update FM would be preferrable.
Regards,
Karthick C

Hi karthikk,
please try FM BAPI_PO_CHANGE parameter  POHEADER/POHEADERX field DELETE_IND.
AFAIK the deletion indicator for items is connected to the statistical item indicator STAPO. STAPO is set automatically together with LOEKZ on item level - so it should be reset as well, but I did not try. Fields on item level have same name but are in TABLES parameter POITEM/POITEMX.
Addition Mass update: Process the orders in a loop, call FM for each of them and after commit intervall call BAPI_TRANSACTION_COMMIT.
I don't know what kind of locks are set. You can set the COMMIT interval to 10000 and see if you end up in a lock table overflow.
Regards,
Clemens
Message was edited by:
        Clemens Li

Similar Messages

  • 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

  • Setting of Deletion Indicator in purchase order

    Dear friends,
    Plz tell me how to set the deletion indicator in a purchase order.
    thks

    Hi
    Just have to select the line item and under item overview you have delete button.
    regrds
    Yogesh

  • 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

  • Purchase Req Release Reset After Addition of New Component in Service Order

    Hello,
    We have a scenario where we create a service order, add some operations, and then some components to the operations. Note that we are set up to use the same purchase req for all components so all components, regardless of operation, are on the same req.
    We then release all lines on the purchase req and continue on to convert to purchase orders. In some cases, the PO's are then received.
    Now, it is discovered that we need to add addtional components to the same service order so we do that. These new components are added to the original purchase req. Upon saving the service order, all of the previously released lines have reverted back to unreleased. Very frustrating since some of the req lines are already converted to purchase orders.
    Note that the changability flag is set to 4 for our release indicator.
    We are at a loss as to how to fix this. Anyt insights are appreciated.
    Regards,
    Greg

    Hello All,
    Thank you for your replies.
    @Sebastien: We are using collective PR's. If we cannot solve, we will entertain individual PR's
    @Maheswaran: It's MM from the PR perspective but since it is only happening when the PR's are tied to the service order, I asked here. We are releasing at the line level of the PR.
    @Linganna: Are you talking about an enhancement to create individual PR's? That is taken care of in configuration, no?
    Thanks again and regards,
    Greg

  • 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

  • Unfirmed purchase reqs not getting cancelled in the background MRP run

    Good morning,
    The system has created Purchase requisitions for 2010 due to the setting in the MRP run. we want to change it to planned orders outside the Vendor lead time and when i run a REGEN MRP with setting 2 (Purchase requisitions in opening period) its not happening. When i run indivudual MRP with MD03 with the same setting its alright, purchase requisitions are deleted and its converted into Planned orders. Can anyone please throw some light on to make backgrouond MRP run delete the Purchase requisition and create planned orders.

    Jags,
    You must delete the offensive PRs first.  Regardless of the MRP settings, MRP will still decide that the PRs are valid and will leave them alone.  It will not 'change' them into planned orders.
    Run Regenerative MRP with your new settings (Create purchase reqs as '2') but also run your MRP in planning mode '3', delete and recreate planning data.  It will delete all existing unfixed purchase requisitions, and then run MRP.
    Rgds,
    DB49

  • PO Deletion indicator cannot be unset

    Hi,
    We want to change a material based Unit of measure from PC to EA, but the material has an open PO.
    1. We delete the PO item first with tcode ME22N then change the Material master (tcode MM02), change the based uom from PC to EA. done.
    2. Then go back to UNDELETE the PO item (ME22N), the following error message is displayed "Deletion indicator cannot be unset".
    How to resolve this error, we need to undelete the PO item after the material's has been changed.?? Urgent.

    Hi Eric,
    Sorry...mmr means material master record...
    1. Reset the BUoM from the new one to the old one
    1a) undelete the POs
    1b) use the mmr with original BUoM (that was reset in 1a) )
    or (reset the BUoM and undelete the POs and) create a new material master with desired BUoM and use this (instead of the original material master with new BUoM if the deleted POs are not OK for you).
    2. Keep the mmr with new BUoM with the delted PO items. As I know you can delete a PO item if GR/IR balance is OK for it so I think it shouldn't be problem.
    2a) If you want to get rid of partially delivered PO items >
    2a1) reste the BUoM from new one to the original
    2a2) undelete the partially delivered POs
    2a3) reduce the qty of these PO items to achieve that the should completely delivered and after that delete them
    2a4) set the new BUoM for your mmr
    2a5) create new PO items instead of the before reduced PO items with proper qty (with the mmr that has the new BUoM).
    BR
    Csaba

  • Deleted location in purchase order

    Hi,
    i have set the deletion indicator to the location XXXX for XX material in MM06 T.code . My  requirement is how to give the error message if the user mention that deletion location during t purchase order order creation ? i have tried but even the system not provide any error message also.
    Regards,
    Renuga.A

    You have set the deletion indicator to the location XXXX for XX material in MM06 T.code
    that means system thinks that you may choose another Location during GR..
    That's why you will not get any message in PO..
    If you want you can  use badi ME_PROCESS_PO_CUST and the logic..

  • PR to PO with deletion indicator problem

    Hello,
    I need to one e.g. in conversion process. I have 3 line items and created PR with that.
    Now after creation of PR marked deletion indicator on second line item and save the PR. Now after release when i convert
    this from PR to PO i am not getting proper results. I want to know whether system will be able to create PO for line item 1 and line item 3 and ignore line item 2? . Also i want that both 1 and 3 line items should be one PO, no searate PO should be issued.
    How can we achieve this.
    Thanks
    Himanshu

    Hi Himanshu ,
    By adopting the PR to the PO via the shopping cart button all marked documets of the overview are copied onto the overview.
    As a workaround you could control the selection of PR, you could select the 'open only' checkbox in the selection screen in
    the overview. Then the deleted items should not appear on the overview and therefore will not be adopted to the purchase order.  Another option is to use the 'deletion indicator' in the variant for purchase requistion therfore excluding the
    deleted items in your selection.
    Kind regards,
    Lorraine

  • MRP - VB type deletes already created purchase orders

    Dears,
    Recently sth happened with MRP planning for materials with VB (reorder point) type at my client.
    If stock is below reorder point MRP generates  requisition correctly. But when requisition is converted to purchase order and delivery date is changed (+ few days) a new MRP run suggests to delete such purchase order and creates new requisition with delivery day = today.
    1st clue I had was to check  planning horizon period in SPRO but it's 30 days so any purchase orders within this period created with reference to MRP requisitions should be "visible" for MRP. 
    Planning mode is standard (adapt).
    Do you have any idea what could happen?
    Regards,
    Marcin

    Hi Amit,
    I've checked this. VB type seems to be unchanged - SAP standard settings. As far as I know there are 4 factors that have influence on reorder point planning:
    1. Material mater data - MRP type and reorder point level
    2. MRP type settings - VB in this case is a SAP standard
    3. Config - planning horizon (in this case long enough to cover diffrences in delivery dates between PREQ and PO dates)
    4. Planning parameters:
    Processing key          NETCH       
    Create purchase req.    1           
    Delivery schedules      3           
    Create MRP list         1           
    Planning mode           1    (adopt - normal mode)       
    Scheduling              1           
    Parameters seems to be correct but system still recreates PREQs and wants to delete POs...This is very odd behaviur. I'll try to find sth in OSS.
    Hope You'll have any idea.
    Thanks,
    Marcin

  • "Delivery Completed" Indicator in Purchase Order

    Hi,
    While doing GR, we want to check the "Delivery Completed" on the Goods Receipt Screen if we are expecting no future receipt against the Purchase Order.
    On SDN & SAP Note, I got to know that we canu2019t tick the "Delivery Completed" Check Box while doing Goods Receipt.
    We have implemented the Release Strategy on the Purchase Order. To tick the "Delivery Completed" Check Box, we need to cancel the Release Strategy.
    Is there any other way (T Codes) to achieve the same?
    Regards,

    Even you flag Delivery Completed" Indicator in Purchase Order, system still allows GRN for open Qty.
    Use MEMASSPO trxn & Put Deletion indicator for the PO Line Item. So that you can not do GRN for the open Qty of PO line item.
    Check
    mass setting of delivery completed indicator

  • Issue with setting deletion indicator in PR

    Hi ,
    For a certain sales order, a dummy Purchase Requisition was created and the delivery was also created.
    There was an existing logic in exit  MV50AFZ1  to set the deletion indicator in PR when PGI has been done.
    But when the Goods Issue was done by another user id , Purchase Requistion does not have the delivery indicator set ,as this user ID has no authorization to ME52N.
    Users want to surpass this check for all users who have authorization for Goods Issue , i.e, when any user who has authorization for Goods Issue does the PGI, then the deletion indicator should be set in PR, irrespective of whether he has/has no authorization for ME52N.
    How can I achieve this?
    Is there any place where I can check the authorization for ME52N and then use some other id for PGI so that deletion indicator is automatically set?
    Awaiting response.
    Thanks,
    Neethu

    Thanks Chericheri
    So my code now reads MODIFY <internal table> FROM <work area> INDEX <table control>-current_line transporting <deletion indicator field>.
    Edited by: Brett Cunliffe on Sep 22, 2011 4:44 PM

  • MRP Generating Purchase Reqs for Materials Needed in 2013

    Hi, all.  We're running MRP and it's generating a massive amount of purchase requisitions (18,310 to be exact).
    The following is a typical part setup:
    Lot size = EX
    Planned delivery time = 5 days
    GR processing time = 2 days
    Individual/collective requirements = 1
    MRP profile = BTO
    We have one existing sales order with a delivery date in 2014.
    With a lead time of roughly a week, why is MRP generating purchase requisitions out into 2013 for this material??
    Thanks!
    Sarah

    Sarah,
    MRP Profile doesn't mean much to us, they are all created individually during each implementation, and they are all different.  However, I will guess that BTO is some type of Make-to-order profile.
    You mention 18K of PRs.  Are these all being created in a single run, or is it possible that they may have been accumulating for a while?   To find out, run MRP, but using the parameter for Planning mode 'Delete and Recreate planning data'.  It will delete all the unfirmed PRs and then regenerate new ones based on the current situation.  I will assume for the moment that all these 'future' PRs are unfirmed, please let me know if they are not.
    Since it appears to be a MTO environment (if not, let me know) then you should be able to see in the planning segment which requirement (sales order) is driving the purchase reqs.  Depending on your MRP type, this could give you understanding of why MRP is proposing so many PRs.
    One thing that will generate a large number of purch reqs is an unrealistic value in Maximum Lot size (MRP1 page of material master).  For instance, for a requirement of 1000 widgets, and a max lot size of , say, 2, it would generate 500 PRs for 2 widgets each.
    If my suggestions don't help you, please specify MRP Type, Lot Size, max lot size, rounding value, Safety stock, reorder point, Strategy group,   From these values we can begin to understand your problem a little better.
    Rgds,
    DB49

  • Regarding rescheduling of purchase req.

    Hi All,
    For raw materials I have maintained safety lead time in the material master and I conduct MRP run. System create the purchase requisitions after MRP run. When I check the requirements in MD04 for the raw material, system show me rescheduled date.
    But it doesnot mean that system has rescheduled purchase req.
    Is there any transaction, so that I can reschedule the purchase req. ?
    Regards,
    Mahesh

    Hi,
    Do you notice a star indicator next to the PR, if yes it means a firming of the PR has taken place. This firming can be due to manual modification or due to the PR falling in planning fence and an automatic firming.
    MRP does not make changes to firmed proposals. So just close this PR & re-run MRP & system will generate an unfirmed PR. The MRP run will schedule the proposal on the need date.
    Hope it clarifies.
    Regards,
    Vivek

Maybe you are looking for

  • ORA-02421: missing or invalid schema authorization identifier

    Hello Evryone, I am having a problem with schema user session. I am not able to change the schema even it exists. SQL>ALTER session SET CURRENT_SCHEMA='QA' Error report: SQL Error: ORA-02421: missing or invalid schema authorization identifier 02421.

  • Does a wrapper html file need to be in the same directory? Need advice

    I'm doing some RnD experiments for an upcoming project and I would like to use Edge. What I'm trying to do is load 2 different compsites in a wrapper.html file that is level above the compsites. For instance my setup is project/wrapper.html project/p

  • DOC should be a normal Word document and we should be able to define the header style

    Hi Team, We are facing a issue with the pre assigned headers assigned by Adobe acrobat Pro Xl. Our actual requirement is as follows: 1. As we convert a PDF to DOC there shouldn't be any pre assigned headers (header levels defined). 2. DOC should be a

  • Javadoc packages

    I'm having trouble using javadoc with my packages. At the command line, in the directory of the files in my package, I run the command 'javadoc searcher' where searcher is the name of my package. I get the error "No package, class, or source file fou

  • Podcast Producer and Xgrid setup - Jobs don't run

    I've successfully setup an xserve here to be part of an OD setup, setup xgrid which is running successfully, and have Podcast Producer up and running and successfully running on the xgrid. However, when i open up podcast producer and go through the w