How to find Field Name and Table Name
Hi All,
I got some output values from the legacy system with me but need to know whats the actual field name and table name to which i need to transfer these values. How can i do it, since which theres is not field name or despcription given for the data.
Is there any way i can do it.
Points will be rewarded for all useful answers.
Regards
AB
Hi All,
I got some output values from the legacy system with me but need to know whats the actual field name and table name to which i need to transfer these values. How can i do it, since which theres is not field name or despcription given for the data.
Is there any way i can do it.
Points will be rewarded for all useful answers.
Regards
AB
Hi Abuser,
now u have legacy data. now u want to do upload this data from legacy to r/3 by using one sap transaction. yes ok na..
first of all u want to know the data is relevant to the which transaction...
without knowing the transaction u cant trasfer the data..
then open transaction put cursor on i/p field and click on f1
and find out the field name & table..
this is one method to find the field name and table name.
Similar Messages
-
How to find the column name and table name with a value
Hi All
How to find the column name and table name with "Value".
For Example i have value named "Srikkanth" This value will be stored in one table and in one column i we dont know the table how to find the table name and column name
Any help is highly appricatable
Thanks & Regards
Srikkanth.M2 solutions by Michaels (the latter is 11g upwards only)...
michaels> var val varchar2(5)
michaels> exec :val := 'as'
PL/SQL procedure successfully completed.
michaels> select distinct substr (:val, 1, 11) "Searchword",
substr (table_name, 1, 14) "Table",
substr (t.column_value.getstringval (), 1, 50) "Column/Value"
from cols,
table
(xmlsequence
(dbms_xmlgen.getxmltype ('select ' || column_name
|| ' from ' || table_name
|| ' where upper('
|| column_name
|| ') like upper(''%' || :val
|| '%'')'
).extract ('ROWSET/ROW/*')
) t
-- where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
order by "Table"or
SQL> select table_name,
column_name,
:search_string search_string,
result
from cols,
xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
columns result varchar2(10) path '.'
where table_name in ('EMP', 'DEPT')
TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
DEPT DNAME ES RESEARCH
DEPT DNAME ES SALES
EMP ENAME ES JONES
EMP ENAME ES JAMES
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES PRESIDENT
EMP JOB ES SALESMAN
9 rows selected. -
Hi All,
I got some output values from the legacy system with me but need to know whats the actual field name and table name to which i need to transfer these values. How can i do it, since which theres is not field name or despcription given for the data.
Is there any way i can do it.
Points will be rewarded for all useful answers.
Regards
ABif you know the transaction code you use to post the uploaded data in SAP, you just need to do BDC recording in using transation SM35. Record the whole process and create a program from the recording... and you wont even need to know the tables and field names-- almost everything will be done for you....
All you need to do is replace record data with upload data.
You can also try to look for a standard Function Module / BAPI which can do the processing for you and provide it with a table containing the upload data ...
Reward points if useful -
Delivery note field name and table name in MIGO
hi experts,
i want to fetch delivery note for my material document in MIGO.
Also based on MIGO delivery note NUMBER , i need to fetch MIRO document number i.e mir4 dcoument number.
kindly provide field name and table names for delivery note .
thnaks &r egards,
raghulhi karthik,
Thanks for your quick reply.
Actually i developed a zreport which consists of fields
1. vendor
2. refrence
3. po
4. material
5. material document
6. qty
7. amount
8. movement type
9. plant
These data i fetched from MB51 by using submit logic.
All above fields are in one internal table.
Now Based on MB51 reference number , i want to fetch
1. MIR4 number
2. delivery note
IN MIR4 tcode.
Refrence number from MB51 and delivery note in MIR4 document are same .
kindly give me suggestions how to get delivery note and MIR4 number ( inv number) in MIR4 TCODE
thanks & regards,
Raghul -
Table names to find Program names and Table names
Hi All,
I want to find Program names and Tables names where Transaction codes are not been created.
If TCodes are created I can find from TSTC.
But programs and tables which does not have tcodes.
How can I find them?Hi Praveen Kumar
You know the program name go to se38 and find out if u know table name go to se11 and find out .if you want to see both where there are used in which program go to se80 it would be easy.
How to trace in se80 . select programe and down give programe name you will gte it. -
How to get the column name and table name with value
Hi All
I have one difficult requirement
I have some column values and they have given some alias column names but i need to find the correct column name and table name from the database.
For example value is "SRI" and i dont know the table and exact column name so is there any possibilities to find the column name and table name for the given value
Thanks & Regards
Srikkanth.MSearching all the database for a word...
Courtesy of michaels...
michaels> var val varchar2(5)
michaels> exec :val := 'as'
PL/SQL procedure successfully completed.
michaels> select distinct substr (:val, 1, 11) "Searchword",
substr (table_name, 1, 14) "Table",
substr (t.column_value.getstringval (), 1, 50) "Column/Value"
from cols,
table
(xmlsequence
(dbms_xmlgen.getxmltype ('select ' || column_name
|| ' from ' || table_name
|| ' where upper('
|| column_name
|| ') like upper(''%' || :val
|| '%'')'
).extract ('ROWSET/ROW/*')
) t
-- where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
order by "Table"or
11g upwards
SQL> select table_name,
column_name,
:search_string search_string,
result
from (select column_name,
table_name,
'ora:view("' || table_name || '")/ROW/' || column_name || '[ora:contains(text(),"%' || :search_string || '%") > 0]' str
from cols
where table_name in ('EMP', 'DEPT')),
xmltable (str columns result varchar2(10) path '.')
TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
DEPT DNAME es RESEARCH
EMP ENAME es JAMES
EMP JOB es SALESMAN
EMP JOB es SALESMAN
4 rows selected. -
Hi,
I am sorry about that.I missed some text.
Client wants to enhance a report.Please help me with tehnical names and table names for the following
Infotype Field Names
1515 Date of Tasks
1 Job Key Code
1 Position code
442 Regular Payments
442 Payment Model
1005 Paygrade Level
1005 Paygrade Level
1005 Reference Salary
1051 Salary Survey
1051 Job from Survey
15 Wage Type
15 Amount
6 Address Record Type
6 House Number and Street
6 Address line 2
6 City
6 Country Key
6 Zip/Postal Code
6 State
6 Country
Thanks in advance,
Usha
Edited by: usha usha on Oct 16, 2008 11:31 AMHi,
I have done that but sturcture names are there.I want data from tables instead of structure names.Below are details.I just want to check whether they are correct or not
1515 TERMN Date of Tasks HRP1515
1 STELL Job Key Code PA0001
1 PLANS Position code PA0001
442 REGPD Regular Payments PA0442
442 PAYMO Payment Model PA0442
1005 SLMIN Paygrade Level T710
1005 SLMAX Paygrade Level T710
1005 SLREF Reference Salary T710A
1051 SCODE Salary Survey T710S
1051 JCODE Job from Survey HRP1051
15 LGART Wage Type PA0015
15 BETRG Amount PA0015
6 ANSSA Address Record Type PA0006
6 STRAS House Number and Street PA0006
6 LOCAT Address line 2 PA0006
6 ORT01 City PA0006
6 LAND1 Country Key PA0006
6 PSTLZ Zip/Postal Code PA0006
6 BEZEI State T005U
6 LANDX Country T005
Thanks
Usha -
How to find the columns and tables used in a stored procedure?
Hi,
Can someone suggest how to find the columns and tables used within a stored procedure?
Thanks
VBKFor example:
SQL> create or replace
2 procedure p1
3 is
4 cnt number;
5 begin
6 select count(*) into cnt from emp;
7 end;
8 /
Procedure created.
SQL> select referenced_owner,
2 referenced_name
3 from dba_dependencies
4 where owner = 'SCOTT'
5 and name = 'P1'
6 and referenced_type = 'TABLE'
7 /
REFERENCED_OWNER REFERENCED_NAME
SCOTT EMP
SQL> SY. -
How to identify field names and table names as per the client requirement
Dear All,
i am preparing reports for my client of their own requirement, but in sap how can i find the field name, table names like for eg: doc.no, issue,revision no, revision date, date of issue,date of completion, job card no,identificatin no, part no , accept,inspected,testedby, remarks, issue, process.
so please tell what is the path to find the field names and table naeHi,
You can select the field which field name and table you want to know, just press F1 button, one more window will open. There you need to select the technical information icon, then you will get the required field name and its table.
Regards,
V. Suresh -
How-To Find the R/3 Table Name for a BW Data Source
Hi there,
Please advice how can I find the respective table name in R/3 for a particular BW DataSource ?
P/S : I would like a technical how-to instead of referring the table names at HELP.SAP.COM
For instance, for my Standard Business Content Info Cube 0CCA_C03(CO-OM-CCA: Statistical Key Figures) which extracts from BW Data Source: 0CO_OM_CCA_4
My question is, how can I find out which specific tables in SAP R/3 is this Data Source pulling the data from ?Hi Dinesh,
Data Source: 0CO_OM_CCA_4
1) In my R/3, I ran SE16 : Table -> ROOSOURCE
2) OLTPSOURCE -> 0CO_OM_CCA_4
3) EXMETHOD = F1
(Hence, I assume the Extraction Method is a Function Module)
4) So, Function Module = BWOM_RS_GET_CTRSTA
5) Run SE37 in R/3
How do I find out the specific tables in this Function Module ?
Would you please list them for me, so I can further refer to the individual tables ? -
How to get the column name and table name from xml file
I have one XML file, I generated xsd file from that xml file but the problem is i dont know table name and column name. So my question is how can I retrieve the data from that xml file?
Here's an example using binary XML storage (instead of Object-Relational storage as described in the article).
begin
dbms_xmlschema.registerSchema(
schemaURL => 'my_schema.xsd'
, schemaDoc => xmltype(bfilename('TEST_DIR','my_schema.xsd'), nls_charset_id('AL32UTF8'))
, local => true
, genTypes => false
, genTables => true
, enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_CONTENTS
, options => dbms_xmlschema.REGISTER_BINARYXML
end;
genTables => true : means that a default schema-based XMLType table will be created during registration.
enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_CONTENTS : indicates that a repository resource conforming to the schema will be automatically stored in the default table.
If the schema is not annotated, the name of the default table is system-generated but derived from the root element name :
SQL> select table_name
2 from user_xml_tables
3 where xmlschema = 'my_schema.xsd'
4 and element_name = 'employee';
TABLE_NAME
employee1121_TAB
(warning : the name is case-sensitive)
To annotate the schema and control the naming, modify the content to :
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb">
<xs:element name="employee" xdb:defaultTable="EMPLOYEE_XML">
<xs:complexType>
Next step : create a resource, or just directly insert an XML document into the table.
Example of creating a resource :
declare
res boolean;
doc xmltype := xmltype(
'<employee>
<details>
<emp_id>1</emp_id>
<emp_name>SMITH</emp_name>
<emp_age>40</emp_age>
<emp_dept>10</emp_dept>
</details>
</employee>'
begin
res := dbms_xdb.CreateResource(
abspath => '/public/test.xml'
, data => doc
, schemaurl => 'my_schema.xsd'
, elem => 'employee'
end;
The resource has to be schema-based so that the default storage mechanism is triggered.
It could also be achieved if the document possesses an xsi:noNamespaceSchemaLocation attribute :
SQL> declare
2
3 res boolean;
4 doc xmltype := xmltype(
5 '<employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xsi:noNamespaceSchemaLocation="my_schema.xsd">
7 <details>
8 <emp_id>1</emp_id>
9 <emp_name>SMITH</emp_name>
10 <emp_age>40</emp_age>
11 <emp_dept>10</emp_dept>
12 </details>
13 </employee>'
14 );
15
16 begin
17 res := dbms_xdb.CreateResource(
18 abspath => '/public/test.xml'
19 , data => doc
20 );
21 end;
22 /
PL/SQL procedure successfully completed
SQL> set long 5000
SQL> select * from "employee1121_TAB";
SYS_NC_ROWINFO$
<employee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceS
<details>
<emp_id>1</emp_id>
<emp_name>SMITH</emp_name>
<emp_age>40</emp_age>
<emp_dept>10</emp_dept>
</details>
</employee>
Then use XMLTABLE to shred the XML into relational format :
SQL> select x.*
2 from "employee1121_TAB" t
3 , xmltable('/employee/details'
4 passing t.object_value
5 columns emp_id integer path 'emp_id'
6 , emp_name varchar2(30) path 'emp_name'
7 ) x
8 ;
EMP_ID EMP_NAME
1 SMITH -
What program name and table name?
Assuming I am just a SAP user and not an ABAP programmer, how would I know the name of the program and the table/s being used by the report (like an ALV report) which I have on my screen.
Thanks.Keep cursor on any filed and press F1 after that u need to press 'Technical Settings' in that window u can get Field name, Table name and Program name as well.
-
Maximum length allowed for column name, index name and table name?
Hi,
I want to know what is the maximum length allowed for coulmn name, table name and index name in MaxDB ?
Regards
RajHi Raja,
simply check the catalog:
sqlcli bwt=> \dc domain.columns
Table "DOMAIN.COLUMNS"
| Column Name | Type | Length | Nullable | KEYPOS |
| ---------------- | ------------ | ------ | -------- | ------ |
| SCHEMANAME | CHAR UNICODE | 32 | YES | |
| OWNER | CHAR UNICODE | 32 | YES | |
| TABLENAME | CHAR UNICODE | 32 | YES | |
| COLUMNNAME | CHAR UNICODE | 32 | YES | |
and
sqlcli bwt=> \dc domain.indexes
Table "DOMAIN.INDEXES"
| Column Name | Type | Length | Nullable | KEYPOS |
| ------------------ | ------------ | ------ | -------- | ------ |
| SCHEMANAME | CHAR UNICODE | 32 | YES | |
| OWNER | CHAR UNICODE | 32 | YES | |
| TABLENAME | CHAR UNICODE | 32 | YES | |
| INDEXNAME | CHAR UNICODE | 32 | YES | |
regards,
Lars -
SYNONYM name, VIEW name and TABLE name
Can I have SYNONYM name and VIEW name same as TABLE name within same schema?
...VivekNo, Tables, views and private synonyms share all the same namespace. Indexes and constraints share another namespace. This means that it is possible to have the same name for an index and a table.
Non-schema object (like public synonyms, user-role...) share another namespace. -
Hi Experts,
What r the table names and field names for
FLSA Description
Stock Option Eligible
Career Level
Full time/Part time> Full time/Part time--> T503T-PSERK
~Suresh
Maybe you are looking for
-
PO document type for automatic PO is transportation module
Hi, I am generting automatic POs through transportation module. I am able to assign plant, P.org and P. group through transportation planning point for automatic PO but it is always creating PO of NB type. Is there any configuration where I can chang
-
Dynamic program on selection screen
hi friends i want to add one insert button on selection screen and when someone click that insert button a new parameter field should gets add on the screen.
-
Adding a field to a table control of a standard screen
Hi, I need to add a field to a table control of a standard screen (Transaction CAT2). Could anybody please tell me how i could go about doing this? Also, what customization would be required to display the field because there are way too many fields
-
Can't get motion to open on Macbook Pro
Sorry guys, I haven't seen all discussions, but I just can't get motion (and live type) to launch on my new Macbook Pro. Final cut does work (as does DVD SP, Soundtrack Pro, compressor). Tried everything, New installs, new OS 10.4.10, everything. Cra
-
hi, i give support a database (10g) in WEB environment (ASP + IIS). now the business require a kind of "multi language". the development team suggested me execute "ALTER SESSION SET nls_language" statement to each page and use in each query (SELECT c