Possibility of finding deleted programs in any table
Is there any possibility to find deleted programs in a particular Table.
Hi Pradeep,
Refer this thread:
Deletion programm : TADIR entry not deleted
Regards,
Ravi
Similar Messages
-
Is it possible to find the transaction code via table name ??
Hi
Can any body please let me know is it possible to find the transaction code via table name ??
Thanks in advance
Sesh
Edited by: seshu_sapfico on Dec 8, 2009 12:21 PMPlease, specify your requirement... A table could be modified by various programs which are called by numerous transactions.
-
Query to find who has select any table privs?
HI.
Whos has select any table privilege?
I can find this for specific table, but i need to query it database wide.
Is it object_privs? I am not sure which view.
Thanks
10.2.0.4
Linux 4Hello,
Select any privllege is a system privillege.
you can use following query for finding who all has the select any table
select GRANTEE,privilege from sys.dba_sys_privs where privilege='SELECT ANY TABLE';
Anil Malkai -
How to find delete entries in custom table
Hi,
We have a custom table with table maintenance in Production. Some one deleted all the entries from the table. Can you please let me know how to retreive the old entries from the table and how to check who deleted the entries.
Thanks
Ramahi rama,
Please refer to the below given link,
[http://help.sap.com/saphelp_nw70/helpdata/en/43/0510abcda521abe10000000a1553f6/content.htm]
I think it will sove ur problem,
Reward points if usefull,
Thanks,
Kalyan. -
How to find who has deleted program
Hi,
Some one has delete a report from the system.How can I find the user who has deleted?
thanksHi ,
Please refer the threads,
How to find who deleted my program?
How to find deleted program
Best Regards.
Reward points if it is helpful. -
Regarding the Generic Selective deletion Program
Hi Gurus,
I have to create a deletion program for any target CUBES/ODS. The program should do selective deletion for ther target on the basis of the parameters provided.
e.g.:
Usually target ZXXXX_XXX is requested to load. ZXXXX_XXX is loaded from DSO ZYYYYYY. So first we have to selectively delete data from both the target and then start loading data. Create a program that should accept the target and selection conditions and then delete the data from the target according to input conditions.
We can consider FM RSDRD_SEL_DELETION for reference.
Please help me with the details of the FM RSDRD_SEL_DELETION & its parameters. Please also suggest if any other solution.
Thanks in Advance,
Sourabh DeoCheck the following details :
Suppose selective deletion on the basis of company code
data: L_THX_SEL TYPE RSDRD_THX_SEL.
data: LN_THX_SEL like LINE OF L_THX_SEL.'' this will contain InfoObject which is to be refered for sel deletion and the range of values for that info object .
data: L_RANGE TYPE RSDRD_S_RANGE. " used for internal calculations
data: L_T_MSG TYPE RS_T_MSG.
data: T_TR_RELOAD TYPE ZIB_TR_RELOAD OCCURS 0 WITH HEADER LINE. "used for internal calculations
SELECT * FROM XYZ into TABLE T_TR_RELOAD. "retrieve company codes from a database table
LN_THX_SEL-IOBJNM = '0COMP_CODE'. '' infobject for company codes .
L_RANGE-SIGN = 'I'.
L_RANGE-OPTION = 'EQ'.
L_RANGE-KEYFL = 'X'.
"affect all the company codes for selective delete retrieved previously by a select to a DB table
Loop at T_TR_RELOAD.
L_RANGE-LOW = T_TR_RELOAD-COMPANY.
APPEND L_RANGE to LN_THX_SEL-T_RANGE. range of values for company code for which data is to be deleted.
endloop.
insert this selection to a table
INSERT LN_THX_SEL INTO TABLE L_THX_SEL.
"call the function for selective deletion
CALL FUNCTION 'RSDRD_SEL_DELETION'
EXPORTING
I_DATATARGET = 'Cube1 ' "InfoCube you want to do the selective deletion
I_THX_SEL = L_THX_SEL "table containing details abt values to be deleted for the given infoobject
I_AUTHORITY_CHECK = 'X'
I_THRESHOLD = '1.0000E-01'
I_MODE = 'C'
I_NO_LOGGING = ''
I_PARALLEL_DEGREE = 7
I_NO_COMMIT = ''
I_WORK_ON_PARTITIONS = ''
I_REBUILD_BIA = ''
I_WRITE_APPLICATION_LOG = 'X'
CHANGING
C_T_MSG = L_T_MSG. -
How to find middle row in a table ?
Hi Friends,
Is it possible to find middle row in a table by SQL Query.
KarTiK.Solution: sort the rows in order to create an ordered
sequence and then there will be a "middle row".Well, not quite.
If there are an odd number of rows then, yes, there will be a middle row in an ordered sequence, however if there is an even number of rows then the middle is between two rows... or... you could take it as the two rows either side of the middle....
SQL> select * from emp order by empno;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7369 SMITH CLERK 7902 17/12/1980 00:00:00 800 20
7499 ALLEN SALESMAN 7698 20/02/1981 00:00:00 1600 300 30
7521 WARD SALESMAN 7698 22/02/1981 00:00:00 1250 500 30
7566 JONES MANAGER 7839 02/04/1981 00:00:00 2975 20
7654 MARTIN SALESMAN 7698 28/09/1981 00:00:00 1250 1400 30
7698 BLAKE MANAGER 7839 01/05/1981 00:00:00 2850 30
7782 CLARK MANAGER 7839 09/06/1981 00:00:00 2450 10
7788 SCOTT ANALYST 7566 19/04/1987 00:00:00 3000 20
7839 KING PRESIDENT 17/11/1981 00:00:00 5000 10
7844 TURNER SALESMAN 7698 08/09/1981 00:00:00 1500 0 30
7876 ADAMS CLERK 7788 23/05/1987 00:00:00 1100 20
7900 JAMES CLERK 7698 03/12/1981 00:00:00 950 30
7902 FORD ANALYST 7566 03/12/1981 00:00:00 3000 20
7934 MILLER CLERK 7782 23/01/1982 00:00:00 1300 10
14 rows selected.
SQL> select e.empno, e.ename, e.job, e.mgr, e.hiredate, e.sal, e.comm, e.deptno
2 from (select emp.*, row_number() over (order by empno) as rn from emp) e
3 ,(select round(count(*)/2) as middle, round(((count(*)+1)/2)) as middle2 from emp) m
4 where e.rn in (m.middle, m.middle2)
5 /
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7782 CLARK MANAGER 7839 09/06/1981 00:00:00 2450 10
7788 SCOTT ANALYST 7566 19/04/1987 00:00:00 3000 20
SQL> insert into emp values (1111, 'WILLIS', 'CLERK', 7902, sysdate, 900, null, 20);
1 row created.
SQL> select * from emp order by empno;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
1111 WILLIS CLERK 7902 18/01/2008 12:18:14 900 20
7369 SMITH CLERK 7902 17/12/1980 00:00:00 800 20
7499 ALLEN SALESMAN 7698 20/02/1981 00:00:00 1600 300 30
7521 WARD SALESMAN 7698 22/02/1981 00:00:00 1250 500 30
7566 JONES MANAGER 7839 02/04/1981 00:00:00 2975 20
7654 MARTIN SALESMAN 7698 28/09/1981 00:00:00 1250 1400 30
7698 BLAKE MANAGER 7839 01/05/1981 00:00:00 2850 30
7782 CLARK MANAGER 7839 09/06/1981 00:00:00 2450 10
7788 SCOTT ANALYST 7566 19/04/1987 00:00:00 3000 20
7839 KING PRESIDENT 17/11/1981 00:00:00 5000 10
7844 TURNER SALESMAN 7698 08/09/1981 00:00:00 1500 0 30
7876 ADAMS CLERK 7788 23/05/1987 00:00:00 1100 20
7900 JAMES CLERK 7698 03/12/1981 00:00:00 950 30
7902 FORD ANALYST 7566 03/12/1981 00:00:00 3000 20
7934 MILLER CLERK 7782 23/01/1982 00:00:00 1300 10
15 rows selected.
SQL> select e.empno, e.ename, e.job, e.mgr, e.hiredate, e.sal, e.comm, e.deptno
2 from (select emp.*, row_number() over (order by empno) as rn from emp) e
3 ,(select round(count(*)/2) as middle, round(((count(*)+1)/2)) as middle2 from emp) m
4 where e.rn in (m.middle, m.middle2)
5 /
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7782 CLARK MANAGER 7839 09/06/1981 00:00:00 2450 10
SQL> -
Is there any way to find out wn was a table deleted apart from using audit
Is there any way to find out wn was a table deleted apart from using audit
Oracle version 9.2.0.7SQL> SHOW USER
USER is "SCOTT"
SQL> CREATE TABLE test_delete AS SELECT * FROM emp;
Table created.
SQL> DELETE FROM test_delete;
14 rows deleted.
SQL> COMMIT;
Commit complete.
SQL> conn sys@orclsb as sysdba
Enter password: ******
Connected.
SQL> ALTER SESSION SET nls_date_format='DD-MON-RRRR HH24:MI:SS';
Session altered.
SQL> BEGIN
2 DBMS_LOGMNR.START_LOGMNR (
3 starttime => '02-FEB-2011 17:51:00',
4 endtime => '02-FEB-2011 17:54:00',
5 options => dbms_logmnr.DICT_FROM_ONLINE_CATALOG+
6 dbms_logmnr.continuous_mine +
7 dbms_logmnr.no_sql_delimiter +
8 dbms_logmnr.print_pretty_sql
9 );
10 END;
11 /
PL/SQL procedure successfully completed.
SQL> set line 10000
SQL> SELECT scn ,timestamp
2 ,commit_timestamp, username
3 FROM v$logmnr_contents
4 WHERE
5 username = 'SCOTT'
6 AND TABLE_NAME='TEST_DELETE';
SCN TIMESTAMP COMMIT_TIMESTAMP USERNAME
2309736 02-FEB-2011 17:53:20 SCOTT
2309739 02-FEB-2011 17:53:20 SCOTT
2309769 02-FEB-2011 17:53:59 SCOTT
2309774 02-FEB-2011 17:53:59 SCOTT
2309774 02-FEB-2011 17:53:59 SCOTT
2309774 02-FEB-2011 17:53:59 SCOTT
2309774 02-FEB-2011 17:53:59 SCOTT
2309774 02-FEB-2011 17:53:59 SCOTT
2309774 02-FEB-2011 17:53:59 SCOTT
2309774 02-FEB-2011 17:53:59 SCOTT
2309774 02-FEB-2011 17:53:59 SCOTT
SCN TIMESTAMP COMMIT_TIMESTAMP USERNAME
2309774 02-FEB-2011 17:53:59 SCOTT
2309774 02-FEB-2011 17:53:59 SCOTT
2309774 02-FEB-2011 17:53:59 SCOTT
2309774 02-FEB-2011 17:53:59 SCOTT
2309774 02-FEB-2011 17:53:59 SCOTT
2309774 02-FEB-2011 17:53:59 SCOTT
17 rows selected.
SQL> -
Payment Program Creation Date and User (is this in any table in SAP R/3)?
Dear Experts!
The treasury guy asked me whether there would be a way to recover the "Payment Program" Creation Date and Created by (User) from Payment Program Executions (F110 transaction).
I searched on the REGU* tables and I didn't find out this information.
Does anybody know whether there is any table where this is recorded?
NOTE: We cannot use the information from "Proposal Log" because the log is removed from the Productive System and only the last 3 (three) days are remaining.
Thanks and Kind Regards,
Daniel Carvalho.Hello "The Wirtschaftsmann",
Thanks for the reply. However, I need the Creation Date and Creation by of the Proposal / Payment Run steps.
Not sure if this information is available nowadays at SAP. I opened an incident with SAP, let's see what they reply to us.
Regards,
Daniel -
Any table or program to get the number of records in P, A and F tables
HI all
any table for program to get the number of records in P, A and F tables. I want to create SQ01 queries to get the status of number of records. We are gng for a production cutover next week. Want to capture all the data before and after Upgrade cutover.
Also suggest me how to create sq01 queries.
Thanks in advance
regards
Janardhan KUmar K.Use Transaction LISTSCHEMA to see all the tables assosciated with ur cube
Total number would be what you find in both the E & F fact tables. If there is no compression in the cube then E table will be empty.
Alternatively u can use se16 transaction and enter E table and F table manually
E table - /BIC/E(Cube name) and Ftable - /BIC/F(Cube name)
Or else u can go to the manage of the cube and without selecting any field for O/P and ticking the option output number of hits execute. The total of Row Count will give u the total no of records in the cube. -
How to find out program form the entry made in MCHB table thro backgrounnd
Hi,
we have one case where table MCHB was updated with zero quantity for batches by user ZZZBATCH which is for background job.
Table MCHB was updated with batches with Zero quantity though process order number was set for deletion flag.
Now our client wants by which program this entry has been made?
we dont know which is the background job/program?
we are sure that background job was run as user ZZZBATCH is set for background job.
please help to find out How this entry has been created in the MCHB table.Find out from CDPOS table for the date/ time this entry was made. From SM37 look out for the jobs that were running then. You should get some clue.
If you can't do that, just try for all programs run by ZZZBATCH and see which of the program uses MCHB table or some BAPIs with * BATCH*.
cheers
Rav -
Is there any way to detect commited deleted record in a table?
Hi All,
Is there any way to find out commited deleted record in a table without using triggers?
Thanks,If you want to get back the deleted records and you are using 10g or above than Flashback technology can get that for you.
If you want to find out the commands that did the work and you are not using 10g than as suggested, Auditing and LogMiner can be the option.
Aman.... -
Deleted planned order in any table??
Hi,
Is it possible to see the deleted planned order in any table??
RamagiriHi,
It is right that you will not get the planned order data which has been deleted.
But after conversion of planned orders to process/production order the planned orders will get deleted.The planned orders data can be found fromAFPO table.But manually deleted planned order data can't be found out.
Hope this can help.
regards,
kaushik -
Delete by index on type any table
What is the alternative for the forbidden index operations on a fieldsymbol of type any table?
I have a table under a fieldsymbol.. can be any table and I want to delete line 2.. how do I do it?
e.g.
ps_tabname is a parameter pointing to an internal table (unknown at design time)
field-symbols: <fs_tab> type any table.
assign (ps_tabname) to <fs_tab>.
delete <fs_tab> index 2. -> not possible because of any table.. alternative?>
Koenraad Janssens wrote:
> field symbol as standard table does the trick... stupid me
Hello,
This explains why TYPE STANDARD TABLE solves your problem
TYPE ANY TABLE --> Can contain any internal table (INDEX tables which can be either STANDARD or SORTED TABLE & HASH table). As already suggested index cannot be used on hash tables so it was giving you an error.
TYPE INDEX TABLE --> A generic table will be created which allows index access unlike ANY TABLE. Refer: [http://help.sap.com/abapdocu_70/en/ABENINDEX_TABLE_GLOSRY.htm|http://help.sap.com/abapdocu_70/en/ABENINDEX_TABLE_GLOSRY.htm]
BR,
Suhas -
Is it possible to find out which user was used to delete the job?
Is it possible to find out which user was used to delete the job?
Any logs?Hi,
You can find who are the users who executed sm37 in ST03N.
This might also help you in analyizing.
Regards,
Vamshi.
Maybe you are looking for
-
Convert from std::string to CString in UNICODE builds
Actually I tried all ways but they didn't help me. Is there any working code to convert from std::string to CString in UNICODE builds? Thanks. Mirjalal
-
SSIS 2008 R2 enviroment configuration
Hi everyone, I would get as for some assistance with SSIS pacgakge configuration I am maintaining a Data Warhouse and i was used to develop and test on production enviroment(!) Now, I am setting up a different enviroment for development and testing M
-
How to re-download programs lost by a computer crash?
Purchased Photoshop 11 and Premiere 11 from Adobe.com (11/26/2012) - Computer crashed this week - lost everything and had to purchase another! I have an account and the serial #'s. Where do I go to get help downloading.
-
My T400 with its 100% CPU Usage
hi, i have problem with my T400 approximately for 10 days. Windows xp was installed and it has been heating very much, about 80 degree and higher. i think of virus possibility andI formatted and install Windows 7. However, problem werent solved, it w
-
Need more info from CSQsSummary
I'm getting data from CSQsSummary table in db_cra db, but it's missing one value that I need: current longest wait time. It shows longest wait time for the day, but not current longest. I think I can somehow get it from contactQueueDetail and contact