Delete PSA

Hi guru´s
I have a question about delete of psa tables.
There are a function to delete all the PSA tables with date parameters??
For example I want to delete al PSA data greater than 8 days. I want to do this for all the psa tables.
I know that there are an option in the process chain to do this task, but it takes long time.
The final question is: Are there a function or module function or a program that perform my necesity?
thanks for your help.
Jose

Hello.
I guess we don't have an automatic process to clean PSA tables using a date as parameter.
I hint to free physically data from PSA tables is running the report RSAR_PSA_CLEANUP_DIRECTORY/_MS.
You can get more information in SAP Note 1224450.
1224450-  Logical Deletion of the Requests in PSA Table
For Databases like ORACLE, DB2 and MSSQL which support Range
Partitioning the PSA tables are created with that Partitioning feature.
In case of Partitioned PSA tables the requests are deleted logically.
Logical Deletion of a request means that when a request is deleted from
the directory (ie. table RSTSODSREQUEST) and a Deletion Flag is set in
the Partition Administration table of the PSA ie. the table RSTSODSPART.
This means that the for that request the Del Flag in the table
RSTSODSPART is set to "X". The significance of the action is that the
Request is no longer accessible but the request is still physically
present in the PSA table.
The physical deletion of the data in the request itself is executed if
all the requests assigned to a partition have been logically deleted.
This is done by the execution of a truncate or drop of the partition.
The physical existence of the data of a logically deleted request in the
PSA table is not an ERROR. The consistency of the content of the PSA
table could be checked by the PSA support tools. For details refer to
the consulting note 1150724.
I hope I can be helpful.
Thanks,
Walter Oliveira.

