How to find the common dimension tables used in Finance AR/PR and GL,
Hi All,
I need to find the common dimension table used in the Finance modules (AP,AR,PO,GL...), Since separate teams are working on populating each modules, and we need to find the dependency so that our loads shouldn’t impact others.
Thanks!
OBI
Hi Guys,
Thanks for all your answers.
Yes....You are all right. We can list out the used tables upto certain extent. Anyhow, I have done some R&D to derive the SQL's which is given below:
SELECT TABLE_NAME FROM USER_TABLES
MINUS
SELECT DISTINCT UPPER(REFERENCED_NAME)
FROM user_dependencies
where
referenced_type='TABLE' and UPPER(NAME) in
select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
'MATERIALIZED VIEW',
'PACKAGE',
'PACKAGE BODY',
'PROCEDURE',
'TRIGGER',
'VIEW',
'FUNCTION'
UNION
SELECT UT.TABLE_NAME FROM
SELECT TABLE_NAME FROM USER_TABLES
MINUS
SELECT DISTINCT UPPER(REFERENCED_NAME)
FROM user_dependencies
where
referenced_type='TABLE' and UPPER(NAME) in
select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
'MATERIALIZED VIEW',
'PACKAGE',
'PACKAGE BODY',
'PROCEDURE',
'TRIGGER',
'VIEW',
'FUNCTION'
AND REFERENCED_OWNER=(SELECT sys_context('USERENV', 'CURRENT_SCHEMA') FROM dual)
) UT,
( SELECT * FROM USER_SOURCE
WHERE NAME IN
( SELECT DISTINCT NAME FROM USER_SOURCE
WHERE TYPE NOT IN ('TYPE')
AND
UPPER(TEXT) LIKE '%EXECUTE IMMEDIATE%'
) US
WHERE
UPPER(US.TEXT) LIKE '%'||UPPER(UT.TABLE_NAME)||'%'
AND
(UPPER(US.TEXT) NOT LIKE '%--%')
The above SQL Query can list out unused tables by checking the Dynamic SQL Statement also upto some level only.
Once we extracted the list of unused tables, having a manual check would be also greater to verify as it is should not impact the business applications.
Regards,
Subramanian G
Similar Messages
-
How to find the list of Tables....
Hi
How to find the list of Tables associated with When a Goods Issue is done for a Process Order ??
Kindly tell me step-by-step procedure in browsing it.
cheers
MaruthiRamHi
goto SE16 Click F4, You have two options Information system & Sap Applications.
Click on SAP Applications & selec the application you wnat to see, for E.g Purchasing you can click on materials managemnt, Purchasing if you drill down you will see the list of tables....
reward points if useful
Thanks & Regards
Kiran -
Hi,
How to find the average of table row values it should display in next row in libwindow/CVI
Please let me know the solution.There isn't a built-in function to perform calculations on thable cells. What you can do is to retrieve thable cells values and calculate the average by yourself.
To retrieve a bunch of cells in a single instruction you can use GetTableCellRangeVals: prerequisite for this function to work correctly is that cells are all included in a Rect structure (shortly, a rectangle) and are all of the same data type. See the help for the function for some explanations and the link to an example of its usage. In Cell range parameter you can pass VAL_TABLE_ROW_RANGE (row) macro to retrieve an entire row. See here for details.
Once you have retrieved cell values in an array, you can pass it to Mean function to calculate the average.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
How to find the CRM related Tables form a Particular DataSource
Hi friends
<b>How to find the CRM related Tables form a Particular DataSource
of BusinessContent.</b>
ex: i had taken CRM - DataSource ........ 0CRM_LEAD_H (Lead Header Data)
for this DS i assign IS and extract data. But i want to Know from which
CRM tables it was comming.
ie ..I want to know the what tables linked to Datasource(0CRM_LEAD_H)
How it has to check?Just for your info, you can find as useful (for a methodology to solve this kind of issue) this weblog:
SAP BW and Business Content Datasources: in pursuit of the origins
Hope it helps!
Bye,
Roberto -
How to find max(time) from table using group by
how to find max(time) from table using group by
select var max(time)
from table
into (var1, time1)
where .....
group by var.
it is fetching record which is top in table.
if u can help?
regards.No this will fetch the maximum time from teh table.
select var max(time)
from table xxxx
into (var1, time1)
where .....
group by var.
Refer this code
TABLES SBOOK.
DATA: COUNT TYPE I, SUM TYPE P DECIMALS 2, AVG TYPE F.
DATA: CONNID LIKE SBOOK-CONNID.
SELECT CONNID COUNT( * ) SUM( LUGGWEIGHT ) AVG( LUGGWEIGHT )
INTO (CONNID, COUNT, SUM, AVG)
FROM SBOOK
WHERE
CARRID = 'LH ' AND
FLDATE = '19950228'
GROUP BY CONNID.
WRITE: / CONNID, COUNT, SUM, AVG.
ENDSELECT. -
How to find the count of tables going for fts(full table scan in oracle 10g
HI
how to find the count of tables going for fts(full table scan) in oracle 10g
regardsHi,
Why do you want to 'find' those tables?
Do you want to 'avoid FTS' on those tables?
You provide little information here. (Perhaps you just migrated from 9i and having problems with certain queries now?)
FTS is sometimes the fastest way to retrieve data, and sometimes an index scan is.
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:9422487749968
There's no 'FTS view' available, if you want to know what happens on your DB you need, like Anand already said, to trace sessions that 'worry you'. -
How to trace the data dictionary tables used in the standard transaction
Dear all,
Help me to trace the data dictionary tables used in the standard transaction "crm_dno_monitor". I need to find the tables where the data are stored.
or
Tell me generally how to find the tables used in the standard transaction.
Regards,
PremHi,
Open the program of that standard transaction in object navigator or SE80..
Then click on the dictionary structures tab..
U can find the database tables used in this transaction..
\[removed by moderator\]
Regards,
Rakesh
Edited by: Jan Stallkamp on Jul 29, 2008 5:29 PM -
How to find the Source system table
Hi Experts,
How to find table name in SCM APO system, because I am getting error in process chain, the corresponding table in the source system does contain any data. check the data basis in the source system.
Please provide the solutions how to find the table in APO (DP scm bi).
Thanks in advance.
Bye,
Bharathi.Hi
I guess you knew that in APO, apart from APO tables.. it is Livecache where the actual transaction data is stored.
But, if you just want to find some of the existing table in APO.. simply go to se11 and in the table name put the pattern as /SAPAPO/* and press F4. It will give a list of tables with the descriptions.
You can find out yourself all APO tables application wise with the following steps:
Use transaction SE11 or SE16
- Press F4 in the selection field
- You will get popup... in the below line of the popup selection SAP Applications.
Here you will get the Application list. In that select your own application for which you want to get the table details
e.g. SCM- Supply Chain Management --> SCM-APO --> Advanced Planning and Optimization --->SCM-APO-MD - Master Data --> /SAPAPO/00_PRODUCT
Here are some examples:
/SAPAPO/v_matloc - material, material number location view
/SAPAPO/TSAREAKO - Planning Area details
/SAPAPO/TSAREATE - Planning Area technial fields
Since there are thousands of tables, I cannot list them all here.
or
You can use transaction ST05 (database trace) to help you find the tables you are looking for. You can turn on the trace function, run an APO transaction, and looks at the ST05 logs for the tables -
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 -
How to find the link between tables CRMD_ORDERADM_H and BBP_PDORG ?
HI,All
By TCODE BBP_PD, I cann't find the link by GUID between tables CRMD_ORDERADM_H (Header) and BBP_PDORG (Purchase Organization) , why? how to find this link?
thanks
Jesse.Hello Jianxin,
It depends on document category type.
For Shopping Cart, no link exist between CRMD_ORDERADM_H and BBP_PDORG tables as purchasing organization is defined at item level.
For Purchase Order, using BBP_PDORG-SET_GUID, you get PO header GUID (GUID_HI) in table CRMD_LINK where CRMD-LINK-GUID_SET = BBP_PDORG-SET_GUID.
Regards.
Laurent. -
How to find Size of Dimension Table
Hi
I just need to Find the Size of Dimension Table and Fact Table also .
Thanks
BhanuprakashInfocube ->Manage -> Contents -> when it as for table name enter /finfocube name and click on no. of entries you will know how many records are in fact table. if you think the cube is being compressed enter /einfocube name
for Dimension enter /D dimension name and click on no of entires. you will know how many records are in dimension.
to know the name of the dimension Infocube ->change -> click on dimensions -> further details about dimensions click on Assign tab
hope this help!
Rafi -
How-To Find the R/3 Table Name for a BW Data Source
Hi there,
Please advice how can I find the respective table name in R/3 for a particular BW DataSource ?
P/S : I would like a technical how-to instead of referring the table names at HELP.SAP.COM
For instance, for my Standard Business Content Info Cube 0CCA_C03(CO-OM-CCA: Statistical Key Figures) which extracts from BW Data Source: 0CO_OM_CCA_4
My question is, how can I find out which specific tables in SAP R/3 is this Data Source pulling the data from ?Hi Dinesh,
Data Source: 0CO_OM_CCA_4
1) In my R/3, I ran SE16 : Table -> ROOSOURCE
2) OLTPSOURCE -> 0CO_OM_CCA_4
3) EXMETHOD = F1
(Hence, I assume the Extraction Method is a Function Module)
4) So, Function Module = BWOM_RS_GET_CTRSTA
5) Run SE37 in R/3
How do I find out the specific tables in this Function Module ?
Would you please list them for me, so I can further refer to the individual tables ? -
How to find the list of users used transcation from last 2 days plz urgen
hi friendd
i am in need of knowing the list of users used transcation in last 2 days
can any one help me . how to find out the list of users and used trancation in detail or step by step
thanks in advance .i know that i can see in st03 but i dont find any user list or trancations .
apart from that so we have any other transcation to see the user in sap abap box
regards
rajaThis info has been posted before but here you go (this is an alternative way to Bernhards):
ST03N, make sure you are in Expert Mode (not Service Engineer)
Expand Workload
Expand Total
Double Click on the day you want to analyse
You can see transaction details under Transaction Profile -> Standard
You can see what tx a user has started under User & Settlement Statistics -> User Profile
If you are not seeing any data then speak to your Basis administrator about what they are doing with the log files. -
How to justify the values in table using report generation tool kit
Hi
How can we align the values in excel table using report generation toolkit.
like left,right,center.
Regards,
hari
Attachments:
Report_excel.vi 34 KB
New Bitmap Image.JPG 134 KBHi,
A trigger is designed to be a part of a transaction, not it's end.
It is like following these steps (not really accurate, but should give an idea):
1. programA issues INSERT statement on tableA
2. 'control' goes over to the database
3. constraint checks happen
4. the associated triggers on tableA do their work (e.g. fetching a sequence value for a primary key)
5. 'control' goes back to programA
6. programA decides if a commit (no error occurred) or a rollback (error case) has to be issued.
Did this help? Probably not, I'm not happy with what I wrote, but anyway... :) -
How to find the objects that are used for a particular BEx query
Hi ,
I am preparing the inventory for BEx queries. Means for a particular BEx query I want to know the correcsponding
1. Selection screen variables
2. Characteristics
3. Restrcited, Calculated and normal key figures.
I have checked all the BEx query related tabe but unable to find the proper relation between these tables to get the desired output.
Can you help for table joins to get the output as mentioned above.
Thanks in advance.
Regards,
SaiHi,
you want find the total information about query details use the T CODE - RSRTQ.
give the proper selection then execute.
please find the doc.
RSRTQ – Query Definition – Multipurpose T-Code on BEx Queries
Thanks,
Phani.
Maybe you are looking for
-
Premiere Elements 12 will not open?
Hey so this just started today. I've been able to edit for the past few months no problem...but today all of a sudden it will not work. I am running Adobe Premiere Elements 12 on Windows 7. I uninstalled this and re installed it and it still will n
-
Title (Music Video) still renders "over black" when unselected
Hello I have an MPEG-4 video of about 5 minutes length in wide screen ratio. I am trying to add a Music Video type title to the beginning of the video. I want it to overlay and not do it over black. I uncheck and the preview shows it as it should as
-
Getting error : There is an error while getting plan id.
Hi, While opening plan I am getting this error: 'There is an error while getting plan id. No Free partitions available. Contact DBA to create partitions.' Can anyone help me here?
-
Hi all, I have Instant client on a windows machine connecting via ODBC to my Linux machine with Oracle 10.2 on it. After days of pain, I finally bypassed the tnsnames.ora lookup and made a connection. The normal tnsnames.ora lookup never worked for m
-
About Business Intelligence and Business Warehouse.
Greetings Gentilemen,, I'm currently working as an ABAP Consultant, but i want to get information about Business Intelligence and Business Warehouse because I want to pursue my career as a functional consultant. What do i need to study and do i have