Deleting PPMs from APO

Hi all -
Whats the best way to clear the obsolete PPMs from APO? Can it be done only through BAPIs/program/manually as suggested in some earlier posts?
Is there anyway we can make the system remove the obsolete ppms from APO?
Currently we just lock the PVs in R/3 and they change to inactive in APO and thats fine. At this point no matter what I do, since the valid from/to date is in the past, the system obviosuly does not even read them.
How do we get rid of old ppms from APO?  Appreciate all your help!
Varun

Thanks for the reply. So, is there no way to set an indicator on PV or on the R/3 side so that the CIF master data update job of PPM deletes it from APO?
Thanks for your answers
Varun

Similar Messages

  • Delete Intransit from APO which Loaded by PI from external interface

    Hi all,
    I am facinf a problem in deleting the Order created by External Interface.
    We are loading Inransit as PO Mamo (ATP Category AH). Now we need to delete all the Record with AH ATP categoy before we reload new intransit to APO.
    Problem is we are not able to delete those order as those are not in Live Cache.
    We try using transaction /n/sapapo/bp2 but every time its throwing error "SAP APO system Q51CLNT100 has been declared as an SAP R/3 system.
    and even i try deleting from /SAPAPO/RLCDEL. but its not deleting those order.
    Can some one suggest what to do.
    What all the option that we can try to delete the intransit.
    Thanks & Regards,
    Amit Sharma

    Hi Amit,
    You can use BAPI to delete AH ATP Category.
    1. Read all Purchase Documents from BAPI_POSRVAPS_GETLIST3 for product u2013 location for AH Type ATP Category only.
    2.Get the ORDID on the selection made.
    3.Call BAPI_POSRVAPS_REMOVEITEMS and load the list of order no. and then delete it.
    Please try this.
    Thanks,
    Dipankar

  • Deleting a resource from APO

    Hi All,
    We want to delete a resource from APO. Can some one throw light on this how to ahead with deletion. I would like to ask are there any prerequisites that are to be modified like deletion from PPM etc..
         Thnks in advance,
           kalyan.

    if you go to transaction WUF and enter your resource name you can get the list of objects the resource is being linked to ....
    you might need to delete them (in the case of transaction data) or delink them (in the case of PDS you want to retain with an other resource for example)
    once you do this, you should be able to delete the resource from the transaction /SAPAPO/RES01
    if you have a R3 connection and its in a CIF model ensure that is deactivated so it does not appear again

  • Deletion OF schedule LInes from APO SPP(Spare Parts Planning) through ABAP.

    Dear All,
    I need to delete the schedule Lines from APO SPP(spare parts planning ) system.I am looking for any available BAPI provided by SAP for this purpose.Please provide me help if any of you folks previously in your project went through this requirement.
    If any other way is there other than BAPI please suggest.
    Regards
    Mukesh Pandey

    Hi Siddartha,
    That option is not working.
    Thanks

  • Mass deletion of Forecast & Backlog Confirmatin from APO

    Hello All,
                       Is there any transaction to delete the backlog Forecast & Confirmation from APO. Can MC75 transaciton in R/3 delete the Forecast from APO in mass. In current senario I am doing manual deletion of backlog Confirmation  every month. Can any transaciton help me in same ??
    Thanks in advance

    Hi Mohit,
    You can use TCode- /sapapo//rlcdel, which is the same as the report in SE38- /sapapo/rlcdelete. chose 'select object by categories'. Put the order category as F*, put the date range, planning version, product and location and execute. This will delete the forecasts for the particular product/loc.
    -Manotosh

  • How can I send multiple subcon PPMs to APO since one PV must be in the PIR?

    We often have two or three production versions for a single subcontracting material. For example, PV 01-1 from now until June, then PV 02-1 from June until November. To create the PPM in APO via CFM1/CFM2 we must have one PV in the subcontracing PIR. This means we can only send the currently active PV 01-1 to APO and we can not plan with 02-1 in the future! I know I can manually create this in APO or I can temporarily change the PIR, send the PPM, and then change the PIR back but I would like an automatic process for this.
    Why can't I leave the PV blank in the PIR and that would mean to send ALL PPMs? This is essentially how R/3 planning works... if you leave the PV blank in the PIR it will automatically choose the PV with the correct date ranges.
    I'm sure many people have had this issue but SAP offers no solution. Does anyone know of a user exit or have any ideas on how to resolve this?
    Thanks,
    Eric Strehlow

    Hi Vinodkumar,
    You have desribed the way that I run my process. However, for subcontracting we must also put the PV into the PIR or the PPM creation will have no link from PV to Vendor and therefore it will not create a PPM.
    In R/3 planning, we leave the PV blank in the PIR so the system will automatically choose the correct PV based on the validity dates. I would like to leave the PV blank in the PIR and have APO create PPMs for all Vendors that this material is extended to for each PV. But as far as I know this is not possible. Then APO planning can choose the correct PPM based on validity dates.
    Thanks,
    Eric

  • Item category determination during Purchase Requisition creation from APO

    I’m creating a  SNP Purchase Requisition in APO and when it is  published to R/3, a Purchase Requisition document is created in R/3.
    When this PR is created in R/3, I want the Item Category to be determined based on the Material master Special Procurement Type. ( eg: I’d like the Item category to be ‘L’ if the Material master Special Procurement Type = 30 (Subcontracting) ). But by standard, this field is coming as ‘Blank’ and this field could only be populated during the creation from APO.
    I found a user exit ( CIFPUR02 :  Enhancement of Purchase Order Interface (Inbound) ) on R/3 where I tried to populate the Item Category, but  when I do this, all the purchase order related data is getting deleted and hence no PR’s are getting created in R/3.
    Could anyone please tell me if this could be resolved using configuration and if not any  tips to do this technically would be very helpful.
    Thanks,
    Harsha

    Hi Karun,
    This is the code i'm using...
    select single * from marc into lit_marc
    where  matnr = c_eban-matnr
    and    werks = c_eban-werks.
    append lit_marc.
    read table lit_marc with key matnr = c_eban-matnr
                                 werks = c_eban-werks
                                 sobsl = 30.
      if sy-subrc = 0.
      c_eban-pstyp = '3'.
      endif.
    Here sobsl = 30 is the Special procurement type
    But when i try to populate c_eban-pstyp = '3', during the creation of Purchase Requisitions in R/3, in the program SAPLEMPI -> LMEPIF01
    this condition is encountered which deletes all the data in the tables that is used to create Purchase requisitions.
    <i>* get rsnum in the case of subcontracting
          IF XEBAN-PSTYP EQ PSTYP-LOHN AND                      "RB240999
             EXITFLAG_ORDID IS INITIAL.                         "RB240999
    refresh all component tables
            CALL FUNCTION 'ME_COMPONENTS_REFRESH'
                 EXCEPTIONS
                      OTHERS = 1.</i>
    Could you please suggest me anything to get around this.
    Thanks,
    Harsha

  • Delete data from table

    hi gurus,
    i am new to abap.
    i am create a report using
    select-options: apoid,
                           material,
                           location to.
    parameters:      days .
    user want to delete entries from the DB table
    from system date to behind 5 days left entries
    for ex. as today is 25.06.2008 he wants data in DB table
    of only 20.06.2008 to 25.06.2008
    if other data from left these dates are deleted.
    and also in output shows the
    2.     Report output should contain :
    a)     Number of entries selected for deleting from table
    b)     Number of entries deleted from the table table
    c)     Number of entries remaining in the table table
    i am do some coding
    plz help me in this case
    TABLES: zapolp22.
                          INTERNAL TABLE                                 *
    TYPES: BEGIN OF it_output,
           ordid           TYPE ZAPOLP22-ordid,       "APO order id
           schedid         TYPE zapolp22-schedid,     "APO schedule line id
           matnr           TYPE zapolp22-matnr,        "Material Number
           locto           TYPE zapolp22-locto,  "APO Destination location
           lfmng           TYPE zapolp22-lfmng,        "Delivery quantity
           lfdat           TYPE zapolp22-lfdat,        "Shipping date
           locfr           TYPE zapolp22-locfr,     "APO Supplying location
           rqmng           TYPE zapolp22-rqmng,        "Required quantity
           rqdat           TYPE zapolp22-rqdat,        "Delivery date
           prckz           TYPE zapolp22-prckz,  "Data element processing
           blkstk          TYPE zapolp22-blkstk,       "Blocked Quantity
           oppdelqty       TYPE zapolp22-oppdelqty,    "Cumulative order qty
           zzapologmod     TYPE zapolp22-zzapologmod,   "Logistic Model
           zzflagurgent    TYPE zapolp22-zzflagurgent,  "APO Urgency Flag
           zzapottype      TYPE zapolp22-zzapottype,    "APO Transport Means
           zzndays_l_time  TYPE zapolp22-zzndays_l_time,"Lead Time Transport
           END OF it_output.
    DATA : itab1 TYPE STANDARD TABLE OF it_output." WITH HEADER LINE.
    DATA : itab  LIKE LINE OF itab1.
                  SELECTION SCREEN / PARAMETERS                          *
    SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME.
    SELECT-OPTIONS: s_ordid FOR zapolp22-ordid,
                    s_matnr FOR zapolp22-matnr,
                    s_locto FOR zapolp22-locto.
    SELECTION-SCREEN END OF BLOCK a1.
    PARAMETERS: p_days LIKE sy-datum.
                                DATA
    DATA: days TYPE i.
                       START OF SELECTION                                *
    SELECT mandt
           ordid
           schedid
           matnr
           locto
           lfmng
           lfdat
           locfr
           rqmng
           rqdat
           prckz
           blkstk
           oppdelqty
           zzapologmod
           zzflagurgent
           zzapottype
           zzndays_l_time
    FROM zapolp22 INTO itab
    WHERE ordid IN s_ordid  AND
           matnr IN s_matnr  AND
           locto IN s_locto.
    ENDSELECT.
    p_days = sy-datum - days.
    DELETE zapolp22 FROM itab.
    IF sy-subrc = 0.
      WRITE:/ 'DEleted'.
    ENDIF.
    gururs plz help me its urgent.
    thanks
    jayant

    His employer may be aware he's a newbie.  He should of course be looking to his colleagues to help.  But at least he's made an attempt.  Martin is right though - this isn't a problem that requires a guru - it's a beginner task.
    For starters try FROM zapolp22 INTO TABLE itab and remove the ENDSELECT.
    Then LOOP AT itab...ENDLOOP.
    READ the ABAP help for any keywords you don't understand.  And DON'T use itab as a name for your internal table.  Use a MEANINGFUL name.  like t_apo_data.
    matt

  • Deleting orders from Live Cache

    Hi Gurus,
    Is there any way where we can delete orders directly from Live cache?
    I have a situation where Process orders are present in R/3 and not available in APO. It shows up in the CCR report, but when we push them it gets stuck in the queue with the error Order Type 6 and 'A table entry exists with this Secondary Key'.
    I verified these orders in OM16 transaction and these orders are available there, but I am unable to view them in RRP3. When I check in Tcode: OM19 this is availavble in ORDMAP Object.
    Is there any way I can delete them from directly Live cache ? or how can I make both the systems sync?
    Thanks in advance.
    Regards,
    Murali.

    Hi
    Check the following
    1)Use this Program /SAPAPO/DELETE_PP_ORDER and make sure the check box LV_EXECU is ticked and specify the time period of the orders. Becuase some times without specifying the above it will not display the details
    2) Use the Program /SAPAPO/RLCDELETE and execute. I'm not sure on this. But you can try
    3) Tell me- This Process orders are created in R3 and ciffed to APO or it got converted in APO from Planned order to Production order. Pls look at the origin of Process orders
    Hope this helps
    regards
    Vijay

  • Pur Reqs from APO to R3

    Hi,
    while transferring purchase requistions online(immediately) from APO to R3, we want to have only some products are transferred immediately and others with periodic transfer..
    we tried with the integration model(by having only the products that should go online), but the other products pur reqs are endingup in queues..
    how to rectify this and achieve the above. Thanks

    I think, you must define "immediate transfer" and use enhancement APOCFPEP to delete unnecessary ones.
    This way, no queue should hang. 
    When you want them in R/3 again, delta report can do it.?????
    I checked /SAPAPO/RRP_EVENTS_PUBLISH after creating PR manually in RRP3, here
    iv_publish_events
    iv_collect_events
    et_order_changed
    are all filled, so can trace back to find if some other  enhancements can be used.
    Inside the applications of creating PR, there should be BAdI available to do this even earlier:
    like BAdI /SAPAPO/SNP_TRANSFER, (but I'm not sure if CCR report can pick up the left-overs later.
    Please feedback if you've tested)      BR/Tiemin
    P.S. It suddenly occurred to me if CCR report will go through enhancement APOCFPEP  or not......
    If not, more complicated logic must be coded in the enhancement

  • Deletion PDS in APO

    Hi
    Could some one throw light on how to delete PDS structures in APO.
    I have PDS created on plant and vendor as well.I would like to delete the PDS at plants.
    Tried with the standard report /SAPAPO/CULL_DELETE_RTO but it deletes the PDS on vendor locations but not on plant.
    Then I tried with display PDS structures program where I could delete the rows but could not save the same.
    Any inputs are higly appreciated.
    Thanks & Regards
    Chakravarthy.A

    Hello Chakravarthy,
    The PDS's cannot be deleted from the display transaction.
    and the only way to delete them in APO is to use the standard report.
    from R/3 you can delete the production versions which you want to delete & run the transaction CURTO_CREATE with the check box 'deletion flag' checked for the production versions which you deleted.
    This will make sure that the PDS's are deleted in APO.
    but, I do not understand why you are facing problem in deleting the PDSs in the plant also.
    you can try entering both vendor and plant in the location input field and try.
    Regards,
    Hemanth

  • Delta failed from APO to BW

    Hi Experts,
    We have a delta load from APO 3.0A (which has BW2.X) to BW 3.5 system. It is from an InfoCube in APO to ODS in BW. Due to an issue, I had to delete the delta.
    Again when I try to re initialize the delta, The INIT request is successfully activating in the ODS object. But when I run the delta, it's failing with the following error:
    "Error occured in the source system (i.e. APO)."
    "Delta only possible on successfull Initialization. "
    Please help me to fix this problem if anybody have already come accross this.
    Thanks in advance.
    Regards,
    Preethi

    Hi.
    First of all it is difficult to provide an assertive answer with only that message error provided.
    I woudl suggest you to check the loag in the Source System(APO).Probably there we will have another information about this issue.
    Please check the reports RSBDDELTAREPAIR and RSBKCHECKDELTA if thay can be helpful to check some inconsistency in this delta.
    Thanks,
    Walter Oliveira.

  • SNP PPMs from PPDS PPM and  manually creating PPMs in SNP

    I am a new user to APO and have a small question. I will appreciate if you could help me out.
    We are implementing SNP, with plans to implement PPDS in the future.
    Could you please explain the difference between converting SNP PPMs from PPDS PPM or manually creating PPMs in SNP.
    Thank you

    Also try this: http://help.sap.com/saphelp_apo/helpdata/en/84/23cb390165ad0ce10000000a11402f/frameset.htm

  • Idisk app: delete file from iphone but NOT idisk?

    maybe i'm missing something but how do you delete a downloaded file from just your iphone? when i tap the delete button in the downloaded file window it deletes it from my idisk.

    Jeff Stone1 wrote:
    well that is sort of what i thought. when the app was originally previewed it was stated that you can VIEW your documents stored on your idisk. but the mobileme page on the apple site says that you can DOWNLOAD files to your iphone.
    i just looked and i only see where you can view and share files but i don't see anything about downloading files.
    on a side note why is the icon blue didn't it change from blue to a pink with the change from .mac to mobile me.

  • Process Chain - Delete File from Application Server

    Hi Gurus,
    Im working with Process chain, and i have a load from a flat file, so my question is :
    How can i delete that file from the application server after was loaded ?
    THANKS IN ADVANCED !!! I REALLY APRECCIATE YOUR HELP.
    Marcos

    hi,
    I have gone through the forum you have posted for deleting files from application server through process chain.
    I have similar reuirement in my project.
    Can you please provide me the solution?
    Your inputs will be highly appreciated.
    Thanks in advance.
    Regards,
    Lavanya.

Maybe you are looking for

  • Is it possible to add a user using the RESTful Web Services SDK

    Others have asked before about user management features in the RESTful Web Services SDK.  However I can find no answers or links which provide an answer to the question 'Is it possible to add a user using the BI 4.1 SP2 RESTful Web Services SDK'? Any

  • Album and artist title larger than other album titles?

    When viewing my music through grid view and sorting by albums one of the titles for one of my albums have a larger font size than any of the other in my library. It's not the selected or the currently played album. It's the first of a few albums of t

  • Bank Communication Management - Incoming messages from Banks

    Hi, We are using Bank communication management. When we send our ACH and Wire files to the bank, the bank sends two confirmations: 1. First confirmation says that the file is received. 2. Second confirmation sends the total number of items and total

  • HD instead of Apple symbol on startup

    Hi - I've recently noticed that every once in a while, when I start my macbook, instead of the normal apple logo, I get a hard drive symbol with an arrow pointing to it. The system won't boot completely until I click on the arrow. It's as if the OS i

  • Portal role assignment

    We are facing problem of Roles getting automatically de-assigned to users in EP. We would like to know the following: 1)       If this is a known issue with EP 6.0? 2)       If yes how to correct it.? 3)       How to find when this role got deassigne