How to delete PSAs via process chain

How to delete PSAs via processchain using program(need to delete automatically).
For that i have to create the processchain for specially deletiung the PSAa and need to write the code for deleting automatically.

Hi
Please follow the below steps for PSA processchain deletion.
Create the Start varint
Drag the PSA deletion PSA Request from left menu bar proces types
Click on maintain varinat of the above dragged psa deletion
There you select like below
Object Type:PSA
Objectname:PSA Table name
Select the below options on the same screen as Older than 10 days ...
As per your requirement you can select the options..
Hope it will helps

Similar Messages

  • How to delete masterdata via process-chain

    Hi Specialists,
    I need to delete masterdata which is not used in any cube/osd on a daily base.
    But I cannot find a possibility to do that via the process-chain. There seems only to
    be the option to delete the content of cubes and ods-object, but not of info-objects.
    Could you please gimme some hint?!
    Best regards,
      Marco

    Use function module RSDMD_DEL_MASTER_DATA  in a ABAP program.. then schedule it in process chain..
    Cheers,
    DK
    Giving points is another way to say thanks )

  • Delete PSA Using Process Chain

    I need to schedule some PSA deletes using a process chain and wanted to make sure I'm doing the right thing.
    I have MD 0WBS_ELEMT_ATTR and in RSA1 if I click on "manage" I can see my PSA's that were loaded. Yeah, there were 2 different loads.
    If I go to RSPC and create a variant to delete this PSA after its 45 days old I look up the PSA and I see the following:
    /BIC/B0000782                             Work Breakdown Structure Element (WBS Element)
    0WBS_ELEMT_ATTR_DA             Work Breakdown Structure Element (WBS Element)
    Using se16 looking up this table: /BIC/B0000782000 it looks like it doesn't have any records so my question would be:
    Is /BIC/B0000782 the PSA?
    What is 0WBS_ELEMT_ATTR_DA?
    Thanks,
    Mike

    OK here are my answers:
    1) You seem to be disagreeing. One says use the /BIC/B0000782 the other says use 0WBS_ELEMT_ATTR_DA in the Process Chain.
    I used /BIC/B0000782 in the process chain.
    2) When I look up 0WBS_ELEMT in table RSTSODS using the ODSNAME I see:
    ODSNAME VERSION DATETO DATEFROM OBJSTAT ODSNAME_TECH
    0WBS_ELEMT_ATTR_DA 000 9999/01/01 1998/01/01 ACT /BIC/B0000900000
    0WBS_ELEMT_TEXT_DB 000 9999/01/01 1998/01/01 ACT /BIC/B0000541000
    these are the internal tables for the transfer rules I guess
    3) /BIC/B0000900000 is the internal table for 0WBS_ELEMT_ATTR_DA correct?
    yes
    4) /BIC/B0000782 which I saw when I was looking up the PSA entry for 0WBS_ELEMT_ATTR is the internal table for the PSA?
    yes
    5) Still confusing is that neither /BIC/B0000782000 or /BIC/B0000900000 has any records.
    /BIC/B0000782000 must be the default table for the PSA, and /BIC/B0000782001 did have the same number of records I saw on RSA1 (Manage), and /BIC/B0000900000 is the internal table for the rules
    so we are all good!
    Mike

  • Delete PSA Through Process Chain

    Hi,
    I am working in NW04s. I have few questions related to the subject line. Few are for knowledge enhancement and other are task oriented.
    Background:  InfoPackages are created to load data (master and transaction, both full & delta) for InfoObjects and DOS/Cubes. All the 4 options (PSA and then InfoObject, PSA and infoobject in parallel, only InfoObject and only PSA) are used in production.
    Questions:
    Q1 (general): Why should we have a process in Process Chain after data load to delete PSA, if we are using PSA and then InfoObject?
    Q2 (specific questions): How to include the PSA name in "Delete PSA Request" of a Process Chain when infoPacakge processing is only PSA.
    Q3 (specific question): When Data target is not defined in InfoPacakge (but only Data Source and Source System is defiled, and process is "PSA and then InfoObject', then in such case which infoprovider is to be put into "Delete PSA Request" in process chain.
    Thank you for reading my questions, and helping me.
    Sincerely,
    S

    Q1 (general): Why should we have a process in Process Chain after data load to delete PSA, if we are using PSA and then InfoObject?
    Requests in PSA are deleted periodically so as to prevent getting the PSA table bigger and bigger occupying more DB space.
    Q2 (specific questions): How to include the PSA name in "Delete PSA Request" of a Process Chain when infoPacakge processing is only PSA.
    You can specify the PSA table name, it need not load further targets as it is deleting requests from PSA itself . Loading PSA is good enough for the Delete Request in PSA process type to work.
    Q3 (specific question): When Data target is not defined in InfoPacakge (but only Data Source and Source System is defiled, and process is "PSA and then InfoObject', then in such case which infoprovider is to be put into "Delete PSA Request" in process chain.
    You can specify the PSA table name, why do you want to Infoprovider name I guess you cannot even do that for this process type.

  • HOW to delete old APO process chain logs.

    HI experts,
    Can anybody help me in gettting how to delete the old logs of APO daily delta process chain.
    Is there any standard job or any batch job for the same.
    Regards,
    yatindra

    Hi Yatindra,
    If you are using SCM 5.0, go to Tcode SE38 an run this program: RSPC_LOG_DELETE.
    In the screen you have to specify the date range from which you want to delete the logs.
    I hope this can help you.
    Regards.
    Marín.

  • Delete Infocube via process chain V RSA1

    When deleting the contents of an Infocube through RSA1 you get a choice of deleting Dimensions or Dimensions and Facts.  When you are creating a process chain and you use the object Del;ete contents, what does it use as default Delete dims, or delete dims and facts?

    Hi Dominic,
    In the process chain, goto the deletion process step.
    Right mouse click and select Display Variant.
    Here you can see a check box and "Also Delete All Dimention Table Contents".
    Based on whether this check box is ticked or un-ticked, you can make out what it does.
    I hope this answers your question.
    Regards,
    Anup.

  • Delete Initialization using Process Chain

    Hi Experts,
    How to delete initialization using process chain? Additional question, why does our DTP couldn't get any data from PSA? We just transfer our DTP to other process chain and left its associated infopackage from the original process chain but when we check our extraction, our DTP always gets zero (0) records. What do we need to put in our DTP settings? and infopackage and DTP should always be in the same process chain??
    Thanks,
    nips

    Hi UserPV,
    Thanks for your inputs!
    Anyway, our InfoPackage in the other Process chain executed succesfully and has an extracted data. Now, our DTP can't get any data from the PSA where the extracted data of InfoPackage resides first. Is there any other way around to separate DTP and its associated infopackage in different process chains? Or those objects should be in the same process chain?
    Another questions, how can we delete an initialization using a process chain? and is there a function module that can we use to remove the initialization request so that we could re-initialize a process?
    Thanks,
    nips

  • How to delete requests in PSA using Process chains

    Hi All,
    Can anyone explain me how to delete all the requests in PSA using Process chains.
    This is what I did...
    1. use Process type 'Deletion of Requests from PSA'
    2. Settings:
    Object Type - PSA table
    Object Name - <Datasource name>          
    Older than - 0 (Zero) days
    These settings doesn't work. Can you please let me know exact settings to use for deleting all the requests in PSA of a datasource.

    Hello Praveen,
    That's what I thought too. But if I use '1' one day, what if I need to run it twice same day? So this doen't work for my requirement.
    Any other suggestions?
    Thanks.

  • Delete older data via process chain

    Business needs only data for the past 45 days at any given time and the data loads are daily basis via process chain.
    so I would like to have a step in Process chain to delete any data older than 30 days from today's date , on a daily basis.
    How can I do that in the Process chain?

    Hi,
    You can use a process type called Delete overlapping request from Infocube in process chain. To delete requests older than 30 days select Deletion selections and write ABAP routine under Request selection through routine using following template.
    Routines for determining the old requests to be deleted after successfully loading a new request.
    form compute_<InfoCube-Name>
      tables l_t_request_to_delete structure rsreqdelstruc
      using l_request like rsreqdone-rnr
      changing p_subrc like sy-subrc.
    *Insert Source Code to decide if requests should be deleted.
    *All Requests in table l_t_request_to_delete will be deleted
    *from Infocube <InfoCube-Name>.
    *Add new requests if you want to delete more (from this cube).
    *Remove requests you did not want to be deleted.
    $$ begin of routine - insert your code only below this line-
         loop at l_t_request_to_delete.
         endloop.
         clear p_subrc.
    $$ end of routine - insert your code only before this line-
    ENDFORM.
    hope it helps...
    regards,
    Raju

  • Deleting Master Data via Process Chain

    I am in the midst of creating a process chain and am able to create process for deleting ODS Contents, but am not able to do the same for Master Data. Is this possible?

    Firstly, why do you want to delete master data.
    You cannot delete master if the same is used across other transaction and master ( attr )data.
    You may use :
    Prg - > RSDMD_DEL_BACKGROUND
    FM - >RSDMD_DEL_MASTER_ DATA.
    To my knwldge you cannot delete MD using process chains.
    You can delete data in PSA periodically..is that you are looking for ?

  • Delete Selection using Process Chain

    Hello all,
    Does any one know how to create a selected deletion using a Process Chain for DSO and Cube objects?
    Thanks
    Paulo

    Hi,
    You can use transaction delete_facts to generate program for selective deletion and use the program in your PC to automate it.
    You can also try program RSDRD_DELETE_FACTS as well for cubes.
    check the below links
    Selective deletion in process chain for DSO and cube
    https://wiki.sdn.sap.com/wiki/display/BI/Schedulingselectivedeletioninprocesschain-%28infocube..%29
    Regards,
    Venkatesh

  • Loading master data via process chain

    hi experts,
    I have to load data in infoObject via process chain, my infopackage has update mode as full update. Now my question is do I have to delete the previously added data from infoObject and then run this full update infopackage in process chain or system will only fetch the newly added records from source.
    regards,
    ray

    You can not delete the data from master data once the transcational data is posted against the master data value. Attribute value can be deleted, but you can not delete the value of the main characteristics from master data table.
    Moreover, you dont need to delete the data when loading master data. Master data always overwritten with the new reocrds.
    As described, first load the full load and then on daily basis you can load the delta.
    DO NOT FOGET TO SCHEDULE ATTRIBUTE CHANGE RUN to activate the newly loaded data into master data.
    Make sure that your master data is not enhanced, otherwise any change in the enhanced field will not generate delta record. If this is the case, then load in full mode everyday.
    - Danny

  • Process Type ABAP does not work properly via process chain

    Dear SDNers
    I am running a process chain and it contains process type ABAP program. ABAP program was running correctly till now via this process chain. ABAP program process type generally takes approximately 2 hours to run. But now, this process type for ABAP program just run for less than 1 minute and finishes successfully. The issue is that ABAP program does not run at all.
    I ran the ABAP program in background and it took approximately 2 hours to run. ABAP Program is local means in our BW system and does not involve Remote Function call. We have BI7.0 system
    Has some one came across this type of issue?
    Best Regards
    Pradip

    Has the aleremote user or which ever user you have defined for background scheduling changed permissions recently?
    What happens if you create an adhoc chain and include this ABAP variant, does it run then?
    What does the log say in SM37 when run via process chain?
    Cheers
    Craig

  • How to stop the running process chain

    How to stop the running process chains or infopackges...just qm status change is enought?

    BI - SM 37 - Kill the Job
    ECC - SM 50 - Kill the job

  • How to create document in process chain

    Hi,
    can u plz tell me how to create document in process chain and wat i need to edit the text for particular info package when document.

    Hi Anil,
    Goto Tcode:RSPC and select your load data process type where you have to right click on the process chain and select Select create message,there are three types of messages
    1>Successful
    2>Error
    3>Always
    If you already created message then go to maintain message
    Where you have two buttons
    1>is for Edit Document
    2>Maintain Recpiants
    Goto Edit Document and put your comment and set their mail address in Mail recipiants.
    Note there are 2 types of messages you can kept at execution of infopackage process type.
    If load is successful send the mesaage to recipients
    If load is failed send the message to mail recipt.
    It would help you.

Maybe you are looking for

  • Cover flow is no longer images; just a color grid, can't correct, need help..thanks

    cover flow (artwork) is no longer images just a color grid, can't correct, need help...Thanks

  • OS X 10.9 System Preferences - Engery Saver UPS Configuration

    There used to be an option for a UPS configuration under System Preferences - Engery Saver for previous versions of OS X.  Can this feature still be accessed for OS X 10.9, and if so, how and where?

  • SAP BW release versus SEM release

    Hello, I am currently on BW 3.1 version and R/3 Enterprise. I want to install SEM for SEM-BCS BW based implementation. Are all the SEM versions "compatible" with BW 3.1? If not, which is the most recent SEM release that is? Which SEM version is recom

  • Vluation at company code level and transfer prices in EC-PCA

    Hi, We have the following configuration: 1. Valuation of stock at Company Code level. 2. Transfer pricing between Profit Center (i.e. Material Ledger is active). we experience some technical issues (e.g. we get error message when entering MM03 accoun

  • Evaluation Paths in OM

    Dear Exeprts. i want a report with person and his manager and positions of both in Organization Management an u help plz .... i use evaluation path ORGA-P to get the top level of managers (drill down technique) i need it to be bottom up Edited by: Si