Needed a list of valid tables.
My database contains around 2000 tables some of them might not be using within the database objects(procedure,function and packages).I want to have a list of only those tables which are used by the application or more specific all the tables which are being used by the VAILID database objects.
Is there any DB utility for this or any SQL statment for the tables being used by a specific database object.
Pls suggest.
Regards
--MS.
I am not clear with the question.If you are looking for which object is referred by which another one,you can go for DBA_Dependencies as suggested by Yas.If you are looking for the staus of the objects than dba_objects will tell the status to you for all the valid/invalid objhects.
Aman....
Similar Messages
-
List of mappings/tables using SCD2?
Hello,
we're having a history data problem in customer's environment (BI APPS 7.9.5) and now we need a list of all tables or mappings that are using SCD 2. I found a documentation where is mentioned 6 "must be scd2"-dimensions but is there an easy way see which mappings are flagged as 'Y' in $$TYPE2_FLG mapping parameter (without going through every single mapping)?
Thanks in advance,
MariWhy not search the DAC for that parameter. The parameter value is set at the DAC level..not in informatica. If you want to get creative, you can also query the DAC metadata tables, but may be faster just manually going through the list of tasks one by one in DAC and checking for that param value.
-
List of SQL tables and attributes used in SSRS reports
Hi,
I have around 450-500 reports deployed in SSRS reporting server.
All these reports are built on SQL from multiple databases, and these databases are having unnecessary tables and attributes.
My requirement is to clean the unused tables and attributes from the databases. For this, I need the list of SQL tables and attributes used in these 450-500 SSRS reports.
Is there any way to get this data?
Regards,
RKHi RK,
According to your description, you want to get a list of the tables and attributes used in all reports.
In your scenario, you can query the ReportServer.dbo.Catalog table to get Report name, data source name, dataset name, and query used in the dataset with query below:
WITH XMLNAMESPACES ( DEFAULT 'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition', 'http://schemas.microsoft.com/SQLServer/reporting/reportdesigner' AS rd )
SELECT ReportName = name
,DataSetName = x.value('(@Name)[1]', 'VARCHAR(250)')
,DataSourceName = x.value('(Query/DataSourceName)[1]','VARCHAR(250)')
,CommandText = x.value('(Query/CommandText)[1]','VARCHAR(250)')
,Fields = df.value('(@Name)[1]','VARCHAR(250)')
,DataField = df.value('(DataField)[1]','VARCHAR(250)')
,DataType = df.value('(rd:TypeName)[1]','VARCHAR(250)')
--,ConnectionString = x.value('(ConnectionProperties/ConnectString)[1]','VARCHAR(250)')
FROM ( SELECT C.Name,CONVERT(XML,CONVERT(VARBINARY(MAX),C.Content)) AS reportXML
FROM ReportServer.dbo.Catalog C
WHERE C.Content is not null
AND C.Type = 2
) a
CROSS APPLY reportXML.nodes('/Report/DataSets/DataSet') r ( x )
CROSS APPLY x.nodes('Fields/Field') f(df)
ORDER BY name
For more information, please refer to this similar thread:
Extract metadata from report server database
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
Hello BW Experts,
If I need a list of PSA tables. I can get it using /bic/b0000* in the se11 rite. please correct me if i am wrong.
Thanks,
BWerBwer
You are right you could get these tables from SE11
Thnaks
sat
Re: How to Find out PSA Table
Message was edited by: Sat -
hi experts , what is validity in BW it is created when we use non cumulative key figures but what is the purpose of it
Please search the forum. Also, Please read rules of engagement
Edited by: Pravender on May 21, 2010 10:53 AMI am not sure I understood your question.
Are you saying 'country' is also a characteristic and you are getting additional data to the cube for these new countries? Or just that more data is now being added to the cube?
If the plants are more or less defined for similar date range, or are defined for the period for which typical reporting would happen -
Say plant 1 is valid from June 1999, Plant 2 from Apr 2001 .... and so on. This would be the situation where you need plant in the validity table.
However, if your users are typically reporting over last two years, and not many plants have been added in this period, and not many are likely to be added later, you can remove plant from validity table. This should generally not impact query performance. Only if users frequently report on the overlapping period (when the plant existed, and not existed) would there be some performance difference. Unless the no of plants is high (say 100 ) the difference in performance either way should be minimal.
This is my limited understanding ( ie to say do not go solely by it ). -
Need to get a list of PSA tables and change log tables existing in a PC
Is there a standars table to look up all active DSOs and the change log tables associated to those DSOs?
and also Data sources and the PSA tables associated to that DS.
I need to get a list of PSA tables and change log tables existing in a processchain(whioch deletes the data in them time to time)how do I do this in a quicker way?
Thanks in advanceHi Ramya
Check RSTSODS table with filter of User App CHANGELOG ---> For change log tables -
Need to get a dependent dependent objects list on a table
Hi
I am trying to get the dependent object list on a table like triggers ,indexes,synonyms etc.. through PL/SQL code.
Example :
For table per_all_people_f we need to list how many triggers are there.. and what all those... etc.
Can anyone help on this issue?
Thanks
PreetiSQL> exec dbms_utility.get_dependency('TABLE', 'SCOTT', 'EMP');
DEPENDENCIES ON SCOTT.EMP
*TABLE SCOTT.EMP()
* PROCEDURE SCOTT.P1()
* PACKAGE SCOTT.PACK_CUR()
* PACKAGE BODY SCOTT.PACK_CUR()
* VIEW SCOTT.EMP_VIEW()
* PACKAGE SCOTT.PACK_CUR1()
* PACKAGE BODY SCOTT.PACK_CUR1()
* PACKAGE BODY SCOTT.MANAGE_EMPS()
* PROCEDURE SCOTT.DP_PR1()
* FUNCTION SCOTT.TESTFUN()
* PROCEDURE SCOTT.P1()
* PROCEDURE SCOTT.CALC_BONUS()
* VIEW SCOTT.TESTVEW()
* FUNCTION SCOTT.SP_LISTEMP()
* VIEW SCOTT.EMP1()
* VIEW SCOTT.VW_RR()
* TRIGGER SCOTT.TR_EMP_REC()
PL/SQL procedure successfully completed. -
Need a way to retrieve list of all tables through a RFM
I wish to retrieve list of all tables through a RFM.
I know the table DD02L contains a list of all other tables. I can call the RFM RFC_READ_TABLE with table name DD02L or DD03L as an input parameter. I do not wish to do this way as the table name DD02L might get changed in a future release of SAP and break my external C program.
The question is - is there any other RFM that would return the list of tables and their properties. Does SWO_QUERY_OBJTYPES or some other SWO_QUERY_* RFMs can be used?
Any useful info is appreciated.
ThanksThanks Ramiro.
If I relay on TFDIR table to get a list of function modules, what are the chances that SAP will rename or get rid of TFDIR in a future release of SAP? I wish to avoid using undocumented interfaces as do not want to change my program in the future. -
Getting list of valid responsibility keys
Hello, everyone.
I try to launch from JDeveloper page /oracle/apps/per/selfservice/hierarchy/webui/HierarchyPG having following runtime options:
Application Short Name: AK
Responsibility Key: FWK_TBX_TUTORIAL
User name and password are creditals of user that has access to the page. But when I launch it I get the following error message:
oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not find the specified responsibility.
at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:158)
at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
at runregion.jspService(runregion.jsp:96)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
It seems that responsibility key is invalid. So the question is how to get a list of valid responsibility keys (and application short names) for a given user for database (which tables contain such information)?
Thanks in advance.
--whelephHi,
Problem and solution seems to be what Pratap has mentioned. Please Add the responsibility to your user name as mentioned by Pratap.
However, Also seems that you are just copying values for JDev guide.
To find responsibility key (Support You are using "OA Framework ToolBox Tutorial"l responsibillity for launching page through JDeveloper..)
Go to system Administrator > Security : Responsibility > Define
Query (F11) > Fill "OA Framework ToolBox Tutorial" in Responsibility Name field.
Now what you see in Responsibility Key field is what you need (FWK_TBX_TUTORIAL).
Now For finding application short name..first copy the application name from the above same screen. (In R12 Its Common Modules-AK)
Now go to Application Developer Responsibility > Application > Register.
Here again query F11, And fille name of application in the given field and press ctrl+11.
Here you can see short name of application in given field.
However, you issue its solution seems what Pratap has told. Please add that responsibility to your user name.
Abdul Wahid -
How to send mail to distribution list and another table list
Hi
I am facing a problem. I need to send mail to the user who is creating the SO/PO and a distribution list.
Problem is only one thing can be used at the same time. ie either Distribution list or list from internal table.
How can we use both in 1 function module. Like it should call the internal table and then the distribution list for sending the mail .
Regards,
VarunHi,
Refer to following link,
http://www.sap-img.com/abap/make-e-mail-sender-of-po-the-po-creators-name.htm
http://www.sap-img.com/fu016.htm
Reward pts. if helpfull.
Regards,
Dhan -
How to find list of internal tables while debugging
Hi Experts,
I am debugging a block of an ABAP program( User Exit ). Is there any facility to see what are the internal tables, work areas are available for that particular block? Can I see it new debugger? Because I don't know from which internal table I can take a particular value, which I need to populate in an user exit.
Thanks and regards,
Venkat.hi,
you can find the exact answer here :
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822#q-6
under heading List of internal tables while debugging
regards
rahul -
Dear SharePoint Experts,
Please help.
Why does my simple formula work in Excel but not-work in SharePoint?
Why does this formula...
=IF([Request Type]="Review",(IF(ISBLANK([Request Date]),FALSE,TRUE)),TRUE)
...work in Excel but fail when I try to use it in SharePoint?
The intent of this formula is the following...
If the field "Request Type" has the value "Review" and the field "Request Data" is blank then show FALSE, otherwise show TRUE.
SharePoint saves the formula, but when a list item is saved where the formula is implemented, (under List Settings, List Validation), SharePoint does not, say anything other than that the formula failed.
Note that the "list data validation failed" error only happens when I am creating a new item-- the formula above works just fine when one is trying to Save on the edit form.
Can you help?
Thanks.
-- Mark KamoskiDear Jason,
I appreciate your efforts.
However, it seems to me that this statement of yours is not correct...
"If it meet the validation formula, then you can new or edit the item, otherwise, it will throw the 'list data validation failed' error, it is by design".
I believe this is NOT the answer for the following reasons.
When I create a new item and click Save, the validation error is "list data validation failed".
When I edit an existing item and click Save, the validation error is "my custom error message" and this is, I believe, the way it needs to work each time.
I think, at the core, the error my formula does not handle some condition of null or blank or other default value.
I tried a forumla that casts the date back to a string, and then checked the string for a default value, but that did not work.
I tried looking up the Correlation ID in the ULS when "list data validation failed" occurs, but that gave no useful information because, even though logging was set to Verbose, the stack trace in the error log was truncated and did not given any
good details.
However, it seems to me that SharePoint 2013 is not well-suited for complex validation rules, because...
SharePoint 2013 list-level validation (NOT column-level validation) allows only 1 input for all the multi-field validation formulas in a given list-- so, if I had more than 1 multi-field validation rule to implement on a given list, it would need to be packed
into that single-line-of-code forumla style, like Excel does. That is not practice to write, debug, or maintain.
SharePoint 2013 list-level validation only allows 1 block of text for all such multi-field validation rules. So that will not work because I would have something like "Validation failed for one or more of the following reasons-- withdrawal cannot exceed
available balance, date-of-birth cannot be after date-of-death,... etc". That will not work for me.
The real and awesome solution would simply be enhancing SP 2013 so that column-level validation forumlas are able to reference other columns.
But, for now, my workaround solution is to use JavaScript and jQuery, hook the onclick handler on the Save button, and that works good. The only problem, is that the jQuery validation rules run before any of the column-level rules created with OOTB
SP 2013. So, in some cases, there is an extra click for the enduser.
Thanks,
Mark Kamoski
-- Mark Kamoski -
Validity table for a Non-Cumulative key figure
Hi,
I need to make changes to a validity table for a Non-Cumulative key figure.
I know initially it is done thru Extras- > Maintain Non-Cumulative value but subsequently how to change the parameters ?
Best Regards,
-Anurag DevIf you decide later that you require more validity-determining characteristics, you can modify the selection using the report RSDG_CUBE_VALT_MODIFY. In this report, the non-cumulative InfoCube is only changed to the extent that the new validity-determining characteristics are selected and the validity table is reconstructed. The structure of the non-cumulative InfoCube remains the same. You do not have to reload the transaction data for it.
-
Need the file extensions database table name
Hi,
I need to know the Database table name for file extensions in WCC.
Please check the image for reference .Hi 2790552
Please look at file doc_config.htm in the location <middleware_home>/Oracle_ECM1/ucm/idc/resources/core/tables/doc_config.htm
This is the file which helps in building the applet view.
I do belive that revisions and documents table might be used for validation and other specific things, but thats more in the context of document processing and from component IBR at runtime. But administration sake, i thing it works from the these config files since database doesn't have any table to hold this info. -
Hi all.
In most the screens I have, each value object in my list creates one row in my table which is fine I have no problems with that.
However I have the need to display a table where each value object in the list has 3 rows of data so I need one row to create HTML like this...
<TR>
<TD rowspan='3'> An ID </TD>
<TD> data </TD>
<TD> data </TD>
<TD> data </TD>
</TR>
<TR>
<TD> data </TD>
<TD> data </TD>
<TD> data </TD>
</TR>
<TR>
<TD> data </TD>
<TD> data </TD>
<TD> data </TD>
</TR>How do I do this in JSF?, I have had to do this as a plain JSP page for now but I hope there is a way to do this. Any help greatly appriacated
TIA
DaleSorry, no rowspan/colspan like attributes in JSF. Sometimes you can get away with using a f:facet for headers and footers... But not likely in the case you exampled.
I really think JSF needs something to facilitate better table formatting. Unless I'm missing something huge (possible). I don't think you can do this with CSS either (at least, on the h:panelGrid tag).
CowKing
Maybe you are looking for
-
Dear All , I create a PO in local currency -GBP . One by one , i post Goods receipt , invoice in EUR(exchange rate *0,79280) and credit memo(exchange rate *0,79280) in EUR . Now, when i look at the GR/IR account balance , it is zero in local currenc
-
How to: IT Virtualization career with VMware as rock-solid foundation
Hello all, I'm considering exactly what the title says. I've spent the better part of the past month reading/watching about the topic. I mainly researched the VMware product line (really, an ecosystem), along with Certification paths. I'm leaning tow
-
I'm messing around with parsing data from an XML. I'm trying to pull data form the WoW armory page (yes I'm an addict :). If you go to the page and select view source you can see the XML, however when I try using URL and a buffer to output the data t
-
Hi I am new to j2ee. please tell me how to run the following servlet in weblogic 8.1 import javax servlet.*; import javax servlet http.*; import java.io.*; import java.util.*; public class SimpleServlet extends HttpServlet public void doGet(HttpServl
-
Hi, Is there any information about when OAS 11i will be released? regards,