How to find the relation between that tables
Hi,
I have to get the data from different tables but I dont have any table relation ship. So If any body can help me to get that relation ship that will be very helpful for me.
my tables are
LFA1
LFB1
LFC1
RFSDO
BSIK
Thanks
Imran
>
SURINDER SINGH OBEROI wrote:
> Hi,
>
> LFA1-LIFNR = LFB1-LIFNR = LFC1-LIFNR = BSIK- LIFNR
> LFB1-BUKRS = LFC1-BUKRS = BSIK-BUKRS
> LFC1-GJAHR = BSIK-GJAHR
> LFC1-ERDAT = BSIK-AUGDT
>
> Cheers,
> Surinder
You think, you can fetch accurate data with the above mentioned linkages?
Oh btw, the question i believe the question was How to find the relation....
pk
Similar Messages
-
How to find the relation between tables
Hi
I am working in Oracle R12
How to find the relationship between these tables INV_MIN_MAX_TEMP,po_requisition_lines_all and Per_all_people_f
These two table i have joined with po_requisition_lines_all and Per_all_people_f To_person_id from PO and Person from hr table but i cant able to join this table with other tables INV_MIN_MAX_TEMP
regards
SrikkanthHi;
Please check e-trm site for table relation,integration,explanation etc..
etrm.oracle.com/
Regard
Helios -
Hi, could someone tell me how to find the relation between PAY_ELEMENT_TYPES_F and GL_CODE_COMBINATION tables
that is because as you could know PAY_ELEMENT_TYPES_F holds the definitions of elements in Oracle HRMS and i need to find the accounting code of each element.
ThanksHi;
Please check e-trm site for table relation,integration,explanation etc..
etrm.oracle.com/
Regard
Helios -
How to manage the space between a table and its title?
Have tables where titles are very close to the main text and need a couple of points to separate these elements. How to reshape this space?
1. Titles were separated by a return that is not visible... (any code is revealed by ID)
2. When a Return is inserted after the title, nothing happens aparently, but this return is now visible and could be used as a «paragraph space after» value:
3. A solution could be Grep to catch the end of paragraph assigned to titles to insert a return;
but Grep only catches the right border of the table (the yellow mark shows the big blinking cursor);
Grep cannot see the end of paragraph in the tables's title.
It another method?
Basically, how to modify the space between a table and ists titleI think you and Bob are not in synch here.
Bob suggested that you could use paragraph spacing, but for that to work you do need to use separate paragraphs for the title and table, which you don't seem to be doing. Using GREP to find the end of the paragraph only works if there IS and end to the paragraph. As far as I know there is now meta-character to use in Find/Change that would allow you to find a table and insert a paragraph break ahead of it, but I bet it could be scripted.
I'm not quite sure what you were trying to find in the GREP you posted. Did you actually have a paragraph return inserted already after the title? In that case you only need to redefine the style for that paragraph to add the space (or redefine the style for the paragraph that holds the table itself). You don't need the GREP. But the reason it does nothing is that you've found a location -- the end of the paragraph, but haven't found any actual text to modify. To do anything you would need to use something like .$
But back to NOT having a separate paragraph... If you put the cursor in any table cell and go to Table Options > Table Setup tab you'll see fields to set space before and after the table that should do what you want. That was the second part of what he posted. -
How to find the list of existing tables in a schema using DB link?
Hi
I know how to find the list of existing tables in a schema using the following query
SQL> select * from tab;
but, how to list the tables using a DB link?
For Example
SQL> select * from tab@dblink_name;
why this doesn't work?
Pl advice me
Thanks
Reddy.ORA-02019: connection description for remote database not foundHave you used this database link successfully for some other queries?
The error posted seems to indicate that the DB Link is not functional at all. Has it worked for any other type of DML operation or is this the first time you ever tried to use the link? -
How to find the link between strcture and query technical name
Hi Guru's
How to find the link between Strcture in the query and query technical name. In other way where used list of the structure used in queries?
I know we have table called RSZELTDIR which have the values of strcuture name. from here i do not find any link to query technical name.
Please can anyone help me?
Regards,
SirishaHi ,
For structure and query relationship, the structure has to be a reusable structure( a global one). Then you can right click in on the structure name (in BEX query designer) and select the where used list. You will find all the query names where it is being used.
U can also check out tables RSRREPDIR and RSZCOMPDIR for other query properties.
Thanks,
Amit -
Where can I find the relation between company code and plant?
where can I find the relation between company code and plant?
I need to the list of plants under a company code.
Which table?yes,wayne weng .What you said is right.
Thank you very much!
My MSN:[email protected] -
Need to find the Difference between two table
Hello ,
I have stucked in program as below scenario:-
I have two tables of huge data of same structure in a same schema.I need to find the difference exact values in tables.
By using MINUS we can find the difference between two table ,i need to find the what exact difference in the there values with colunm and value at that column.
Example TableA
Col1 col2 col3 col4 col5.... col50
10 ABC 2001 EE 444 TT
40 XYZ 3002 RR 445 TT3
80 DEF 6005 YY 446 YY8
TableB
Col1 col2 col3 col4 col5.... col50
10 ABC 2001 EE 444 TT
40 XYZ 3002 RR 445 TT3
81 DEF 6005 Yu 447 YY8
I need to the out put like this :-
The Diffence between two table is
TableA.COL1=80 TableB.Col1=81, Different
TableA.Col4=YY TableB.col4=Yu,Different
TableA.Col5=446TableB.col5=447,Different
Please suggest me to write the pl/sql program for the same
thanx in advance
KKThanx friends for all your efforts
I have a sample code for the same,this will compare the two tables for single row in each table .
what r the modification needed for the multiple rows of values in the two tables??
Please suggest!!
CREATE OR REPLACE PROCEDURE test_compare
IS
TYPE t_col
IS
TABLE OF VARCHAR2 (30)
INDEX BY PLS_INTEGER;
l_col t_col;
j NUMBER := 0;
l_sql VARCHAR2 (2000);
col1 VARCHAR2 (30);
col2 VARCHAR2 (30);
val1 NUMBER;
val2 NUMBER;
status VARCHAR2 (30);
CURSOR c1
IS
SELECT column_id, column_name
FROM all_tab_columns
WHERE table_name = 'TEST1';
BEGIN
FOR i IN c1
LOOP
j := j + 1;
l_col (j) := i.column_name;
END LOOP;
FOR k IN 1 .. j
LOOP
l_sql :=
'SELECT '
|| ''''
|| l_col (k)
|| ''''
|| ', '
|| 'TEST2.'
|| l_col (k)
|| ', '
|| ''''
|| l_col (k)
|| ''''
|| ', '
|| 'TEST1.'
|| l_col (k )
|| ', '
|| 'DECODE(TEST2.'
|| l_col (k)
|| ' -TEST1.'
|| l_col (k)
|| ', 0, ''NO CHANGE'', ''CHANGED'') FROM TEST2, TEST1';
EXECUTE IMMEDIATE l_sql INTO col1, val1,col2, val2, status;
IF status = 'CHANGED'
THEN
DBMS_OUTPUT.put_line( 'TEST2.'
|| col1
|| '='
|| val1
|| ', TEST1.'
|| col2
|| '='
|| val2
|| ', '
|| status);
END IF;
END LOOP;
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.put_line ('Error:- ' || SQLERRM);
END;
/ -
How to find the difference between Project costs & Cost center costs?
Hi all,
Can you please explain me ? What is project Cost & Cost center cost and which are the tables having those fields of project cost & cost center Costs? And how to find the difference between their costs ? And please give me the functional Idea about it?
Thanking you all in Advance...
Regards,
ChandruHi,
goto table COSP:
1) object-no. beginning with 'KS' refer to cost-centre
example: 'KSKOKA4711'
with KS, KOKA = controlling area and 4711 = cost centre
2) OBJNR beginning with 'PR' refer to projects / WBS-element
example PR00001234
Message was edited by: Andreas Mann -
How to find the deleted data in tables
guys,
how to find the deleted data in tables example: i want to see whether anyone deleted data in MB5B report tables like mbew, etc.,
regards,Hi,
MBEWH is actually the history table of MBEW. It will record all the changes. As I have told you earlier if you have deleted the record dirctly from the table then it will not come even in the table MBEWH
That means no changes have been made.
regards -
How to find the related PI document from a material document
Dear All experts,
If I know the materil document number, how to find the related PI document?
Thanks!
XinlingHello Xinling,
You can extract the details from table MSEG.
Regards
Kalpana -
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. -
How to find the difference between 2 time values in Java
hi all,
i have 2 time values
String time1="6:20";
String time2="21:30"
How to find the difference between 2 times in Java?
pls help
thanx in advance....Calculating Java dates: Take the time to learn how to create and use dates
Working in Java time: Learn the basics of calculating elapsed time in Java
Formatting a Date Using a Custom Format
Parsing a Date Using a Custom Format -
Hierarchical query To find the relation between the tables
Hi,
In my database schema i have hundreds of tables and dont have data model to understand the relation between them.
I heared that there will be heirarchical query which can be written by using meta tables, is this query will really help me to understand the relations.
Can anybody please help to get this query.
Thanks,
Vinod>
Hi Vinod,
I heared that there will be heirarchical query which can be written
by using meta tables, is this query will really help me to understand the relations.You could also download Data Modeler - it should be of assistance - free from
Oracle.
HTH,
Paul...
Vinod -
How to create the reation between two tables without creating relation
Hi,
I have three tables.( A,B and C)
I created relation between A,B and A,C.
I want to create the relation between B,C without using realtion in oracle forms.
Please do the needful.ok, now i understand your problem. It is a case of one-many-many relation between three blocks.
In this situation what i personally follow that - save records in between when it ask for a commit. And i shall advice you to follow that only. This is the safe and easy method.
Otherwise,
1> make your third block a non-database block.
2> When finish entering/modifying each data set related to 2nd block - insert/update/delete the data grammatically into a temporary table. and after that clear the 3rd block.
3> you need to reload the record in 3rd block from the temporary table when you move to a record of 2nd block that has already been entered.
4> now when you finally commit your form the insert/update/delete record from the temporary table into the final 3rd table.
Now follow which ever steps is suitable for you.
Regards,
Tarun
Maybe you are looking for
-
Hi, When we do the Invoice Verification, using the T Code MIRO, after putting in the PO number, the layout displays the details of the qauntatity received and amount, apart from other relevant details. However, the users desire to have the the date o
-
How can I view and download iprocurement history for the past 1 year in Oracle?
Hi, I'm presently using Oracle 12, how can i view and download iprocurement history for the past 1 year or longer in Oracle? The purpose is to view approval of claims etc.. if not, where can i retrieve this information in oracle? Appreciate your urge
-
I'm a new Mac convert having purchased a MacBook Pro. I can't find a proper display group here but I'm hoping that someone will have an answer for me. In order to put the laptop on my desk I have to retire my my 19" CRT that goes with my PC and purch
-
Can I build website in MUSE and administrate in JOOMLA?
Can I build website in MUSE and administrate in JOOMLA? Anybody know if this works together?
-
LJ P2055dn install crashes on Windows 2003 server
Trying to add LJ P2055dn printer into our Windows network, need to load it onto a terminal server. However, PCL6 driver downloaded from HP keep crashing during install. Please help.