FM to get table names for a given Apllication Component.

Hai Friends,
I have to create a function module which functions exactly as the INFORMATION SYSTEM button in se16 table help.
i have written something like this but this is not giving exact results as INFORMATION SYSTEM IN SE16.
for ex.  for componet sd-bil it gives 376 records where as in se16 you get only  30 to 40 table...
So pls help me with the tables and logic...
SELECT
          B~DEVCLASS
          INTO CORRESPONDING FIELDS OF TABLE IT_TDEVC
          FROM DF14L AS A
          INNER JOIN TDEVC AS B
          ON A~FCTR_ID = B~COMPONENT
          WHERE A~PS_POSID = COMPONENT.
  LOOP AT IT_TDEVC.
   SELECT TABNAME TABCLASS FROM DD02L
                  appending corresponding fields of table  TABLE_LIST
                  WHERE APPLCLASS = IT_TDEVC-DEVCLASS
                  AND ( TABCLASS = 'TRANSP'
                  OR TABCLASS = 'POOL' OR TABCLASS = 'CLUSTER')
                  AND AS4LOCAL = 'A'.
*                  append table_list.
* endselect.
   ENDLOOP.
This is just a test program so ignore the performance issues .
Waiting for your help..
Reshali.

Hi,
Try the below code....
REPORT  zsen_information_system.
PARAMETER w_comp TYPE ufps_posid.
TYPES : BEGIN OF y_tdevc ,
          devclass TYPE devclass,
        END OF y_tdevc.
TYPES : BEGIN OF y_table ,
          tabname  TYPE tabname,
          tabclass TYPE tabclass,
        END OF y_table.
DATA : it_tdevc TYPE STANDARD TABLE OF y_tdevc WITH HEADER LINE
     , it_tab_list TYPE STANDARD TABLE OF y_table WITH HEADER LINE
SELECT b~devclass
  INTO TABLE it_tdevc
  FROM df14l AS a
  INNER JOIN tdevc AS b
  ON afctr_id = bcomponent
  WHERE a~ps_posid = w_comp.
SELECT tabname FROM info_tabl
  INTO TABLE it_tab_list
  FOR ALL ENTRIES IN it_tdevc
  WHERE as4local IN ('L','A','N')
    AND tabclass IN ('TRANSP','VIEW','CLUSTER','POOL')
    AND devclass = it_tdevc-devclass.
IF sy-subrc EQ 0.
  LOOP AT it_tab_list.
    WRITE /: it_tab_list-tabname.
  ENDLOOP.
ENDIF.
Hope this will solve your problem
Thanks and regards,
Senthil Kumar Anantham.

