Tables used in a program

Hi guyz,
Iam jus wondering if  there is any  table that gives me all the tables used in a particular program..
Regards

Go to Trasaction SE80, Select Program and paste that program name below..
Then dropdown the tree of that program...then you will find option " Dict. Structures"..
Here you can find the tables which has been you for that transaction / program.
Regards.

Similar Messages

  • Need a table which all custom tables used in the program

    HI to all experts.
    I need a table  which contains  all the custom table used in the program . Or any other method which can accomplish this.

    hi max,
    thanks for u r reply . if we use the statement tables in the report and write some tables
    for example: tables: zf020
                                    zf023
    is there any table which stores this .

  • Entering values in MARA table using module pool programming

    Hi All,
    I need a help from you all. I want to enter the values in the MARA table using module pool programming.
    Can you please give me the detailed approach and if possible then code also as i am new to ABAP.
    Thanks in Advance

    Create the screen fields with ref to field in MARA table, once data is entered on screen by user then fill appropriate structure of FM BAPI_MATERIAL_SAVEDATA. If call to Fm BAPI_MATERIAL_SAVEDATA is successful then call FM BAPI_TRANSACTION_COMMIT to make changes permanent in database .

  • How to know the tables used in a program?

    Hi,
    Please tell me, how to know all the tables that have been used in a program?

    Hello Vijay
    Have you had a look at fm RS_PROGRAM_TABLES already?
    See also tables from prog
    Regards
      Uwe

  • Map attributes of XML file to ABAP table, using a XSLT program

    Hi dear Gurus.
    I have to transfer the information from the XML's element attributes to abap internal tables and store that information.
    Somebody has a clear sample to do this data transfer.
    I found a clas iXML, do you have a sample to read the elements and attributes using this class?
    Thanks in advance.
    Regards.

    hello ,
    search for BCCIIXM* in se38.
    regards
    Prabhu

  • Temporary table used in concurrent program

    Hi,
    I want temporary table information which stores the concurrent program information.
    Thanks

    One possible Solution is to include Request Monitoring to ur OA Page which is similar SRS Oracle Form, second thing is you need to show in OAF page there could be multiple approaches to this:
    1. Download Log file to client machine: article ia available on Mukul's Blog to download file from Server to client machine.
    2. Read the log file and display its content in multi line Text BOx.
    Regards,
    Reetesh Sharma.

  • Internal table used by sap in a program

    Hi,
    I want to know the list of internal tables used in a program (including sap program).
    while debugging i want to view the data stored in it.
    I know the internal tables used by me. Before loading the program sap will load some information into internal table. How to know that.
    Advance Thanks.

    Internal tables, not transparent ones.
    In the old debugger, goto->system areas->internal information and look ITAB_HEADS.  This will show you the name of the tables in the system.  SYMBDATANM will show you all variables in memory.
    In the new debugger, it's even easier.  There's a global tab in the variables area, that tells you all variables in memory.  And you can see the variable type - i.e. if it is a table.
    matt

  • Tools to list all table-field used by a program

    Hello everyone
    Is there any available tool providing the list of fields used by a program?
    There are several tools to list the tables used by a program but I need to have a list of the fields of those tables.
    Here is a scenario.
    DATA: lv_matnr TYPE matnr.
    SELECT SINGLE matnr INTO lv_matnr FROM mara WHERE mtart = 'FERT'
    WRITE:/ lv_matnr.
    The list should contain the following information:
    MARA-MATNR
    MARA-MTART
    Because both fields are used by the program. None of the other fields of the table mara should be listed.
    Regards
    dstj

    All BlackBerry device use the same APN blackberry.net. This is unique accross all carrier.
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • Populating the Addressee field using Customer Interface program

    Hello All,
    Can any body tell me how to populate the "Addressee" column in the HZ_Party_Sites table using Customer Interface Program. Which field should be populated in RA_Customers_Interface_All table inorder to populate the "Addressee" field.
    Thank you,
    Vijay

    You can post this thread in this
    Customers as well.
    Thanks
    GM

  • Find dictionary object used in ABAP program

    Dear All,
    Pl help me find out all the dictionary objects used in report program and dialog program.
    Input will be program name(report or module pool). output will give name of the database tables used in that program.
    thanks.

    Hi,
    Use the FM RS_PROGRAM_TABLES
    pass the object type as PROG for report and the program name for object name
    Vikranth

  • How to find out theTables used in  the program

    hi experts,
    can any one tell what are the ways to find out the tables used in the program
    thanks in advance.

    Hello,
    Below are some tips:
    1. If custom program- SEARCH for "TABLES" or "SELECT" stmt.
    2. The full-proof way will be to activate SQL Trace. Goto tcode ST05, check SQL Trace & then activate trace.
        Execute the program. After execution is complete, deactivate trace & then display trace. You will get all the tables which are being used.
    BR,
    Suhas

  • Tables used in standard t-code

    Hi Experts,
    Can anyone tell me how to find tables used in standard transactions.
    Thanks,
    Swarna.

    hi,
    u can find all tables in DD02l table.
    check this program.it will give u all tables used in a program.
    so in ur standard transaction goto system - status - program name n execute tht in this report.
    *& AS : ALV report to display the dictionary objects
    *& (tables/structures/views of all types of delivery classes)
    *& used by a program.                                                  *
    REPORT  ZALV_TABLESPROG                                    .
    *ALV type pools declarations
    TYPE-POOLS : slis.
    *Internal table and work area declarations for dd02l and dd02t
    DATA :  it_dd02l TYPE STANDARD TABLE OF dd02l,
            wa_dd02l TYPE dd02l,
            it_dd02t TYPE STANDARD TABLE OF dd02t,
            wa_dd02t TYPE dd02t.
    *DATA DECLARATIONS FOR PROGRAM NAMES
    DATA : progname LIKE sy-repid.data : prognames(60) type c.
    *Structure for output
    TYPES : BEGIN OF ty_output,
           tabname LIKE dd02l-tabname,
           tabclass(20) TYPE c,
           contflag(80) TYPE c,
           text LIKE dd02t-ddtext,
           END OF ty_output.
    *Internal table and work area declarations for output
    DATA : it_output TYPE STANDARD TABLE OF ty_output,
            wa_output TYPE ty_output.
    *Structure for table names
    TYPES : BEGIN OF ty_names,
            name LIKE dd02l-tabname,
            END OF ty_names.
    *Internal table and work area declarations for table names
    DATA : it_names TYPE STANDARD TABLE OF ty_names.
    *data declarations for ALV
    DATA: it_layout TYPE slis_layout_alv,
          wa_fieldcat TYPE slis_fieldcat_alv,
          it_fieldcat TYPE slis_t_fieldcat_alv.
    SELECTION SCREEN ************************
    PARAMETERS : program LIKE sy-repid.
    INITIALIZATION **********************
    INITIALIZATION.
    START OF SELECTION.
    START-OF-SELECTION.
    *Select to check if the program exists
    select single name from trdir into prognames where name = program.
    *If Program does not exist message is thrown
      IF sy-subrc <> 0.    MESSAGE 'PROGRAM DOES NOT EXIST' TYPE 'I'.
      EXIT.
      ENDIF.
    *Calling FM to get the tables associated with the program
    progname = program.  CALL FUNCTION 'GET_TABLES'
        EXPORTING
          progname   = progname
        TABLES
          tables_tab = it_names.
    *Check if there are tables in the internal tabel
      IF it_names IS INITIAL.
      MESSAGE 'DATA DOES NOT EXIST' TYPE 'I'.
      EXIT.
      ELSE.
    *Subroutine to get the table details
        PERFORM TABLES_IN_PROGRAM.
        ENDIF.
    *output display
      PERFORM alv_output.
    *& Form TABLES_IN_PROGRAM
    text
    FORM TABLES_IN_PROGRAM.
    *To fetch Tables and their features
      IF it_names[] IS NOT INITIAL.
      SELECT tabname tabclass contflag FROM dd02l
        INTO CORRESPONDING FIELDS OF TABLE it_dd02l
        FOR ALL ENTRIES IN it_names
        WHERE tabname EQ it_names-name.
        ENDIF.
    *To fetch the texts for the table
      IF it_dd02l[] IS NOT INITIAL.
      SELECT tabname ddtext FROM dd02t INTO CORRESPONDING FIELDS OF TABLE it_dd02t
        FOR ALL ENTRIES IN it_dd02l WHERE tabname EQ it_dd02l-tabname AND ddlanguage = 'E'.
        ENDIF.
    *If no data is selected throw message
      IF sy-subrc <> 0.
      MESSAGE 'DATA DOES NOT EXIST' TYPE 'I'.
      EXIT.
      ENDIF.
    *Appending values to the output table
      LOOP AT it_dd02l INTO wa_dd02l.    wa_output-tabname = wa_dd02l-tabname.
        wa_output-tabclass = wa_dd02l-tabclass.
        wa_output-contflag = wa_dd02l-contflag.    READ TABLE it_dd02t INTO wa_dd02t WITH KEY tabname = wa_dd02l-tabname.
        wa_output-text = wa_dd02t-ddtext.
        APPEND wa_output TO it_output.
        CLEAR wa_output.  ENDLOOP.
    *modifying the values in the output table for texts
      LOOP AT it_output INTO wa_output.    AT NEW tabname.
          READ TABLE it_dd02l INTO wa_dd02l WITH KEY tabname = wa_output-tabname.      CASE wa_dd02l-contflag.
            WHEN 'A'.
              wa_output-contflag = 'Application table (master and transaction data)'.
            WHEN 'C'.
              wa_output-contflag = 'Customizing table, maintenance only by cust., not SAP import '.
            WHEN 'L'.
              wa_output-contflag = 'Table for storing temporary data, delivered empty'.
            WHEN 'G'.
              wa_output-contflag = 'Customizing table, protected against SAP Upd., only INS all'.
            WHEN 'E'.
              wa_output-contflag = 'Control table, SAP and customer have separate key areas '.
            WHEN 'S'.
              wa_output-contflag = 'System table, maint. only by SAP, change = modification'.
            WHEN 'W'.
              wa_output-contflag = 'System table, contents transportable via separate TR objects '.
            WHEN ' '.
              wa_output-contflag = 'Delivery class not available '.      ENDCASE.      CASE wa_dd02l-tabclass.
            WHEN 'TRANSP'.
              wa_output-tabclass = 'Transparent table'.
            WHEN 'INTTAB'.
              wa_output-tabclass = 'Structure'.
            WHEN 'CLUSTER'.
              wa_output-tabclass = 'Cluster table'.
            WHEN 'POOL'.
              wa_output-tabclass = 'Pooled table'.
            WHEN 'VIEW'.
              wa_output-tabclass = 'General view structure '.
            WHEN 'APPEND'.
              wa_output-tabclass = 'Append structure'.      ENDCASE.      MODIFY it_output FROM wa_output TRANSPORTING contflag
                                                       tabclass
                                                       WHERE tabname EQ wa_output-tabname.
          CLEAR : wa_output , wa_dd02l.    ENDAT.
      ENDLOOP.ENDFORM. " TABLES_IN_PROGRAM&----
    *&      Form  ALV_OUTPUT
          text
    FORM alv_output.
    *Fieldcatalogue
      PERFORM build_fieldcat.
    *Layout
      PERFORM build_layout.
    *Display
      PERFORM alv_display.ENDFORM.                    "ALV_OUTPUT
    *&      Form  build_fieldcat
          text
    *Field catalogue
    FORM build_fieldcat.  CLEAR wa_fieldcat.
      wa_fieldcat-row_pos   = '1'.
      wa_fieldcat-col_pos   = '1'.
      wa_fieldcat-fieldname = 'TABNAME'.
      wa_fieldcat-tabname   = 'IT_OUTPUT'.
      wa_fieldcat-seltext_m = 'TABLENAME'.
      APPEND wa_fieldcat TO it_fieldcat.  CLEAR wa_fieldcat.
      wa_fieldcat-row_pos   = '1'.
      wa_fieldcat-col_pos   = '2'.
      wa_fieldcat-fieldname = 'TABCLASS'.
      wa_fieldcat-tabname   = 'IT_OUTPUT'.
      wa_fieldcat-seltext_m = 'CATEGORY'.
      APPEND wa_fieldcat TO it_fieldcat.  CLEAR wa_fieldcat.
      wa_fieldcat-row_pos   = '1'.
      wa_fieldcat-col_pos   = '3'.
      wa_fieldcat-fieldname = 'TEXT'.
      wa_fieldcat-tabname   = 'IT_OUTPUT'.
      wa_fieldcat-seltext_m = 'DESCRIPTION'.
      APPEND wa_fieldcat TO it_fieldcat.  CLEAR wa_fieldcat.
      wa_fieldcat-row_pos   = '1'.
      wa_fieldcat-col_pos   = '4'.
      wa_fieldcat-fieldname = 'CONTFLAG'.
      wa_fieldcat-tabname   = 'IT_OUTPUT'.
      wa_fieldcat-seltext_m = 'Delivery Class'.
      APPEND wa_fieldcat TO it_fieldcat.ENDFORM.
    *&      Form  build_layout
          text
    *Layout
    FORM build_layout.  it_layout-zebra = 'X'.
      it_layout-colwidth_optimize = 'X'.ENDFORM.                     "build_layout
    *&      Form  alv_display
          text
    *ALV output
    FORM alv_display.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program       = sy-repid
          i_callback_html_top_of_page  = 'HTML_TOP_OF_PAGE'
          it_fieldcat              = it_fieldcat
          is_layout                = it_layout
        TABLES
          t_outtab                 = it_output.
    ENDFORM.                    "alv_display
          FORM html_top_of_page                                     *
    FORM HTML_TOP_OF_PAGE USING top TYPE REF TO cl_dd_document.  data tstring type SDYDO_TEXT_ELEMENT.  tstring = program.  CALL METHOD top->add_text EXPORTING text = 'Tables used in the program'
                                          sap_style = 'heading' .
      CALL METHOD top->add_text EXPORTING text = tstring
                                          sap_style = 'Heading' .ENDFORM.
    r

  • Synchronizing Two Custom Z Tables Using Abap Program

    Hi,
        My requirement is Synchronizing two custom z tables using abap program me.
    I have vendors in two tables, i have to select the common vendors from first which are existing in second  table also.
    In first table each vendor can have more than one supplier types in one field only. In second table these supplier types are divided into
    different fields.
         My requirement is I have to check supplier types in first table and i have to pass X to corresponding supplier types in second table vendor.
    I have to pass X value for each depending in Second table depending upon supplier type in first table.
    . How to do it can any one suggest with code.
    Thanks in Advance,
    Vivek
    <subject edited by moderator>
    Message was edited by: Manish Kumar

    Hi,
    Imho, you need to get (meaning, extract into separate fields) the different supplier types from Table1 first. Your key for Table1 is the vendor no, which is also the key in Table2 (or the key for Table2 is Vendor no & Type).
    For better performance, better select multiple/all required entries from Table1 instead of doing a select endselect.
    Depending on the format of the vendortypes in Table1, put them in a new itab (for our purpose named Table1New where vendor no & type are the only 2 fields. For example, if the type length is fixed to 2 chars, or divided by space,... use your coding accordingly.
    Next step is to select all vendor no's in Table2 which you have selected in Table1. If in Table2, the vendor no is the only key (and the all vendor types are filled in a single record), then loop check the vendor types from Table1New against the types in Table2.
    If the key of Table2 is vendor no & vendor type, then do a read table for the key.
    The logic in pseudo-code:
    Select from Table1 into table. If you'd like to limit the selection size, add package size statement.
         extract the vendor types in to itab Table1New.
         Select the vendor & types from Table2 by using the for all entries option (better performance).
         loop at Table1New
              check in Table2:
                   if the unique key is vendor no: check all fields for the vendor type from Table1New
                   if the unique key combo is vendor no & type: check by using a read table.
              If not found => add entry to Table2
         endloop.
    endselect Table1 (when using package size)
    I guess the most difficult step is to extract the types from Table1 into separate fields, all the rest seems straight forward. Please keep in mind the itab type definitions for a better performance.
    Good luck!
    Best regards,
    Zhou

  • What is access sequence tables and how to use them in program?

    hi all, I know a little about SD and access sequence tables, but I get a requriment like this:
    condition type is a paramater
    The condition types allowed in this report are: Note: A list of pre-defined condition types with their corresponding access sequence tables will be defined.
    How can I make it? How can I use it in program to get the price?

    Hi,
    An access sequence is a search strategy with the aid of which the SAP
    System searches for valid condition records of a certain condition type.
    For example, you can stipulate for a price that the SAP System first
    searches for a price for a specific plant, and then for a generally
    applicable price.
    For condition types for which you wish to maintain conditions with their
    own validity period, you must assign an access sequence. With this, you
    define which fields the SAP System checks in searching for a valid
    condition record.
    e.g. When you create condition record (e.g. Purchasing condition record) you enter condition type, system asks you the key combination to enter the entries. These key combinations are nothing but the access sequence. On the basis of combination of condition table it will search record. e.g. when u maintain condition record with acc seq Material/plant combination, it will transfer the same record in PO when u enter same material and plant in the PO.
    Example:
    An access sequence has been assigned to condition type PB00 so that
    prices can be maintained in purchasing info records and contracts.
    No access sequence has been assigned to condition type RC00 because it
    does not have a validity period of its own. In the standard system, it is
    always maintained simultaneously with the price and is valid for the
    period of the price.
    For more help
    http://www.sap-img.com/materials/steps-for-mm-pricing-procedures.htm
    Regards,
    Raj.

  • TO FIND TABLES USED IN PROGRAM ?

    Hi
    How to List all the Tables used in the Report or Module pool Program
    I need to find all the tables which is declared and as well as  used in the program
    any way
    I used ST05 transaction , Se49 not available ......
    Any Function module available to do this or any tools...........
    Jude

    Hi all
    the Solution is given as a program
    REPORT  ztesttables.
    DATA line(100) TYPE c .
    DATA:itab TYPE TABLE OF line,
         wa_tab LIKE LINE OF itab.
    PARAMETER program TYPE sy-repid.
    CALL FUNCTION 'GET_TABLES'
      EXPORTING
        progname   = program
      TABLES
        tables_tab = itab.
    SORT itab BY line.
    DELETE ADJACENT DUPLICATES FROM itab COMPARING line.
    LOOP AT itab INTO wa_tab.
      WRITE wa_tab-line.
    ENDLOOP.
    Regards,
    B.Jude

Maybe you are looking for

  • My bluetooth " in my car no longer plays my MUSIC or my Audible

    HELP !!! It's not like we are working with Samsun here. They should have thought it out fixed all the bugs then went ahead. I am...... ******!  My 3 week old Volkswagen Tiguan no longer plays my MUSIC nor my Audible. Its so not ok. This is a breach o

  • How to use Enums in query ?

    Hi, I would like to use java 1.5 Enums in query, but i cannot find any usefull informations in docs. I use Kodo 4.0.0EA3. I have a class with a field that is an enum, and i would like to filter the query on specific value. Enums are defined in an oth

  • CUA as data source for portal UME

    Hi all We want to use the CUA system as the data source for our EP6's UME. Obviously our end users do not login to the CUA system and therefore have no password to this system. It doesn't seem rational to provide them a password to this system, but t

  • Unable to change the deadline of a due date notification in UWL Item

    Hi All, We are trying to change Duedate Notification deadline in runtime through API's. We are able to change the Duedate deadline in runtime by using Backgground CO. But the problem is its not getting effected in UWL of that Item(Action).Its showing

  • Error occurs when trying to purchase Dreamweaver subscription - Time out error

    Hi there I am trying to purchase Dreamweaver subscription with my Master Card and when I accept terms and proceed to pay a message box pops up, see screen capture below: Could this be my Master Card or is there something else perhaps on Adobe's side