Similar Messages

  • Error while deleting PSA Request Manually

    Hi Experts,
    I am trying to delete Older PSA Request, but it is throwing an Error "Internal Error occured during Authorization Check"....
    Also, when i tried to see the Monitor, it is not showing any records anything...Its showing as no logs found...
    I have used the Function Module "RSAR_PSA_CLEANUP_DIRECTORY_MS", but it is not working.
    Can anybody suggest if there is any solution to delete PSA Request?
    Regards,
    Anuja

    I don't believe this has anything to do with Crystal Reports. Please post in the SAP classic forums.
    Don

  • How to delete PSA Data from any Table

    Pls specify the steps to delete PSA Data from any specific table.

    You can delete the PSA requests manually one by one as specified in the previous posts.
    You can also trigger the deletion of PSA periodically by using Process chain.
    'Deletion of PSA request' is the process type that need to be used.
    By this way you can delete all the PSA requests of the table, that are older than certain number of days.
    you can also schedule the PSA deletion for more than one table at a time, by including the tables in the same Process chain.

  • Problem in Delete PSA Request

    Hello Guys,
    I have come across a strange behavior of Delete PSA Request variant in Process Chains. When I am trying to delete PSA through Process Chain, I could delete PSA of all datasources except 0CO_OM_WBS_1.
    I tried it through different combinations, but could not delete data in 0CO_OM_WBS_1 through Process Chain. Can anyone help me through this, or any valid explanations on this front.
    Thanks,
    Saurabh

    Hi saurabh,
      It seems that you have some inconsistent requests in your PSA. Try running the program RSAR_PSA_CLEANUP_DIRECTORY/_MS and give your PSA technical name there which can be easliy found out once you click on the manage tab of you PSA at the top.
    Just put that technical name & run the program in repair mode. One the program is success full, your chain should be able to delete the requests there after.
    Check the Below thread, on how to delete the inconsistent requests from PSA.
    Finding out the details of the user who deleted a PSA request manually
    hope that the info helps you.
    Thanks

  • Delete PSA Request

    Hi Experts,
    1. I need to delete PSA request(50 request) in BI 7.0  production system.
    2. Also need to include the process type 'deletion of PSA request' to the existing process chain.
    Pls provide me the steps to follow to perform the above activities.
    Regards,
    Anand

    Hi,
    I found this answer for deleting the psa request.
    1.      Select the DataSource that you want to delete requests from the PSA for and choose Manage.
           2.      On the next screen, select one or more requests from the list and choose  Delete Request from DB.
           3.      When asked whether you want to delete the request(s), confirm.
    The system deletes the requests from the PSA table.
    You can also delete requests in DataSource maintenance. Choose Goto ®   Manage PSA (pushbutton). Follow the instructions above, starting from step 2.
    Can i follow the same in production. Pls confirm.
    Regards,
    Anand.

  • 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

  • Custom Program called by Delete PSA Process Type

    Hi Guys,
    we need to customize the Standard Program Called by Process Type Delete PSA called by Process Chain, we need to delete all the PSA and not by specific DSO

    Hi,
    CONSTANTS: c_get_all   TYPE rs_bool VALUE 'X'.
    TYPE-POOLS: rsatd, rsatr, rsa, rsd, rsau, rsdg, rsawb, rssm, rssb,
                rsdds, rsddk, rrhi, rsods, rsarr, sbiwm, rssm1, rsaos, rsb,
                rsap0, slis, rsenq, rspc1.
    DATA: t_odslist    TYPE rsods_t_odslist,
          s_odslist    TYPE rsods_s_odslist,
          t_psa        TYPE rssm_t_2500_psa,
          s_screen_psa TYPE rssm_s_screen_2500_psa.
    *&  Parameters
    TEXT-001: Deletion of all requests
    SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN BEGIN OF LINE.
    TEXT-P01: Older than
    PARAMETERS: f_older RADIOBUTTON GROUP opt.
    SELECTION-SCREEN COMMENT (10) text-p01 FOR FIELD f_older.
    TEXT-P03: Days
    PARAMETERS: p_older LIKE s_screen_psa-older_days.
    SELECTION-SCREEN COMMENT (6) text-p03 FOR FIELD p_older.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    TEXT-P02: Before
    PARAMETERS: f_before RADIOBUTTON GROUP opt.
    SELECTION-SCREEN COMMENT (10) text-p02 FOR FIELD f_before.
    TEXT-P04: (Date)
    PARAMETERS: p_before LIKE s_screen_psa-before_date.
    SELECTION-SCREEN COMMENT (6) text-p04 FOR FIELD p_before.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    TEXT-P05: Only Successfully Booked/Updated Requests
    PARAMETERS: f_only_s AS CHECKBOX.
    SELECTION-SCREEN COMMENT (41) text-p05 FOR FIELD f_only_s.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    TEXT-P06: Only those requests with error, that are not booked in a
              data target
    PARAMETERS: f_only_r AS CHECKBOX.
    SELECTION-SCREEN COMMENT (69) text-p06 FOR FIELD f_only_r.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b01.
    TEXT-002: ATTENTION
    SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE text-002.
    TEXT-P07: These procedure will eliminate data in all PSA tables
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (04) c_icon.
    SELECTION-SCREEN COMMENT (53) text-p07.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN END OF BLOCK b02.
    *& Fill out parameters
    INITIALIZATION.
      f_older = 'X'.
      MOVE icon_message_warning TO c_icon.
    *& Read information about PSA data
    START-OF-SELECTION.
      CALL FUNCTION 'RSAR_ODS_GET'
        EXPORTING
          i_get_all         = c_get_all
        IMPORTING
          e_t_odslist       = t_odslist
        EXCEPTIONS
          missing_parameter = 1
          no_active_ods     = 2
          OTHERS            = 3.
    *& Create deletion JOBS for all PSA tables
    END-OF-SELECTION.
    Conditions
      s_screen_psa-flag_older  = f_older.
      s_screen_psa-older_days  = p_older.
      s_screen_psa-flag_before = f_before.
      s_screen_psa-before_date = p_before.
      s_screen_psa-flag_only_suc = f_only_s.
      s_screen_psa-flag_only_red = f_only_r.
    Execute JOB imediately
      s_screen_psa-startdttyp = 'I'.
    Start procedure
      LOOP AT t_odslist INTO s_odslist.
        CALL FUNCTION 'RSATREE_PSA_DELETE_BATCH'
          EXPORTING
            i_command      = 'STAR'
            i_psa          = s_odslist-odsname
            i_source       = s_odslist-isource
            i_logsys       = s_odslist-logsys
            i_ds           = s_odslist-oltpsource
            i_istype       = s_odslist-istype
          TABLES
            e_t_2500       = t_psa
          CHANGING
            c_s_screen     = s_screen_psa
          EXCEPTIONS
            no_psa_found   = 1
            internal_error = 2
            OTHERS         = 3.
      ENDLOOP.

  • Delete PSA Selection Patterns Not Visible

    Hi All,
    I am using BI 7 process chains to schedule a delete PSA job. I am using the delete PSA variant. The issue that I am facing is that in one of the documents that I came across on the net - it shows a screen where I can specify selection patterns with the delete PSA variant. My current variant does not display this information. It displays the following -
    Object | Object Type | Object Name |
    The document that I found has the following information
    DataSource | Src System | Older than
    The link to the document -
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a02ba9e7-bb6f-2c10-09b4-e86b9fcbad41]
    So basically I am little confused as to where this functionality resides. Any clues any one?
    Rahul

    Hi,
    you need EhP1 for this functionality.
    Best regards,
    Ralf

  • "Delete PSA" variant  not transported

    I have a process chain which involves a 'Delete PSA request' process. When this is transported into our Test environment the variants do not appear so the deletion does not happen. The process still exists but the variant defining which PSA to delete is blank and so no deletion occurs.
    Does anyone know what the problem could be and how we can resolve it?

    Hi, the table names are different in Dev and QA (/BIC/B0000628 in QA and /BIC/B0000302 in Dev). So if we reactivate the datasource in Dev, then re-transport the datasources and then retransport the process chains should this resolve the issue? Would the psa tables be re-created with the correct table names in QA if we do this?
    Nothing in QA has been activated manually after transport so not sure how that would happen.
    We are using NW 2004s, SP 8 at the moment.
    Thanks for you help
    Message was edited by: Katherine Huggins

  • Unable to delete PSA data through process chain.

    Hi Everyone,
    I have got a problem in PSA deletion. We have got few PSA and change log deletion jobs which run at daily or fortnight basis. We planned to add few PSA tables to each daily and fortnight jobs depending on requirement.
    We added in development and could see jobs deleting PSAs properly. Now on transporting to testing, we could see that PSA tables are not being deleted and there is no change in data. We have checked the PSA table names properly, in table RSTSODS and confirmed PSA is given properly only.
    Anyone faced this problem or have idea about this issue, please let us know and suggest us.
    Thanks and regards,
    Shashidhar.

    Hi Shashidhar
    Just check for the PSA requests as below:
    Go to PSA in RSA1/ RSA1OLD -
    > Select the PSA -
    > Settings -> Display selection for PSA tree -> give start date and end date or any other selecetions as per your requirement-> it will show you all the details.
    Hope this helps.
    Cheers
    Chanda

  • How can i  delete PSA data in BI 7.0

    Hi all,
    you know in BW 3.5, Modeling - PSA - right click in PSA - delete PSA data, you can program how often you want to delete de data of the PSA , Example: 2 Days or from some date  or a selective data request,  now in my client we are now in BI 7.0, i find the PSA but i can get to this option that i had in BW 3.5, can you help me to find it, step by step please,
    Jorge Ayllon

    Hi,
    Pls Goto Datasource Tab in RSA1 - You can see PSA on the top click that you will have the PSA requests there click on it and delete.
    IF you want , use a process chain just as an addition information:
    You have a process type - Delete PSA request
    Please go thro' the link below:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_whm/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393236323035%7d
    Regards
    CSM Reddy

  • Change Log/Delete PSA

    Hi Gurus, I am on 3.5. When I go to RSA1, then to PSA. Select a a request, right click and select "Delete PSA Data". Why does it say "PSA / Change Log". Does it mean, I am deleting Change Log data too?

    Bigtoja,
    That may happen in case of ODS. For ODS change log data and PSA (for subsequent target from this ODS) are stored in the same table (change-log of the ODS table) . Those data are identified in the same table as "ODSR" for change log entries and "REQU" for PSA entries.
    Hope this helps!
    VJ

  • Not deleted PSA

    Hi Experts,
    As per my requirment i need to delete the PSA requests in  Testing box, everything is ok but one of my PSA is not deleted.
    Can you please any one tell me how to delete PSA request?
    Thanks in advance
    David

    Hi David,
    to delete the PSA request -->select the data source >rc>select manage>it will display all the PSA request.> select the request that you want to delete and click on delete it will delete the PSA data.
    Or use the below FM and programs to delete the PSA data.
    T.code se38 , RSAR_PSA_CLEANUP_DIRECTORY excute , it will ask diffrent option for PSA deletion .
    Main Function Module for Deleting data in PSA is : DB_DROP_TABLE.
    Function Module for deleting data in PSA: RSATREE_PSA_DELETE_BATCH
    Program : RSPSADEL1.
    Regards
    KP
    Edited by: prashanthk on Oct 8, 2010 4:16 PM

  • 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.

  • Process Chain failed at Delete PSA event level

    HI Every one,
    I am monitoring process chains, which are running on daily basis.
    I have one <b>Delete PSA</b> process chain, this chain contains only two events
    1. Start Event 2. Delete from PSA.
    Process chain failed at<i> Deleted from PSA</i> event level.
    Below is the error message I got from the process chain screen.
    "Data inconsistency in /bic/b0000231000 table,partition was not deleted"
    "Delete request REQU_4353ACARKJNY70Z5F11 from PSA 8ZMMOM...."
    Please help me by giving possible reasons for this error message and solution for this problem.
    Thanks  in advance.
    Regards,
    Narayana K.

    hi,
    Are you deleting the PSA requests using abap program?
    Regards,
    Vijay

  • Unable to delete PSA request

    Hello,
    I am unable to delete the request in PSA the status of the request is Yellow(Undecided)
    But I would like to delete this one.
    Thanks,

    Hello Ram,
    Is it giving any error. If so what is that?
    Right Click the PSA and select Delete
    or you can use the function module RSATREE_PSA_DELETE_BATCH to clear all the PSA.
    Thanks
    Chandran

Maybe you are looking for

  • Financial Software advice

    Hi. I'm a graphic design freelancer and I need to purchase some sort of financial software for the mac. I need to create invoices, track charges, and even track my personal charges as well. Can anyone recommend the best software? I know quickbooks is

  • Web content location - non functional

    Running Lion server 10.7.3. hostname = myserver.somedomain.com ip=1.2.3.4 (examples - this is a working server, online, active dns, etc.) Configuring web server gives a default server with files located in /Library/Server/Web/Data/Sites/Default Confi

  • Arrow in Airport icon after reboot

    Every time I reboot I get a down pointed arrow in my airport reception menu icon and I have to manually connect to the network. Any ideas how to fix this? Thanks.

  • Freezes Up, HELPPPP

    I need help, while im playin City of Heros, like a lil while of playin the game my comp freezes the screen turns gray and then i have to restart. Ive checked my voltages and temps when coolnquiet core cell, and it all seems fine and i checked my vc t

  • Firefox hangs up and crashes

    Firefox freezes up constantly for 5-10 seconds on every page and function. I then close Firefox and when I try to re-open it, I receive an error message that tells me a session is already running and that it must be closed before starting a new sessi