[小讲坛]关于PSA table(2).

各位好..
又到了午后饭余,接着上次的话题,PSA..(不是标志汽车..更不是美国摄影协会..)
修复PSA的错,一般都会建议客户参考note 1150724..
事实上这个note已经写得很详细了..或许也没啥必要赘述重复,就几个其中的重点请允许我提一下:
1. RSAR_PSA_PARTITION_CHECK
1) 用于 DDIC和DB table不整合时.
2) 只对 7.x 系统有效.
3) 关于遇到什么样的症状可以使用,请参考note的 Symptoms 部分.
4) 先不要用 repair mode跑..
2.  SAP_PSA_ZEROCORRECT / SAP_PSA_PARTNO_CORRECT
1) PARTNO = 0 被错误地写入 RSTSODS table ..关于 RSTSODS, 上一次我们有提到过.
2) 3.x系统请用 SAP_PSA_ZEROCORRECT, 7.x系统请用 SAP_PSA_PARTNO_CORRECT
3) 如果数据量很大,请使用 ZSAP_PSA_ZEROCORRECT_PARTS (请先参考note 856097)
3  RSAR_PSA_CLEANUP_DIRECTORY /_MS 和  RSAR_PSA_CLEANUP_DEFINITION 没有很特殊的地方,就不重点提了.
4. 关于 appendix:
有很多人关心PSA table的内容实际是什么时候删除的..
事实上,删除PSA中的某一(多)条request, 只是在 table RSTSODSPART (这个 table 上一次的话题中应该提到了吧?)中标记一个delete flag. 这个partition上所有的request被删掉之后. PSA table的内容才会实际被删除..
这条原则不仅适用于 7.x, 还是用于3.x系统..不过只适用于 MS SQl server 和 Oracle 的database..
如果database是db2, 那就不适用了..这是因为DB2的分区结构不同.
关于PSA的事,到这里暂时告一个段落,下回我们聊聊BW的system copy..
祝好.
Vince

关于 "3 RSAR_PSA_CLEANUP_DIRECTORY", 请允许我补充一下...
这里所谓的 directory,一般是指 RSTSODSREQUEST 那类的table所保存的信息..

