How to list "Tabel Name,Tabel Description, Field Name, Field Description...
Dear All,
I'm trying to produce a list , using query , to produce the following list:
Table Name, T.Description, Field Name, F.Description, FieldType, Length
I use DD02L, DD02T and DD03L, DD03T.
Somehow - I dont get the same results as I see in the SE16, or SE11. Especially I mis some descriptions on filed level, and I do see them in the SE11.
Using a query, save effort of exporting the DD for evry table sepratlly.
This is strange.
Your help is greatly Appriciated.
Kind Regards,
Doron Zaccai
Helle Andreas, and all Others,
Thanks very mucht for the input!
The DD03M has the:
Tabel name, Field Name, Field Description, Type, Length, Decimals
Table description is abscent.
I have joind the DD02T, (Tabelname, and language).
And now I have all of them.
Thank you all very much.
I will try the FM mentioned, in the mentioned program. And will report on the result.
Kind Regards,
Doron Zaccai.
Similar Messages
-
How do I change custom field description and name on the project fields PDP
I'm creating a custom PDP for a workflow process and I need to add the folloiwng fields "Project Name" and "Description"
When I try to create Project Name custom field under server settings I get the following message "The custom field name cannot match the name of any intrinsic fields."
So I went to the PDP web part Project fields and I found a field named " Project Name". I added it to the Proejct Fields web part, but it displays as "Name".
How can I change this field that's out of the box? I don't see "Project Name" and "Description" under server settings > Enterprise Custom Fields and Lookup Tables to modify them.
Thank youHi there,
Project Name & description fields are internal fields in project server which you cannot view in Enterprise custom fields in PWA. You will not be able to create with the similar name. There is no way to change these fields as far as I know.
I would suggest to have the new fields name something like Project_Name/ ProjName or Project_Description/ProjDescription .
Hope that helps.Thanks, Amit Khare |EPM Consultant| Blog: http://amitkhare82.blogspot.com http://www.linkedin.com/in/amitkhare82 -
How to dynamically list field names
Hello,
I have a DB Link to a SQL 2000 Server and can connect and retrieve using Heterogenous Servives.
Let say I issued a Select (eg., Select * from tab@remote1), how do I dynamically list each field name from the result?
Thank you.The best way to deal with dynamic column names from a SQL result is to use a cursor describe interface.
A SQL SELECT may not select all the columns from a table. It may join tables. It may add derived and calculated columns to the result.
None of these will be seen when using the data dictionary. Also, using a remote heterogeneous data dictionary? That does not sound like a sensible approach to me.
In PL/SQL, one can create DBMS_SQL cursors. These cursors can be "described" - i.e. the describe interface for a cursor tells you what the contents are, the column names, the data types, the precision, etc.
Using DBMS_SQL allows you to describe any result set from any SELECT statememt. A far superior and accurate method than to go data dictionary hunting to determine just which column could be in a result set. -
How can I find transactions using list of field names
Hi,
I do have some field names . I wanted to know how can I find the list of transactions that uses those fields in SAP?
Regards,
AmanAman,
It will be hard work, take the where-used list from SE11 for program, function groups and etc.
Take the object name and go to SE80 and check in the tree if it has any transaction assigned.
regards,
Alexandre
It -
How to get description from the field name
Hello fellow SAP Fanatics,
I am trying to find an easy way to get the description of a field if I know the technical name. I know I can view them in tables but is there one place where I can just look up the field and get the description?
Thanks.Hello
For all the tables, descriptions and fields you can refer to these tables:
DD02L : ALL SAP TABLE NAMES
DD02T : DESCRIPTION OF TABLE NAMES
DD03L : FIELDS IN A TABLE.
Moreover you can always goto the menu on the selection screen of the table and goto Settings > User Parameters > Key word > Field name / label
Hope this helps -
How to display name of the table and the description and the table type
Hi,
Can you people tell me how to display the name of the table and the description and the table type (View, structure, etc...) used in the program.
I want to display in a list.
Kind Regardsuse this program
TABLES : TSTC, tstct.
TABLES : DD03l, DD02l.
DATA : Program like sy-repid.
DATA : BEGIN OF I_FINAL OCCURS 0,
tabname LIKE dd02l-tabname,
TABCLASS LIKE dd02l-tabCLASS,
TEXT LIKE DD02T-DDTEXT,
END OF I_FINAL.
DATA : BEGIN of ITAB Occurs 0,
name like dd02l-tabname,
END OF ITAB.
DATA : TCD(100) TYPE C.
DATA : var1 LIKE dd02l-tabname.
DATA : DESC LIKE TSTCT-TTEXT.
selection-screen skip.
SELECTION-SCREEN : BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS : r1 RADIOBUTTON GROUP r DEFAULT 'X'.
Parameters : Tcode like sy-tcode.
selection-screen skip.
PARAMETERS : r2 RADIOBUTTON GROUP r.
Parameters : Prog like sy-repid.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE text-001.
select-options : Type for dd02l-tabclass .
SELECTION-SCREEN END OF BLOCK B1 .
at selection-screen.
if r1 = 'X' and Tcode is initial.
message e001(00) with 'Enter Transaction Code' .
elseif r2 = 'X' and Prog is initial.
message e001(00) with 'Enter Program Name' .
endif.
START-OF-SELECTION.
if r1 = 'X'.
Prog = ' '.
select single * from TSTC where tcode = tcode.
if sy-subrc = 0.
program = TSTC-PGMNA.
select single TTEXT from tstct into desc where tcode = tcode and SPRSL = 'E'.
else.
Write :/ 'Invalid Transaction Code'.
exit.
endif.
elseif r2 = 'X'.
Tcode = ' '.
program = Prog.
endif.
CALL FUNCTION 'GET_TABLES'
EXPORTING
PROGNAME = Program
TABLES
TABLES_TAB = itab.
if itab is initial.
skip.
skip.
skip.
skip.
skip.
WRITE :/40 'No Data Found' color 6 INTENSIFIED OFF.
ELSE.
PERFORM : categorize.
endif.
END-OF-SELECTION.
LOOP AT I_FINAL.
WRITE :/4 I_FINAL-tabname COLOR 2 INTENSIFIED OFF NO-GAP HOTSPOT ON, 35 I_FINAL-TABCLASS COLOR 2 INTENSIFIED OFF NO-GAP,
50 I_FINAL-TEXT COLOR 2 INTENSIFIED OFF NO-GAP.
ENDLOOP.
AT LINE-SELECTION.
TCD = SY-LISEL.
var1 = TCD+3(30).
set parameter id 'DTB' FIELD VAR1.
call transaction 'SE11' and skip first screen.
TOP-OF-PAGE.
WRITE :/45 'TABLE DETAILS RELATED TO THE TRANSACTION CODE' COLOR 7 .
WRITE :/2 'DATE : ' COLOR 1, SY-DATUM COLOR 1 INTENSIFIED OFF NO-GAP.
WRITE :/2 'TRANSACTION CODE : ' COLOR 1, Tcode COLOR 1 INTENSIFIED OFF NO-GAP.
WRITE :/2 'TCODE DESCRIPTION : ' COLOR 1, desc COLOR 1 INTENSIFIED OFF NO-GAP.
WRITE :/2 'PROGRAM NAME : ' COLOR 1, PROGRAM COLOR 1 INTENSIFIED OFF NO-GAP.
SKIP 1.
WRITE :/1(140) SY-ULINE.
WRITE :/4 'TABLE NAME' COLOR 5 INTENSIFIED OFF NO-GAP,35 'TABLE TYPE' COLOR 5 INTENSIFIED OFF NO-GAP,
55 'DESCRIPTION' COLOR 5 INTENSIFIED OFF NO-GAP.
WRITE :/1(140) SY-ULINE.
*& Form categorize
text
--> p1 text
<-- p2 text
FORM categorize .
SELECT dd02ltabname dd02ltabCLASS DD02T~DDTEXT
FROM dd02l INNER JOIN DD02T ON dd02ltabname = dd02Ttabname
INTO TABLE I_FINAL
FOR ALL ENTRIES IN itab
WHERE DD02L~TABNAME = ITAB-NAME AND TABCLASS IN TYPE AND DDLANGUAGE = 'E'.
if sy-subrc <> 0.
skip.
skip.
skip.
skip.
skip.
WRITE :/40 'No Data Found' color 6 INTENSIFIED OFF.
endif. -
Hi all,
While I am writing a program for object model listing, I need to get "Short Description" for each fields. I can get Field name, Data Element, Length, Type, Decimal but not Short Description. I thought it is DD03T-DDTEXT. But cannot get the data. Can anyone tell me how can I get the data?
Regards,
Nathan
Will Reward if useful.hi .. here is the program to get the values and text of the domain
report Z_FIND_DOMAIN_FIXED_VALUES.
tables : DD03L . " txw_c_soex .
type-pools: slis.
TYPES : BEGIN OF ty_tables,
FIELDNAME LIKE DD03L-FIELDNAME ,
* include structure DD03L . "txw_c_soex.
END OF ty_tables.
TYPES : tt_xdfies TYPE TABLE OF dfies.
TYPES : tt_tables TYPE TABLE OF ty_tables.
DATA : gt_tables TYPE TABLE OF dd07v ,
gt_dart_tables TYPE tt_tables,
gs_tables LIKE LINE OF gt_tables,
gs_dart_tables LIKE LINE OF gt_dart_tables.
DATA : lt_values TYPE TABLE OF dd07v,
ls_values LIKE LINE OF lt_values ,
lt_values1 TYPE TABLE OF dd07v,
ls_values1 LIKE LINE OF lt_values1.
*ALV data declarations
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid,
gt_events type slis_t_event,
gd_prntparams type slis_print_alv.
*select-options: s_struct for txw_c_soex-src_struct.
select-options: s_FIELD for DD03L-FIELDNAME.
*SELECT src_struct FROM txw_c_soex INTO TABLE gt_dart_tables Where
* src_struct in
*s_struct
select FIELDNAME from DD03L iNTO TABLE gt_dart_tables Where
FIELDNAME in
s_FIELD
SORT gt_dart_tables BY FIELDNAME . "src_struct.
DELETE ADJACENT DUPLICATES FROM gt_dart_tables COMPARING FIELDNAME .
"src_struct.
LOOP AT gt_dart_tables INTO gs_dart_tables.
* PERFORM get_checktable USING gs_dart_tables-FIELDNAME .
CALL FUNCTION 'DD_DOFV_GET'
EXPORTING
GET_STATE = 'M'
LANGU = SY-LANGU
* PRID = 0
WITHTEXT = 'X'
DOMAIN_NAME = gs_dart_tables-fieldname
" ls_xdfies-FIELDNAME
* IMPORTING
* GOT_STATE =
TABLES
DD07V_TAB_A = lt_values
DD07V_TAB_N = lt_values1
* EXCEPTIONS
* ILLEGAL_VALUE = 1
* OP_FAILURE = 2
* OTHERS = 3
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
SORT Lt_values by DOMNAME DDLANGUAGE VALPOS .
loop at lt_values into ls_values .
move-corresponding ls_values to gs_tables .
append gs_tables to gt_tables .
endloop .
CLEAR : lt_values , ls_values , gs_tables .
SORT Lt_values1 by DOMNAME DDLANGUAGE VALPOS .
loop at lt_values1 into ls_values1 .
move-corresponding ls_values1 to gs_tables .
append gs_tables to gt_tables .
endloop .
CLEAR : lt_values1 , ls_values1 , gs_tables .
*endloop .
ENDLOOP.
SORT gt_tables BY DOMNAME DDLANGUAGE VALPOS .
DELETE ADJACENT DUPLICATES FROM gt_tables COMPARING DOMNAME VALPOS
DDLANGUAGE.
PERFORM display_data.
perforM ALV .
FORM display_data.
fieldcatalog-fieldname = 'DOMNAME'.
fieldcatalog-seltext_m = 'Domain name'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 30.
fieldcatalog-key = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'VALPOS'.
fieldcatalog-seltext_m = 'Domain value key'.
fieldcatalog-col_pos = 1.
fieldcatalog-outputlen = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'DDLANGUAGE'.
fieldcatalog-seltext_m = 'Language key'.
fieldcatalog-col_pos = 2.
fieldcatalog-outputlen = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'DOMVALUE_L'.
fieldcatalog-seltext_m = 'Values for domains: Single value/upper
limit'.
fieldcatalog-col_pos = 3.
fieldcatalog-outputlen = 10.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'DOMVALUE_H'.
fieldcatalog-seltext_m = 'Values for domains, upper limit'.
fieldcatalog-col_pos = 4.
fieldcatalog-outputlen = 10.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'DDTEXT'.
fieldcatalog-seltext_m = 'Short text for fixed values'.
fieldcatalog-col_pos = 5.
fieldcatalog-outputlen = 60.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
ENDFORM. " display_data
*& Form ALV
* text
* --> p1 text
* <-- p2 text
FORM ALV.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
* i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
* it_special_groups = gd_tabgroup
it_events = gt_events
is_print = gd_prntparams
i_save = 'X'
* is_variant = z_template
tables
t_outtab = gt_tables
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
ENDFORM. " ALV
reward points if it is usefull ....
Girish -
Hi
In webdynpro application the ALV list display the field name which is in table description i want to put my preferable field name. Do u all have any idea how is it possibleHello,
U could bult the fildcatalog like this:
* Sales Order Number
CLEAR L_FIELDCAT.
L_FIELDCAT-TABNAME = 'G_T_OUTTAB'.
L_FIELDCAT-FIELDNAME = 'VBELN'.
L_FIELDCAT-SELTEXT_M = TEXT-002. " Ur own text
L_FIELDCAT-COL_POS = 1.
L_FIELDCAT-KEY = 'X'.
APPEND L_FIELDCAT TO IT_FIELDCAT.
CLEAR L_FIELDCAT.
If useful reward.
Vasanth -
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 -
How to delete an item from the addItem list after it is entered in a field
I have a form which contains a list of names. My problem is, I would like the form to remove a name after it is entered so that on the next row that name does not appear. For example, I have on the preopen event:
Name.addItem("Andrew")
Name.addItem("Bernie")
Name.addItem("Chris")
Name.addItem("Doug")
and I select 'Bernie", I would like the next row to only have 3 names excluding the one I previously selected. And in the end, it should have no names if all four names have been selected, or should display a message.
Is it possible to do this in LC. either in javascript or Formcalc.
Thanks.I have checked the above example and it works perfectly for static fields. My problem is that the form I am using using employs the addinstance script to add new rows. How do you script for the new rows to not include names that have already been selected.
In the example, I would like for new rows to exclude names that have previously been selected.
Thanks. -
How to fetch the data & display the data if fields got the same name in alv
hi frnds, i need ur help.
how to fetch the data & display the data if fields got the same name in alv grid format.
thanks in advance,
Regards,
mahesh
9321043028Refer the url :
http://abapexpert.blogspot.com/2007/07/sap-list-viewer-alv.html
Go thru the guide for OOPs based ALV.
Use SET_TABLE_FOR_FIRST_DISPLAY to display the table:
CALL METHOD grid->set_table_for_first_display
EXPORTING
I_STRUCTURE_NAME = 'SFLIGHT' Structure data
CHANGING
IT_OUTTAB = gt_sflight. Output table
You can also implement
Full Screen ALV, its quite easy. Just pass the output table to FM REUSE_ALV_GRID_DISPLAY.
For controlling and implementing the FS-ALV we have to concentrate on few of the components as follows :
1. Selection of data.
2. Prepare Layout of display list.
3. Event handling.
4. Export all the prepared data to REUSE_ALV_GRID_DISPLAY.
Regd,
Vishal -
Can I display or export a list of all field names on a PDF
In Designer 7, is there a way to display all field names (text fields and checkboxes)? Or is there any way to obtain a list of all field names used on a form?
In Acrobat 7, all the field names used on the PDF will appear when you select the Text Field Tool. However, this will only happen when the fields were added using the form tools in built into Acrobat. These forms tools are not accessible in Acrobat when the PDF was created using Designer.
For a PDF created with Designer, you can hover over a field in Acrobat to have a ToolTip display the field name. Unfortunately, this can only be done one field at a time.
Thanks in advance for any info.Here is an example of how to get all the form objects' names within a node in the hierrachy. For a more complex form (with subforms), you will need to check to see if the node is a container. If it is, you will to use this code below to iterate that node.
var objNode = xfa.resolveNode("xfa.form.form1.page1")
for (var i = 0; i < objNode.nodes.length; ++i)
app.alert(objNode.nodes.item(i).name);
Here is an example:
http://66.34.186.88/LiveCycleSamples/.3bbb371.pdf -
Which table stores field names and their description?
When I go to se11; I can get information about a table; its field names and field description.
How can I access same information using an ABP Program? I have a third party tool which connects to SAP; it can pull data from any SAP Table or view. I do not know which table or view stores information displayed in SE11.
Thanks a lot.Hi zigzagdna,
The field names and their description are strored in table DD03L and DD03T.
SAP DDIC dictionary informations are generally store in DD* tables. You can search this kinds of DD* tables in SE11 using F4 search help.
With Best Regards
Julia -
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); -
How to change the field name in SUS
HI,
In the section view all PO's, I want to change the field name <b>document number</b> to <b>invoice number</b>.Please do let me know how to go about it.
Thanks in advance ,
ManuHi,
The text ID should be first identified in the BSP (BBP_SUS_UI/DOC_NUMBER?)
Next execute SOTR_EDIT and use the FInd button. Enter the package of the BSP object (BBP_SUS_U?) and select the language as English. Execute the program and you will a complete list of text used in SUS screen. Locate the text ID as above and double click to change based on what you need.
Regards.
Maybe you are looking for
-
Remote not working on apple tv
My Apple TV not responding to remote. I tried to pair but Apple TV is not responding.
-
I'll click on it and the circle will appear like it's about to open, but it doesn't.
-
it is usually one highlighted word that when touched, opens up a small window of related companies or info or websites that I might be interested in. one word "presenter" was highlighted, touched it with my cursor, and I think caught a damaging virus
-
I can't get on line with my primary computer. I am currently using my laptop.. I don't have my printer setup with this computer. I want a wireless contaction ... Please help
-
is it compatible with windows 8