Similar Messages

  • I NEED THE TABLE NAME FOR THE  FIELD DESCRIPTION GIVEN!

    I NEED THE TABLE NAME FOR THE  FIELD DESCRIPTION GIVEN!
    Partner Type
    Partner Type Desc
    Partner no
    Partner Name
    Partner Address 1
    Partner Address 2
    Partner Address 3
    Partner Address 4

    Hi Jyotirmoy ,
                        You can get all partners and their type in table EDPP1, depending of the partner type you need to go to specific table for address and other details, like for partner type KU(customer) goto KNA1,etc for partner type LI(vendor) goto LFA1 etc for partner type B(bank) goto BNKA etc ....
    Sirish

  • Table name for shipping details for the given purchase order

    Hi,
    Table name for shipping details for the given purchase order
    regards,
    vijay

    Had anybody seen that this question was raised 5 years ago?
    And the question was about where are the shipping details of a purchase order stored.
    The discussion owner hat marked the the discussion a year ago as solved, but did not mark any correct answer and did not tell himself what the solution was.
    The correct answer was given by Amitkumar yesterday, it is EKPV
    I am locking the discussion to avoid that even more wrong answers are added to this particualr question

  • What is the table name for getting Last Receipt  & issue date of material?

    Hi Friends,
    What is the table name for getting Last Receipt  & issue date of material?
    *Case 1:*
    Here, I am running report in May 2008. But, if there is no goods receipt for the respective material since last 13th March 2007.
    Then in this case Last goods receipt date should be 13th March 2007.
    Please guide me.
    Regards
    Siva

    I checked MSEG table. But, I didn't find any field for date.
    Can you tell me field name.
    Regards
    Siva

  • C Programming: How can we get the filesystem name for a given file-path?

    C Programming: How can we get the filesystem name for a given file-path?
    Say I have a filepath=/mnt1/file1
    Using some OS API like stat, can I get the Filesystem /mnt ?
    Thanks in advance,
    -V

    Enter the command up to the point of entering the file path and add a space, then drag the file into the terminal window. It will fill out the path.
    If you need to go further into the contents of the Application package, you can continue with /Contents...
    Another way is to start typing and then hit Tab to auto-complete. It will stop where it can't determine the next letter.
    So, type /App tab and it will fill in /Applications. Type a / and start with the name of the app, then tab and it should complete. Continue till you have the correct path.
    Spaces will be replaced with \<space>, so, App Store would end up as /Applications/App\ Store.app

  • How can I get file list for a given directory?

    Hi,
    How can I get file list for a given directory? Is there a function?
    Thanks.

    Hi friend,
    Try this sample report. It displays all files in a directory.
    While executing give some directory name in input. ex:  C:\
    Mention file type in filter parameter. ex: *.DOC
    REPORT ztests.
    DATA : file_table LIKE TABLE OF sdokpath WITH HEADER LINE .
    DATA : dir_table LIKE TABLE OF sdokpath WITH HEADER LINE .
    PARAMETERS:p_dir(50) TYPE c.
    CALL FUNCTION 'TMP_GUI_DIRECTORY_LIST_FILES'
      EXPORTING
        directory  = p_dir
        filter     = '*.DOC'
      TABLES
        file_table = file_table
        dir_table  = dir_table
      EXCEPTIONS
        cntl_error = 1
        OTHERS     = 2.
    LOOP AT file_table .
      WRITE:/ file_table-pathname.
    ENDLOOP.
    Might be helpful...
    Thanks.....
    Edited by: Guest77 on Feb 11, 2009 5:30 AM

  • Table name for ACTIVITY

    Hi,
    How to get the activity for a given network number in the transaction CJ20N.
    Plz give me the table name and field name..

    check out table afvc
    vornr(activity number) and ltxa1(activity desc)
    pk
    Edited by: prashanth kishan on Sep 5, 2008 11:50 AM

  • Any Function module or BAPIs are available to get scheme name for the inter

    I have internal order no value in table  AUFK-AUFNR ,  and the internal order corresponding Scheme value is available in IMPR-PRNAM . Now I want to inner join both the tables to extract the data , but there is no common field . Is there any Function module or BAPIs are available to get scheme name for the internal orders?

    look at DB-VIEW  "V_IVP_OR".
    Regards,
    Laurent

  • Want field and table name for RESERVED coloum in MMBE

    Hi ,
            There is a RESERVED coloum in MMBE and     I want this   * RESERVED* coloum  in  MB52   .
           I got to know that Field related to this  RESERVED coloum is BDMNG coming from table RESB .
           To confirm the field and table I checked the value in BDMNG by putting join on MARA and RESB where MATNR = BAUGR.
            But I got  value in BDMNG is 50 and in MMBE it is .228 for that material.
               Please tell me field and table name for RESERVED coloum. and hoe to join MARA and RESB  to get exact result.
    Thanks and Regards,
    Ranu

    Hi,
    Mara-matnr is not equal to Resb-matnr and it shows no record if i do like this.
    But Mara-matnr is equal to Resb-baugr, and it gives me 1 record .But porblem is that i dint get BDMNG field matching with mmbe RESEVERD coloum.

  • What are the table names for CRM and APO?

    hi friends,
    what are the table names for CRM and APO?
    Regards
    suneel.

    hi Suneel,
    check in crm forum
    Re: SAP-CRM Tables
    BUT051 BP Relationship: Contact Person Relationship
    Similar to BUT050 , additionally contains Contact Person’s Address data
    BUT0BK Business Partner: Bank Data & Details
    BP Number, Bank Key, Bank Country Key, Bank Account Number
    BNKA Bank Master Data
    BUT100 BP: Roles
    ADR2 Telephone Numbers (Business Address Services)
    ADR6 SMTP Numbers (Business Address Services)
    Contains Email – Id of the BP.
    ADRC Addresses (Business Address Services)
    BP’s Complete Address Details- City, Country, Post Code, District, Street, Title No Etc
    TSAD3T Table containing the Title text against a Title No.
    COMM_PRODUCT Master Table for Product
    CRMM_BUAG Master table for Business Agreement
    CRMM_BUAG_H Header Data for Business Agreement such as Tax Category, Tax Characteristic, Form key, Business Agreement Class. Data in this table correspond to ISU CRMD_ORDERADM_H Contains the Header Information for a Business Transaction.
    Note:
    1. It doesn’t store the Business Partner
    responsible for the transaction. To
    get the Partner No, link it with
    CRM_ORDER_INDEX.
    2. This table can be used for search
    based on the Object Id(Business
    Transaction No).
    CRMD_CUSTOMER_H Additional Site Details at the Header Level of a Business Transaction
    CRMC_PROC_TYPE Master table Business Transaction Type
    CRMC_PARTNER_FCT Definition of Partner Functions
    SCPRIOT Priorities for Activities with priority text.
    CRMC_PROC_TYPE_T Text for a transaction type
    CRMC_ACT_OBJ_T Objective Number and Text for Activities
    TJ30T All the status code and text
    CRMC_PR_ASSIGN : Transaction Type and its Transaction Type Object.
    IBIB : Installed Base/Ibase
    IBIN : Installed Base Components
    COMM_PRODUCT : Products
    CRMC_T077D : customer account groups
    CRMD_ORDERADM_H (for header) CRMD_ORDERADM_I (Item data)
    CRMD_ORDERADM_H Business Transactions CRM
    CRMD_ACTIVITY_H Activity
    CRMD_OPPORT_H Opportunity
    BUTOO : Customer details
    BUT001 BP: General data II
    BUT100 BP: Roles
    BUT150 BP relationship: Attribute table (test
    different
    BUT_HIER_TREE Business Partner Group Hierarchy
    CDBC_T_PRODUCTID Mapping: Product Id
    CDBD_ORGMAN Business transaction - organizational unit -
    set
    COMC_PRODUCT General Product Settings
    COMC_R3_FIELDS Assignment of R/3 material master fields to
    CFOP
    COMM_CATEGORY Category
    COMM_CFGMAT Basic Data for Materials
    COMM_HIERARCHY Category Hierarchy
    COMP_TYPES Hierarchy Tool: Comparison Type Check
    Table
    CRMC_CPRICPROC Customer Pricing Procedures
    SMOKVBEZ15 Assignment employees to positions
    CRMMLSGUID: GUID entry (should match GUID in CRMPRLS)
    CRMM_BUT_CUSTNO : Also GUID table (GUID here should match GUID in R/3 table CRMKUNNR)
    SMOFSUBTAB : Mapping & Parameters
    SMOFDSTAT : Download Monitor (R4AM1)
    SMOFFILTAB : Filters (Should match filters in R3AC1 & R/3 Table CRMFILTAB)
    SMOFOBJECT Definition of Objects for Download
    SMOFOBJPAR Parent Objects of an Object in Table
    SMOFPARSFA Middleware Parameter
    SMOFQFIND Queue Finder Table for MW-Queue finder
    SMOFTABLES Definition of Tables for Download

  • Regarding finding the table name for a field in R12 forms

    Hi all,
    I need to know how to find the table name for a field in R12. I am working on extracting the employee information but i need to know how to get the table names for the fields.
    Thank you,
    raj

    Please see these threads.
    How to find table name in ebs
    How to find table name in ebs
    E-Business tables
    E-Business tables
    Thanks,
    Hussein

  • Tables names for below items

    HI All,
    i want the table names for below items :
    customer number , customer name , slaes order number , item , quantity , tottal value and schedule date.
    i need to select these items. any body pls tell me the table names .
    Regards,
    pandu

    Dear Pandurangarao,
    For your future requirements,
    You may also check the same (i.e. Table Name/ Field Name/ Program Name/ Screen Field) by yourself.
    There are few requirements:
    1. You have to decide from where (i.e. Document..???, say Sales Order in VA02) you want to fecth the data for your requirement.
    2. Go in to that document (say, you wanna all data to be fetch from Sales Order; then VA02).
    3. Click one within the field and Press F1. This will open an Overview window. In to the same window, down there, you will find on e Tab: Technical Information. Click the Tab.
    4. Now, you may get all technical informations for your inputs.
    Best Regards,
    Amit

  • Need Table name for some fields..

    Dear Friends
    Please help me to find Table names for for the following fields :
    1. Document Currency
    2. Cleared / Open Item Symbol
    3. Transaction
    4. Fixed
    5. Payment Date
    6. Payment Order
    7. Payment Sent
    thanx in advance..

    Hi,
    Press F1 on the screen where you have seen the fileds.You will get techncail information.click on that button.It will show you the table and field names.
    Please let me know if you need more information.
    Assign points if useful.
    Regards
    Sridhar M

  • Table name for Reference

    hi
    I need table name for vendor payment against the reference.  For example at the time of invoice i will give reference as inv no:1 and at the time of payment i will make payment against that reference number.  Now i required that in voucher printing.  So please help me in which table i can get those details.
    thanks

    Hai Aarigala,
    Try BKPF & BSIK Tables in XBLNR field name of Reference Number
    Regards
    Madhu I

  • Table name for material master change

    What is the table name for material master change, so that I can get the old values and new values at plant level.
    More specific:
    I want to check the old values for Re order point and Safety stock in MRP1 and MRP2 fields in material master for many materials. Please help.

    Use CDPOS and CDHDR table to get the values which were changed.
    CDPOS>use fields Change doc. object give in as MATERIAL and in the Table name>MARC

Maybe you are looking for