Message in /SAPAPO/SDORDER_DEL

Dear all,
When running the /SAPAPO/SDORDER_DEL program we get the message: prod. xxx, vers: 000 orders exist (use report: /sapapo/rlcdelete)
In /sapapo/rlcdelete for this product I see 2 orders.
The difference with orders I can delete is that the Cat, Product,Location, lst.Ch.on and Chk.SDord is not showing any values.
Any clues to solve this in APO 4.0?
Cheers

Hi ,
Please run the consistency check report :
1. /SAPAPO/OM17 consistency check
2. Planning area consistency check through program /SAPAPO/TS_LCM_CONS_CHECK.
3. CCR
check weather order is availabe in RRP2, RRP3.
than try to delete it again by RLCDEL.
Manish

Similar Messages

  • Question while using report /SAPAPO/SDORDER_DEL

    Hello all,
    While using Report /SAPAPO/SDORDER_DEL and going through system documentation, I found that:
    "Normally, the order data remains in the database (it is not deleted as in live Cache)."
    From the above statement I am assuming that data gets deleted in live cache on a timely basis, Can someone please let me know how frequently the data gets deleted in live cache?
    Thanks for your time,
    Venkat.

    Hi Venkat,
    There is no specific frequency for data getting deleted from the live cache.
    It depend on the transactions which are taking place in R3 and APO.
    For eg. Sales orders create a requirement in the R3 which is transferred to APO.
    Now when this sales order is delivered, the requirements gets deleted from R3 and similarly from APO livecache. But this information does not get deleted from the APO database tables.
    So this report is used to delete R3 document data that is no longer required in APO.
    Cleaning of the database tables in APO leads to better performance.
    So as a best practice, this report should be scheduled to run weekly.
    Regards,
    Asheesh Gupta
    Message was edited by:
            asheesh gupta

  • /SAPAPO/SDORDER_DEL  not removing ATP orders

    Hi All
    I am doing product deletion where I am getting message that ATP order exist for the same. I have checked table /SAPAPO/ORDADM_I & found that entries are present in this table. To remove these entries I use report /SAPAPO/SDORDER_DEL but it is not able to delete the orders.
    Could any one pls let me know how can I proceed.
    Hitesh.

    Hi Hitesh,
    I had a similar problem this week.
    I could not find those ATP orders in the report /SAPAPO/OM_DELETE_INCON_ORDERS
    Then i deleted the entries directly from the Table /SAPAPO/ORDADM_I and it worked.
    Let me know if you find some other way out.
    Regards,
    Asheesh

  • Hi Experts , I am currently facing problems while running restricted version copy .. The log says 0 location products copied and that the process has has timed out. the error message is /SAPAPO/MVM_INT_SVC_CO_VER_LCW reported exception in task DP00014, th

    Hi Experts , I am currently facing problems while running restricted version copy in sap apo .. The log says 0 location products copied and that the process has timed out. the error message is " /SAPAPO/MVM_INT_SVC_CO_VER_LCW reported exception in task DP00014 " , then ending in time limit exceeded. could anyone explain why this happens. please note even if the log says 0 location products copied , in reality they have have been partially copied.
    Regards
    Jerel

    Hi, thank you for your replies, I found out few things about my servlet, and its portability
    and i have few questions, although i marked this topic as answered i guess its ok to post
    I am using javax.servlet.context.tempdir to store my files in that servletcontext temporary directory. But i dont know how to give hyperlink
    of the modified files to the user for them to download the modified files.
    What i am using to get the tempdir i will paste
    File baseurl = (File)this.getServletContext().getAttribute("javax.servlet.context.tempdir");
    System.out.println(baseurl);
    baseurl = new File(baseurl.getAbsolutePath()+File.separator+"temp"+File.separator+"files");
    baseurl.mkdirs();so i am storing my files in that temp/files folder and the servlet processes them and modifies them, then how to present them as
    links to the user for download ?
    and as the servlet is multithreaded by nature, if my servlet gets 2 different requests with same file names, i guess one of them will be overwritten
    And i want to create unique directory for each request made to the servlet , so file names dont clash.
    one another thing is that i want my servlet to be executed by my <form action> only, I dont want the user to simply type url and trigger the servlet
    Reply A.S.A.P. please..
    Thanks and regards,
    Mihir Pandya

  • "Delete on Database" in /SAPAPO/SDORDER_DEL

    Dear All,
    Can somebody help explain what happens when we execute "Delete on Database" in /SAPAPO/SDORDER_DEL? and how would the program acts for each selection parameters, if;
    - we have not put anything in the selective deletion portion of the screen for "Location", "Product", and "Last Changed Before" fields, don't tick the check box for "Without check" option; but tick the check boxes for "Adjust ATP tables with /SAPAPO/POSMAPN table" and "Delete Obsolete Records in the /SAPAPO/POSMAPN table" in the additional function, what will happen? Will it delete anything? Or will it only do as what the additional function says?
    - how about in the product allocation data portion, considering that we have specified a location, what is being deleted when the check box for "Delete Product Allocations" is ticked? and what is being done if the check box for "Check Product Allocation Assignment" is ticked?
    Thanks in advance for any response.
    Regards,
    Philip

    Dear Philip,
             Find below few points about this transaction.
    1. check is normally carried out before an order is deleted to see if this order still exists in liveCache. If this is the case, the order is not deleted.
    2. You can also print out a list of the orders that cannot be deleted if you have set the relevant indicator.
    3. In exceptional cases, you can deactivate this check and nevertheless still delete the selected orders.
    4. If you have set the Delete all orders indicator, the order data from the database is completely deleted without any check. You should take great care when using this function.
    5. A location product or a location can only be deleted if SD sales documents for this location product no longer exist in the database (that is, if, for example, no more entries exist in the tables /SAPAPO/ORDADM_I or /SAPAPO/ORDPART).
    Regards,
    Siva.

  • Inputs for running /SAPAPO/SDORDER_DEL report

    Hello,
    We want to run /SAPAPO/SDORDER_DEL report to delete unnecessary Sales orders in the APO system. Before while executing this report I would like to be clear on 2 points:
    1. Three tabs with various fields came up after executing this report:
        1.Delete on Database
        2.Delete in SAP livecache and Database
        3. Delete All DB Sales Order data
    Can someone please let me know the major differences of these tabs or any advantages or disadvantages of using one over the other.
    2. Second point I want to understand is that, once I delete Sales Order data is using this report there any way, I could retrieve that data back.
    Your thoughts and suggestions are very much appreciated.
    Thanks,
    Venkat.

    Hi Venkat,
    In APO you have information in two instances a database and a livecache.
    With the first tap you can delete obsolete entries that exist in database, but they are not in livecache. Here you have additional options to delete allocation objects from ATP and delete and adjust ATP tables.
    Second tab is to delete orders from livecache using different selection parameters.
    Third tab is to delete all order from the database.
    So first is to adjust ATP orders on database, second on livecache and third to delete all.
    As i know, you can not retrieve information of this tables after running this report.
    I hope this can help you.
    Regards.
    Marín.

  • /SAPAPO/SDORDER_DEL and /SAPAPO/SDRQCR21

    Hello Experts,
    Can some one give me the quick view on what these programmes do in APO from the business prospective...
    Thanks
    Venu

    Dear Venu,
    /SAPAPO/SDORDER_DEL: Delete (SD) Orders from APO database SD sales document data from the APO database are not deleted automatically as in liveCache. In order to delete these, it is necessary to run a deletion report. In order to limit the data volume, you should schedule the report to delete the orders, if necessary, and it should be dependent on the lifetime of your orders.
    Please check following notes:
    546459: /sapapo/sdorder_del: Performance and recommendations
    504620: Deletion of R/3 data that are no longer required in APO (/SAPAPO/SDORDER_DEL)
    894294: /sapapo/sdorder_del: Performance and advice (as of SCM 4.0)
    705901: /SAPAPO/SDORDER_DEL: New selection screen (as of SCM 4.0)
    /SAPAPO/SDRQCR21: This report corrects incorrect sales order and delivery (requirements) in SAP R/3 / ECC and SAP. APO/SCM and checks precisely the SD order tables but doesn't check inactive integration models.
    Please check the note 444641 for /sapapo/sdrqcr21
    I hope I could help you.
    Regards,
    Tibor

  • /SAPAPO/SDORDER_DEL recommendations

    Hello all,
    I'm performing the report /SAPAPO/SDORDER_DEL once a month with period of retention of 3 months due to degree performance problems with tables /SAPAPO/POSMAPN and /SAPAPO/SD_DOC. I didn't find any recommendation about SLS lifetime at APO side.
    Anyone has any recommendation about the retention of the Sales Orders in APO?
    Iu2019m Kind afraid about this because I donu2019t if it can cause any problems at APO.
    Regards,
    Alberto.

    Hi Alberto,
    It is Ok to delete the Sales Orders with the retention period of 3 months. I dont think you would really need to have the Sales order liine item information in APO if the Order cycle is closed. Once the PGI is done in the Sales Order, I dont think you actually need to have the info available in APO. It is Ok to go with what you have decided.
    Thanks,
    Babu Kilari

  • /SAPAPO/SDORDER_DEL recommendation for date

    Is there any state-of-the-art / best-practice solution how to run report /SAPAPO/SDORDER_DEL in batch processing? Especially concerning the selection variable Last Changed Before.
    What are your experiences, how old documents should be to be deleted with this report?
    Thans in advance, S.

    please check the notes 657214 and 553476 on /SAPAPO/SDORDER_DEL  report

  • Delete entries in /SAPAPO/POSMAPN with /SAPAPO/SDORDER_DEL

    Hi Guys,
    we´re having many orders in table //POSMAPN that are not existing in liveCache.
    We assume that these are obsolete orders that can be deleted with report //SDORDER_DEL.
    My question:
    What is the prerequisite for orders being deleted from //POSMAPN with //SDORDER_DEL?
    Or in other words: Which entries in //POSMAPN are considered as "obsolete" by //SDORDER_DEL?
    Thanks a lot for your help.
    Andreas

    Hello Andreas,
    When you run the /SAPAPO/SDORDER_DEL program, you should run the program to delete the orders from both Live Cache and Database ( see the 2nd tab on the selection screen of this program). This way you can ensure that it is deleted properly. Otherwise, when you run //CCR or //SDRQCR21 it only checks the livecache. Since, it has already been deleted in your case, you can give it a try to see if you can delete the orders from DB using option "Delete from DB" ( see the 1st tab).
    Also, usually the order gets disappeared from LC once the order is PGIed, however a bit of information is still available on APO side and thats where this program would delete it to counter that. The reason why the order line info is still stored in APO is due to the fact that the order lines can always be reverse PGIed and the delivery can also be deleted. So, it is a wise option to run this program by providing the Period in the selection screen which is usually the MBDAT and as a regular practice you can provide a date range that is less than 90 days or so.
    Hope this helps
    Babu Kilari

  • Issue while running Report /SAPAPO/SDORDER_DEL

    Hello All,
    We are using the first tab "Delete on database" in the Report /SAPAPO/SDORDER_DEL. We have created a variant with a combination of selections like "Locations" and "Last before change date" and also we checked the addtional functions "Compare ATP tables with /SAPAPO/POSMAPN" and "Delete Obsolete records in /SAPAPO/POSMAPN".
    The issue we faced is that, elements like sales orders, deliveries and Purchase orders are deleted without considering the "locations" and "last changed before date". Elements of very recent date (09/08/2007) are deleted even though the "last changed before date" is somtime in the past (eg. 05/31/2007).
    Can please someone let me know your ideas on this?
    Thanks,
    Venkat.

    Hi Venkat,
         You can check OSS note : 657214 /sapapo/sdorder_del: Documentation and usability.Note 553476 - Composite note: Report /sapapo/sdorder_del.
    Best Regards,
    Siva.

  • Live Cache error with message number /SAPAPO/OM028

    Hi Experts,
      When I run RLCDEL program for deletion of obsolete SNP orders in the back ground , system shows livecache error alert with message number /SAPAPO/OM028 in the deletion job log. The details of message is "invalid order" or ABAP programming error. Live cache consistency checks are not resolving issue. Product release is 5.1 with SP08. Please suggest a resolution
    Regards,
    Raghav

    Hi Raghav,
    The sap notes 642503 & 973244 will fix your issue but they are for
    versions 4.0 and 5.0 respectively.
    You can write to SAP by creating a OSS message to update these
    two message for version 5.1
    This will resolve your issue
    Please confirm
    Regards
    R. Senthil Mareeswaran.

  • Message /SAPAPO/SDP_PAR023: "Some CVCs cannot be processed in block..."

    Hi,
    We are using SAP SCM release 5.1, the component Demand Planning. We are running macros in background jobs, e.g. a macro that populates a key figure by summarizing other key figures etc. We are using parallel processing, configured based on recommendation from SAP. When the number of CVCs to be processed by the macros becomes very high (we are processing ~300.000 CVCs at the moment), we get the following message in the job log in SM37:
    "Some CVCs cannot be processed in block 2 ", message number /SAPAPO/SDP_PAR023. Obviously the block number varies, and in our case we have had the above message for up to 19 blocks. Users have spotted CVC's that were not updated by the background job, but we don't have a specific list of the CVCs that were not processed.
    OSS notes mentioning this behaviour:
    Note 1282811 - Error processing 1 CVC, terminates the Parallel Profile
    Note 1501424 - DP Job with parallel processing - job status message
    Note 1494099 - DP Job with parallel processing - job status
    The question below is only to those who have encountered the same message in a DP background job:
    Did you find a log of the CVCs that were not processed, and what did you do to overcome the problem?
    Thanks in advance!
    Kind regards,
    Geir Kronkvist

    Hi Rico,
    Thanks for your reply! The spool consists of 23.145 pages so I looked for the word "Lock" using the "Find in request" in the "Spool request" menu. The searched found two entries where there was a message stating that a CVC was locked. It must be noted that no users are logged on while our background job is running, and there are no other processes (background or dialog) running in parallel. When checking transaction SM12 prior to running the job, there are no locks in the system.
    Our job schedule consists of a nightly process chain transferring data from BI to liveCache, and a monthly job that prepares historical data and calculates the forecast. We are now running the monthly job.
    Is it possible that the parallel processing may cause the locking by itself?
    Kind regards,
    Geir Kronkvist

  • APO Planning Calendar error /SAPAPO/CAL404

    Hello friends, I am working in the transaction /sapapo/calendar trying to change a Planning Calendar and when I try to Calculate the periods in the view "Calculation Rule" i got a error message saying: Factory calendar TU not found (message number  /SAPAPO/CAL404).
    I have looked into SCAL transaction and the factory calendar is OK created and valid.
    Thank you very much in advance.
    Regards.
    Ricardo Pereira

    Hello Senthil,
    Thank you for your help!!
    In the Time Stream I have changed the field Factory Calendar for another one for testing and it worked well, I mean I could caculate the periods using another calendar. Comparing both It's all the same there is no difference beteween them.
    But when I put the one that I really have to use (the correct one) in the time stream it gives the message Calendar not found. Although it exists and appears in the match code and If I get in the SCAL in APO as well as in R/3 I can edit it.
    I have checked the calendar parameters in SCAL and also the time zone including in one of the locations that use this time stream and it's all fine.
    Do you have any other idea?
    :O(
    Thank you very much indeed.
    Regards.
    Ricardo

  • Report ZRD_SDORDER_DEL and the table /SAPAPO/SCHEDLIN

    Hi
    I am in the process of reducing the amount of data in our SCM database using the report /SAPAPO/ZRD_SDORDER_DEL.
    The report should be deleting data in the /SAPAPO/SCHEDLIN table but the summary report shows that 0 records have been deleted.
    I have run an SQL trace on the report and it shows that it trying to delete records in the SCHEDLIN table using the GUID column.  Getting the GUID value from the trace and using this value in the ITEM_GUID my queries returns 2 records.
    I am a Basis consultant so I don't know the business process/linkage for the tables utilised by this report.  The SCHEDLIN table has approx 110 million rows & I am concerned that these records will be orphaned by the /SAPAPO/ZRD_SDORDER_DEL report and never deleted.
    Should this report be using the ITEM_GUID to delete these records?
    Thanks in advance.
    Doug

    Hi Doug,
    ZRD_SDORDER_DEL is not a standard SAP program, it was customized by your client.  It is difficult to  evalutate whether it was designed properly.  If I were in your position, I would first talk to the developer who created it.  If the developer is not available, then I would have a functional analyst and a technical analyst look at the design specs.
    SAP recommends running their standard program /SAPAPO/SDORDER_DEL on a regular basis to reorganize tables that contain SD order data that is no longer required.  Although I am not an ABAPer, I would assume that it would take care of any superflous table entries that can be successfully deleted.
    Refer to SAP's OSS Note 553476
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=553476]
    For all the techy stuff about this standard SAP program.
    Regards,
    DB49

Maybe you are looking for

  • Cannot open any pdf files since downloading reader to mac

    I have now downloaded reader 9.1 four times to my mac (0S 10.14.1) I have attempted to open credit card statements and i get the black screen with the loading circle in the middle but no statement appears. I've waited a reasonable amount of time so b

  • TS3992 how do you backup if no wi-fi connection is available?

    I do not have access to a Wi-Fi network. How do I backup?

  • One or more application are using Itunes scripting interface

    After downloading update on ITunes 10 on windows 7 it freezes.  Or something pops up and says one or more application are using itunes scripting interface quit.  I tried everything.  Help.

  • Forcing to use index

    I have a query which is taking 2 minutes to respond. When I see the explain plan, it said for two tables it is doing the full table scan. So I tried forcing to use the index on the inner tables(xcm, detail) of the views(vw_xcm , vw_vw_detail). But it

  • Regarding FM used in Transaction

    Hi guys, Do anybody know how to find the Functional modules used in particular transaction. Any standard FM/Report exists for this ? Suggest me please. Thanks Kumar.