Which all table contains a particular field
Hi
Can any one give me the query for finding which all tables in the database contains a particular field.
Like I want to find out all the tables which has fields with field name like '%LOC%'
Thank You
.S
select table_name from dba_tab_columns where column_name like '%LOC%'
Similar Messages
-
HOW 2 FIND WHICH FIELD IS CONTAINED IN WHICH ALL TABLES?
FRIENDS CAN U PLEASE TELL ME THE COMPLETE PROCEDURE FOR HOW 2 FIND THAT FIELD AUFNR IS IN WHICH ALL TABLES....I KNOW WE USE WHEREUSED LIST BUT HOW?
REGARDS
ESSAM ([email protected])Dear Khan,
<b>--> Goto transaction SE16
--> Give table DD03L (click --> table contents)
--> give field name (Ex: AUFNR) & Execute
--> And you will get all the table names.... which contain field AUFNR.</b>
Reward Points for useful Answers.
Regards,
Moqeeth. -
Which R3 table contains the field WRSHB (Amount in FC)?
In InfoSource 0FI_AP_4, the InfoObject 0DEB_CRE_DC is mapped with R3 field WRSHB (Amount in FC). We try to find which R3 table contains this field, but fail to find it. We've tried BKPF, BSEG, and PAYR, not successful. We tried RSO2 and find that no view/table is attached to the datasource 0FI_AP_4, instead the extraction function BWFID_GET_FIAP_ITEM is used for the extraction, but inside this function, still can't find this field WRSHB.
Any idea?
Thankshi AHP,
Thanks for your answer to 0FI_AP_4. Now we've got a question for 0FI_GL_4:
Follow the similar SAP Help link for 0FI_GL_4:
http://help.sap.com/saphelp_nw04/helpdata/en/57/dd153c4eb5d82ce10000000a114084/frameset.htm
The above link shows the Origin Fields in the Extract Structure, however it doesn't contains the field called KNTTP, but it does exist in the datasource of 0FI_GL_4 of our R3 system, why? Our R3 system version is 4.7. SAP Help website should be updated, right? Why SAP Help website doesn't contain the field KNTTP for datasource 0FI_GL_4?
Thanks -
Hi,
I am using Access 2013 and I have the following VBA code,
strSQL = "INSERT INTO Master SELECT * from Master WHERE ID = 1"
DoCmd.RunSQL (strSQL)
when the SQL statement is run, I got this error.
SELECT * cannot be used in an INSERT INTO query when the source or destination table contains a multivalued field
Any suggestion on how to get around this?
Please advice and your help would be greatly appreciated!Rather than modelling the many-to-many relationship type by means of a multi-valued field, do so by the conventional means of modelling the relationship type by a table which resolves it into two one-to-many relationship types. You give no indication
of what is being modelled here, so let's assume a generic model where there is a many-to-many relationship type between Masters and Slaves, for which you'd have the following tables:
Masters
....MasterID (PK)
....Master
Slaves
....SlaveID (PK)
....Slave
and to model the relationship type:
SlaveMastership
....SlaveID (FK)
....MasterID (FK)
The primary key of the last is a composite one of the two foreign keys SlaveID and MasterID.
You appear to be trying to insert duplicates of a subset of rows from the same table. With the above structure, to do this you would firstly have to insert rows into the referenced table Masters for all columns bar the key, which, presuming this to be
an autonumber column, would be assigned new values automatically. To map these new rows to the same rows in Slaves as the original subset you would then need to insert rows into SlaveMastership with the same SlaveID values as those in Slaves referenced
by those rows in Slavemastership which referenced the keys of the original subset of rows from Masters, and the MasterID values of the rows inserted in the first insert operation. This would require joins to be made between the original and the new subsets
of rows in two instances of Masters on other columns which constitute a candidate key of Masters, so that the rows from SlaveMastership can be identified.
You'll find examples of these sort of insert operations in DecomposerDemo.zip in my public databases folder at:
https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
In this little demo file non-normalized data from Excel is decomposed into a set of normalized tables. Unlike your situation this does not involve duplication of rows into the same table, but the methodology for the insertion of rows into a table which
models a many-to-many relationship type is broadly the same.
The fact that you have this requirement to duplicate a subset of rows into the same table, however, does make me wonder about the validity of the underlying logical model. I think it would help us if you could describe in detail just what in real world
terms is being modelled by this table, and the purpose of the insert operation which you are attempting.
Ken Sheridan, Stafford, England -
Which all tables are used in easy cost planning
hello all,
can anybody tell me that which all functions are used in easy cost planning.
if i use transactions cj20 and ckcm then which all tables will be reflacted. if possible plz tell which all the function modules are used....
Thanx,
hetal.......Hi Hetal,
PRPS: master data of the WBS, espeically, field kalnr, which link to ECP
KEKO: BZOBJ = 6 for ECP with project system
CKHS: Header
CKHS: Item
For MECP (ECP mit multiple CO version using Addon), there are other tables relevant: PRECP1, PRECP2,
Kind regards!
Zhenbo -
Set up table contains the enhanced field information?
Hi Experts,
I am enhancing a field in the datasource 2lis_11_vaitm,
Things i did :
1.Enhanced the ext.structure with the required field.
2.Activated the ext.structure.
3.Witten the logic in the CMOD.
4. Deleted the Setup table and refilled.
Now my question is :
1.Did the setup table contains the ENHANCED FIELD with the historical data ?if so where to see that?
I checked in RSA3 the enhanced field is displayed with the records.
The code i have wriiten is WHEN "DATASOURCE " then -> logic from the base table.
Now will the data come from the base table or from the setup table?
Can any one help me in this issue.
Best Regards
JelinaWhy do we need to delete the setup table after doing enchancement with standard Datasource.
Ans :
You neednot refill the setup table just because you enhanced the datasource.
You need to delete and refill if the postings happened after you filled the setup table.
Meaning you will miss the current posting.Unless you have done a init in BI/BW side.
Hope this helps. -
Which all TABLES are afftected when we CANCEL a ROLE change in PCFG
Hi,
When we try to change any ROLE using PCFG transaction,which all Function Modules are called and what all tables are affected.
Also please let me know , while cancelling the changes made on that ROLE which all Function Modules and Tables are affectedHello Avinash,
The Tables that get affected by changes can be traced in ST05.
Go to ST05. Activate Trace.
Perfrom the changes in PFCG, Save the changes.
Now got to ST05, Deactivate the trace and Display the Trace.
You can check all the efected tables and so on in the log.
Genearlly all Role changes are saved in AGR* tables...
Hopefully this info shd help.
br,
Sri
Award points for helpful answers -
Which Trans. table contain Indicator for billing plan in header
Hi All,
I wnat to find out how SAP table storage the following field:
In Sales Document Item with billing plan, the reference to the header billing plan 'check box' in the 'Billing plan' screen.
-> Indicator for billing plan in header (RV60F-KFREL)
Any, Idea?
Thanks,
NeilSorry Neil,
that was nonsense: I confused billing plan with installment plan: In telecom, media, utilities and other businesses with many (small) customers, you can use module contract accounting (in connection with SAP business partner). If people can't pay their bill, the company can agree on paying by installments. For this, contract accounting module uses the installment plan. This will split up the debt into slices due i.e. every month. Table fkk_instpln_head is used for this.
Regards,
Clemens -
Function for search string in all table of a particular schema ? (postgres)
Hi ,
i want to create a function postgresql, that can able to search a string from all tables.
I try as below.... please rectify this
CREATE OR REPLACE FUNCTION search_string(str char(50))
returnS character varying AS
$BODY$
DECLARE
tempCount bigint ;
record_v record;
itemid_v bigint ;
query varchar;
return_v character varying := null;
BEGIN
for record_v in (select table_name ,column_name
from information_schema.columns and data_type in ('character','character varying','text')) loop
query := 'select count(*) from '|| record_v.table_name ||' where ' || record_v.column_name || ' like ''%' || str ||'%''' ;
execute query into tempcount;
if (tempCount >0) then
return 'l';
else
return '2572';
end if;
end loop;
END;
$BODY$ LANGUAGE plpgsql VOLATILE
COST 100;
in output i need all tables in which string exists :
like table_name count_of_string_matchMr. singh wrote:
oracle is the master of all databases - i hope u know
if any body work on oracle .. he can right any query in any database :)Query maybe. but you were asking about functions. ANSI SQL is a pretty good standard for most normal dbs nowadays. But the procedural extensions differ more. Therefor you should go to a postgress forum to ask there. Or upgrade your database to oracle. -
How to find tables contain in particular authorization group.
hi all
By using SE11 , i just enter a table name like "MARA"
then i go for display
then by clicking utilities->assign authorization group
i can get the info. about tablename and which authorization group(MM) the table belongs and its desc.
my question is if the Authorization group is MM, i need to know the list of tables belongs to that particular auth. group.
regards
prasHi Pras,
These are stoed in table TDDAT. you can use se16 for this table and enter MM in CCLASS field hit execute.
Ravi
[My SAP Blog|http://raviinsap.blogspot.com] -
Which SRM table contains "number of remaining renewals"
I am trying to find the table which is containing the "number of remaining renewals" field related to that but I couldnt find it . I going to add that field in another standard datasource. Any help ..
I don't think so SAP stores records count in the different table.
Thanks
Viswa -
Need to update one column of all table in that particular schema
hi all,
i am using db10g.
my task is to update one particular column's value of all the table in that schema.
to acheive the above
do i have to write update statement for each table or is there any way to do it in bulk?
i hope my question make sense.
Thanks..Hi karthick,
I want to know something which is not related to this thread .
How to include formatted post while replying to thread .
I know using will be used format code before posting . But how can we do it for posted message .
I hope you understand my question .
Thanks in advance . -
Which all tables suffice all line item GL data requirements
Please clarify this requirement for Line Item Data from New GL. my client BMW Inc have configured New GL in ECC 6.0 if i pull all the records to BW from FAGLFLEXA (Line Item Table) is that sufficient to meet the <b>all line item GL data</b> or is there any other tables missing that also shall be combined to bring the Line item GL data. Please help me for this if u can check with any of your friends in FICO.
2. I have seen that BSEG AND BKPF are used earlier in old FI versions so what is there now in New GL ECC 6.0 that will suffice for these BSEG AND BKPF or still i have to pull records by using these tables. for GL Line Item Data.
If you can help me to give the short overview of New GL posting process it would be great.
Thanks
Regards
Soniya KapoorHi Soniya,
FAGLFLEXA & FAGLFLEXT would contain all FI line item
http://help.sap.com/saphelp_erp2005vp/helpdata/en/a8/e26840b151181ce10000000a1550b0/content.htm
Pls assign points as way to say thanks -
Hi
We have one DataSource 2LIS_04_P_ARBPL and we want to know all the tables of origin.
Actually the problem is: this datasource is extracting a blank workcenter
Suppose we have one Process Order 100000 for which this DS is giving us 4 records: out of this 4 records, 1 record is having blank workcenter and that's why we want to know how this DS 2LIS_04_P_ARBPL is extracting data from the tables.
I tried to run RSA3 in debug mode but it couldnt help me out much
Also I ran trace ST05 and tried to find out tables involved,,but this method also failed
I searched in help.sap.com but again I ended up with disappointment:
http://help.sap.com/saphelp_nw04/helpdata/en/6c/61117e6c3911d3b6df0000e8359890/content.htm
As its logistics data source so i used LBWE but at last this mehtod also not worked out.
Request you all to help me out on this issue.
Thanks
Alokwell if it was such a simple things then our extractor will give only 1 record as AFKO/AFPO table returns only 1 record for the given Process order but here we are getting 4 records.
u can try in yr system as well. run RSA3 for same DS and pick any Process order . u will definately find more than 1 entry but AFKO/AFPO will give u one entry , especially the header table AFKO -
What Oracle Table contains Partition Key Field Name?
What Oracle table/view maintains the partition key field name?
All_Tab_Partitions does not appear to maintain such information.
When I use Toad -> Schema -> Tables -> Partitions, it lists the partition key field name that the partition is based.
Thank Youall_part_key_columns
or
USER_part_key_columns
Edited by: OrionNet on Dec 5, 2008 3:56 PM
Maybe you are looking for
-
Pavilion dv7 Microphone works, but not when setting up Wima Blackboard Webinar
Can't get microphone to install for Wimba setup for my Blackboard class webinars. Mic works otherwise. Pavilion dv7 user.
-
Conversion of batch file parameter to varchar2
Hello, I currently have a batch file that accepts a parameter: login/password@database. The way i assign it in the batch file is as follows: %1 parameter login/password@database The batch file then calls sqlplus to run a script, called test.sql, it p
-
How to set plain-text for outgoing messages?
I just upgraded from a Pre "minus" to a Pre 2 with WebOS 2.1 . I now have mail recipients complaining that my messages are in HTML. How to I revert to plain-text for sending messages? Post relates to: Pre p100eww (Sprint)
-
i have been using a jailbreak iphone 3gs. recently i have officially unlocked. i have updated the os. but i am unable to activate my phone. it says no sim card installed. cud u help?
-
I've recently lost email capability. The error message says that my gmail account username or password are incorrect, but I know that they are both ok because I can log into my gmail account using these settings directly from safari. I've tried delet