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.
Thanks
Thanks 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.
Similar Messages
-
Newbie ques : How to get the list of all tables in the database
Hi,
I'm very new to Oracle (using Oracle8i currently). I wanted to know if there is a way to get the list of all tables in the database. Like in mySQL you can use the command " show tables" to get the list of all the tables.
Any help will e greatly appreciated. Please "cc" any reply to [email protected] also.
thanks
DevenHi
Select table_name, owner from all_tables;
will give u all the tables in the database.
all_tables, dba_tables, user_tables
all_objects, dba_objects, dba_objects
there are many, more tables. login as system and query the tab and try to describe the tables.
Thanks
Malar -
Query to find list of all tables relating to BP
Hi,
Is there any query which can generate list of all table names relating to BP?
For example tables like BUT000,020,051 etc which are related to BP. I know a list of 14-15 table names but do not know the name of each and every field that is existing in BP.
By writing a query can we get a list of all such table names for all the fields which appear in Field Grouping (which may be Role specfic)Hi Praveen,
Well I am not aware of such query but if you want the CRM data model give me your mail ID i will send it to you in which you will find all the required details.
Best regards,
Vikash. -
Table to get the list of all tables in the database
hi,
please let me knwo the table where i can get the list of all tables in the databasehi,
please let me knwo the table where i can get the list
of all tables in the databaseHi Michael,
Will you EVER start reading some documentation?
I guess it's not far that many regulars won't reply to those kind of questions.
Believe me, reading doesn't hurt (well, at least, most of the times).
Rgds,
Guido -
Need function which delivers a list of all servers/services/bapis/functions
Hey experts - I had a question in the SOA-forum and I was adviced to search for help in here!
I hope someone of you can help me with my problems - here my original Thread from the SOA forum
need a list of all services, processes and servers
Thanks for your help!No cross posting
Read the "Rules of Engagement"
regards
Juan -
Retrieve list of all subject currently logged in?
How can get a list of all subjects that have a session in WL
on the fly?hiii
how can i fetch a list of all the users who are
currently logged on the network...Easy, nobody logs onto the network so this is always nobody.
You may be asking, how do I determine all the users who have logged in to all the PCs on the network.
Write a program which is added to each user's Startup a program which updates the database with their details. If you have network scripts, this can be added to the user' network login batch script. -
Fastest way to update column in all tables of schema
In our schema we have two columns ColA and ColB common in all tables in our schema.
Suppose these columns have values as below in all tables
ColA ColB
A1 B11
A12 B22
ABC DEF
Now we have to update ColA and ColB where we have alphanumeric values in all tables, some tables have few hundred records and some tables have millions of records.
Could you gurus suggest me with a fastest way to acheive this.
What we are thinking is to write a procedure where we can input multiple tables which could be updated simultaneously and make a collection within procedure with following values
ColA ColA_R ColB ColB_R
A1 aa B11 bb
A12 aaa B22 bbb
ABC No Update DEF No Update
So whenever we have value matching A1 update it with value aa if we have value matching B11 update it with value bb and so on.
Your inputs are welcome so that to acheive this in fastest manner.
Thanks,
Tony
Edited by: tony29743 on Nov 9, 2010 9:15 AMI would be tempted to do it something like this:
Create an index organized table for the cola updates (old_val, new_val) with a PK on old_val and another one for the colb Values. This could possibliy be a single table, depending on how many distinct values there were for cola and colb and if you are sure that "But if colA and colB have value A1 then it will be updated with aa".
Then do the updates as an updateable join view something like:
UPDATE (SELECT t1.cola, iot.new_val
from tab1 t1, new_values_iot iot
where t1.cola = iot.old_val)
SET cola = new_valThis would require two rounds of updates, one for cola and one for colb, but they could be parallelized somewhat by distributing the tables to be updated through several pl/sql blocks each updating a different set of tables.
You may be able to do it in a single query like:
UPDATE (SELECT t1.cola, t1.colb, iota.new_val new_vala, iotb.new_val new_valb
from tab1 t1, new_values_iot iota, new_values_iot iotb,
where t1.cola = iota.old_val and
t1.cola = iotb.old_val)
SET cola = new_vala,
colb = new_valbHowever, given that you said there were some values in both cola and colb that did not require updating, that may not work since the join will fail on one of cola or colb if that value is not in the IOT, so you will not get all of the rows updated. If, and it is a big if, either both of cola and colb or neither of cola annd colb need to be updated in a single row, it might work. So, looking at your original examples (ABC and DEF do not require updates but A1 does), if there could be as case where cola = 'A1' and colb = 'DEF' then you will have to do it in two updates per table.
John -
Purchase order list(list of all tables that efect when i entered a po)
is there any script ,to know what all tables will effect when i entered po deatils
and i approve that etc..
if any list is there can any one tell me please.
regards
satish.Hi,
when u go thru AP->Suppliers
create suppliers with all the details.
then query for the same supplier and go to its record history.
U will get vieews.
Go thru those views .so that u will get to know its altering tables.
or else
go thru po_vendors,
po_vendor_sites_all
po_vendor_contacts tales thru trms.
go to its primary tables.
u will get to know other tables which are altering.
--Basava.S -
How to get script of all tables through DBMS_METADATA.GET_DDL
Hi friends
Is there any way thr which i can generate script off all tables at one time...
select dbms_metadata.get_ddl('TABLE','CONSUMER','UPCLMAIN')FROM DUAL;
I ve 78 tables and its too tedious to to one by one and i am working in 10 g...
thanks
sonal....How about
select dbms_metadata.get_ddl('TABLE',table_name,owner)FROM dba_tables where owner='yourschema';
Regards,
PP -
I tryed to log into my id so I can download apps but I had to put my bank details in and even though I was just signing in it said I had to use a diffrent payment option even though it was all right, I need help with what to do
Hi connor00015,
In order to access the iTunes Store, even for free apps, the billing information associated with the account must be up to date and correct. If you are being prompted to correct or update your billing information, you may find the following article helpful:
iTunes Store: Changing your payment information
http://support.apple.com/kb/ht1918
Regards,
- Brenden -
PLEASE HELP ME!!!
Your click function on the trackpad itself would be set in
System Prefs:Trackpad.
As for the manual clicker below, you might wish to clear
anything that's fallen in by using the edge of a sheet of
paper around the border that you can reach. -
Need generic way to convert xml to hashmap table
Hi,
Can anybody please help me out:
I am trying to create a function that would do similar style xml-to-hashmap conversion as below code in perl
sub _HandleXML {
my $xmlin = shift || return;
my $xml = new XML::Simple;
my $data = $xml->XMLin($xmlin, forcearray => 0, keyattr => []);
return $data;
Every call of _HandleXML will return hash table with the outer most xml tag as the key and all blocks in it as array of hashes.
Thanks!Hi tobin,
Importing Images from the hard drive, CD, or DVD
To import a folder with subfolders of images maintaining the same organizational structure (or close to it):
Drag the folder into iPhotos viewing area.
A film roll will be created with each sub folders name. To view the rolls in the Library you need to first go to the menu bar and choose View>by film rolls.
To make each roll into an Album, highlight the tile of the roll
Go to File>new album from selection.
You will now have an Album in the source column with the images from that roll. Do this for each roll if you want them to be an Album. This is your choice.
Next, go to the menu bar and hit File>new folder
Name this new folder with the year or whatever the name was of the Parent folder containing the subfolders that you had dragged into iPhotos viewing area.
Next drag all the Albums into the respective new Parent folder you just made.
Albums- collection of images from one roll or many rolls. The Albums will be listed in your source column when you make them. The albums only contain placeholders for the images that are still in the library. They are not duplicates.
Rolls- rolls are created when you import folder of images. It will be given the name of the folder you are importing.
Rolls are also created from each import from your camera. You are given the option to name the roll at import.
Folder-a folder you create manually using the File>new folder command
Folders can hold Albums, slideshows, books, another folder, etc.
Hope this helps!
You can also drag a folder of images in the source column. The folder will be imported as an album with the same name as the folder.
Lori -
Getting a list of all table and index names
Hi,
I have just create a set of tables and indexs, but I have misspelt on of the table names and am now trying to find out what it is. I am using sql*plus as a command line interface but can only find desc as a way of finding any data on a table. What is the command to list all the tables within a table space?
Cheers
SimonHi,
there are almost always three ways to find things in Oracle's dictionary :
USER_xxx = thing that you own
ALL_xxx = thing that you own and have access to
DBA_xxx = all things in hole database
If you want to find tables/indexes that you own :
SELECT table_name FROM user_tables
WHERE tablespace_name = 'APP_TBS';
SELECT index_name FROM user_indexes
WHERE tablespace_name = 'APP_TBS';
/Uffe -
How to find the list of all tables populated
How to find the list of tables populated in the implentation of a particular company. DD02L contains all the tables SAP having. But i want only which are configured for a particular company.
Also how to find the list of reports used by all users in a particular company. TSTC contains all transactions. But i require only reports used by a particular company.Hi Mohamed
You use Solution Manager to do the comparison for you. There are some nice features that will highlight all your customised coding. Have a look at the SolMan resources on the Support Portal e.g. using SolMan for upgrade comparisons.
Rgards
Carl. -
Derby Embedded get list of all tables
I am writing a small program that uses derby embedded to store schedules for teachers. Each teacher will have their own table and I want to use the teacher name for the table name and allow the teacher to be selected from the combo box. I have an SQL statement i'd to have return all the current tables, but i think i am doing something wrong:
public static String[] getTeacherNames() {
String[] tableNames = null;
String tableFind = "select APP.schemaname || '.' || Schedule.tablename"+
"from sys.systables Schedule, sys.sysschemas APP"+
"where Schedule.schemaid = APP.schemaid"+
"and Schedule.tabletype = 'T'"+
"order by APP.schemaname, Schedule.tablename";
String protocol = "jdbc:derby:";
String dB = "Schedule";
Connection con;
Statement stmt;
try {
con = DriverManager.getConnection(protocol + dB +
";create=true", "app", "app");
stmt = con.createStatement();
ResultSet rs = stmt.executeQuery(tableFind);
ResultSetMetaData rsmd = rs.getMetaData();
int rowCount = 0;
while (rs.next()) {
tableNames[rowCount] = rs.getNString(rowCount);
rowCount++;
stmt.close();
con.close();
} catch(SQLException ex) {
System.err.print("SQLException: ");
System.err.println(ex.getMessage());
return tableNames;
}can anyone help, or have any better ideas? I modified the statement from the one i found on the derby Wiki.like this?
String[] getNamesArray = {"%"};
String[] tableNames[] = null;
String protocol = "jdbc:derby:";
String dB = "Schedule";
Connection con;
Statement stmt;
try {
con = DriverManager.getConnection(protocol + dB +
";create=true", "app", "app");
DatabaseMetaData dbmd = con.getMetaData();
tableNames = dbmd.getTables("%");
con.close();
} catch(SQLException ex) {
System.err.print("SQLException: ");
System.err.println(ex.getMessage());
return tableNames;
}the DatabaseMetaData will only except the names of tables I already know? I've been messing with it for a while and can't seem to get it to be happy with what I am giving it.
Maybe you are looking for
-
Had to restore my computer and now have music on the iPad that I would like to transfer back to the computer. How do I do this? (Operating system is Windows Vista)
-
HAI SD EXPERS KINDLY LET ME KNOW
HERE ARE SOME INT QUESTIONS , KINDLY LET ME KNOW THE ANSWERS 1.In a sales order, if you want to give rs 10000 more than the credit limit to your customer how do you process this scenario 2.Mention some latest tickets L1 solved in ur support project 3
-
How do I delete music off of my iPhone to get more storage space?
I want to delete music off of my iPhone to free up storage space. I want the music completely off and no iCloud download next to the music so I don't use data as well.
-
Kodak photo cd not seen, won't eject
Hi using a Ti 667 with a combo drive. Installed a Kodak picture cd, it didn't show on desktop and won't eject? Any ideas what I can do other than; the eject button, drive utility eject isn't highlighted, there is no emergency eject? Help! Thanks!
-
IPad 2 - first steps???
Searches in Apple Discussions have surfaced many complaints. When my iPad arrives, my plan is to set up as a new device, sync one movie, charge to full battery (assuming that the battery isn't already full), then let the movie play repeatedly until t