Order category BF not getting deleted in APO

Hi Experts,
I have a situation where the material is already deleted in ECC (hence no longer existing), but the product is existing in APO and we need to delete this in APO. To do this, we need to delete the dependent orders for that product/location first and then other dependencies.
There are few orders for the prod/loc as confirmed purchase orders (ord cat BF). These orders are now PP/DS orders with status as PP firmed, output firmed and date fixed.
I have tried the two programs- /sapapo/rlcdelete and /sapapo/delete_pp_order, but system is not picking up the orders to delete.
The system shows as message as " No deletion of converted orders in active version"
As I said earlier, the product is no longer existing in ECC, hence I can not delete the orders from there.
Is there any other way to achieve this? Is there any BADI to do this in APO?
Regards
Manotosh

Hi
You can use /SAPAPO/DELETE_PP_ORDER report for deleting these orders.
Execute the this report, mention all the products for which you want to delete the order and execute it. It might give the message as orders will not get deleted as inactive in APO.
Go back please enter as DEL_EXECU, in the place where we use to enter the T-codes and enter and than again execute the report. It will delete the orders.
You can also try /SAPAPO/SDORDER_DEL report.
Thanks
Amol

Similar Messages

  • Past due PurRqs are getting deleted in APO but not getting deletd in R3

    Hi folks,
    We have a daily job, which runs at 18:00 hrs in the evening everyday in the APO Production System.The job is to delete all past due Purchase Requisitions for last 2 years (job & variant details are mentioned below) All the past due PurRqs are getting deleted from APO, which we have cross-cheked in RRP3 view many times.
    However the same is not getting deleted in R3 systems. The planner/end- user is getting confused & hassled by this list of old PurRqs which is visible in R3 through MD04 t-code.
    Please suggest remedial/corrective actions to get this issue sorted.
    The job details for the deletion of past purchase requisitions.
    The job is run with the following variant details:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ABAP Program name :/SAPAPO/RLCDELETE
    VARIANT Details
    Select Object-> By Categories ->Category = AG (PurRqs in R3)
    Manual Selection-> Version =000; Product = (blank); Location = List ofall locations;
    Fixed Order (ticked)
    Period = 14.03.2009 to 14.03.2011 {All PurRqs in these period shouldget deleted in APO as well as R3}
    Settings-> Delete Transaction Data ->In R3 & APO (ticked)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Past due PurRqs are not getting deleted in R3 systems. The planner/end-user is getting confused & hassled resulting in loss of productive time & generation of erroneous planning which is negatively impacting Business.
    Pls suggest some remedy for this.
    MMTIA
    Kumar
    Edited by: Blue Lotus on Mar 14, 2011 5:51 PM

    Do you run the CCR on a daily basis. If so do you see the "reqs missing in R/3" in the CCR ?
    Also what is your transfer setting ? Meaning the transfer from APO to R/3 configuration  - is it immediate or change pointer based ? check that also
    Thanks
    Aparna

  • Open TRs not getting deleted after TECO production order

    Hi,
    We're having an issue.  We're using WMPP interface to supply the production line for the production orders.  The auto TRs are generated when the production orders are released. 
    After TECO the production orders, the open TRs are not getting deleted automatically.
    Could anyone know if these TRs get deleted automatically when we do the TECO production order?
    If yes, do we have any restriction or condition based on this, the TRs get deleted?
    Please explain.
    Thank you.
    with regards,
    Muthu.

    Hi Abhijit,
    Thank you for your reply.  It does not help me.
    The auto TR creation is happening now as required.  No issue on this.
    When you do the TECO, it also cancels the TRs.  I tested this also. 
    There're some scenario this open TRs cancellation is not happening.  I do not know when these open TRs are not cancelled.  If you know answer for this, please let me know.
    Thank you for your help and time.
    with regards,
    Muthu.

  • Data in BBP_DOCUMENT_TAB are not getting deleted

    Hi All,
    We are in SRM 4.0.
    Since today morning whenever a user trying to create / change shopping cart, PO, GR it got updated in the BBP_DOCUMENT_TAB. But it is not getting deleted automatically. Earlier it used to get deleted automatically once the documents have been ordered.
    But I could see the POs and GRs have been transfered to the back end system.
    Job CLEAN_REQREQ_UP is running every 2 mts.
    Please advise.

    Hi Arun,
    note 338985 describes in detail how the the status of the document(s), CLEAN_REQREQ_UP and the IDOCs interact.
    If the documents are posted without any error i.e. there´s everything perfect but the 'obsolete' entries in BBP_DOCUMENT_TAB, then this sounds like a malfunction.
    Maybe you should debug the the cleaner with one document and see whats happening starting at the following spot:
    CLEAN_REQREQ_UP
    process selected entries: check  existence of follow on documents,
    update if necessary local documents etc. (depends on entry type)
            LOOP AT selarea.
              IF still_to_proc = c_proc_block_size.
                SET UPDATE TASK LOCAL.
              ENDIF.
    lateron the entries are deleted in function module BBP_DELETE_FROM_DOCUMENT_TAB
    Note 535765 describes how to delete entries via a Z* report but I would NOT RECOMMEND to do that without having checked the situation by SAP before.
    see note 535765:
    Please note!:                                                       
    Deleting relevant entries from the BBP_DOCUMENT_TAB may cause severe
    problems, as the system needs the entries to set the right status to
    shopping carts, invoices and confirmations. So please be careful with
    the deletion of entries.                                            
    Kind Regards
    Michael

  • Release  PR Should not get deleted in md51,planning mode 3

    Hi all,
    We are facing a problem in MRP run taken through transaction code MD51. This Problem (as explained below) will occur when MRP control parameter for Planning Mode will be set to u20183u2019 (Delete and recreate planning data).
    During normal course, if MRP control parameter for Planning mode is set to u20183u2019, system deletes all open PR & Planned orders & creates new PR & new planned orders. 
    But in our business scenario, where we have release strategy for MRP generated PR, even these released PR get deleted. This results in re-analysis & releasing of MRP generated PR which itself is a tedious & time consuming task.
    We are looking for a solution where  PR will not get deleted during MRP.
    Thanks
    Sukumar
    Edited by: skumar kalame on Nov 10, 2008 1:59 PM

    Hi,
    The planing time fence is maintained in MRP-1 view of the material in workdays. You can also have this defined in the MRP group. But the value in material master takes precedence over MRP group.
    Use - It is a kind of safety fence which is used to protect any automatic changes to take place for firm order proposals during MRP run.
    Depends on - Firming indicator needs to be maintained for the MRP type. This can be set in customizing for the MRP Type. This basically specifies how you want to firm the order proposals. Please note there are 5 types of firming
    The SAP help for firming type reads as below:
    firming type 0
    The system does not firm procurement proposals automatically.
    firming type 1
    Procurement proposals that move into the planning time fence are firmed automatically, as soon as their date lies at least one day before the end date of the planning time fence. The date of new procurement proposals that are created in the planning time fence is displaced to the end of the planning time fence. These new procurement proposals are not firmed.
    firming type 2
    Procurement proposals that move into the planning time fence are firmed automatically, as soon as their date lies at least one day before the end date of the planning time fence. The system does not create any new procurement proposals within the planning time fence; that means, the system does not balance the shortage situation in the planning time fence.
    firming type 3
    Procurement proposals that move into the planning time fence are not firmed automatically by the system. All procurement proposals that are necessary for requirements coverage are displaced to the end of the planning time fence.
    firming type 4
    Procurement proposals that move into the planning time fence are not firmed automatically by the system. The system does not create any new procurement proposals within the planning time fence; that means, the system does not balance the shortage situation in the planning time fence.
    If helpful award points
    Regards,
    Vivek

  • Manual reservation for order category 20 not allowed

    Hi,
    We are getting the error message "Manual reservation for order category 20 not allowed" when trying to manually create a Reservation Order charged to a network through transaction code MB21.
    Anyone knows how to solve this?
    Will appreciate feedback. Thanks!

    Hi,
    You would need to add this component in your WBS element & then the MRP run will generate a reservation for this. You cannot create a manual reservation using 281 mvt in MB21.
    Refer sap note 43924, read the paragrah under 'cause and prerequisites' means that according to SAP's standard design, reservation for Network is supposed to be automatic, not manual. However, if manual reservation is really needed, do apply the solution provided.
    Hope the above clarifies.
    Regards,
    Vivek

  • REM tick not getting deleted for Part no

    Dear All ,
    we have one material which had Procurement type " E " ( In-house SFG ) , But now the Part is totally Procured from vendor .
    So the Procurement type is changed to " F " .   So we need to do the Material Master Correction .
    If we Try to delete REM tick from Material Master , Following Message is seen >>>>>>
    Production versions exist for which repetitive manufacturing is allowed
    Message no. M3636
    If Try to delete the REM tick from Production Version , Following Message is seen >>>>>
    Production version 1 or repetitive mfg indicator cannot be deleted
    Message no. KOSA012
    Even the Production Version is not getting deleted .  Following Message is seen >>>>>
    Production version 1 or repetitive mfg indicator cannot be deleted
    How to handle the above issue ?   Please guide . Thanx in advance

    Dear Vasu,
    check after performing these activities,
    Deleting the Production Version
    Use
    The production version contains the technical information on how a material can be manufactured. If this technical method has become outdated, you can delete the production version.
    Prerequisites
    1.You must settle the product cost collector you created for the production version.
    2.No more planned orders exist in the system which are assigned to this production version.
    3.If you work with reporting points in make-to-stock REM, no more work in process (WIP) exists on the production line in question. That is, work in process must be closed in the period-end closing in Cost Object Controlling.
    4.If an inspection lot exists, you must already have made the usage decision for the inspection lot.
    5.For the period in which the last reporting point backflush was carried out and for all previous periods in which the run schedule header or the production version is valid.
    6.the cutoff period is set for the WIP calculation
    7.the cutoff period is set for the variance calculation (operation KVAR)
    Regards
    Mangalraj.S

  • The Subsequent Requirm not getting deleted after deleting the Item from P.O

    Hi all
    The Subsequent Requirment for the Material is not getting  cancelled even after deleting the Item from the Purchase Order  and we have even deleted the Requirment for the Top level material . If we click on the Pegging requirment for the Subsequent requirment the system is telling that no Pegging Requirment exists but it is not getting deleted. Waiting for the feed backs

    Kumar,
    Run MRP for the Materials involed and let us know if there are any exception messages.
    Regards,
    Prasobh

  • PIR & CIR is not getting displayed in APO product master

    Hi guys,
        I have created PIR and CIR in R/3 ,but it is not getting displayed in APO . Please guide me to resolving this what are the settings i have to check in the SAP system.
    Thanks
    S.Murali

    I am Basis consultant.
    Regarding RFC, logical system assinement, are the things are configured.
    But still it is not active the integration between R/3 & APO server.
    (Behalf of Murali )

  • Open Sale Order Value (FD33) not getting diminished even after closing SO?

    Hi,
    Upon Executing FD33 and clicking the status view for a Customer say XYZ , and then choosing EXTRAS-Open Sale Order . Say the value of open sale orders being shown is 75000. Even after closing the open sale orders (By Selecting VA05 and Putting reason for Rejection), and then also the Open Sales Order value is not getting diminished.
    What could be the reason ?
    Pls help.
    Regrds,
    Binayak

    Hi Binayak,
    As mentioned by you, running of Credit re-org program 'RVKRED77' is the only solution for this problem and it is known problem in SAP.
    Some precautions
    1. Always run the program in background by scheduling a job.
    2. The idle time is around midnight when no user is working on SAP.
    3. Some time the job fails as some other program may be updating same tables as this program. In such cases re-schedule the job at different time.
    4. You may run the program 'RVKRED88' which will simulate without actual updation of credit values.
    Hope this clarifies..
    Regards,
    Madhu.

  • Stock value is not getting updated in APO system From ECC automatically

    Hi All,
    Stock value is not getting updated in APO system From ECC automatically but if we do it manually from transaction CFM2 it will get updated.
    for this we are using EXIT_SAPLCSTK_001.
    I am using VL10A for delivery and VL06G for PGI
    I have also checked integration model for material and stock.
    Please help me out as it is very urgent.
    Thanks,
    Gaurav Mittal
    Edited by: GAURAV MITTAL on Feb 6, 2008 6:09 PM

    Hi,
    for transferring the stock data from R/3 to APO automatically, you need to have the integration model for material and stock activated.
    please check the same.
    if this does not help, let me know in detail the steps which you are following..
    Ram

  • Message log is not getting deleted in WEBUI (BADI ORDER_SAVE)

    Hi,
    I am displaying an error message based on certain conditions in BADI: ORDER_SAVE (CHECK_BEFORE_SAVE). On getting error, I am correcting that error.
    Using CRM_MESSAGE_DELETE, I am deleting error message before displaying new error message. However, my error log is not going away. It is still displaying in the log in WEBUI.
    Could you please help me out, how can I delete error message, and error log from WEBUI.
    Thanks,
    Sandeep

    I  have the same question as you .
       I  have use folleing code to display message in web ui:
          if (conditions).
          CV_OWN_MESSAGE = 'X'.
          MESSAGE '商机描述已经存在,请修改后再保存!' type 'E' RAISING DO_NOT_SAVE .
        endif.
    but when i have edit the description , the Message log is not getting deleted in WEBUI .
    who can tell me , thanks for all your help !

  • Production Reporting out put not getting deleted after 30mins what we set.

    Hi,
    This issue regarding Production Reporting. In the workspace the report output not getting deleted after 30minutes (while publishing the report settings were like delete after 30 mins). Any suggestions please .....
    Thanks
    Venkat

    Hi Deepak,
    Please chek the field / value which u have changed is relavant to  printouts of the change.
    You can check  with following path
    SPRO> MM > Purchasing > Message > Fields Relevant to Printouts of Changes.
    Confirm tick is provided for PO ( P)
    Vivek

  • File not getting deleted using File.delete()

    Hi guys,
    I have a code like this:
    File tempdir = new File("tempdir");
    tempdir.mkdir();
    File temporaryFile = new File("tempdir\tempfile.txt");
    FileWriter writer = new FileWriter(temporaryFile);
    // write data into file
    writer.flush();
    writer.close();
    try {
        // Do something
    catch (Exception e) {
        // Do something
    temporaryFile.delete();
    tempdir.delete();The program runs successfully. The directory and the file is created and data is written successfully into it. However, the file as well as directory is not getting deleted at the end of the program. I tried temporaryFile.deleteOnExit(), but this also didn't help.
    Can anyone provide some input as to what can be the possible reasons for the file not getting deleted?
    Thanks..

    I want the file to be created inside the directory I specified. Hence, I put the "\". Please let me know if there is some other way to achieve this. This way I am getting the file created at the location I want.
    One more interesting thing which I noticed. Actually this code is part of a JUnit test. In the same JUnit, I am creating new files in atleast 2-3 test methods. But the deletion of files is really random. Sometimes, 2 out of 3 get deleted, sometimes only 1 gets deleted. However, I didn't come through a single instance wherein all the 3 files got deleted. :-(
    Also, the directory is never deleted. However, I got the reason behind this. As per the File API, the directory will not be deleted if it is not empty.

  • File is not getting deleted in File-RFC-File without BPM

    Hi,
    I'm working on File-RFC-File scenario without BPM. Everything is working fine except file is not getting deleted after the process. I'm passing xml file here and in return it will give the xml success/error message from RFC.
    For the sender CC, I'm passing the following parameters,
    Transsport protocol: File system
    Message protocol: File
    QoS: BE
    Poll Interval: 30 sec
    Mode: Delete
    File type: Binay
    Please let me know if I missed anything while passing the values.
    Thanks,
    Swamy
    Edited by: Swamy Mothe on Jun 15, 2009 8:52 AM

    Hi
    Then , is Sender and receiver File Adapter is using same folder )
    Just a question.
    But having all permisions and above config would delete the file
    can u see the status of u r File Adapter in RWB.? Is it in green?
    rgds
    srini

Maybe you are looking for

  • How to debug Outbound IDoc

    Hi Friends, I want to know how to debug Outbound IDoc . is there is any tool for debugging outbound idocs Thanks, Bhaskar.

  • Popup window display issue ???

    I want to have a button the with launch a poup window. I know how to do this put what I do not know how to do is have no site display info in the new pop up window. I have done a normal pop up window but it has the address bar in it and on the top of

  • [svn:fx-trunk] 7220: integrate TLF build 438:

    Revision: 7220 Author:   [email protected] Date:     2009-05-22 09:17:49 -0700 (Fri, 22 May 2009) Log Message: integrate TLF build 438: Build 438 add metadata to TextFlow and ParagraphElement mxmlChildren properties Build 437 remove flashx.textLayout

  • Reset Password :Non Random Password

    When an admin resets a users password via Reset User Password workflow a random password is generated. In the Reset User Password workflow I am unable to identify the activity that does the generation. I would like to instead set a default static pas

  • PMI Monitoring job is canceled.

    Hi,    My XI system is running on XI 3.0 SP13. End-to-End Monitoring is based on PMI.  When I activated the end-to-end monitoring in advance setting I have given every 10 Minutes the pmi has to collect. When I am running  background job "449494959493