ATP order deletion ( orders exit only in APO)

Hi All,
I have to delete the ATP orders in APO and for that relevant sales order doesn't exit in R/3.
I tried with /SAPAPO/SDORDER_DEL and even i did the CCR for it. Its not deleting.
Pls suggest how to delete the order.
Regards,
Santosh G C

Hi,
You can do this by running CIF delta report or CCR. Choose delete in APO (but make sure that the orders are really not existing in R/3).
If CIF delta report or CCR will not work, you can try running report RLCDELETE and check if you can delete those orders. If RLCDELETE will not work and the system prompted a message that orders are not anymore exist in the LiveCache then, please let me know.
Thanks,
AA

Similar Messages

  • Sales orders ONLY in APO and not in R/3

    Dear Friends,
    I have this peculiar but very critical problem wherein:
    APO creates an extra schedule line to an ALREADY EXISTING sales order only in APO with a quantity in decimals like 130.320 PCs or whatever. Also, important to note is that this line has a required date very much in the future starting from 12-2009. Also, this sales order schedule line is non existent in R/3!
    - I have checked the R/3 SD tables but nothing which relates to this qty.
    - I have checked the sales order changes, but nothing in the history which suggests that someone might have changed it.
    - I checked the UOM both in R/3 & APO but nothing.
    Now, the problem is that:
    How & what created this sales order?
    If it is in APO, then y it isnt being sent to R/3 like all the other normal sales orders?
    Most critical: APO sees this reqt & automatically creates a planned order (bckgrnd) which is then sent to R/3 as a recpt!!
    Thanks in advance !

    Team Eusap,
    You say you ran LC consistency (which would be /SAPAPO/OM17).  Did you also run CCR as I mentioned earlier?
    Although there are no Queue errors, it is possible that someone has deleted the item from the queue.  So, continue.
    You can try to delete the order in APO using program /SAPAPO/SDORDER_DEL.   Select Delete on database tab, deselect test, select the appropriate product/location(S).  Select 'without check'.  Select both boxes in Additional functions.  Since you are not using GATP, you are not using allocations, but it is OK to select these items too. Execute.  Stay away from the 'Delete all DB Sales order Data" tab!, or you may have to re-cif all your orders across.  Now redo your LC consistency.
    As far as your models are concerned, you need to assure yourself that there are no ATP (transactional, not material independent) models open.  Use CFM5 to search.
    As for the material independent CIF, it is a good idea to inactivate this model after the initial transfer.  If you ever do any ATP config within APO, this model can overwrite some of the settings you created in APO.  Usually this is undesirable.
    Let me know if any of the above steps allow you to delete the APO order you don't want.
    Rgds,
    DB49

  • SNP planned order deleted in APO, but not in R/3.

    OK Guru's,
    We have a situation where during the weekend SNP planning runs, SNP Planned orders are deleted in APO, but the order is never deleted in R/3.  The change pointer is not in CPP and there are no failed queues.  Also, when you run CCR on planned orders, we will get an error on some orders saying "Not in APO" and the only option to reconcile that order is to "Send to APO".  The option that should exist is "delete in R/3" becuase the deletion never occured in R/3.
    If you send the order back to APO, the order will show in the "Production Confirmed" line of the Planning Book.  This is because APO is thinking that this order is an order that was created in R/3 when in fact is it really is a SNP planned order.
    Any clues to why this would happen?
    thanks,
    Brian

    How are you getting the SNP Planned Orders to R/3 in the first place.
    If you are transferring them using /SAPAPO/RRP7 then I guesss its a manual transfer and system does not consider SNP Planned Order deletion flag relevant for transfer to R/3.
    You will need to look into CIF enhancement to send the deletions to R/3.
    Normally SNP Planned Orders are not relevant for transfer to R/3 unless its replaced or converted to a PPDS planned order.
    Somnath

  • Not able to delete orders in APO

    Dear Sir,
    We are facing problem during deletion of certain Purchase-Orders and Production-Orders in APO . Before deleting the Orders , we had first deactivated the Integration Model of the reference Material in R3 .
    During the Dletion in APO (using Tcode RRP4) , we are getting the error message as below...
    No valid orders selected for deletion
    Message no. /SAPAPO/RRP246
    We would like to mention that Pp_Firmed is appearing as Ticked against these  reference Orders .
    We request SAP experts to kindly guide us as what steps need to be followed for deleting these Orders in APO .
    With Thanks and Regards
    Soha

    Hi,
    You can follow these steps to delete any inconsistent orders or you can use /SAPAPO/DELETE_PP_ORDER
    1. Goto /SAPAPO/RRP3 for the product and loc combinations.
    2. Enter gt_io in the area where you are entering tcode.
    3. Find out the internal order no and copy this internal number.
    4.Go to SA38 or se38.
    5.Enter the program /SAPAPO/OM_DELETE_INCON_ORDERS.
    6. enter the internal order number and planning version.
    7.select the check box delete order object.
    8.execute.
    Now these orders should be deleted.
    Thanks,
    nandha

  • ATP for Internal orders

    Hi All,
    I'm a new Oracle user asking for your help. We are using the ATP for make-to-order items only in order to assign to the sales orders a scheduled ship date that consider the manufacturing LT set up in the "Cumulative Manufacturing" field in the org item. We receive two different types of orders- Sales orders and Internal Orders. It looks like the ATP works for the sales orders only. Could you advise if it is possible to set it up for internal orders as well?
    Many thanks

    Hi
    Thanks, but the internal sales orders will be sent to APO with a new Z ATP category. We want to know if this new Z ATP category can be used for example in the BOP also for back order processing.
    Also if there are inconsistencies, can inconsistent sales orders with the Z ATP category also be recognized in the Delta report, or do we need to make enhancements?
    I could not find a clear note which describes if you create a new ATP catagory for sales orders in APO which standard APO eports will work seamlessly with the new ATP categoy. And if the below reports should be enhanced (user exits, BADI etc) to make sure sales orders assigned to a custom ATP category will also be included in the comparisson between APO and R/3.
    Backorder processing: /SAPAPO/BOP
    Deltareport: /SAPAPO/CIF_DELTAREPORT3
    Correction report: /SAPAPO/SDRQCR21

  • How to identify a particular order type(PP01) is coming to APO?

    How to identify a particular order type(PP01) is coming to APO? Can it be checked at CIF exits on APO side?

    Hi Abhishek,
    I am looking for exits at APO side only.
    Thanks,
    Prenith PP

  • Deleted order reappeared

    Hi,
             We have a background job with program delete_pp_order, that deleted a PPDS output firmed planned order and sends the deletion to R/3. I can see the planned order and qty. in the spool of the job.
    Now when I looked at the product view,it reappeared. I checked the start date of the order and the order number. It is the exact same orders.
    What can this be caused by?
    I deleted a CIF block in SMQ1 (outbound queue) for other reason. may be this deletion was in the the same LUW as the other queue and go t deleted.
    But does deleting the CIF queue bring back a deleted order?? I thought it should be only the deletion change pointer in SMQ1 that's deleted and should be caught up in CCR report. Isn't it???
    Any suggestions please?
    Thanks.

    Hi Visu,
    When you delete the queue block those changes has not be transferred to R/3 and order is not deleted in R/3.
    Whenever next CIF run or do any changes to  order will bring back it to APO.
    First run the CCR and put both the system in sync.
    Delete order again in APO .
    Than check order in R/3 whether it is deleted or not , if it is not deleted than check queue block  and if any first analyse it by going to details by SLG1,/SAPAPO/C3 or /SAPAPO/CQ  and CFG1 on R/3 side.
    Take corrective action as per log and reactivate the queues.
    Manish

  • Production orders without header material transfer to APO

    Hi,
    for our process it's necessary to transfer dependent demands from rework production orders (without header material) to APO because the ATP check for the component take place in APO. In standard there is no way tor transfer such orders to APO. Only one possible solution is to add during order transfer a dummy material in order to trigger the transfer to APO. Is there anybody that have already used this???
    Best regards
    alex

    Hi JJ,
    1. Reference Operation Set - t-code CA11. In the initial screen, enter description, plant - xxxx, usage - 1 & status - 4, unit of measure - same as the material for which the routing is to be used (eg - EA or KG etc).
    Click on operations tab, enter control key, work center, operation description.
    2. Settlement - When you enter the basic details in co07 like description, basic qty, dates, the system will take you to the settlement screen where you need to enter the settlement receiver. Here you specity CTR for cost center or G/L for G/L account, you then have to specify the corresponding cost element number & also the % of settlement, which is normally 100%. You can also access this by clicking on header - settlement
    Hope the above answers your query. If additional info is required, revert back.
    If helpful award points
    Regards,
    Vivek

  • Sale order doesn;t exist issue in APO

    Hi ,
    I am facing issue while trying ot create outbound delivery from sale order. But during delivery creation , BAPI_OUTB_DELIVERY_CREATE_SLS , bapi throws error as " SALE order xxxxxxxxx doesn't exist in APO , Only 0 EA of material is available..." . But when manually do, delivey is created . Hence we analysed it is due to the time taken by APO system to update the Sale order. 
    Let me know how to get the sale order or orderid in terms of APO to verify the SO is updated in APO system .
    Kindly suggest

    Dear Experts,
    this message assumed answered, I'm facing with a similar problem, during the replication of business partners the address isn't created in SAP ECC, and a bdow with the error appears.
    Thanks in advance
    Cris

  • How to transfer Sales order data from R/3 to APO!!

    Hi Techies,
    I am in the process of moving some sales order data for a particular mat/loc combination in cfm1 after creating a integration model iam even activating even in R/3 but after doing this iam not able to view those sales orders in RRP3 t-code IN APO side.
    Kindly let me know what is the procedure to transfer transactional data from R/3 to APO and to do enhancement in CIF which carries Transactional data .
    Problem solving answers would be rewarded duly !!.
    +PKP.

    Hi PKP,
    The field SPEC_STOCK has the description "Key for Special Stock Section" and is linked to schedule line of the PO. This seems to be something linked to special stock, but I am not very sure about the relevance of this field.
    I do not see any related field when I check the order in RRP3 or in RRP2. In standard SAP, you would only be able to use the fields that are already visible in APO. Otherwise you need to add the field to the standard SAP t-code display (read the value from SOMEWHERE and then display it in RRP3. This is possible using Badi /SAPAPO/RRP_IO_COL). Then only you can see the values which you have populated.
    If this field SPEC_STOCK already has some functionality (which it should have, though I am not sure what it is), you might not be able to use it for other purposes (since system does some validations for certain fields).
    You are updating the value for this field in IT_OUTPUT internal table, you also need to add an X in the corresponding field in the internal table IT_OUTPUTX.
    You could try putting this X, so that your changes are considered in CIF, but I am not sure what the impact may be, and you could get a dump also possibly. Even otherwise, since this field doesn't seem to be visible against a PO in APO, I am not sure if this would be helpful for you.
    As far as I could see, I did not find any standard field which could be helpful for you.
    May be if you open a fresh thread and ask for advice on how to send any custom comments for PO to APO, someone could provide some inputs.
    Thanks - Pawan

  • Sales order deletion

    Please send me the steps to delete a sales order. thanks in advance.
    my id is [email protected]

    Hi Friend,
    I am giving you the steps here only, just go throu it.
    You can no doubt delete the sales order using transaction VA02, but there should not be any subsequent document is created against it. Please let me know the error message you are still getting unable to delete so.
    Deletion /cancellation can only happen even if the subsequent documents are NOT created. As sudhir might have rightly said Sales Order with subsequent documents cannot be deleted. After cancelling the invoice and deleting the delivery document, we can set the reason for rejection at the Sales Order Header Level.
    Steps:
    1. Cancel the invoice through T code VF11
    2. Reverse the Goods Issue using VL09, turn the pick quantity ‘zero’ in the delivery document
    3. Delete the delivery document using VL02n.
    4. Finally set the reason for rejection at the Sales Order Header Level. (So Bala, just check the SO you want to delete ever had any subsequent document? )
    Note: An Invoice cannot be deleted but canceled. It can only be canceled with (VF11) only if the relevant accounting document is not generated. Generation of accounting document means the value is posted into accounts and G/L accounts are hit.
    SAP FI department needs to reverse the accounting doc on a real-time scenario. Only after the accounting doc is reversed invoice can be canceled. Tax documents generated through the Invoice (Tax is maintained on a separate account) also need to be reversed but this is a part of FI so an SD consultant just needs to request the FICO guy to do the reversal.

  • Unable to delete Order does not exist in live cache but in table POSMAPN

    Hi Experts,
    We are facing an issue where purchase order is not available in live cache (which means no GUID) but exists in database table POSMAPN. We have tried to delete it using standard SAP inconsistent order deletion program and also using BAPI BAPI_POSRVAPS_DELMULTI but not able to delete it.
    Can anybody suggest a method by which we can get rid of this order from the system.
    Thanks a lot.
    Best Regards,
    Chandan

    Hi Chandan,
    Apologize me for taking your question in a wrong perspective. If you want to delete the same then you need to Re-CIF the order from ECC so that it would come and sit in Live Cache. Once done, try using the BAPI.
    If you are not successful with the above approach try running the consistency report /SAPAPO/SDRQCR21 in APO system
    so that it first corrects the inconsistency between ECC and APO (Live Cache + DB tables) and then use the BAPI to delete the PO.
    Not sure if you have tried this way. If this does not solve your purpose you need to check SAP Notes.
    Thanks,
    Babu Kilari

  • Monitor sales order deletion in MV45AFZZ

    Hi all,
    I've added code to userexit sales_doucment_save in MV45AFZZ. However, I have to check it in case of sales order deletion.
    Does anyone knows how to find that the sales order is to be deleted ?  In the exit itself I couldn't find any field to check that it's actualy deletion and not change.
    Thanks in advance,
    Shai E.

    You should use..
    exit..
    USEREXIT_DELETE_DOCUMENT  
    What are actually trying to achieve. Can you give more info..
    Rgds,
    Samir

  • An interesting abap dump in MV45AFZZ  when delete order

    Hi all.
    In 'userexit_save_document_prepare' form of MV45AFZZ which is the SO order save uerer exit, I insert 'message e398(00)...'.
    When I save the order , the message does work.
    When I delete the order , program dump on message .
    Because ...
    During "Exit Command" processing, the program tried to send a " " message.
        This is not allowed at this point in processing.
        The program had to be terminated.
    I think SAP dump it with reason.
    Delete is "Exit Command"
    But how can I stop the  'delete' process in MV45AFZZ.
    Is there a globe variable names like 'NOT_SAVE' or a standard message table to collect my message instead of  message it directly.
    Edited by: shen yu on Jun 4, 2008 5:46 AM
    Edited by: shen yu on Jun 4, 2008 5:46 AM
    Edited by: shen yu on Jun 4, 2008 5:47 AM

    Hi Shen,
    Bypass the logic of error message when saving the order in user exit 'userexit_save_document_prepare' by checking the value of the field T180-TRTYP.
    then try inserting the same logic for error message in the user exit USEREXIT_DELETE_DOCUMENT (checking the value of the field T180-TRTYP)
    Rewards points if this is helpful,
    Regards,
    Dwaraka.

  • How to delete order created against notification

    hi gurus,
    Someone tell me how to delete order created against notification. & also PR created against it.
    Regards,
    Radhika

    Hello
    You can set the deletion flag only when the order is business completed - CLSD status (no open costs remaining on the order). Deletion flag is set to the order when you want to archive the order. Till the order has a CLSD status, the del flag setting in the menu will remain inactive.
    Any open PR created against the order is automatically set to deletion when the order is set to TECO - tech completed status.
    For your scenario:
    If you dont want to use the order and the order is with CRTD status - you can set the 'Do not Execute' flag. It will set the order to CLSD and NCMP (Not completed) status. this will also delete your PR
    In case your order is already released - you will have to set the CLSD status for your purpose
    Regards
    Kartik

Maybe you are looking for