Finding known Field name in R3 tables
Hi,
How can one find the R3 table which holds a field name of which the name is known? In casu, I'm looking for the table which holds 'REMES' value (reorganisation value).
Many thanks
hi,
what's the datasource name ?
get the datasource name that hold it,
then try help.sap.com, click 'search documentation',
option 'netweaver' and type in the datasource, and go, after the result come out, click 'datasource' in right side, and click the datasource name in left side,
if no luck, follow the steps in Roberto's excellent weblog
/people/sap.user72/blog/2005/09/05/sap-bw-and-business-content-datasources-in-pursuit-of-the-origins
hope this helps.
Similar Messages
-
How to find same field name from all tables?
Dear All,
I want to find those tables that contain a field name, say COMPANY_CODE, from all user tables. How can I do that by writing SQL?
Many thanks,
AndrewSELECT table_name
FROM user_tab_columns
WHERE column_name = 'COMPANY_CODE'Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
How to return all field names in a table
How do you write a report to return all field names in a table? I prefer the field names in a column.
Thanks
WayneHi,
In Oracle it is,
Select column_name from user_tab_cols where table_name = 'Table_Name';
Note: Table_Name should be in capital letters
In MS SQL Server it is,
SELECT Column_Name + ', '
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'Table_Name'
Hope this helps!
Thanks
-Azhar -
How to find out the name of a table?
Hi
How can I find out the name of a table which doesn't have a record history?
Regards
RahmanNo direct way to know the tables. What you will find on the ABout this page link are the View Object (similar to record sets), Entity objects, controller and Application module. Generally EO is based on a table or the VO can be based on the query which you can find the corresponding xml file. But a button action might be calling a method in AM or CO which in turn call some wrapper method to interact with database. So nothing straight forward. You will have to analyze the all page related code objects.
They are specific to OA framework and if you are not aware about them, better go through the initial chapters of OAF dev guide.
--Shiv -
How to get the field names of a table
hi all,
i need to get all field names of a table. here i dont need any data. i need only field names.
initially i used this query, select * from tname;
the problem is if table have 1000 records, all records will be in memory.
how to get this one.
regards
pavan.hi all,
thanks a lot. the query is working.
initially i given this query
select column_name from user_tab_columns where table_name='mytable';
but no rows selected.
and i tried with this,
select column_name from user_tab_columns where table_name='MYTABLE';
this is working fine.
thanks
pavan. -
How to retrieve the Field Name of a Table
Hi guys,
I'm trying to retrieve the field name of a table in java, but i don't know how to do it. Could somebody help me?Let say i have a table name Itemmaster, then
i want to retrieve its field and display to dos prompt.
Example :
Item No.
Description
Quantity
It is possible to retrieve the fields?
What could be the possible command in java using packages Java.sql.*?
Thanks in advanced...
Best regards,
DharryThe ResultSet class, which is how query results are returned in JDBC, has methods to get at the metadata for the table queried, including column names:
ResultSet resultSet=statement.executeQuery("select * from table");
resultSetMetadata=resultSet.getMetaData();
resultSetMetadata.getColumnLabel(column+1); -
Change All Field Names in a Table to have a Lowercase First Letter
I have an SQL database with many tables. All of the field names in each table start with an Uppercase letter. I would like to programmatically change all of the field names in each table to start with a lowercase letter. Can this be done?
E.g.: "FieldName" to "fieldname"
Thanks.O.K. Just in case anyone else runs into this, I used Carl's answer to guide me in the right direction. This is my final code that created the commands I needed to run a batch (where TMaster is my schema name and the WHERE statement contains
the datatypes in your tables):
SELECT
'EXEC SP_RENAME ''TMaster.'+TABLE_NAME+'.'+COLUMN_NAME+''',
'''+LOWER(SUBSTRING(COLUMN_NAME,1,1))+SUBSTRING(COLUMN_NAME,2,255)
+''',
''COLUMN'''
FROMINFORMATION_SCHEMA.COLUMNS
WHEREDATA_TYPE='int'. -
Hi,
Can we give the filed names start with '/' character, (like /name)? I saw like these field names in standard table MARA. How we create those fields in Z tables?
Thanks.That are fields in Include structure.
Yes u can create field with / in ur ztable.
first create a structure by selection data type radio button in se11.
in that structure create fields with /.
NOTE: field must have 2 /.
i.e ur field must be /str/struct1.
activate it.
now in ur database table goto edit menu select
include->insert
Give ur structure name .
Message was edited by:
Kalpanashri Rajendran -
Displaying Field name in a table
Hi,
I want to display the field names in a table.
Is it possible to achieve this through coding?
Regards,
Ram.Hi,
Please explain the requirement clearly.
Where you want to display the field names of the table.
Regards,
Umasankar -
How to find the field name of variable system information on SAP B1
Hi All,
I recently wanted to create a simple SQL query to list all ITEM MASTER DATE where the weight is blank. This is so i can get a list of all items with the weight information missing from the system to investigate.
It turns out the weight field within the SALES DATA tab is a system variable. When i pull the OITM table up within the query generator i can not identify where this variable name come up without guessing which can give me the wrong information.
Can someone point me into the direction on how to assisocate variable to a field name within SAP B1. This is also another problem if i wanted to display variable within Crystal report layout.
RegardsHi Nick Dang,
Try This
SELECT T0.[ItemCode], T0.[ItemName], T0.[SalUnitMsr], T0.[SHeight1], T0.[SWidth1], T0.[SLength1], T0.[SVolume], T0.[SWeight1] FROM OITM T0 WHERE T0.[ItemCode] =[%0]
Thanks,
Srujal Patel -
Field names from which table???
Abapers,
I have a question regarding a table used for retrieving the field names based on the message type?? Does anybody has any idea which table is used for this purpose.
Any solution is really appreciated.
Thanks,
NarenYou going to have to give us more than that......please.
Need more input.
Regards,
Rich Heilman -
Retrieve the fields name of a table
HI,
I need to write a loop to get the name of each fields in a table. I nedd something like
for each field.fieldname do something
thanks,
Mandanaselect * from yourtable where 1 = 2
The resulting columnlist will give you all the field names. -
Finding a column name from all tables
i have 85 tables in my user, i forget a column name and its table name. how to find that particular column amongst all tables i have.
hi
You can use User_tab_columns or All_tab_columns
SQL>Select Table_Name,Column_Name From user_tab_columns
where lower(table_name) like '%emp%' or
lower(column_name) like '%dept%'
Khurram Siddiqui
[email protected]
Message was edited by:
pcbyte12 -
Is there a document that will show the filed names in each table and what would be the valid layout for DTW?
Hi John........
Else you can do one thing.
Login to SAP B1 and then go to Tools> Query> Query Generator--> Press Tab on yellow field where cursor is initially focused.
The moment you put tab this will give you the list of All the tables with its Descriptions.
Once you select any of the table this will display all the fields in the database in that table......
hope this will help you......
Regards,
Rahul -
Fetch field names & Description for Table
Hi,
My requirement is if i enter the Table name i have to get all the field names and description .Please tell me how to do.
Thanks,
MohanHi,
TABLES: DFIES,
X030L.
DATA: BEGIN OF INTTAB OCCURS 100.
INCLUDE STRUCTURE DFIES.
DATA: END OF INTTAB.
PARAMETERS: TABLENM TYPE DDOBJNAME DEFAULT 'MSEG',
FIELDNM TYPE DFIES-FIELDNAME DEFAULT 'MENGE'.
call function 'DDIF_FIELDINFO_GET'
exporting
tabname = TABLENM
FIELDNAME = FIELDNM
LANGU = SY-LANGU
* LFIELDNAME = ' '
* ALL_TYPES = ' '
* IMPORTING
* X030L_WA = WATAB
* DDOBJTYPE =
* DFIES_WA =
* LINES_DESCR =
TABLES
DFIES_TAB = INTTAB
* FIXED_VALUES =
EXCEPTIONS
NOT_FOUND = 1
INTERNAL_ERROR = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE:/ 'Field name not found'.
endif.
LOOP AT INTTAB.
WRITE:/ INTTAB-TABNAME, INTTAB-FIELDNAME, INTTAB-FIELDTEXT.
ENDLOOP.
Thanks and regards,
Ramani N
Maybe you are looking for
-
My Mail only shows seven fonts, out of the 176 installed in my iMac. Can anyone tell me what I am doing wrong or is this normal?
-
Automated Solution for Exporting SQL used in Crystal Reports
My company has created over 400 reports that are running on Crystal Reports XI. Due to proposed changes in our database, we occasionally need to review the SQL statements of all 400+ reports to determine if any of them would be impacted by the propos
-
Simply question: how can I change color of validation message ?
After validation user has got for example text: "Wrong data" in black color. How can I change this color on red ?
-
Audio sound distorted since 10.6.3 and Pro Apps 2010-01 - bug iTuneshelper
As of OS X 10.6.3 and Pro Apps Update 2010-01 (FPC 7.0.2) I was encountering in both video sound and music sound tracks odd and somewhat unpredictable audio distortion (wrong pitch and left and right stereo sound running out of sync). This problem se
-
Hello, I'm interested in developing an application that allows users to create and post content directly to an iTunes U site. Is there a way to get a test or temporary site setup for testing content uploads? Thanks. Jim-