Similar Messages

  • Data not received in PSA Table

    hi guyz,
    im facing the below issue while loading master data attr from source system to bi system.
    im loading data from 0vendor_attr to ovendor object.
    only half of the records are processed and gets hanged.
    in monitor- administrator workbench its showing (60434 from 157912 records)
    below are the details of the issue:
    Data not received in PSA Table
    Diagnosis
    Data has not been updated in PSA Table . The request is probably still running or there was a short dump.
    Procedure
    In the short dump overview in BI, look for the short dump that belongs to your data request. Make sure the correct date and time are specified in the selection screen.
    You can use the wizard to get to the short dump list, or follow the menu path "Environment -> Short dump -> In Data Warehouse".
    Removing errors
    Follow the instructions in the short dump.
    please guide with your expertise.
    cheerz,
    raps.

    Hi Rajeev,
    Check the job in Background (SM37), you can analyze from here.
    Check the short dump in ST22.and check system performance once.
    If you are facing this problem first time, cancel the background job and make the request red.
    Then repeat the IP again, it will get successful.
    This should be due to performance issue or RFC problem of your system.
    If the job is active in SM37, cancel the job and make the status IP red.
    Re run the IP, it  will get successful.
    Regards,
    Venkatesh
    Edited by: Venky1903 on Aug 15, 2011 2:09 AM

  • Data not received in PSA Table(urgent)

    hello,
    While loading Master data full load
    which is a load of 457070 on 2days back
    where only 4lac records r received to PSA but remaining 57070 was missing
    with error<b> Data not received in PSA Table
    </b>
    when the next day we loaded 5lac records and we got the same error<b> Data not received in PSA Table</b> where except 57070 records remaining all reached PSA
    where we tried 2day with 550000 records, same error without 57070 records all other reached to PSA
    I required ur help to solve this
    i will thank by giving points
    Regards
    PSC

    Hi,
    check if there is a TRFC haging in SM58.
    can that be that your DB cannot extend its space for this amount of data.
    How do you perform the load?
    package by package (in series or in parallel)? could that be that the next stage (into IObj) is failing thus stopping the load in the PSA?
    Can you try to perform the same load with only to PSA and then enable the "susbsequent update in target"?
    As already mentionned it could also be that an IDOC is haging...
    please let us know
    Olivier.

  • Data not received in PSA Table  0ORGUNIT

    Hi,
    We have an issue with a text load to 0ORGUNIT with around 35 lakhs of records. This particular load taking lot of time and resulting in short dump with the message 'Data not received in PSA Table'. But when iam making the request red and restarting it manulally it will get succeeed with in 15 minutes. The load is starting at 2:30 UK time and getting failed. I am restarting it at around 9 '0 clock and it got succed . The same thing happening from past 7 days. Can any one tell me what might be the reason and solution for this? Is this temporary memory issue? As the load is to an info object nothing to do with indices.
    Thanks in advance
    K

    You can change the size of the Data Packet.
    Open InfoPackge.
    From Top Menu choose "Scheduler >> DataS. Default Data Transfer".
    Default setting of the Source System will be shown.
    Keeping that in mind, try to reduce the "Max Size" & "Number of Data Packages per Request". You might need to try this a couple of times with lesser values each time to ensure that the issue resolves.
    Regards
    Anujit Ghosh

  • Data not received in PSA Table - Data of request already deleted

    Hi
    I'm running a delta load on a BI 7.0 system and get this error Data not received in PSA Table.
    And when I click on the PSA table it telling me that  Data of request XXXXXX already deleted.
    I have tried to do a consistency check in RSRV. See if there's any IDOCs in pb87.
    And the short dump analysis just say: 
    A RAISE statement in the program "SAPLRSSM" raised the exception
    condition "NOT_EXIST".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    I've also tried to repeat the load but with no luck.
    Anyone know how to fix this?
    Thank you in advance

    Hi,
    Delete the bad requests in 3 targets and delete the data mart status in Source DSO.
    Also delete the green request in the Source DSO and repeat it.
    Once it loads successfully then load the data to other 3 targets.
    Rgds,
    Ram

  • How to delete the duplicate data  from PSA Table

    Dear All,
    How to delete the duplicate data  from PSA Table, I have the purchase cube and I am getting the data from Item data source.
    In PSA table, I found the some cancellation records for that particular records quantity  would be negative for the same record value would be positive.
    Due to this reason the quantity is updated to target but the values would summarized and got  the summarized value  of all normal and cancellation .
    Please let me know the solution how to delete the data while updating to the target.
    Thanks
    Regards,
    Sai

    Hi,
    in deleting the records in PSA table difficult and how many you will the delete.
    you can achieve the different ways.
    1. creating the DSO maintain the some key fields it will overwrite the based on key fields.
    2. you can write the ABAP logic deleting the duplicate records at info package level check with the your ABAPer.
    3.you can restrict the cancellation records at query level.
    Thanks,
    Phani.

  • How to delete the OLD PSA table altogether?

    Hi,
       I am in BI for NW04S and CRM4.0 sp6.0.
       I created a custom data source in the source system and replicated and used transfer rule/Update rule to load an Data store object in the BI system.
       However today , I needed to change some fields of the same data source, and replicated and regenerated the transfer rule, Update rule etc.
       Checked the RSA3 in the source system and the data source is working fine.
        However When I look into the PSA after an attempted data load, I still fine the old PSA table (/BIC/B0000893000) getting populated and not the new one ( /BIC/B0000893001).
      when I look into the show data flow on the ODS i can see the PSA table name, and when I serached in SE11 for that table name I have found both these new and old table.
      Although the data source is replicated in to BW system properly for some reason the OLD PSA table is still being used.
      How can I correct the situation?
      Thanks, will reward the points is the problem is solved.
    Arun

    Dear Arun,
    Please check in the table (SE16) RSTSODS.
    This table stores the PSA information for all the datasouces.
    Enter the datasource in question followed by * in the field 'ODSNAME' (for eg. 2LIS_02_SCL*).
    This will show you all PSA tables for that Datasource.
    The fields DATETO and DATEFROM will tell you, which PSA table is currently in use.
    By the way, a new PSA table should be generated only if there is a change in Transfer Structure.
    Hope it helps.
    thanks,
    amol

  • Changed DataSource in R/3-- New PSA Table in BI ?????

    Hello Experts,
    I have one question. When someone change a DataSource in R/3 System, what happens it for the DataSource
    in BI at this time.
    An Error ? (TimeStamp)
    Or new PSA Table ???
    Thank you for your Answer..

    Dear Baris,
    Until and unless you replicate the Data Source in BW System there will no effect.
    Once you replicate the meta data and reactivate the D.S the a new PSA Table is generated.
    Hope this Helps....
    Dev

  • How to correct the data in the psa table?

    1Q. There are lot of invalid character in the infopackage of say 1million records. it takes lot of time to check each and every record in the data package(PSA)and correct it. i think there is an efficient way to reslove this issue that is going in the PSA table to correct all the records. is it right, if yes how to do it?
    2Q. If say there are 30 data packages in the request and only data pacakge 25 has the bad records. if i correct the data in the PSA and push it to the data target, its gone process all the data packages one by one that takes lot of time and delay our process chain job that has depedency on the load. can i just manually process this data package only. if yes how to do it?
    3Q. when i successfully correct all the bad records in the data package and push it from the PSA. the request dont turn to status green and have to manually turn this request to green in the data target after i verify all the data packages have on bad records and it is a delta update. is my process right? as it is a delta what are the pitfalls i have to watch for? and the next step after this is compress the request this is very dangerous because this basic cube have lot of history and it will take a long time probably weeks to reload it. how to take precuation before i turn it to stutus green in the data target?
    Thanks in advance! and i know how to thank SDN experts by assining points.

    Hi,
    1Q . Update the invalid chars in the filter table using tcode RSKC and also write a ABAP routine to filter out the invalid characters.
    2Q. For the incorrect data packet, you can right click on the data packet in the monitor details tab and say update manually. That way you don't need to reload the entire request again.
    3Q. When you reload the request or update individual data packet again, the request should automatically turn green. You don't have to turn it green manually. The pitfall is, if you turn a delta request green, you have chances of losing data and corrupting the delta. Best practise is never turn a request green manually.. Even if you compress the requests, you can use selective deletion to delete the data and then use an infopackage with the same selections, that you used for deletion to load the same data back.
    Cheers,
    Kedar

  • Index for a PSA table is not in the "customer" namespace

    Hi,
    While loading data through infosource 0CO_OM_WBS_1 to
    data target 0IMFA_1 loading failes and the reason given is that the system reads data from PSA table /BIC/B0001060000 of 0IM_FA_IQ_9 and the index generated for this table supplied return code 14.
    I found no notes in the subject - with the syntax :
    Index for a PSA table is not in the "customer" namespace.
    thanks in advance for your help.

    Hi,
    I think you need to speak to your basis guys / DBA as index created on PSA table is not in your tablespace. He should be able to help you.
    Vikash

  • ABAP code for BW PSA table

    Hi,
    I am using middleware (Datastage) to load data to SAP BW. My requirement is to capture SAP rejects and give the error file which is not possible through Datastage. So i have to use another R3 stage i.e ABAP extract to read the PSA table where the status for records are shown in Red and Green colour. My question is what is the code that is used which explains the status whether it is red or green so as i cant write a code saying give me the records where the status is red or green.
    Thanks
    VJ

    Hi,
    Have a look at
    REPORT demo_dynpro_status_icons.
    You may get some idea about status icons.
    Thanks,
    Sri.

  • Delete PSA Request - unable to find the PSA table to see latest request ...

    Hi, I wanted to delete request thru an ABAP program in a process chain. I'm not planning to use the Process Chain variant because it will a conditional delete and I want the latest request to be deleted.
    I'm unable to locate the PSA table where I can find the reuqest. Any help is appreaciated.

    Hey,
    You can get the PSA technical name from the data source.
    Double click on data source --> from menu bar --> goto -> Technical Attributes
    Here you can find the PSA table name.
    or you can fine the PSA Table name from the below table.
    RSTSODS - Operational Data Store for the trans
    here the entry in the filed -ODSNAME_TECH while provide you the tehcnical name of the PSA table.
    Regards
    KP

  • Unable to Activate DTP - Error; PSA/Table is not partitioned.

    Hi All,
    We have a DTP as part of a process chain which runs successfully each night, except for last night.
    I have tried to run it manually this morning however when I go into it, it is shown to be 'Revised' rather than Active.  Therefore I am unable to to 'Execute' the DTP.
    When I try to activate the DTP I get the following message
    PSA table /BIC/B0001165000 is not partitioned
    Message no. RS_PSA_DEP002
    After some time, I eventually managed to activate and run the DTP.  However it has failed giving the following messages;
    - Exception CX_RS_FAILED logged
    - Data structures were changed. Start transaction beforehand
    I hope you can help as I need to load this data today,
    Thanks very much,
    Michelle
    Edited by: BIBYRNE on Dec 1, 2010 12:12 PM

    Hi
    The DTP would be 'inactive' when there is a change in any of the associated objects i.e. Transformations, Info providers / data targets.
    Check if any of the objects have been changes/modified. Has anything been transported to your production system ? Maybe DTP was not reactivated on the dev system and not included in the transport.
    Cheers
    Umesh

  • H how to find  if the psa table is included in psa deletion process chain

    Hi all
    can anybody tell me .
    I have a psa table it's technical name is /BIC/B*
    h how to find  the  above psa table is included in psa deletion process chain or not
    please help me

    Hi
    Ope the PC in RSPC1 -->go to planning view of process chain
    in left side you will find different types of process types.
    under other BW process types folder -->you will find process type "Delete request from PSA"
    drag this into your process chain planning view and customize it based on your requirements.
    check the below article for step by step procedure
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02ba9e7-bb6f-2c10-09b4-e86b9fcbad41?QuickLink=index&overridelayout=true
    Regards,
    Venkatesh

  • Top 10 PSa table thorugh DB02 in BI 7.0

    Hi All,
    Is there anyway to find out Top 10 PSA by size by DB02 transaction in BI7.0.
    I know it can be done through old DB02(3.5X),but unable to find out in BI 7.0
    I tried to find out through already posted threads,but bad luck.
    Any help ?
    regards,
    Yash raj.

    you can use
    RSSTATMANPSA
    table and sort by no.of records then you can top 10 psa tables.
    bhaskar
    Edited by: shanthi bhaskar on Mar 2, 2009 10:20 PM

  • How to add index to PSA table?

    Hi , Experts
    as title, I want to add index to PSA table.
    my scenario is as below:
    We have already initialized 2LIS_03_BF with NOT  blcok business user(it's due to our company could not stop R/3 system, anyway), so there are 6 years data in the PSA table, it's very huge records in PSA more than 48 million records, because of we NOT stop R/3 business during initialization, so I have to search some common data  between delta records and full records(it's due to this common data contain duplicate record, I need find them and delete the duplicate record and make sure the data is correct).
    This is mean The selection is too expensive as it has to look for more than five thousand delta record between more than 48 million full records. fow now  I have already tigger this search job use a program, but it's still run for 7 days, still not finished yet, it drive me crazy.  so I mean if I can create a index for PSA table, and this action will drive the above compare work more quickly than before? or have any other way for my scenario?
    Thanks in advance.
    Best Regards,
    Bruce

    Hi,
    See the PSA Name in RSTSODS table and then in SE11 you can create Index. But the load will become slow if you don't drop the Index.
    Use 2LIS_03_BX, 2LIS_03_BF, 2LIS_03_UM to 0IC_C03 Cube and design the report.
    Use :See the steps how to load the data to 0IC_C03.
    Treatment of historical full loads with Inventory cube
    Setting up material movement/inventory with limit locking time
    If it is BI 7 then for BX in in DTP in Extraction Tab you need to select Extacrion mode = NON-Cumulative option.
    Thanks
    Surendra Kumar Reddy Koduru

Maybe you are looking for