Field Name- Short Description

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

Similar Messages

  • Table Field Short Descriptions

    If you go into the Repository Information System (SE83), then drill down to ABAP Dictionary->Fields->Table Fields, you are allowed to enter a table name to display its fields and short descriptions.  I need to know what table the short descriptions are stored.  I assumed it was DD03T, but I'm not able to locate most of my field descriptions for the MM module.  Can anyone help?
    Thanks!

    Sheshu... The DD03M seems to be missing some positional data even though its viewable in SAP TCode ZSE16R.
    Check this out as an example:
    Look at table CSKS fields by using ZSE16R, then go to the choose fields option in the Settings>List Format menus.  Then compare that to the data that is in DD03M. 
    Examples of missing fields form DD03M for table CSKS:
    MANDT
    PKZKP
    VERAK
    WAERS
    Can you tell me why this data isn't present in the DD03M table?
    Thanks

  • 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,
    Mohan

    Hi,
    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

  • 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.

  • Urgent:short description display

    Hi Experts,
        Basically my tool is developed to detect the syntax, warnings,upgrade and unicode errors of other programs.
    At output i'm creating a field as short description in which i want to display each program short description which we declare while creating a program.
    so i want for each and every program means if i provide at selection screen one program or multiple programs at output for every program it as to display its short description also.
    i hope u understood what i meant to say. If u don't please let me know.
    regards,
    aadi.

    hi,
    just create a report by selecting data from that table using condition name and sprsl.
    now in output display those fields.
    check this code.
    tables: trdirt.
    data:itab type standard table of trdirt with header line.
    select-options: s_name for trdirt-name.
    select * from trdirt into corresponding fields of table itab
    where name in s_name.
    loop at itab.
    write: /10 itab-name,itab-text.
    endloop.

  • Finding field name

    Hi friends,
    I have to add two fields in a customer based report , i know only the description of field name 'Customer comments' and 'contact notes'.
    in which table i have to search for getting SAP database field. i have searched in customer master data but  unable to get the data.
    could any one help on this please.

    Hi Kumar,
          Here is the other method to get the field name with description.
          Go to se11 &#61664; select the Data type radio button &#61664; place your cursor in the text box and press F4 &#61664; choose search for data elements &#61664; enter your description short description box press enter &#61664; then double click on the data element &#61664; then click on where used list.
            Then you will get in which table you are using the data element and field names.
    Regards,
    Ramakrishna kotha.

  • Creating field name programmatically

    HI,
    I am trying to create a Note field programmatically. I have used the below code:
    string fieldtestComments = list.Fields.Add("InserttesterAdjustersCommentsHere", SPFieldType.Note, false);
    list.Fields[fieldtestComments].Update();
    However, the field name is only taking till "InserttesterAdjustersCommentsHer". Only 32 characters are getting taken. However, I am able to create the same column from UI as "InserttesterAdjustersCommentsHere".
    How to fix this?
    Thanks

    Hi,    
    There will be a length limit in field internal name convention which is 32, even from UI, the limit is still there.
    When we create a column from UI, what we will input in the “Column name” text box is the display name of this field, its internal name will be truncated automatically
    if there are more than 32 characters.
    To find the internal name a field, you can go to “List Settings” page, in the “Columns” group, click a column name and redirect to
    the “Edit Column” page, there, you will find the internal name of a field at the end of the URL in the address bar like “xxx$Field=internal name here”.
    So it is better to set up a field name short and meaningful.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Table for description of field name.

    Hi,
    Want to know is there any single table which stores all the Technical field names used in SAP Vs Description of these fields...?
    Like WERKS = PLANT.
    This doubt has come because there is table "TSTC" for" T. codes". Similarly, there may be table for field description as well, is my opinion.
    Thanks & Regards,
    Siva

    Hi
    From the field you need to indentify the domain in se11, then you can goto se16, table name is DD01T
    DOMNAME = domain name
    DDLANGUAGE = language
    you can Identify the text
    For table short texts you can refer table - DD02T
    Thanks !
    E.Avudaiappan

  • I want to know the table name and field name of this description

    i want to know the table name and field names of this description
    supplieriddomain

    Hi SV,
    Try this:
    1) Go to SE15 (Repository info system)
    2) Expand ABAP Dictionary
    3) Expand Fields
    4) Click on Table Fields
    5) Enter the field name you want to search in field name or use wild cards with keywords in short decription field (like supplier ) and Execute.
    OR
    If it's a screen field, do a F1 on the field and click on Technical information on the help window popped up from Menu..this will tell you the field name along with structure or table name.
    Hope this helps you.
    Regards,
    Vivek

  • FM to get short description of the fields in standard table.

    Hello all,
    How to get the short description of the corresponding field name in the standard table using the field name and table name??
    Thanks for your understanding..
    Kindly help me..anyone..please...

    Use view DD03VT.
    Use a select query to fetch the required description of the field from view DD03VT passing fields TABNAME, FIELDNAME, DDLANGUAGE in WHERE condition
    Using this you can get any text ShortFieldLabel, Medium Fld Labl, Long Fld Label of a field

  • Retrieve short description from the table field

    Hi all.
    I got this system table called TBTCO. Inside the table, there is this field JOBCOUNT. How can i retrieve the short description from the table for this particular field? Any fm can be use?
    thks

    Hi
    u can retrive the short text u want by writing simple query from the table DD03T:DD: Texts for fields (language dependent)  there u can give table name fieldname and language then u can get the short text u want
    plzz reward if i am usefull to u in any way..
    for any further quiries u can contact me on [email protected]

  • 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

  • Which table stored  description for field name

    hi,
    for example,
    field name is  LIFNR , description (vendor number),
    which table stored this description (vendor number)  for that field name(LIFNR) ?

    1. From table DD03L, give your tablename and get all of its field names and corresponding data element names. 
    2. From table DD03T, get the description of each data element you have got in step 1. 
    3. Then Use Function Module DDIF_FIELDINFO_GET 
    DD02L : ALL SAP TABLE NAMES
    DD02T : DESCRIPTION OF TABLE NAMES
    DD03L : FIELDS IN A TABLE.
    Check the below link for more information.
    http://www.sap-img.com/abap/how-to-get-the-field-descriptions-of-a-table.htm
    Thanks,
    Balaji

  • Where is the table-field short description store in ?

    Hi all ,
            Has someone can tell me where can i find the field short description in the database ?
            Or maybe this informations are only stored in the kernel files ?
            Any suggestion are welcome .
    Best Regrards,
    Carlos

    Hey Lars,
    Ah - Mr. Döhr again
    If I'm already recognized here I should try to stop posting...
    It's true: the F1 just display the structure.
    Actually I got the info this way:
    smile
    Just wanted to get that right because just today a collegue asked me the same thing and "why can't one display structures...?"
    Markus

  • 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

Maybe you are looking for

  • I can not use my cursor on pages...it's gone how do I get it back?

    Hey, can anyone help me?  We just purchased this wonderful machine.  We've ALWAYS had a pc which makes this new adventure frustrating and exciting.  I decided to explore my pages documents and I experiemented and ended up losing my cursor.  Does anyo

  • Vendor stock in Warehouse

    Hello Gurus, Is there any transaction/table to find out the vendor who has supplied unrestricted stock(no special stock) present in a warehouse? Thanks in advance.

  • ITS WEBGUI in ECC6.0

    Hi, we are testing the new release. Did someone have a short discription on how to activate the ITS only for use of WEBGUI. Thanks Thomas

  • Running hot, fan comes on every few minutes

    I have recently had my powerbook G4 in for repairs to the LCD 5 times in the past few months. Now, it has started running hotter than usual and the fan comes on every few minutes while I am working. Any ideas about what might be going on would be app

  • Registering for Apple Care Problem

    I tried to register for the applecare protection plan. when i got to the 2nd step, "Agreement & Shipping Information", there's a drop down box for "Select Agreement Type". but the drop down box was blank. so it wouldn't let me me continue and kept as