How to find out all the tables in a schema with a particular column
Hi
Is there a way to find out all the tables in schema1 that has col1 as one of the columns?
select table_name from dba_tab_cols where owner='schema' and column_name='col1';
Similar Messages
-
How to find out all the tables associated with particular T-code or Program
Hi All,
In 4.6B we have a transaction code SE49, where we can see all the tables associated with particular Transaction code or Program.
But in ECC 5.0 or in ECC 6.0 this transaction code is not available.So is there any alternative where i can find out all the tables associated with particular T-code or Program.
Thanks
ShubhamHi,
you are right, Transaction SE49 as well as SE48 do not exist anymore I'm afraid, they
are discontinued.
You might try to create a transaction variant:
1) Start SE93 to create a transaction variant
2) Specify a name, eg. ZSE49, and choose the first option:
"program and screen (dialog transaction)
3) Here specify SAPMSEUZ as program, and 200 as screen number
4) Choose a suitable development class (package) if you want it to be
transportable or Local (=$TMP) if non-transportable
5) press Save
Same applies for SE48, same program but dynpro 100.
Sorry for not being able the reasons behind the decision to discontinue
these transactions. I suppose at least part of the functionality was
integrated in SE38.
Best regards
Erika -
How to find out all the text elements in the report using Java?
How to trace the contents of an rpt file?
I am able to open the rpt file in my report viewer but can not trace it using the JAVA code.
Actually, I need to find out all the text elements of rpt (Report) file and replace them with the contents of resource bundle.
My Java code to open a report is given below:
import com.crystaldecisions.reports.sdk.ISubreportClientDocument;
import com.crystaldecisions.reports.sdk.ParameterFieldController;
import com.crystaldecisions.reports.sdk.ReportClientDocument;
import com.crystaldecisions.sdk.occa.report.data.ConnectionInfo;
import com.crystaldecisions.sdk.occa.report.data.ConnectionInfos;
import com.crystaldecisions.sdk.occa.report.data.Fields;
import com.crystaldecisions.sdk.occa.report.data.IConnectionInfo;
import com.crystaldecisions.sdk.occa.report.data.ParameterField;
import com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue;
import com.crystaldecisions.sdk.occa.report.data.Values;
import com.crystaldecisions.sdk.occa.report.lib.IStrings;
import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
import com.crystaldecisions.sdk.occa.report.lib.PropertyBagHelper;
import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;
import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;
public String viewRpt()
//1.) Setting Database Infos
IConnectionInfo iConnectionInfoObj=setDatabaseConnectionInfos();
//2.) Setting Report Path
String reportPath=u201DE:
was60
rptFilesLocation
u201D;
reportPath=(reportPath!=null)? reportPath:AppConstants.CONSTANTS.BLANK;
String reportName="report1.rpt";
String reportFullPath = reportPath + rptName;
//3.) Setting Report Source
ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.open(reportPath, 0);
IReportSource reportSource = reportClientDoc.getReportSource();
setReportSource(reportSource);
reportClientDoc.close();
//4.) Setting the Fields Starts
setFieldsCrystal(null);
Fields fields = new Fields();
ParameterField pfield1 = new ParameterField();
Values vals1 = new Values();
ParameterFieldDiscreteValue pfieldDV1 = new ParameterFieldDiscreteValue();
pfield1.setName("@parameter1");
pfieldDV1.setValue(u201Cvalue1u201D);
vals1.add(pfieldDV1);
pfield1.setCurrentValues(vals1);
fields.add(pfield1);
pfield1 = new ParameterField();
vals1 = new Values();
pfieldDV1 = new ParameterFieldDiscreteValue();
pfield1.setName("@parameter2");
pfieldDV1.setValue(u201Cvalue2u201D);
vals1.add(pfieldDV1);
pfield1.setCurrentValues(vals1);
fields.add(pfield1);
setFieldsCrystal(fields);
//Setting the Fields Ends
The sample jsp code to view the report is as follows:
<%@taglib uri="http://www.businessobjects.com/jsf/crystalreportsviewers"
prefix="bocrv"%>
<bocrv:reportPageViewer viewerName="CrystalViewer"
reportSource="#{CrystalReportBeanObject.reportSource}"
displayToolbarRefreshButton="false"
allowDatabaseLogonPrompting="false"
allowParameterPrompting="false"
databaseLogonInfos="#{CrystalReportBeanObject.connectionInfosCrystal}"
parameterFields="#{CrystalReportBeanObject.fieldsCrystal}"
displayGroupTree="false" displayToolbarLogo="false"
displayToolbarToggleTreeButton="false"
enablePageToGrow="false" height="540"
zoomPercentage="100" width="750"
allowDrillDown="false"
displayToolbarPrintButton="true"
printMode="PDF"
></bocrv:reportPageViewer>
Edited by: JayKumarSharma on Mar 23, 2011 12:42 PMThis is how you retrieve all the text fields in the reort:
ReportObjects reportObjects = (ITextObject) oReportClientDocument.getReportDefController().getReportObjectController().getReportObjectsByKind(ReportObjectKind.text);
for(int i=0; i< reportObjects.size();i++)
ITextObject textObject = (ITextObject)reportObjects.get(i);
// use ReportObjectController to modify the text object.
If you want to modify the contents of the text element, you can do it as follows:
TextObject oTextObject = new TextObject();
Paragraphs oParagraphs = new Paragraphs();
Paragraph oParagraph = new Paragraph();
ParagraphElements oParagraphElements = new ParagraphElements();
ParagraphTextElement oParagraphTextElement = new ParagraphTextElement();
oParagraphTextElement.setText("This is the new text field");
oParagraphTextElement.setKind(ParagraphElementKind.text);
oReportClientDocument.getReportDefController().getReportObjectController().modify(textObject, oTextObject);
oReportClientDocument.save(); -
How to find out all the reports in production, ran how many times?
Hi experts,
I like to find out all the reports in production, ran how many time and by which user. Can I use st03n for this? if yes how and where to go?
Thanks in advance.
Sharat.Hi,
You can use the statistics Cube 0BWTCT_C02. To get the Frequency of how many times a report has been executed, drill down the particular report by 0CALDAY and the frequency in 0FREQUENCY Keyfigure.
Make sure the Cube is loaded,
Thanks & Regards,
Namrata -
How to find out all the OKCODEs for a particular screen?
I am working on t-code CL20N and trying to record with t-code SHDB, in the second screen when I press enter it is coming out, but when I run CL20N without SHDB it is going through all the screens perfectly, SHDB is not working for CL20N.
Is there any other way to find out all the OKCODEs for a particular screen/s?Hi,
First look for any push button or menu item which can take you to the second screen instead of hitting enter directly in tcode CL20N . If any such button exist in the TCode, u can use the same button in SHDB also for moving to the second screen.
Thanks,
Rajinikanth G -
How to find out whether the tables in SGA?
it's 11.2.0.3.0
Thanks.IDM99 wrote:
it's 11.2.0.3.0
Thanks.Well, by default entire tables aren't stored in the buffer, just the blocks that were required. They are then aged out. You can view information on segment buffer pool usage here:
http://docs.oracle.com/cd/E11882_01/server.112/e16638/memory.htm#i40226
If you want to keep objects in memory, you can use the KEEP pool. It's generally not needed. -
How can i find out all the different meanings of User ID Paramtrs (USR05)?
Dear Gurus
How can i find out all the different meanings of User ID Parameters (table USR05)?
Thanks
Nuno Natividadehi,
the values are stored in the table tpara and they are used to put the landscape of the system,and to know the log of the system.
FORM DETERMINE_LANDSCAPE .
SELECT SINGLE * FROM USR05
WHERE BNAME = SY-UNAME
AND PARID = 'ZLANDSCAPE'.
IF SY-SUBRC = 0.
IF NOT USR05-PARVA IS INITIAL.
REPLACE
ELSE.
PERFORM DETERMINE_FROM_CENTRAL_SYSTEM.
ENDIF.
ELSE.
PERFORM DETERMINE_FROM_CENTRAL_SYSTEM.
ENDIF.
ENDFORM. " determine_landscape
FORM DETERMINE_LOG_PARAMETER.
SELECT SINGLE * FROM USR05 WHERE BNAME = SY-UNAME
AND PARID = 'ZLOG_USER'
AND PARVA = 'X'.
IF SY-SUBRC = 0.
WITH_LOG = 'X'.
ENDIF.
<REMOVED BY MODERATOR>
venkat.
Edited by: Alvaro Tejada Galindo on Mar 4, 2008 12:47 PM -
How to find accurate number of Rows, and size of all the tables of a Schema
HI,
How to find the accurate number of Rows, and size of all the tables of a Schema ????
Thanks.SELECT t.table_name AS "Table Name",
t.num_rows AS "Rows",
t.avg_row_len AS "Avg Row Len",
Trunc((t.blocks * p.value)/1024) AS "Size KB",
t.last_analyzed AS "Last Analyzed"
FROM dba_tables t,
v$parameter p
WHERE t.owner = Decode(Upper('&1'), 'ALL', t.owner, Upper('&1'))
AND p.name = 'db_block_size'
ORDER by 4 desc nulls last;
## Gather schema stats
begin
dbms_stats.gather_schema_stats(ownname=>'SYSLOG');
end;
## Gather a particular table stats of a schema
begin
DBMS_STATS.gather_table_stats(ownname=>'syslog',tabname=>'logs');
end;
http://www.oradev.com/create_statistics.jsp
Hope this will work.
Regards
Asif Kabir
-- Mark the answer as correct/helpful -
Table Name or Function Module to find out all the Screens & Subscreens for
Hello Experts,
Table Name or Function Module to find out all the Screens & Subscreens for all T-Codes
Helpful Answer will b rewarded
Arif ShaikHi Balaji,
But TSTC only Gives the Program Name , T-Code and Screen but not all the Subscreen details
Any other which U know -
Is there a way to find out all the apps that I've deleted on my iPhone? If so how?
Is there a way to find out all the apps that I have deleted on my iPhone ? If so how?
And all so if I have cleared my history on safari but not in the settings is there a way to retrieve the last sites visited? If so how?
Thanks.What is iOS 5 ?
http://support.apple.com/kb/dl1521
And does my iPhone 4 as that?
Settings>>General>>About>>Version
(Used my iTouch as example)
And if it deos how can I see the apps that I've deleted ?
App Store>>Updates>>Purchased
Scroll through the list of apps that your purchased, and if you remember the apps that you delete, the search will be a lot easier.
If you don't have iOS 5, you can update your iPhone and since you have an iPhone 4, you can only go up to iOS 6.1.3
iOS: How to update your iPhone, iPad, or iPod touch
Hope all this helps.
Message was edited by: keeferaf -
Where can i find out all the standared table name
Dear Friend,
could you please tell me where can i find out all the standard table names,
( for example: tstc for find all the T-codes) .HI Srinivas,
DD02L has the name of all the TABLES in the SYSTEM. It has both SAP and Customer's TABLES.
First of all exclude all Z* and Y* tables from dd02L. Still there are many tables in CUSTOMER NAMSPACE.
So make a program, LOOP at all entries of DD02L and then check the name space of each entry using the function module:-
<b>TRINT_OBJECT_NAMESPACE_INFO</b>.
If the namspace is not EQUAL to 'S', then dont count that entry else add one to the counter.
This would tell you all SAP Standard Tables in the system.
Thanks and regards,
RAVI :).
NOTE: Points keep me alive on SDN . -
I cannot send a text thru iMessage. I followed the directions over and over again but can't make it work. Also how can I find out all the apple ids I may have.
A wet phone is out of warranty. This is considered user damage. Even if you were able to get it to start now, the chances of it working for long are slim. I suggest going to Apple and see about an OOW replacement. One for the iPhone 4 is only $149USD and it would come with a short warranty. It is a refurbished device and you would not be worried about encountering additional problems.
-
How to find out all table names which has a particular data
Hi,
How could i get all the table names from a database(for a schema) which has data 'KST6490' in one of the fileds in the table.There are many tables with this
data. Data type is Varchar2. Thanks.One approach would be to create a procedure which retrieves the name of all tables in the schema using the user_tables view. Then use the user_tab_columns view to get all the column names and types. If the type is varchar2, then dynamically create a sql statement which runs a query on that column using the value which you are looking for. You would need two cursor loops for this approach: one for tables and one for columns. This approach requires good PL/SQL programming skills.
Alternately, many query tools, such as Golden, provide a search capability on query results. Just do a select * from the table and search on the results. This would need to be done table by table and the results would have to fit in the memory available to the tool.
Alternately, you can write table contents to a text file on the a server and then search the text file using operating system tools such as grep. This would require good OS scripting skills. -
How to find out all user exits edited
Hi All,
Would you know how to find out all user exits have been ever edited?
Can we find out those user exit by some tcode or table?
Thank you very much
Best Regards,
Calvin
Edited by: Sam Sum on Mar 2, 2009 5:09 AMHi,
Just try this in your system.
Go to SE38 and give ZX* and press F4.
Have a look at table MODATTR to find the active projects in your system.
Regards
Edited by: Rajvansh Ravi on Mar 2, 2009 5:17 AM -
How to find out all active instances in a syste
How to find out all active instances in a system
Go to your basis team and ask them, as far as i know there is no other way then suggested in the other answer, but that is not a complete picture, And that is as designed, why should one want to be able to find out, the basis consultant will tell you!
Maybe you are looking for
-
Hello all, I am using the following FM for DMS storage of documents. BAPI_DOCUMENT_CREATE2 When i execute the BAPI i get the following error : Error while checking in and storing: D:\DOCUMENTS AND SETTINGS Can anyone help out on the same and tell the
-
The Apps window in my Creative Cloud updater is only showing a spinning blue wheel
I've just updated my app installer to the latest Creative Cloud one but when I open it up, the Apps window only shows a spinning blue wheel, no apps. The other windows (Assets, Community) seem fine.@
-
ITunes 12.01 will not launch
I have updated to Yosemite and iTunes 12.01 on a MacBook Pro. All find except iTunes will not launch. It just flashes and nothing happens. I booted in Safe mode and tried - no good. Also reinstalled iTunes but still nothing. Connected my iPhone and s
-
TDM Importer in Excel 2003 does not appear in the COM Add-In Menu
I have a program that will create a TDMS file with the data, and after execution is complete, I would like to import the data into Excel and manipulate it using a macro. I can import the file manually and run the macro by opening a second file contai
-
1 million row full table scan in less than one minute?
All, a customer has a table which is around 1 million rows. The table size is 300 Mo. The customer wants to calculate regular arithmetic operations, and synthetic data on the whole table. He will use 'group by' statements and 'sort by'. He wants to k