How to look for the Table Name
Hi Friends,
Sometimes we need to download the table for the desired information if the same is not available from a particular report. How to look for the table name? Is there a report or a particular feild, where we can find the name of the particular table?
Thanks for the assistance.
Regards
Hi Friend,
If you want to see the structures then go to SE11. Sometimes it happens that you cannot find the table names but only fields. In such case, if you want to find the Table names which is not available, then go to SE90.
Abap Dictionary > Fields > Table Fields.
Now Enter the Field name in Right Hand Side of the screen then Execute. You will see the all tables by which that Fields are used.
Regards,
Jigar
Similar Messages
-
I installed a new wireless router and connected with my iPad. I then changed the ID and password with ethernet but now my iPad keeps picking up the old router name and password and doesn't see the new name. How can I get it to stop looking for the old name and find the new one?
Hello Stevo39,
If your iPhone continues to prompt for your old account and password then check out the following article.
If you're asked for the password to your previous Apple ID when signing out of iCloud - Apple Support
This article may help too.
Apple ID: What to do after you change your Apple ID - Apple Support
Regards,
Nubz -
How to find out the table name
hi,
how to find out the table name in which the data from a particular structure in a particular screen is saved,
please tell me the procedure to find out the table name for saving the structure data that is inputted at runtime.
Thanks,
chinnuHi Chinnu,
Below are the tables that are referred to find out the table names
DD02L Table contains the SAP Tables.
DD02T Table contains the SAP Table Texts.
DD01L Table contains the Domains
DD01T Table contains the Domain Texts.
DD03L Table contains the Table Fields.
DD03T Table contains the Table Field Texts. (Language Dependent)
DD04L Table contains the Data Elements.
DD04T Table contains the Data Element Texts.
DD05s Table contains the Foreign Key Fields
last words with L and T only. L->Database Fetch T-> Text
And the procedure to retrive the table name is as follows
1. Go to se11
2. Enter table name DD03T and execute
3. In the next screen you can find Tables, fields, test etc. there you can enter the field name in the fields
and execute.
4. you can get all tables which contains the field.
I hope this will solve your problem
Regards,
Chandru -
How to dynamically change the table name inside a view
Hi All,
create table t_auto_feeds
id number,
table_name vachar2(100));
insert into t_auto_feeds values(1,'T_FEED_POSITIONS');
insert into t_auto_feeds values(2,'T_KAP_MTM');
assume there are 100 records on id=1 in T_FEED_POSITIONS and 100 records of id=2 in T_KAP_MTM (id 1 is present only in t_feed_positions & id 2 is present only in t_kap_mtm)
i need to create a view such that it needs to give the count of records based on the id
create or replace view aa_view as
select count(*), id from t_feed_position group by id
union
select count(*), id from t_kap_mtm group by id;
I am getting a proper result when i query the view like select * from aa_view where id=1 but will the other union query seems to be a overhead?. I am having 10 such tables configured for different id in t_auto_feeds.so do i need to put 10 unions or is there a better way to handle this stuff.
I know i can use a PLSQL block and dynamically build view structure, the problem is the view itself is configured in a table , so i cant write a proc for this.. can this aa_view be modified such that it queries only the table(using the t_auto_feeds ) which matches the id rather than the entire list.
Kindly help me in this regard and let me know in case u need any further information from my side.>
so do i need to put 10 unions or is there a better way to handle this stuff.
>
Yes - you need 10 unions
Yes - there is a better way so that only one of the 10 queries does anything.
You can use SYS_CONTEXT to control the query selection.
Here is an example of using SYS_CONTEXT. Try this code in the SCOTT schema.
create or replace context VIEW_CTX using SET_VIEW_FLAG;
create or replace procedure SET_VIEW_FLAG ( p_table_name in varchar2 default 'EMP')
as
begin
dbms_session.set_context( 'VIEW_CTX', 'TABLE_NAME', upper(p_table_name));
end;
select * from emp where 'EMP' = sys_context( 'VIEW_CTX', 'TABLE_NAME' );
select * from emp1 where 'EMP1' = sys_context( 'VIEW_CTX', 'TABLE_NAME' );
select * from emp2 where 'EMP2' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
exec set_view_flag( p_table_name => 'EMP' );
exec set_view_flag( p_table_name => 'EMP1' );
exec set_view_flag( p_table_name => 'EMP2');
SELECT sys_context( 'VIEW_CTX', 'TABLE_NAME' ) FROM DUAL
CREATE VIEW THREE_TABLE_EMP_VIEW AS
select * from emp where 'EMP' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
union all
select * from emp1 where 'EMP1' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
union all
select * from emp2 where 'EMP2' = sys_context( 'VIEW_CTX', 'TABLE_NAME' )
SELECT * FROM THREE_TABLE_EMP_VIEWNote that you set the context for the table you want. This doesn't have to be a table name it could just be flag value
-- use the emp table
exec set_view_flag( p_table_name => 'EMP' );
-- ue the emp1 table
exec set_view_flag( p_table_name => 'EMP1' );
-- use the emp2 table
exec set_view_flag( p_table_name => 'EMP2'); -
How can I get the table name of my column?
I'm using the JDK 1.3 trying to get a table name of a column from a result set. Regardless of what driver I'm using (ODBC Bridge/Oracle) I always get a null returned. Does this method work?
If not, if I'm doing an SQL query that uses more than 1 table and each table has a return of the same column name, how do I distinguish which table the column is from. ThanksYou can use ResultSetMetaData interface and method
String getTableName(int column)
This should return you the table name.
To get ResultSetMetaData object, you can use
ResultSetMetaData getMetaData()
method of ResultSet interface.
HTH -
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 -
How can I get the table name of a field..
Hi,
If we know the table name we can find all the fileds from it
using desc <tablename>.
But, I would like to find table name of a known field's name.
Where all these fields are storing in the database.
THanks in Advance,
Srinivasulu.ALL_TAB_COLUMNS
rgds, APC -
How to dynamically change the table name for a update statement
Hi All,
I need to update a coulumn xyz in either of tables abc and efg based on some condition.
I wrote a cursor which has union of two queries(one querying abc and other efg)
Now based on some inparameter only one will be executed at a time.
And based on some condition a coulumn xyz needs to be updated which is in either of the table.
As the update condition is same
Update abc/efg set xyz=data where condition
I am looking to initialize a variable like v_tname based on some condition and update like
update v_tname .........
(Exactly that may not be like so, But looking a technique like this)
Please helpIf there is only two tables you'll need to update then you are better off using static SQL and implementing something like this instead:
DECLARE
update_condition BOOLEAN;
BEGIN
-- initialize update_condition
update_condition := <some_boolean_check>;
IF update_condition
THEN
UPDATE abc
SET xyz = some_val
WHERE some_col = some_other_val;
ELSE
UPDATE fgh
SET xyz = some_val
WHERE some_col = some_other_val;
END IF;
END;
/Hope this helps! -
How can we get the table name...
Hi All,
How can we get the actual table name for an argument if its datatype is %ROWTYPE.
For Ex :
function ACCOUNT_UPDATE (account_no number,
person person%rowtype,
amounts dbms_describe.number_table,
trans_date date)
return accounts.balance%type;
In the above function 'ACCOUNT_UPDATE', for argument person the datatype is 'person%rowtype'.
Is there any way to get the name from Data Dictionary tables.
I tried using All_Arguments and DBMS_DESCRIBE, I can able to get all the individual fields of %ROWTYPE by I could not able to know the exact table name thru the DD.
my requirement is dynamically I need to declare a variable for the argument datatype.
Your help is highly appreciated.
Thankshi vinay,
this is the easiest way to find the tablename of a particular field.
t.code:XD01.
enter.
select the kunnr field.
press F1.
the top of the screen u will get 'Technical setting icon.
select that one.then u will get tablename,fieldname,parameter id also.
if helps give the rewards.
regards,
akash.k -
How to find out the table names related to fields of Transactions
Hi All,
My Task is to extract the data from diff tables whose names i need to find out . I was given with the transactions like Me31k,Me32k,Migo,Miro etc. Can anyone Plz suggest me on how to do this apart from debugging the transaction or runnig the SQl Tracer .<b>Go to SE93-> give ->msc3n double click program -> in top include you`ll find the tables OR search key word "tables" in program .</b></u>FYI
tables: dfbatch, " Dynprofelder
bncom, " allg. Kommunikationsstruktur
mtcom, " Kommunikations-WA Mat.stamm
makt, " Materialkurztexte
mbew, "#EC NEEDED
t001w, " Werke
t001l, " Lagerorte
mara, " Konzerndaten zum Material
marc, " Werksdaten zum Material
mard, " Lagerortdaten zum Material
mch1, " Chargendaten
mcha, " Chargendaten werksbezogen
mchb, " Chargenbestände
mchx, " Bewert.arten zu werksübergr. Ch
mchuwl, " Arbeitsvorrat Charge Benutzer
thead, " SAPscript: Text-Header
cdhdr, " Header Änderungsbelege
cdshw, " Positionen Änderungsbeleg
t148g, " Feldauswahl Sonderbestände
t148zt, " Texttabelle Zustandsschlüssel
t149c, " globale Bewertungstypen
t005u, " Provinzschlüssel Texte
t005t, " Bezeichnung der Länder
tvfmt, " Materialgruppe Export Bezeichn.
bwtty, " Bewertungstyp
rmclm, " E/A Felder Klassifizierung
inob, " Umschlüsselung Klassif.objekt
kssk, " Zuordnung Objekt <-> Klasse
klah, " Kopfdaten Klassen
t134, " Materialarten
prdkzt, " Texte zum Periodenkennzeichen
*prdkzt. "#EC NEEDED
Hope thisll give you idea!!
P.S award the points.
Good luck
Thanks
navjot -
How to validate for a table name and field name parameters ?
Dear techies,
Kindly help me in validating two parameters.
1) table name (Date element = CDTABNAME ).
2) field name (Data Element = FIELDNAME ).
I need to know the master table which can be used to validate both the fields..........
regards,
PrasannakumarYou can validate it from table DD03L.
<REMOVED BY MODERATOR>
Thanks,
Srinivas
Edited by: Alvaro Tejada Galindo on Feb 26, 2008 2:02 PM -
How to increase the max character for a table name..!!
Hi All,
The maximum characters that supports for the table Name is 30
How can I increase this so that I can have table names lengthier than 30
This is required as I was doing a conversion of the database from SQL server 2005 to Oracle 9i
Many thanks in advance...
Best Regards..,So How can I make it possible..?!!If it not possible, you cannot make it possible.
If you can create a synonym on more than 30 char., you cannot use it on more than 30 char :
SQL> create synonym my_very_long_synonym_name_for_emp_table for emp;
Synonym created.
SQL> select count(*) from my_very_long_synonym_name_for_emp_table;
select count(*) from my_very_long_synonym_name_for_emp_table
ERROR at line 1:
ORA-00972: identifier is too long
SQL> select * from user_synonyms;
SYNONYM_NAME TABLE_OWNER TABLE_NAME
DB_LINK
/91b591a7_MY_VERY_LONG_SYNONYM SCOTT EMP
SQL> select count(*) from "/91b591a7_MY_VERY_LONG_SYNONYM";
COUNT(*)
14Nicolas. -
What is the table name for structure field MUEBS???
Hi...Experts...
How can I know the table for a screen-field if i get structure from it F1 Technical settings....
Ex: Here MUEBS is the screen field (Char. Display) in one of the subscreens of VA41. And it is from
RV45A structure...
Now how can I know the table name for this field MUEBS.
I know some methods but they r not help ful.. please try it and get back to me.
Thanks,
Naveen.INaveen,
Table field Short Description
VBMUE Sales Document: Characteristic Overview
MUEBS Characteristic display
VBMUEZ Sales Document: Characteristic Overview Assignments
MUEBS Characteristic display
VBMUET Sales Document: Characteristic Overview Description
MUEBS Characteristic display
You can find same by SE15>Abap dictonary>fields>table fields.
Amit. -
Query for retreiving table names that have the same data
Hi,
Does anybody know how to retreive all the table names that have the same data in their respective tables but i dont know the table names or its fields. Is there any possible query to perform this action???
Thanks in Advance,
Balaji.What about...
WITH manager_list AS
SELECT name,
LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
FROM (SELECT m.name,
e.id,
ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
FROM manager m,
join_table jt,
employee e
WHERE m.id = jt.manager_id
AND jt.employee_id = e.id
AND m.name = :P_MANAGER)
GROUP BY name
CONNECT BY prev = PRIOR curr AND name = PRIOR name
START WITH curr = 1
), all_list AS
SELECT name,
LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
FROM (SELECT m.name,
e.id,
ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
FROM manager m,
join_table jt,
employee e
WHERE m.id = jt.manager_id
AND jt.employee_id = e.id)
GROUP BY name
CONNECT BY prev = PRIOR curr AND name = PRIOR name
START WITH curr = 1
SELECT a.*
FROM manager_list m,
all_list a
WHERE m.employees = a.employeesWould be easier in 11g, but I don't have an installation here so this is based on 10g.
Cheers
Ben -
How to look for business partner number in GTS
Hi Experts,
How to look for the business partner number in GTS when we have the Customer Id number in r/3?
Please let me know the path in GTS.
Edited by: Anurag87 on Dec 9, 2010 2:17 PMHello,
just simple in GTS in transaction BP find by "3 External number" (which is yours R/3 number).
Or in se16 table /SAPSLL/PNTBP type in field BPVSY you external number from R/3 system.
Cheers,
Gabriel.
Maybe you are looking for
-
Unable to authenticate users using Custom plugins in OAM 11g
We are working on a requirement in which we have to write a custom authentication plugin in OAM 11g. we were able to import and activate the plugin we created a new authentication module with steps in the following order 1)UserIdentificationPlugin 2)
-
Info package Routine - How to write
Hi , Can any body give me the step step by process on how to write Info package routine. Actually my requirement is to load the current month Data automatically through infopackge . I can write the ABAP code , but i am told to write in Infopackage le
-
I am having trouble logging into 1 website in particular (DirecTV), I have contacted directv and they can log in on their side. I have tried using safari 3.1.2 and firefox 3.0. Directv said it could be a router problem. I have deleted cookies and emp
-
Client-side handler: static config?
I would like to provide a client-side JAX-RPC handler that would be invoked without any modification to existing client code. The idea is that user's would only need to modify a config file (something like the web-services.xml file, but on the client
-
I just received my spring syllabus for my history class. My professor said we would submit papers online. She also said to use ms word. Am i gonna have to buy ms office or is pages gonna pull me through.