Deleting selected data from an Infocube in BW using ABAP program?
Hi Everybody,
I have to create a ABAP program in SE38 which, on execution will delete selected data from a Cube in BW module. How to achieve it. Is there any function module that can do so? Eagerly waiting for your suggestions.
Regards,
Pulokesh
select the records from the cube or ods and put in to one internal table.
and then u can delete the records
Similar Messages
-
Deleting data from an Infocube in BW using ABAP program?
Hi Everybody,
I have to create a ABAP program in SE38 which, on execution will delete selected data from a Cube in BW module. How to achieve it. Is there any function module that can do so? Eagerly waiting for your suggestions.
Regards,
PulokeshDear Ravi,
Other than two parameters I_INFOCUBE, I_SHOW_REPORT do i need to pass any value to the table I_T_SELTAB.
Regards,
Pulokesh -
Transfer only selected data from one .pdf to another using hyperlink
I have a form that has mutiple pages. On one of the forms, I have created a hyperlink to open a different form. My objective is to be able to click on the hyperlink and transfer some of the data from the original form to the hyperlink form. Is that possible? If so, can you send me an example? Thanks.
I have a form that has mutiple pages. On one of the forms, I have created a hyperlink to open a different form. My objective is to be able to click on the hyperlink and transfer some of the data from the original form to the hyperlink form. Is that possible? If so, can you send me an example? Thanks.
-
Deleting data from an infocube
If I want to delete the data from an infocube before I carry out a load as part of the daily load can I do this and if so how would I do this? Thanks
This might be of some help:
<b>Steps for process Chain</b>
Start
Delete Index ( for Cube )
<b>IP1</b>*.....
<b>Delete Overlapping Requests from InfoCube*</b>
Create Index ( for Cube )
<b>IP1</b> - Infopackage - Datatargets - Automatic loading of similar or identical requests - Select Deleting Existing Requests - Flag Full or Initial Load - Flag Datasources are same - Selections Are " Same or Comprehensive " - Save .
<b>Delete Overlapping Requests from InfoCube</b>* - In this process type - Object Type - Execute Infopackage - Select the one in use for Full with the Tech name - Click on Deletion Selections at the bottom - Set the same selections as in the Infopackage. -
Selective deletion of data from ODS
Hai,
I need to delete selectively data from an ODS. I know that I have the option of selective deltionin cube. But how can I delete them in ODS?
Thank you.Hi Vasu,
In ODS > right click > Manage on the Contents tab you also have the option of Selective Delete...were you looking for something else? -
Error deleting data from an InfoCube
hi, all,
i try to delete all data from an InfoCube. All the /BIC/D* tables was deleted and recreated, but the /BIC/F*-Table cann not be deleted - Error-Message:
"Database table /BIC/FZPCA_C01 could not be deleted or recreated
Message no. R7861"
The SAP-Note 745742 doesn't help - tere is SP-Level 13.
Any Idea?I got the same error meassage when I tried to delete data in my infocube.
1. I typed TC:SE14
2. Entered the name of the infocube fact table.
3. Checked the delete data radiobutton and clicked the 'Activate and adjust database' .
And the data in the fact table was deleted
So thanks guys -
How to delete master data from InfoObject
Hello,
Can anyone give me an advice for the following problem :
160 employees have been deleted from R/3 but still exist in BW.
I am searching a way to delete them in BW but I have the following problem :
- selective deletion in InfoCubes and ODS is OK
- when I try to delete them in 0EMPLOYEE , I received the message
"master data xxxxxxxx (SID xxxxxxxx) is used in BI0/QPERSON and therefore can't be deleted.
The reason is that 0PERSON is an attribute of 0EMPLOYEE and vice versa.
No records in R/3 exist for those employee.
Any idea how can I delete them in BW in 0EMPLOYEE and 0PERSON ?
Thanks for your help,
IEHi Ingrid,
1. delete the data from all infocubes and ODS's, where the infoobject is available.
then the masterdata isn't in use. all SID's should be deleted from the dimension tables.
Now you can delete the masterdata with the AdminWorkbench.
2. delete the employees from 0EMPLOYEE.
3. delete the employees from 0PERSON.
you can also try the function: archive.
Sven -
How to delete selective data in a cube
Hi all,
Can any one tell me, how to delete selective data in a cube. For example if i want to delete data corresponding particular Matrial Id or particular Customer ID (say C400) ? And even deleting the data based on particular Request numer.?
Sandy.Hi,
RSMO > Infocube > Manage > contents tab > selective deletion
Then define your selections for deletions (Matrial Id or particular Customer ID (say C400)).
Request based deletions can be done directly from Request tab.
Thanks,
JituK -
Error while deleting the data from DSO
Hi Experts
I am getting the ABAP Dumps when I am trying to delete the data from the DSO Objects in my Systems.
" An entry was to be entered into the table
"\FUNCTION=RSAR_ODS_GET\DATA=L_TH_ISOSMAP" (which should have
had a unique table key (UNIQUE KEY)).
However, there already existed a line with an identical key.
The insert-operation could have ocurred as a result of an INSERT- or
MOVE command, or in conjunction with a SELECT ... INTO.
The statement "INSERT INITIAL LINE ..." cannot be used to insert several
initial lines into a table with a unique key. "
I have tried with multiple DSO's and Have the same issue. Please need your suggestions.
Regards,
MaheshHi......
I think in the ODS setting Unique Data Records checkbox is ticked........if so.........The DataStore object can be used for loading unique data records...........If the loaded request does contain data that is already in the DataStore object, activation of the request will lead to an error.
Find the request in SE16>>RSICCONT table .........and try to delete there....it may work........
Check this.....
u2022 Note 1007717 -Deleting from Data Store object: Termination w/o log
u2022 Note 998704 - Deleting req from DataStore obj: Status at end of processing
u2022 Note 1037507 - System Termination when you delete from DataStore objects
Regards,
Debjani..... -
While deleting the data from cube..getting the following erros...
while deleting the data from cube the below error occured in develoment..any help
i have 4 requets.....2 are deltedd but no records for those...
2 are not deleted and they have some data..
please give me u r inputts pelase
Performing check and potential update for status control table
Message no. RSM1490
Diagnosis
If data is loaded into an InfoCube, or existing data is edited (aggregated/compressed/deleted/got from a DataMart), then there is a change in the potential reportability of the data , or the possibility of deleting data by request, or of aggregating or compressing.
This status of each one of these Cubes is stored in a status table, that is updated when there is any change to the status of a request in the Cube.
The system now analyzes the requests in the Cube and compares the calculated status with the status table.
If deviations from the status table arise then you are given the option of adjusting the status table.
System Response Procedure Procedure for System AdministrationHi,
Did you tried by right click on cube and delete data? are those requests are compressed or roll up? -
How to delete some data from GLPCA table
Dear Friends,
We have extracted some data in GLPCA table via the ECPA component. We
want to delete these records ( Doc type and Posting date is known).
However we do not want other data already existing the GLPCA to be
deleted. Is there some Std SAP Trx for deletion of partial/select data
from EIS tables.
Please explain us clearaly how we can delete these records.
Your quick reply for this issue is highly appreciated.
Thanks & Regards,
Naveen Kumar.Hello,
Please check the use of the report ZDELETE_PCA_DATA_BUKRS (mentioned in the SAP note 1174360), to delete totals from GLPCT.
I am not sure of any deletion reports for GLPCA table.
If you open the Source code of this program, you can see the following information :
"This report provides a possibility to delete actual and plan
*& postings on company code level as an alternative for transaction
*& 0KE1."
I do not have much information on this report as, personally I haven't used this anytime. Please run in 'Test Run' mode first and look for the results.
I hope this helps.
Thanks and regards,
Suresh Jayanthi. -
Hi,
I'm writing a program to read data from an infocube, usfin FM RSDPL_CUBE_DATA_READ, but I can't get a result.
This are the parameters I'm using:
I_INFOCUBE = 'ZGE_CUB10'
I_REFERENCE_DATE = sy-datum
I_S_RFCMODE-ID = BIDCLNT100
I_S_RFCMODE-RFC_RECEIVER = RSDPL_CUBE_DATA_READ
I_S_RFCMODE-PACKAGESIZE = 100
I_S_DELTAMODE-SYSID = BID
I_S_DELTAMODE-DELTAMODE =''
I_T_CHA-chanm = 'ZGE_KPI'
I_T_CHA-chaalias = 'ZGE_KPI'
I_T_CHA-orderby = 0
I_T_KYF-kyfnm = 'ZGE_VALOR'
I_T_KYF-kyfalias = 'ZGE_VALOR'
I_T_KYF-aggr = 'SUM'
i_t_range-chanm = 'ZGE_KPI'.
i_t_range-sign = 'I'.
i_t_range-compop = 'EQ'.
i_t_range-low = 'FTL_GLC10_0331'.
i_t_range-high = 'FTL_GLC10_0331'.
E_T_COLUMN-colname = 'salida_zge_valor'
E_T_COLUMN-iobjname = 'salida_zge_Valor'
E_T_COLUMN-keyflag = 'X'
but I keep getting DELTAMODE_ERROR.
any help??? any sample-code you may share??
thanks
MAuriciofound some sample code...
http://www.web-dreamer.de/blog/2009/04/reading-on-sap-bi-infocubes-via-rsdri_infoprov_read.html.
SAP also gives you sample programs on how to use the same...
RSDRI_INFOPROV_READ_DEMO
from thread :
Re: RSDRI_INFOPROV_READ and compound selection conditions
Edited by: Arun Varadarajan on Jun 5, 2009 7:24 PM -
Select data from table where field is initial
I have table that has 10 million records.
I want to select data from this table where certain date field is blank.
*SELECT * FROM table*
INTO TABLE internal table
WHERE PSTNG_DATE = BLANK.
Does anybody know how to select data from data base table when certain field is blank.
I cont select all data once and delete which i dont want, the table is big, it will blow up app server.
thanks in advance,
Sachin
Moderator: Pls do not lock the posting instead provide me the link, its disrespecting.Respect the forum rules and common sense, and you will be respected.
"how to select data from a database table when the field is blank" is very basic, and basic questions will be locked, because they have been asked many times and you can find the answer yourself with a little effort. There is nothing disrespectful about it.
Thread locked.
Thomas -
Select data from undo tablespace?
Hi all,
Can i select data from undo segments in undo tablespace?
Thank you.
Dan.This sort of thing could be considered to be selecting from an undo segment:orcl> select count(*) from emp;
COUNT(*)
14
orcl> delete from emp;
14 rows deleted.
orcl> commit;
Commit complete.
orcl> select * from emp as of timestamp(sysdate - 5/1440);
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SMITH CLERK 7902 17-12-80 00:00:00 800 20
7499 ALLEN SALESMAN 7698 20-02-81 00:00:00 1600 300 30
7521 WARD SALESMAN 7698 22-02-81 00:00:00 1250 500 30
7566 JONES MANAGER 7839 02-04-81 00:00:00 2975 20
7654 MARTIN SALESMAN 7698 28-09-81 00:00:00 1250 1400 30
7698 BLAKE MANAGER 7839 01-05-81 00:00:00 2850 30
7782 CLARK MANAGER 7839 09-06-81 00:00:00 2450 10
7788 SCOTT ANALYST 7566 19-04-87 00:00:00 3000 20
7839 KING PRESIDENT 17-11-81 00:00:00 5000 10
7844 TURNER SALESMAN 7698 08-09-81 00:00:00 1500 0 30
7876 ADAMS CLERK 7788 23-05-87 00:00:00 1100 20
7900 JAMES CLERK 7698 03-12-81 00:00:00 950 30
7902 FORD ANALYST 7566 03-12-81 00:00:00 3000 20
7934 MILLER CLERK 7782 23-01-82 00:00:00 1300 10
14 rows selected.
orcl> -
Setting button property after selecting data from list
I am not able to set the button property after selecting data from list.
I would like to say that
* If a user select an item from list, then user is only allowed to update or delete the data. The update and delete button should be enabled and save button should be disabled.
* If the users types data manually, then user is allowed only to save this as new entry. The update or delete button at this time should be disabled and only save button should be enabled.
I want to say that
In both case, value will be there
In one case, value will be from list and that is available for update or delete
in another case, value will be typed from keyboard that is available for save(new entry).
I do not want to use separate form for update/delete/save new record. I want to use single form for all these operations.
I am using Form 6i and oracle 8
Please guide me, I am trying to find this answer for last four days, but could not find the answer. Please help me. Waiting for you reply...Thanks Mr. fdellipriscoli,
But where should this code be written and
Where the parameter be set to 'YES'
I think this code should be written somewhere when calling list.
But bydefault list is called by pressing F9 key. Then where the parameter be set to 'YES' .
Please help Mr. fdellipriscoli. Waiting for your reply...
Maybe you are looking for
-
Dear Gurus I am trying to update RG1 register through T-code J1I5 for movement type 921. Table J_1RG1 get updated for this transaction. But when i use T-code J2I5 for Excise Register Extraction entry does not reflect in table J_2RG1BAL hence opening
-
Good Day, I have checked several forums and the help file, but I can't seem to get a straight answer on this issue. Our office creates many documents in Microsoft Word 2007 that contain both typed text AND images. For example, I have a document wit
-
Avoid pressing save button while conversion
Hi All, I am using FlashPaper at my work. I need a help from you all , to convert the files to .swf or .pdf is there any possibility to convert directly except the following possibilities. 1) using ant for batch of files dir conversion 2) using the w
-
Lightroom 2.6 - lost jumplist
Windows 7 has the jumplist feature. With lightroom 2.5, it showed all my catalogs in the jumplist, which was great. When I upgraded to 2.6, the jumplist disappeared. Anyone know how to get it back in the windows 7 startmenu? I know this may be mo
-
Hi friends, In Tcode MIRO, i want to upload amount and qty for basci customes, CVD, ECESS, ECESS ON ALL DUTIES AND ADDITIONAL DUTY ON IMPORTS for a particular purchase order. How to upload data. Thanks in advance. regards, senthilkumar.r