Find the Table Name
Dear All,
Through Tcode<b> j3gsl03</b> (Display BOM), I want to caputre the value of
<b>Equipment Replacement Value</b> . I found the table name &field called
<b>CABN-ATNAM</b> . I want to caputre the value aganist to Equipment Replacement Value . I found the field name & table <b>( CAWN-ATWRT )</b> but the value is not showing in it.
Please tell me the solution to where these value stored and how can I capture it.
Hi,
I do not know your system, but try table AUSP and read it with function module CLAF_CLASSIFICATION_OF_OBJECTS
Good luck!
Jo
Similar Messages
-
Using column value is it possible to find the table name in the database?
Hi all,
using column value is it possible to find the table name in the database?
guys i need the table value
Note:
oracle-9i
for example:
i don't know NIC(column value) in which table in the database.
Thank you,
with regards,
JP.
Edited by: Guest on Feb 27, 2012 5:42 AMHi,
As far as I understand what you are asking for I would suggest 4 data dictionaries that will help you to know the table name from the column names
1. USER_TAB_COLS
2. ALL_TAB_COLS
3. DBA_TAB_COLS
4. COLS
These can give you detail information about the columns and respective tables at user, schema, dba level. Further information on the table can be found by querying ALL_OBJECTS table giving table_name as Object_name, or you can join the data dictionaries too.
To know about various data dictionaries avalible in Oracle please query select * from cat;
Let us know if you need further assistance.
Twinkle -
Regarding finding the table name for a field in R12 forms
Hi all,
I need to know how to find the table name for a field in R12. I am working on extracting the employee information but i need to know how to get the table names for the fields.
Thank you,
rajPlease see these threads.
How to find table name in ebs
How to find table name in ebs
E-Business tables
E-Business tables
Thanks,
Hussein -
Find the table names in a package body
How to find the table names in a package body in single query .(SQL).
Hi,
you can find dependent objects of a package from below query
select distinct referenced_name ,REFERENCED_TYPE from ALL_DEPENDENCIES where name = 'PACKAGE' and referenced_owner not in ('SYS','PUBLIC') and referenced_type = 'TABLE';
Thanks
Handle: user12057782
Status Level: Newbie
Registered: Oct 13, 2009
Total Posts: 5
Total Questions: 4 (4 unresolved)
mark answered if helpful/correct
Edited by: CKPT on Nov 22, 2010 1:21 PM -
Hi experts,
I want to find information which is stored in the particular transaction (find the table name)
tcode is COR3 in that enter process order and enter after that go to adminstrative data in that created user.
I want find user information will be stored in which table . pls help me in thisHi,
There are both technical and functional ways of knowing the Table Names:
1. You can ask your functional consultant to give you the basic or the main table name. From there you can use a where used list to get the list of all the tables that are connected to this table by the foreign key relationship.
2. You can get to know the name of the package from the package hierarchy. You can also use se84 to find the objects from the repository information browser.
3. You can use the ST05 transaction to run and SQL trace to find all the tables that where accessed during the TCODE execution. But here you need to be precise as it will show you all the names of all the database tables accessed.
Hope this will help you.
Thanks,
Samantak. -
How can one find the table name of the Delta Que and setup table?
Hi !
Is there any method to find the table name of the delta que and Extraction que ?setup table = <extract structure>_setup
example: setup table for MC11VA0ITM = MC11VA0ITM_SETUP
Delta Queue is based on following 3 tables:
ARFCSDATA
ARFCSSTATE
TRFCQOUT
assign points if useful ***
Thanks,
Raj -
To find the table name using field name
Hi,
Do we have any transaction code using field name to find out the table name
Regards,
P.Arunkumar.Hi Arun,
The best way to find out table from field is,
Use SE15 Transaction->dictionary fields ->table fields->goto table field columns
Enter ur fields..
or you can use ST05
Reward points if it is useful
Regards,
R.Brahmankar -
Hw to find the table name of the perticular field is stored in db,usingFM
Dear all,
I need to find out the table name of the perticular field is storing in database using FM (note: using Function Module or any standard program , not manually like press F1 -> technicall setting etc.. .)
[ Exmple: Field: "MATNR" is stored in table : MARA, so i need the program/FM to findout MATNR is stoed in MARA table ]
i need this FM for update values of material master ( mm01 ) stored in different warehouse using module pool program.
it's very urgent , please send me reply asap.
thanks,
best regards
srinivashi Srinivas,
Please use the following logic:
types:
begin of t_find,
field(40),
end of t_find.
data:
lt_find type table of t_find,
ls_find type t_find,
lt_found type table of RSFINDLST.
ls_find-field = 'MATNR'.
append ls_find to lt_find.
CALL FUNCTION 'RS_EU_CROSSREF'
EXPORTING
i_find_obj_cls = 'DTEL'
I_SCOPE_OBJ_CLS = 'TABL'
NO_DIALOG = 'X'
TABLES
I_FINDSTRINGS = lt_find
O_FOUNDS = lt_found
EXCEPTIONS
NOT_EXECUTED = 1
NOT_FOUND = 2
ILLEGAL_OBJECT = 3
NO_CROSS_FOR_THIS_OBJECT = 4
BATCH = 5
BATCHJOB_ERROR = 6
WRONG_TYPE = 7
OBJECT_NOT_EXIST = 8
OTHERS = 9
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
The table lt_found has the details for the tables having MATNR as a field; field lt_found-object will have the table names.
Hope this helps,
Sajan Joseph. -
How to find the tables name in R3 datasource
I am looking to find out the tables were used for that Datasources(0m_cc0_9). Pls let me know the steps to find out thsi.
Thanks
TajHi Tamkris
1. First go to help.sap.com and simply search for the datasource. You would come to a page where detailed description of the datasource is given.Just note that SAP sometimes plays spoilsport and for few Datassources it doesnt give the table names. But in your case for 0CO_OM_CCA_9, details are given.
2. If in some cases table names are not given, simply go to rsa3. open another session ST05. Activate the trace.In Rsa3, enter the datasource name. And then run extraction. Go to ST05 switch off the trace and then view the log.
In the log, all tables that are hit are shown
3. And if all this doesnt help, start debugging the datasource. TYpically these would be function module based. So dig in!
Hope this info helps
Prakash
Assigning points is a way of saying thanks on SDN! -
Help to find the table name in MTE class properties in RZ20
HI,
In Tcode - Rz20
- Expand 'SAP ERP Monitor Templates'
- double click on 'SAP ERP Monitor Templates'.
- expand the server and instance
- expand 'OperatingSystem'
- expand 'CPU'
- select 'CPU_Utilization' and click 'properties'.
- I need to Find the table where the fields 'properties of' and MTE class field are stored.
Thanks,
ThileebanSee Note: 605089.1 - How To Find Table / View Objects Behind Self Service / Newer R12 Screens?
Once you follow the note, you can go to About this page > expand all > find the query that the page is running.
Also see Hussein's suggestion in How to find "Who Columns" behind Self Service / OA Framework pages
Sandeep Gandhi
Edited by: Sandeep Gandhi, Independent Consultant on Mar 13, 2012 10:22 AM -
Find the table name for Delivery quantity in production order
Hi,
Pls can you tell me what is table name for delivered quantity field in General tab for that production order number.
With Regards,
P.Arunkumar.Hi
You can find it GR qty via following 2 Tables.
Table AFPO Order item
Field WEMNG - Gr Qty
Or
Table AUFM
Field SHKZG (Debit Credit Indicator ) Select Debit Indicator - S
Field KZBEW Movement type ind.- Selct F Goods movement for production order.
Regards,
Dhaval -
How to find the table name on which integrity constraint not found
Hi All
How to acheive this
I have a lot of tables with lot of primary key - foreign key
relationship.
In plsql
when any inserts happen in the child table & the corresponding row is not present in the parent table, we get an exception
ORA-02291: integrity constraint (user1.ppk) violated - parent key not found
On this exception , in the exception block i want to trap teh name of the parent table on which the primary key for the particular child table was not there
Is it possible to retrieve the parent table in this way. I am looking for a generic plsql code block which can help to acheive this
Regardsscott@ORA92> SET SERVEROUTPUT ON
scott@ORA92> DECLARE
2 e_no_parent_key EXCEPTION;
3 PRAGMA EXCEPTION_INIT (e_no_parent_key, -2291);
4 v_fk_cons VARCHAR2 (61);
5 v_owner VARCHAR2 (30);
6 v_parent_table VARCHAR2 (61);
7 v_pk_cons VARCHAR2 (30);
8 v_parent_column VARCHAR2 (30);
9 BEGIN
10 INSERT INTO emp (empno, deptno) VALUES (99, 60);
11 EXCEPTION
12 WHEN e_no_parent_key THEN
13 -- extract schema.constraint_name from sqlerrm:
14 v_fk_cons:= SUBSTR (SQLERRM,
15 INSTR (SQLERRM, '(') + 1,
16 INSTR (SQLERRM, ')') - (INSTR (SQLERRM, '(') + 1));
17 DBMS_OUTPUT.PUT_LINE ('Foreign key constraint violated: ' || v_fk_cons);
18 -- extract parent schema.table and parent key:
19 SELECT owner, table_name, constraint_name
20 INTO v_owner, v_parent_table, v_pk_cons
21 FROM user_constraints
22 WHERE (owner, constraint_name) =
23 (SELECT r_owner, r_constraint_name
24 FROM user_constraints
25 WHERE owner || '.' || constraint_name = v_fk_cons);
26 DBMS_OUTPUT.PUT_LINE ('Parent table: ' || v_owner || '.' || v_parent_table);
27 DBMS_OUTPUT.PUT_LINE ('Parent key: ' || v_owner || '.' || v_pk_cons);
28 -- extract parent table columns:
29 FOR rec IN
30 (SELECT column_name
31 FROM user_cons_columns
32 WHERE owner = v_owner
33 AND table_name = v_parent_table
34 AND constraint_name = v_pk_cons)
35 LOOP
36 DBMS_OUTPUT.PUT_LINE
37 ('Parent table column: ' || rec.column_name);
38 END LOOP;
39 END;
40 /
Foreign key constraint violated: SCOTT.FK_DEPTNO
Parent table: SCOTT.DEPT
Parent key: SCOTT.PK_DEPT
Parent table column: DEPTNO
PL/SQL procedure successfully completed. -
There is anyway to find the tables name where data is getting inserted currently.
Hi All,
I need T-Sql Query to find list of tables in which data is getting loaded currently.
Thanks Shiven:) If Answer is Helpful, Please VoteHi,
What About This Query:
SELECT B.TEXT,A.SESSION_ID,A.STATUS,A.COMMAND,A.CPU_TIME,A.TOTAL_ELAPSED_TIME,A.*,B.*
FROM SYS.DM_EXEC_REQUESTS A
CROSS APPLY SYS.DM_EXEC_SQL_TEXT (SQL_HANDLE) B
WHERE TEXT NOT LIKE '%SELECT B.TEXT,A.SESSION_ID,A.STATUS,A.COMMAND,A.CPU_TIME,A.TOTAL_ELAPSED_TIME,A.*,B.*%'
--AND TEXT LIKE '%'
ORDER BY START_TIME DESC
Thanks Shiven:) If Answer is Helpful, Please Vote
The query would return the currently executing query irrespective of insert. But, you are looking for the logging of table. Is my understanding wrong?
If you are looking for what is running on the server, then you can use the above script. The below is the one am using to get those info:
SELECT r.session_id ,
(Select Top 1 CON.client_net_address From sys.dm_exec_connections AS CON
where CON.session_id = r.session_id) Client_Address,
OBJECT_NAME(qt.objectid, qt.dbid),
r.[status] ,
r.wait_type ,
r.scheduler_id ,
SUBSTRING(qt.[text], r.statement_start_offset / 2,
( CASE WHEN r.statement_end_offset = -1
THEN LEN(CONVERT(NVARCHAR(MAX), qt.[text])) * 2
ELSE r.statement_end_offset
END - r.statement_start_offset ) / 2) AS [statement_executing] ,
DB_NAME(qt.[dbid]) AS [DatabaseName] ,
Object_NAME(qt.objectid) AS [ObjectName] ,
r.cpu_time ,
r.total_elapsed_time ,
r.reads ,
r.writes ,
r.logical_reads ,
r.plan_handle
FROM sys.dm_exec_requests AS r
CROSS APPLY sys.dm_exec_sql_text(sql_handle) AS qt
WHERE r.session_id > 50 and r.session_id <> @@SPID -
Can we find the table name from the form
note:without using the property palette
poelger is right, use GET_BLOCK_PROPERTY either with QUERY_DATA_SOURCE_NAME for the Query-table or with DML_DATA_TARGET_NAME for the DML-target
-
How to find the column name and table name with a value
Hi All
How to find the column name and table name with "Value".
For Example i have value named "Srikkanth" This value will be stored in one table and in one column i we dont know the table how to find the table name and column name
Any help is highly appricatable
Thanks & Regards
Srikkanth.M2 solutions by Michaels (the latter is 11g upwards only)...
michaels> var val varchar2(5)
michaels> exec :val := 'as'
PL/SQL procedure successfully completed.
michaels> select distinct substr (:val, 1, 11) "Searchword",
substr (table_name, 1, 14) "Table",
substr (t.column_value.getstringval (), 1, 50) "Column/Value"
from cols,
table
(xmlsequence
(dbms_xmlgen.getxmltype ('select ' || column_name
|| ' from ' || table_name
|| ' where upper('
|| column_name
|| ') like upper(''%' || :val
|| '%'')'
).extract ('ROWSET/ROW/*')
) t
-- where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
order by "Table"or
SQL> select table_name,
column_name,
:search_string search_string,
result
from cols,
xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
columns result varchar2(10) path '.'
where table_name in ('EMP', 'DEPT')
TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
DEPT DNAME ES RESEARCH
DEPT DNAME ES SALES
EMP ENAME ES JONES
EMP ENAME ES JAMES
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES PRESIDENT
EMP JOB ES SALESMAN
9 rows selected.
Maybe you are looking for
-
Feedback from my Apple Store Survey (Additional info field)
The delivery of my iPhone docks was amazing, I placed the order about 1-2pm Tuesday and it arrived well before noon on wednesday. It was so quick I was stunned. Too bad I can't purchase items like this through iTunes. Probably not your field, but i'm
-
I'm trying to set up photo stream on my PC so that photos automatically download and are saved on my harddrive but I cannot find an iCloud icon in the relevent section of the control panel. I do have a MobileMe icon but cannot log into it with my App
-
Media folder on external drive is getting lost
I keep my iTunes media folder on an external hard drive. It works beautifully, as long as I remember to always have the external drive plugged in when I launch iTunes. Ocassionally I forget, though. And if I launch iTunes without the drive connected,
-
I have a jtable that I am placing in a jpanel. When I create my jtable and add it to the jpanel, it goes through all the code for creating it but does not display it. It will not dislpay it until i click on the jpanel. it only takes the mousepressed
-
Deleting roles from GRC AC CUP
Hi We had GRC 5.3 installed with SP05. We have archived all our existing requests and are trying to delete some of the roles from CUP. However when trying to delete the role it is giving a message "Cannot delete because this is referenced by request"