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 Regards

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

Similar Messages

  • How to display name of the employees start with any letter?

    Hi Developer,
    Please guide me in solving the issues, that i need to display names of the employee starting with any letter.
    example:
    if i provide name of the employee starting letter 'A' it should display only those name in the database table with starting letter.
    parameters:  a*
    it should display name with starting letter a.
    example:
    abdi
    akbar
    akash
    akilesh
    thanks,
    ravi.

    Hi Ravinder,
    You can use Ranges for this purpose:
    RANGES: r_name FOR type_name.
    r_name-sign = 'I'.
    r_name-option = 'CP'.
    r_name-low = 'a*'.
    INSERT r_name.
    SELECT name FROM table_name INTO TABLE it_name WHERE name IN r_name.
    Regards.

  • How to display name in the posting rather than number

    Hello All,
    I want my name to be dispayed instead of 403868, what should I do?
    Regards

    on the upper right hand corner, you will see "Forum Settings", click that lin and it will give you the option to show your name instead of that number.

  • How to display name and display name of the role during request

    Hi,
    Is it possibe to display Role Name and Role Display Name on the "Select Roles" page during ROle Request for Others? In the "Roles Available" I can only see "Role Display Name". I was trying to look at "AssignRolesDataSet.xml" but was unable set what I need (for exmaple lookup-query...). How to achieve desired funcionality?
    Best
    mp

    Hi,
    I should implement your same funcionality, but looking for a solution I didn't find any useful suggestion.
    Did you find the solution?
    Thanks in advice
    Daniele

  • How to get the display name of the dropdownlist?

    How can i get the display name of the dropdownlist.
    I want to have value as other data not the same as display name.
    In that case is there any easy way to get the display name of the selection from the dropdownlist.

    I usually just use a hashmap to store the value and label, if I want to retrieve the label again later.
              HashMap bleh = new HashMap();
              bleh.put(dropDownValue, "Drop Down Label"); //Item value (any object), Item Label (String)
              Iterator it = bleh.keySet().iterator();
              while (it.hasNext()) {
                   Object key = it.next();
                   SelectItem selectItem = new SelectItem(key, bleh.get(key));
              //And then later, when you want to retrieve the label
              bleh.get(itemValue); //The item value of the label you wantThe value is easy to get because the selected item(s) from the list will be set to the value(s) the user selected. You should have a getter in your bean for that.
    CowKing
    Message was edited by:
    IamCowKing

  • Hi Everyone,  I am using iPhone5, my question in how to display name and contact number both stored for incoming and outgoing calls? If I have saved five different numbers with a same name, how do I recognise that from which number caller is calling?

    Hi Everyone,  I am using iPhone5, my question in how to display name and contact number both stored for incoming and outgoing calls? If I have saved five different numbers with a same name, how do I recognise that from which number caller is calling?

    I have friends all over Europe, does it matter what number they use to call me? Nope! All incoming calls are free for me.
    The only time you ever have to worry about which number is if you get charged for incoming domestic/international calls.
    You can tag their number (work/home/iphone) and that may show on the CallerID accordingly.
    It should show, John Doe
    underneath,    work/home/mobile
    For example:
    http://shawnblanc.net/images/img-0009-1.png

  • Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?

    Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?
    I am acquiring images and data to a buffer on the edge of the while loop, and am finding that the crashing of the program is unpredictable, but almost always due to a memory saturation when the buffers gets too big.
    I have attached the VI.
    Thanks for the help
    Attachments:
    new_control_and_acquisition_program.vi ‏946 KB

    Take a look at this document that discusses how to monitor IMAQ memory usage:
    http://digital.ni.com/public.nsf/websearch/8C6E405861C60DE786256DB400755957
    Hope this helps -
    Julie

  • How to change the Group Display Name in the UME?

    Hello experts,
    from time to time due to reorganisation our departments group names change.
    So far this was a big deal because it is not possible to change the Display Name of a group created in the Portal´s UME?
    So far a new group with the department name has to be created and all group members have to be connected to the new group again. This is not a convenient way..
    Is there a way to configure the UME to allow to modify the Display Names of Groups?
    Thanks in advance.
    Thomas
    Edited by: Thomas Krynicki on Jan 19, 2009 5:15 PM

    Thank you for the quick answer.
    However my problem is still not solved.
    I am using the portal groups also as permission objects for KM. That´s why I do not want to create a new group because the new one will not appear in the ACLs of the KM Objects.
    For me it is important to modify the Display Name of an existing Group. The GroupID shall not change. The new Display Name should be updated then automatically in the ACLs of KM Objects in question.
    By exporting the group data:
    [group]
    gid=TeamA
    gdesc=All members of Team A
    user=member1, member2
    There is no parameter for changing the Display Name of the group. There is only the Description Parameter.
    So far I didn´t find any solution.
    Any other ideas.
    Thanks in advance.
    Thomas

  • Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisitio​n VI to predict when it is time to cease the acquisitio​n to prevent the program crashing?

    Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?
    I am acquiring images and data to a buffer on the edge of the while loop, and am finding that the crashing of the program is unpredictable, but almost always due to a memory saturation when the buffers gets too big.
    I have attached the VI.
    Thanks for the help
    Attachments:
    new_control_and_acquisition_program.vi ‏946 KB

    got these vi's off ni site a while ago - see if they help
    Attachments:
    Memory_Monitor.zip ‏132 KB

  • How to change display name of the attachment item attribute.

    Hello Experts
    I have a requirement to send a notification with attachment but attachment name should be attachment name,
    Is there any way to change the display name of the Attachment
    Please advise;
    Thanks
    Rajesh.

    Azmathulla,
    It is not possible to change the name of the server, but you can add a label to it (see attached screenshot).  And yes, it can be done during production hours, this doesn't affect the production data.
    Please let me know if this answers your question.

  • How to Display multiple records in Table in VC without using BAPI.

    Hi All,
    I am working on Visual composer (NW2004s SP10). I am trying to display Poitems from BAPI_PO_GETDETAIL. I am creating my front end using VC. I have created one form and one Table where I want to display POItems. I am writing my logic of retrieving data from BAPI in CAF.I am connecting them in Guided procedures.When I run my process in Guided Procedures I am getting single row displayed in table. Can Anyone help me how to display multiple rows in table.
    Regards,
    Sheetal

    Hi Sheetal,
    if the BAPI returns a table, then you get multiple rows. From which system is the BAPI, so that I can check the BAPI to give you further information.
    Best Regards,
    marcel

  • How to put name in the application toolbar

    how to put name on the button in the application tool bar while it is created with selection screen

    I've never seen this done this way.  Learn something new everyday.  Anyway, here is a sample program that will show you what you need to do to add text to your function button,  this also adds an icon.
    report zrich_0002.
    Tables: sscrfields.
    selection-screen function key 1.
    select-options: s_datum for sy-datum.
    INITIALIZATION.
      MOVE '@49@ Export'  TO SSCRFIELDS-FUNCTXT_01. "ICON_EXPORT
    If this has solved your problem, please award points accordingly and mark this post as solved.  Thanks.
    Regards,
    Rich Heilman

  • Dynamic display name of the sender

    I have requirement like below:
    After creating and executing any Agent/iBOt in OBIEE 11g, the Display Name of the Sender in the From address of email delivered to recipients is showing as "Administrator".
    The user who is authenticated and authorized into the OBIEE also created an agent, he is asking that email should show his name in the From Address when it is delivered to the recipients.
    I know why this is happening, I have provided the Display Name of Sender as "Administrator" while configuring the Agents at the Enterprise Manager Level.
    What I am currently looking is, if there is any alternate solution to Dynamically display the name of the user who creates the Agent in the From address of the email when it is delivered to the recipients.
    Thanks in advance
    -Bharath

    Any body there with the answers !!

  • HT5557 hello...my questions is related to objective C...Is it possible to display name of the person who is calling me whose number is saved in my local database but not in iphone contacts ?.

    hello...my questions is related to objective C..
    Is it possible to display name of the person who is calling me whose number is saved in my local database but not in iphone contacts ?.

    ashish35,
    No one from Apple here - we're just users like you. All I can tell you is that electronic fail and with MacBook Pros (and most notebooks) the components are so integrated as to make a repair to the logic board practically impossible, hence the high prices charged for repairs.
    Only you can decide if you want to have your computer repaired or put the money towards the purchase of a new computer. If you do decide to purchase a new unit I would suggest that you also purchase the AppleCare Protection Plan which increases your warranty from one year to three years.
    Sorry and good luck,
    Clinton

  • IP phone display name of the called party with grabage

    Hi,
    I am running CME with 12.4.14(t) ios. The problem which i am having is that when anyone dial any extension, the name is displayed of the called extension & some garbage charater are shown

    Hi,
    CSCsj18014 is:
    Caller ID string received with extra characters
    Symptoms: A caller ID may be received with extra characters.
    Conditions: This symptom is observed when caller ID is enabled on both
    routers and when the station ID and station name are configured on the FXS
    side.
    Workaround: There is no workaround.
    The reference of FXS ports makes be believe that CSCsj18014 is not the applicable bug. However, in the same results page, we see another bug matching better a problem of garbage w/o FXS ports:
    Garbage characters in called name displayed on calling phone
    Symptom: Garbage characters in called name displayed on calling phone Conditions: When placing a call from one phone to another phone on CME using 12.4(11)T3, the displayed name on the calling phone gets some unidentified characters at the end of the displayed name after a few seconds have passed. The problem was NOT seen in 12.4(11)T2
    Now, the bug toolkit does not give the number for this "related bug" and I was not able to localize it.

Maybe you are looking for