Selective Deletion of Recrods in PSA
Hello All
We are using BI-7.0 frontend.
While loading data to a master data infoobject we are facing a abort due to incorrect time field.
This records are actually unwanted and are results of a code written in enhancement,thus we we want to delete these records in PSA instead of making it correct and push further.
I have tried to use the feature to delete the record available in PSA but its not working.
Can anyone please advise how to make a selective deletion of records in PSA ?
Thanks & Regards
Ashish
you can use these two FM's in your selective deletion
1 for 3.x objects and another for 7.0
LOOP AT ITAB_REQ_LIST INTO WA_REQLIST.
SELECT SINGLE * FROM RSTS INTO ZRSTS WHERE ODSNAME = WA_REQLIST-ODSNAME. "Added Sbhaskar
IF SY-SUBRC EQ 0.
CALL FUNCTION 'RSAR_ODS_API_DEL'
EXPORTING
I_REQUEST = WA_REQLIST-RNR
I_DATE = WA_REQLIST-ZDATE
EXCEPTIONS
PARAMETER_FAILURE = 1
NO_ODS_FOUND = 2
DELETE_ERROR = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'RSSM_DELETED_FROM_ODS'
EXPORTING
I_REQUEST = WA_REQLIST-RNR.
ENDIF.
CLEAR: WA_REQLIST-RNR.
ENDLOOP.
ENDIF.
Similar Messages
-
Can we delete the selective deletion in PSA
can we delete the selective deletion in PSA
Hi,
In the <b><i>Maintenance of PSA data request</i></b> you can selectively delete the records which you dont want to update in the data targets.
i.e.
In the <i><b>Maintenance of PSA data request</b></i> except the <i><b>Data Packet Number</b></i> and <b><i>Data record Number</i></b> (which cant empty) you can empty the every filed of the record, so that the record will not be posted in the data target.
Cheers
Pagudala -
Selective Deletion and Data Load from Setup Tables for LIS Extractor
Hi All,
We came across a situation where one of the delta in PSA was missed to load in DSO. This DSO updates another cube in the flow. Since it has been many days since this miss come in our knowledge we need to selectively delete data for those documents from DSO & Cube and then take a full load for the Documents filling the setup table.
Now what will be the right approach to load this data from setup table > DSO > cube. There is change log present for those documents and a few KPI's in DSO are in summation mode.
Regards
Jitendrathanks Ajeet!!!!
This is Sales Order extractor, the data got loaded to ODS just fine, but since the data is coming to ODS from different extractor. Everything is fine in ODS, but not in the cube. Will Full repair request and Full load would it make difference when the data is going to cube? I thought that it would matter only if I am loading to ODS.
what do you mean "Even if you do a full load without any selections you should do a full repair ".
thanks.
W -
How do u delete the data in PSA?
hi this is ramireddy please send me pointes to my mail
my mail: [email protected]hi reddy,
In the modeling go the PSA
And to the paricular info source right click on it and then select delete psa data.
and u can also delete it by using process chain also by creating a process type.
and there u can mention before how many days after how many requests.
assign points if helps.
yunus. -
Delete Certain Data in PSA or DSO Objects
Currently we loaded the data into the DSO Objects, and we wanted to delete certain data in the PSA, when I click that particular records, i can only change it but cannot delete it. So is there anyway that i can delete certain data in the psa? Or in DSO Objects?
Hi........
You cannot delete certain data from PSA............If you want to any erroneous request...........you copy the datasource.......go to RSA1 >> Find the datasource >> double click on it >>click on the PSA button on the top >> there in the button you will get one icon which is similar to the icon of the infopackage group in 3.5...........click on it..............there you will get the request...........make the QM status red and delete it....................
For DSO you can do selective deletion :
Goto manage on the ODS/Cube and in there goto the Contents tab. Hit the trash can button that says selective deletion. In there you'll get a selection screen based on which you can delete the data. But be cautious when using this option in case you need to reload the data as you'll have to load exactly the same selection criteria while loading that you used for deletion.
Go through this
http://help.sap.com/saphelp_nw04/helpdata/en/ca/5c7b3cbd556915e10000000a114084/content.htm
Regards,
Debjani............ -
Selective deletion and repair full request!!!
Hi,
I have one DSO which is receiving deltas from Std extractor and is also serving deltas to many data targets (Both DSO and Infocubes)
Now there comes the need of deleting data in DSO by means of year ( selective deletion )
I know that i need to adjust the data flow from DSO to other data targets myself!!
So after doing selective deletion in DSO, can i update datatargets ( of 3.5 version ) with full update so that data is adjusted in correct format for the subsequnet data targets?
or is there any better option??Hi Sujith,
Difference between Repair Full and Full Load ;
1. When we want to pull the history data from the source system(SAP R/3) for the first time till yesterday and trigger / enable the Delta load.
For Eg; for your client,when the implantation was done ,when the GO Live started, all the history data(sales,Material,Finance etc) would have pulled from the source systems into BW system and enabled the delta load from next day.
Note: In this scenario ,We use Full Load only for the one time.
2. In most of the scenarios we will use Full Load for the master data (Daily Load). In few scenarios we will use Full Load for the transaction Data Loads. For Eg: in case if there are no changes happening in transaction data daily (like sales data) ,then we go for Full Load for transaction Data Load also.
3. If someone has deleted the data in the data target by mistake which was loaded using 'Full Load' ,then we can go for re-loading the lost data using the same normal 'Full Load' option. In this case if you are using a DSO in between PSA and Infocube then if you don't use the selection parameters(Company Code,Profit Center, Sales Organization etc) for the lost data ,then also it's fine. Because DSO has overwrite option. In case ,if you don't have DSO,then you have to use the selection parameters on infopackage/DTP level depending on from which level you are trying to get the data back. i.e Source System or PSA.
4. We have scenario where the data which was loaded using DELTA load has been deleted from the data target, OR due to DELTA load failure the data didn't get loaded into the data target. Now,we want to get the lost DELTA data back into the target. In this case we can go for using both 'Repair Full' and also 'Full Load'. but depends on the below conditions;
If we want to use 'Full Load' to get the lost DELTA data,then we should block the users in source system(SAP R/3) from posting the data,and clean up the delta queue . Then stopping the daily process chain in BW system which will bring the DELTA data. Then we can use' Full Load' option.
But, If we don't want to disturb the daily DELTA load and if we don't want to block the users in source system, then we should use 'Repiar Full Request". Using this option, the daily DELTA load will not get affected.
Please let me know you are clear with my points.
Regards,
Asha -
How to recover selectively deleted data in Transaction cube ?
hi Experts,
We load data in transaction cube from manual entry layout, flat file source as well and then subsequently to basic cube.
<b>Selective deletion has been done in transactin cube and corresponding basic cube without giving proper selection condition.</b> Therefore all the actual data for the month was deleted.
<i><b>How can we recover all the months data ??</b></i>
Its highly importantto recover the data as soon as possible. Quick reply will be really appreciated.
Thanks in advance,
SomenathHello
How r u ?
Is there any ODS or PSA inbetween, If yes then you can load the Data from them again. Otherwise you have to load the data again.
Best Regards....
Sankar Kumar
+91 98403 47141 -
Selective Deletion from Infocube Only (Not from Aggregates)
Hi,
For the Selective Deletion, i used the FM 'RSDRD_SEL_DELETION' in program. But this FM deletes the data first from Infocube then from aggregate.Because of this, deletion took more time to delete and adjust the Aggregate.
I need an way in which i can delete the data from Infocube only and after i reach to my reconcile period then i will deactivate and actiavted the aggregate, so the data will be consistent in Infocube and aggregate.
is there any to Delete(Selective Deletion) the data only from the Infocube not from its aggregate (for the Performance Point of View)?
Thanks in Advance.
Regards,
Himanshu.Hi
You can try manual selective deletion which will delete data from cube only. check out the below thread.
steps fro selective deletion for cubes and ODS
If you want to delete data from FM only, then try to deactivate your aggregates before you start your selective deletion.
Once deletion is done, you can reload the aggregates
Regards,
Venkatesh -
How to do selective delete of the GL a/c, BA and Co Code from the BWrequest
Hi,
How to do selective delete of the GL a/c, BA and Co Code from the BW request ??
Regards,
VivekCube or DSO?
Cube - manage - notedown the req number - selective deletion - enter req number at REQ ID and give the selection parameters as you need(GL a/c, BA and Co Code ) and execute.
For DSo you can't do selective deletion on request id basis -
Selective deletion based on Calendar Year/Month in process chains
Hi all,
I have a requirement from the business wherein I have to delete the past months data before I load the same data into 6 infocubes using a process chain.
I checked the forums to understand how selective deletion is used in a process chain and I have come to know that RSDRD_DELETE_FACTS program or DELETE_FACTS Tcode can be used to generata a G* program that performs the deletion.
I am to integrate this generated program in my process chain. I have 0CALMONTH(Calendar Year/Month) as the time characteristic in all my infocubes and therefore the only time characteristic available for selective deletion.
My problem is that I am unable to create a dynamic selection for the Calendar Year/Month such that it takes the previous month.To be exact I am unable to use the "D" option in the Selection Variable column for this characteristic.
Please can somebody help me out with this.Hi,
Use this ABAP program code in your Process Chain...
Type Pools
TYPE-POOLS: rsdrd, rsdq, rssg.
Local Internal Tables
DATA: lit_msg TYPE rs_t_msg,
lit_sel TYPE rsdrd_thx_sel.
Local Work Area
DATA : lwa_sel_kf1 TYPE rsdrd_sx_sel,
lwa_range_kf1 TYPE rsdrd_s_range.
Local Constants
CONSTANTS : lc_i(1) TYPE c VALUE 'I',
lc_x(1) TYPE c VALUE 'X',
lc_eq(2) TYPE c VALUE 'EQ',
lc_kf1(11) TYPE c VALUE '0CALMONTH'.
CONSTANTS : lc_cube TYPE rsddatatarget VALUE 'Z_C21'.
Delete Existing cube records
Key Field 1 (CALMONTH)
lwa_range_kf1-sign = lc_i.
lwa_range_kf1-option = lc_eq.
lwa_range_kf1-high = space.
lwa_range_kf1-keyfl = lc_x.
lwa_range_kf1-low = <Value of CALMONTH>.
APPEND lwa_range_kf1 TO lwa_sel_kf1-t_range.
CLEAR lwa_range_kf1.
lwa_sel_kf1-iobjnm = lc_kf1.
INSERT lwa_sel_kf1 INTO TABLE lit_sel.
CLEAR : lwa_sel_kf1.
Selective Deletion through FM
CALL FUNCTION 'RSDRD_SEL_DELETION'
EXPORTING
i_datatarget = lc_cube
i_thx_sel = lit_sel
i_authority_check = space
i_mode = lc_c
i_no_enqueue = lc_x
CHANGING
c_t_msg = lit_msg
EXCEPTIONS
x_message = 1
inherited_error = 2
invalid_type = 3
OTHERS = 4.
IF sy-subrc = 0.
REFRESH : lit_sel[],
lit_msg[].
ENDIF.
Thanks,
Saru -
How to make a selective deletion in my desktop!
Hy guys!
There are any application to make a selective deletions of files and folders?
Each end of day i need to delete all files present in my Desktop, except the folders setted to be kept.You need to use some sort of criterion. Many exist, including:
tell application "Finder"
delete (every file of desktop whose name is not in {"file 1 to keep.txt", "file 2 to keep.jpg"})
end tell
No folders will be deleted by the script as written.
(75632) -
"Command-i" which was so useful for selectively deleting messages from servers has disappeared in Maverick. I wonder if it has been replaced by something else or should I look into other mail applications.
Hmmm. Which Mail program are you referring to?
in Mac Mail command -i used to bring up the Account info pane on the server (10.8.5)
Now it seems you have to use the gear at the bottom in "Mail Activity" to get the drop down (10.9) : -
Selective Deletion of the Cube contents in Abap Program of the PChain
Dear Experts
I need to selectively delete the contents in Basic Infocube using Process Type - ABAP Program in the Process Chain in BW 3.5
For this I have to give the Variant and Program name in the Process Type - ABAP Program in the Process Chain
The ABAP Program for this purpose can be generated automatically by the system in the the below navigation
info cube> Manage>contents > system menu(in the Top)> Status
but this abap program is changing dynamically every time and hence in the Process chain ABAP Program node is failing with error saying that that program is not available
I have tried the same way in the selective deletin navigation path also in the cube manage
Please let me know how to get the system generated program to use in the Process type-ABAP Program in Process Chain
Thanks for all in advance
KSRHi KSR,
Try this.. start a selective deletion on the cube. you will get a background job running. Get the job name from SM37.
Now write a ABAP program with the below code.
parameter: p_Job_Name type sysuuid_c.
CALL METHOD cl_rscrmbw_bapi=>exec_rep_in_batch
EXPORTING i_barepid = l_jobnam.
Execute the above program. Pass the job name which you got from SM37.
Create a variant with that job name.
Now schedule this newly created program. This should solve your issue.
Note : The job name might vary from one server to another (Dev / Qual / Prod). So if you are planning to move your process chain from Dev, then pass the Job name (in prod) as the variant in yr Dev system and then transport it.
Cheer,
Balaji Venugopal -
Does Delete Overlapping Requests drop the BIA index like Selective deletion
Hi,
Does Delete Overlapping Requests process in a chain drop the Accelerator index like Selective Deletion does?Hi,
No is does not.
-Vikram -
How to Selectively Delete ONE Key Figure from Cube....
Hi:
On a Daily basis (Via Process Chain), I need to do the following:
1. DELETE Single Key Figure from my planning cube. When the "PYMNT DATE" is greater than System Date, then delete the
key Figure.
2. Once Deleted, LOAD the same Single Key Figure from another cube when the PYMNT DATE is GT System Date.
How can I do this in a Program. What would be the code for this? Need help with ABAP.
Thanks in advance..... PBSWHi,
See Article on Selective Deltaion in
http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
Using Selective Deletion in Process Chains
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/using%20selective%20deletion%20in%20process%20chains.pdf
Thanks
Reddy
Maybe you are looking for
-
How can I delete something in Ical without a notification going out to other people?
If I delete a meeting in my calendar it notifies the entire meeting, even if I didn't set the meeting in the first place.
-
Best way to restore game app data to iPad after rebuild
I rebuilt my UMBP over the weekend. Before doing so I took a copy of my documents, movies etc, and the entire iTunes library folder and placed it onto an external HDD. This was not a Time Machine backup, but a straight copy. After rebuilding, reinsta
-
Very strange issue regarding Sender JDBC to Recevier RFC?
I've been testing sender JDBC to Receiver RFC, but i realized that target RFC was not performed even though moni is clear and RFC adapter monitoring is clear, both monitoring is successful. also checked that RFC_Receiver adapter setting is correct. i
-
Get Info shows informations greyed-out; I can't edit it!
Whenever I want to edit a song (because of a misspelling, or to make it go in accordance with the rest of the items, etc.) I find the information is there, but greyed-out, and so, am not able to edit it. This happened before the update to version 11,
-
No phone line for 3 weeks, and no idea what is hap...
I reported a fault with our phone on 28Oct. The BT engineer came on 31Oct, at which point the phone was completely dead, and he said the wiring in our house was ok, the fault was in the line outside our house in the pavement in front of the house. Th