Table name from structure name

Hi experts
can anyone tell me how to find the table name if structure name is known.
when i press F1 in table field ,it give me struct name and field name.
how can i find table name from this struct.
Thanks in advance

Hi ,
You can Check the where used list from your structure,
or
From SE84 transaction in abap dictionary ,give your
structure name and execute it will show where it has
been used.
Hope it helps
Regards
Mansi

Similar Messages

  • Finding Table name from structure

    Hi,
    I need to find the trans. table name for the field ATP Quntity, It's coming from the Structure MDEZ field name MNG04. Please Help me guys??????????/
    I tried where used list, it's giving 2 tables But both are not having any data. Please guide me is there is anyother way can i achieve this?????????

    Hi Hari,
    Thanks for ur help. Can i add Program manipulated field value into Search help display. B'cos in selection criteria we can only create view for tables. How i can display manipulated value that's not in table to display in Search help result screen?
    I need to add extra display result in material field's Search help result screen like Stock on hand plant details.
    thanks,
    Subha

  • Finding Table Name from Structure Name

    Hi All,
    Can someone tell me,whats the best/fastest way to find out the Table name where a data gets stored actually,when we know a structure name
    Bhavin P Shah

    Hi Bhavin,
    The fastest way would be to use the<b> " WHERE USED "</b> option that you find on the application toolbar.
    Step:
    1. Go to SE11.
    2. Enter the Structure Name.
    3. Press the  <b> " WHERE USED "</b> button.
    4. Select "Dictionary Tables.
    After that you should get the list of all the Dictionary Tbales that use your structure.
    <b>Kindly Reward points if you found the reply helpful</b>.
    Cheers,
    CHAITANYA.

  • Table Name from Structure

    hi Friends,
        i have one Structure and its corresponding fields .How can i find the Transparent
    table for that corresponding STructure field. For eg : i hav one structure name
    <b> COWB_ COMP</b> and its fields <b>ERFMG ,MATNR,LGORT</b> etc. I want to know the
    <b><u>Transparent table</u></b> for that fields.
         Points will be definately awarded for useful answer.
    cheers,
    Kamal

    Hi Kamal,
    one of the way will be,
    Go to <b>se11</b>,
    type that structure name in the <b>DATABASE area</b>,
    press display,
    [you will now see all the components of the structure]
    now if you want to know the transparent table name for that field say <b>lgort</b>
    Just double click the <b>component type of lgort</b>,
    [this will take you to the <b>domain part of the field type</b>]
    again <b>double click the domain part</b>,
    [this will take you to the definition part]
    now go to <b>value range and look for value table this may have the transparent table name</b>.
    [NOTE THIS IS ONE OF THE WAYS FOR FINDING THE TRANSPARENT TABLE]

  • Looping delete statement where table name is coming from another table

    Hi All,
    We have to write code to delete records from active tables of WDSO.We have 5 DSO  so inspite of writing delete statement for each table we want to put all table names into one table and then loop through it .but we are getting error when we are refering that table field which has active table name.error is :
    "dictionary structure or table is either not active or does not exist "
    As per my understanding in a delete /select /insert /update statement we need to put table name (whose field we are refering ) it can't be replaced by a variable .
    ex: v_table = 'EMPLOYEE' .
    DELETE FROMv_table WHERE EMP_NAME = 'ABDC' .
    is wrong and it must be like
    ex : DELETE FROM EMPLOYEE WHERE EMP_NAME = 'ABDC' .
    but we want to make our code dynamic .
    Can you please suggest a way so that we can read the table names from another table and delete data based on some selection fom those tables .
    I tried variants ,perform etc and even searched FM for the same but not found a solution .Your help will be greatly appreciated .
    Thanks in advance .
    Regards,
    Jaya

    Hi,
    You can change your statement as follows:
    DELETE FROM (v_table) WHERE EMP_NAME = 'ABDC' .
    However, I would not recommend this. There is a standard function module RSAN_ODS_DATA_DELETE which allows selective deletion - that should be a safer way to do this. You can

  • How to pass the Dynamically table name and RELID in IMPORT  x TO y FROM DATABASE dbtab(ar) ID Key

    Hello Expert,
    I wanted to know is there any way through which we can dynamically pass the table name in IMPORT condition.
    For e.g.
    DATA : PCLT TYPE DD03L-TABNAME.
    DATA: SET_RELID TYPE T52RELID-RELID.
    DATA: key TYPE PCLKEY.
    DATA: text_version TYPE PVRSN.
    DATA: BEGIN OF ptext OCCURS 132.
    DATA: line(132).
    DATA: END OF ptext.
    SET_RELID = 'TX'.
    PCLT = 'PCL1'.
    KEY = '00001000004005     9999123119960101000'.
    TEXT_VERSION = '01'.
    IMPORT TEXT_VERSION PTEXT FROM DATABASE <PCLT>(<SET_RELID>) ID KEY.
    If i use this then it gives me error message "The Dictionary structure or table "<PCLT>" is either not active or does not exist."
    Kindly help me in this matter.
    Thanks
    Srikanth

    Hi Srikanth
    I dont know if there is another solution, but this is what i did using a dynamic subroutine, please check it
    just add this lines to your code
    DATA: prog  TYPE c LENGTH 8,
           mess TYPE string,
           sid  TYPE string,
           wrd  TYPE string,
           dir  TYPE trdir,
           OFF(3).
    DATA: lt_code TYPE TABLE OF rssource-line.
    DATA: ls_code TYPE rssource-line.
    perform call_import using pclt set_relid key.
    form call_import USING p_pclt p_set_relid p_key.
       ls_code = 'PROGRAM SUBPOOL.'.
       append ls_code to lt_code.
       ls_code = 'form get_text tables ptext using p_key changing text_version.'.
       append ls_code to lt_code.
       ls_code = 'IMPORT text_version ptext from database'.
       append ls_code to lt_code.
       concatenate p_pclt '(' p_set_relid ')' into ls_code.
       append ls_code to lt_code.
       ls_code = 'id p_key.'.
       append ls_code to lt_code.
       ls_code = 'endform.'.
       append ls_code to lt_code.
       generate subroutine pool lt_code
                           name prog
                           message mess
                           SHORTDUMP-ID sid
                           WORD WRD
                           OFFSET OFF.
       IF SY-SUBRC EQ 0.
         perform GET_TEXT IN PROGRAM (prog) tables ptext
                                              USING p_key
                                              CHANGING text_version .
       ENDIF.
    endform.
    Hope this help
    Regards
    MC

  • *Dynamic* Table Name in From Clause with input from cursor

    Hello
    I have a cursor say...
    select table_name from dba_tables where <blah>
    The result is
    row1:: emp
    rwo2:: emp_1 ---> Both the tables have same structure and entirely different data... please dont ask why... that's the way it is and we cant change it..
    Now we need to run an Insert...
    insert into tableX (col1,col2,...) select a,b,... from <o/p of the cursor> where <blah> ...
    Note: The table name changes and it the cursor can o/p emp,emp_a and emp_b.
    Am looking to do it parallel instead of doing it serially and with best performance ....no sql injection issues.
    By parallel i mean
    insert into tableX (col1,col2,...) select a,b,... from emp where <blah>
    and insert into tableX (col1,col2,...) select a,b,... from emp_1 where <blah> statements to fire parallel/at the same time to the database. If you can share procedure if you guys already have with you.. is really appreciated
    Thanks a lot for your time....
    Edited by: user007009 on Apr 27, 2013 8:33 PM

    Hello thanks for your time..
    I tried to implement the chunk by sql parallel execution approach and it took 3.1 seconds to complete.. while the SP took around 0.042 seconds and the parallel process didn't throwed any errors and it didn't insert any data either... I am not sure what I am doing wrong... can you please let me know your thoughts...
    Sample Data Creation::::::::::::::*
    drop table table_ASERCARE purge;
    drop table table_MEDCARE purge;
    DROP TABLE TABLE_XYCARE PURGE;
    DROP TABLE TABLE_TIME PURGE;
    DROP TABLE TABLE_LOCATION PURGE;
    drop table table_group purge;
    drop table tablex purge;
    -- select distinct TABLE_NAME from ALL_TAB_COLS where TABLE_NAME like 'EMP%';
    create table table_asercare (time number(30), location_number number(5), value number(5),catg_id number(5));
    insert into table_asercare values  (20110111, 01, 55, 1200);
    insert into table_asercare values  (20110131, 01, 31, 1223);
    insert into table_asercare values  (20120131, 15, 24,1224);
    insert into table_ASERCARE values  (20130131, 03, 555,1200);
    -- Truncate table table_MEDCARE
    create table table_medcare (time number(30), location_number number(5), value number(5),catg_id number(5));
    insert into table_medcare values  (20110113, 01, 23, 1200);
    insert into table_medcare values  (20110128, 02, 78, 1223);
    insert into table_medcare values  (20110130, 03, 100, 1224);
    insert into table_medcare values  (20120111, 04, 57, 1200);
    insert into table_medcare values  (20120221, 05, 64, 1223);
    insert into table_MEDCARE values  (20130321, 15, 48, 1224);
    create table table_xycare (time number(30), location_number number(5), value number(5),catg_id number(5));
    insert into table_xycare values  (20100113, 01, 99, 1200);
    insert into table_xycare values  (20110128, 02, 90, 1223);
    insert into table_XYCARE values  (20130128, 03, 24, 1224);
    create table table_LOCATION ( LOCATION_NUMBER number(5), LOCATION_NAME varchar2(50));
    insert into table_LOCATION values  (01, 'atlanta1');
    insert into table_LOCATION values  (02, 'atlanta2');
    insert into table_LOCATION values  (03, 'atlanta3');
    insert into table_LOCATION values  (04, 'atlanta4');
    insert into table_LOCATION values  (05, 'atlanta5');
    insert into table_location values  (15, 'atlanta15');
    create table table_category (catg_id number(5), catg_name varchar2(30));
    insert into table_category values (1200, 'EMS');
    insert into table_category values (1223, 'LJM');
    insert into table_category values (1224, 'LIO');
    create table table_TIME (YEAR_MONTH_DATE number(30), YEAR_VAL number(4), MONTH_VAL number(2),DATE_VAL number(2));
    insert into table_TIME values  (20110111, 2011, 01,11 );
    insert into table_TIME values  (20110131, 2011, 01,31);
    insert into table_TIME values  (20120131, 2012, 01,31);
    insert into table_TIME values  (20130131, 2013, 01,31);
    insert into table_TIME values  (20110128, 2011, 01,28 );
    insert into table_TIME values  (20110130, 2011, 01,30 );
    insert into table_TIME values  (20120111, 2012, 01,11 );
    insert into table_TIME values  (20120221, 2012, 02,21 );
    insert into table_TIME values  (20130321, 2013, 03,21 );
    insert into table_TIME values  (20100113, 2010, 01,13 );
    insert into table_TIME values  (20130128, 2013, 01,28 );
    --Truncate table table_group
    CREATE TABLE table_group (group_key number,table_name VARCHAR2(30), group_name VARCHAR2(30), catg_name varchar2(30));
    insert into table_group values (1,'table_ASERCARE', 'GROUP_ONE','EMS');
    insert into table_group values (2,'table_MEDCARE', 'GROUP_ONE','LJM');
    INSERT INTO TABLE_GROUP VALUES (3,'table_XYCARE', 'GROUP_TWO','LIO');
    create table TABLEX (YEAR_VAL number(4) ,LOCATION_NAME varchar2(50),tablename VARCHAR2(30), cnt number ); --> Proc data will be inserted into this...
    Stored Procedure++++++++_
    CREATE OR REPLACE
    PROCEDURE ABC(
        GROUP_NAME_IN IN VARCHAR2 )
    is
    type c1 is ref cursor;
        sql_stmt VARCHAR2(200);
        v_sql    VARCHAR2(30000);
        c1_cv c1;
        table_name_f VARCHAR2(30);
        c1_rec TABLE_GROUP%rowtype;
      BEGIN
        SQL_STMT := 'SELECT * FROM TABLE_GROUP WHERE GROUP_NAME = :i';
        OPEN c1_cv FOR SQL_STMT USING GROUP_NAME_IN ;
        loop
          fetch c1_cv  INTO c1_rec;
        exit when c1_cv%notfound;
    --    forall i in c1_rec.FIRST ..c1_rec.last loop
        table_name_f := c1_rec.table_name;
    --      END LOOP;
       EXECUTE immediate
       'INSERT  INTO tablex (YEAR_VAL,LOCATION_NAME, tablename, cnt)
    SELECT
    t.YEAR_VAL,l.location_name, :table_name, count(*) as cnt
    FROM '
        ||table_name_f||
        ' variable_table
    ,table_time t
    , table_location l
    ,table_group g
    ,table_category ctg
    WHERE t.year_month_date = variable_table.TIME
    and variable_table.location_number = l.location_number
    and ctg.catg_id = variable_table.catg_id
    --and ctg.catg_name = g.catg_name
    GROUP BY t.YEAR_VAL,l.location_name,g.catg_name' USING table_name_f;
        --dbms_output.put_line ( 'The SQL is'|| v_sql);
        COMMIT;
        --dbms_output.put_line ( c1_rec.table_name||','||c1_rec.group_name );
        --dbms_output.put_line ( 'The table name is '|| c1_rec.table_name );
      end loop;
        CLOSE c1_cv;
      --null;
    END ABC;
    Parallel Execution Code++++++++++_
    begin
    begin
    DBMS_PARALLEL_EXECUTE.DROP_TASK(task_name => 'TASK_NAME');
    exception when others then null;
    end;
    DBMS_PARALLEL_EXECUTE.CREATE_TASK(task_name => 'TASK_NAME');
    DBMS_PARALLEL_EXECUTE.CREATE_CHUNKS_BY_SQL(task_name => 'TASK_NAME', sql_stmt =>'select distinct group_key, group_key from table_group', by_rowid => false);
    end;
    begin
    DBMS_PARALLEL_EXECUTE.RUN_TASK (task_name => 'TASK_NAME',
    sql_stmt =>'declare
    s varchar2(16000); vstart_id number := :start_id; vend_id number:= :end_id;
    table_name varchar2(30);
    begin
    select table_name into table_name from group_table where group_key=vstart_id;
    s:=''INSERT  INTO tablex (YEAR_VAL,LOCATION_NAME, tablename, cnt)
    SELECT
    t.YEAR_VAL,l.location_name, :table_name, count(*) as cnt
    FROM ''||table_name||'' variable_table
    ,table_time t
    , table_location l
    ,table_group g
    ,table_category ctg
    WHERE t.year_month_date = variable_table.TIME
    and variable_table.location_number = l.location_number
    and ctg.catg_id = variable_table.catg_id
    and ctg.catg_name = g.catg_name
    and g.group_key =:vstart_id
    GROUP BY t.YEAR_VAL,l.location_name,g.catg_name'';
    execute immediate s using vstart_id;
    commit;
    end;',
    language_flag => DBMS_SQL.NATIVE, parallel_level => 2 );
    end;
    / thanks in advance for your time.
    Edited by: user007009 on Apr 28, 2013 12:25 PM

  • Need Table name for the structure

    hello guru's,
    I am using the tcode AW01N , In that i need to fetch a field that field contanis structure named
    AW01_DEP_PAR.  My field name is RSTNDJ,RSTNDP . can u tell me from which table its stored .
      AW01_DEP_PAR-RSTNDJ,   AW01_DEP_PAR-RSTNDP.
    Regards
      vinoth.v

    Vinoth,
    We can find it using ST05.
    Activate the trace in ST05
    Run the transaction in which you want to find the table for the corresponding structure.
    After completing the entire transaction Process go to ST05 decactivate the trace and display the trace.
    Now in the menu bar go to Trace List>>Summarise trace by tables or press Ctrl+F8.This you will get to know all the tables that are getting updated when a particular transaction is Executed.If you explore it then you will be able to find out the corresponding table for a structure.Hope this may give you some lead.
    K.Kiran.

  • Table name from field

    Dear Sapers,
    How to find table name from field name to write functional spec.Pl elaborate it for normal & zdevelopment.Points will be rewarded for useful answer.
    Thanks in advance.

    Hi Uday,
    Just for the sake of help this reply......
    You can find the name of tables by using F1 button keeping cursor on the respective field that you want to bring in development. From there you have to move to Technical details through technical details button.
    If that field or values are getting saved into some structure then you have to search the right database tables. According to your module many database tables are there (that you can search from sdn.sap.com directly). That totally depends on your report/development that you want to bring in......
    In any development deciding the right table for start up ( I mean to say tables that will give you input fields in your FS) is critical, latter you have to search linking tables and have to give logic about how to pass values from what to what field and what to what table..... In this case Transaction code SE11 and SE16 are useful......
    This all is slightly confusing and tedious too...... Closely work with you ABAPer to get into many things and have successful development....
    Have nice development....
    Cheers!
    Abu Arbab

  • SRM 7.0 find transparent table name from Web dynpro Component

    Hi ,
    I am trying to find the transparent table name from Web dynpro component dictionary structure. I am working in SRM 7.0. Please let me know how to find the transpartent table for a field.
    Thanks,
    Monica

    hi,
    your question is very unclear and does not relate to performance.
    SRM uses webdynpro ABAP so the recommendation will not help.
    Do you need a technical UI element?
    Or the application table where the business data of an UI is stored???
    If it is the later, then you can use the SQL trace, change to element you are interested in, and trace it. The table should appear in the trace in connection which an UPDATE command. Still a bit cimbersome.
    Siegfried

  • What is the table name for structure field MUEBS???

    Hi...Experts...
        How can I know the table for a screen-field if i get structure from it F1 Technical settings....
    Ex: Here MUEBS is the screen field (Char. Display) in one of the subscreens of VA41. And it is from
          RV45A structure...
    Now how can I know the table name for this field MUEBS.
    I know some methods but they r not help ful.. please try it and get back to me.
    Thanks,
    Naveen.I

    Naveen,
    Table field                    Short Description                                                                               
    VBMUE            Sales Document: Characteristic Overview           
    MUEBS                          Characteristic display                                                                               
    VBMUEZ           Sales Document: Characteristic Overview Assignments
    MUEBS                          Characteristic display                                                                               
    VBMUET           Sales Document: Characteristic Overview Description
    MUEBS                          Characteristic display
    You can find same by SE15>Abap dictonary>fields>table fields.
    Amit.

  • Table name from PSA

    Hi
    Will I be able to know the R/3  Table name  through the PSA data..if so how?can any let me know abt this?

    Hi,
    From records in PSA u cannot find the table.
    First identify the datasource and then identify the corressponding table for the data source.
    if generic chk the datasource in rsO2 and chk the table names used for it.
    for LO - chk it in LBWE -> datasource -> maintain communication structure.
    Ramesh

  • Table names for fields from standard extractors

    Hello Experts,
    I want to know, if there is an easy way to find R/3 table names from extractor fields of standard data sources / extractors.
    ROOSOURCE , RSOSFIELDMAP did not help.
    Thanks

    Hi
    find your extract structure name from RSA6 or RSA5 and then go to SE11data type>give your extract structure name and click on 'where used list', then select 'programs'..
    You can see the name of the extract programs written by sap.go to the program then you can find the tables and their fields...
    Hope it helps up to some extent....
    Thanks,
    Teja

  • SAP BW structure/table name change issue with BODS Jobs promotion

    Dear All, One of my client has issue with promotion of BODS jobs from one environment to another. They move SAP BW projects/tables along with BODS jobs (separately) from DEV to QA to Prod.
    In SAP-BW the structures and tables get a different postfix when they are transported to the next environment.  The promotion in SAP-BW (transport) is an automated process and it is the BW deployment mechanism that causes the postfixes to change.  As a result with the transport from Dev to QA in SAP-BW we end up with table name changes (be they only suffixes), but this does mean that when we deploy our Data Services jobs we immediately have to change them for the target environments.
    Please let me know if someone has deployed some solution for this.
    Thanks

    This is an issue with SAP BW promotion process. SAP BASIS team should not turn on setting to suffix systemid with the table names during promotion.
    Thanks,

  • Copy the structure of a table to another with another table name.

    how to copy the structure of a table to another with another table name.
    ie. i want a emp table with same values/structure to be copied to another table called my_employee.
    how can this be done?

    create table my_emp as select * from emp;
    If you do not want the data to be copied then do the following:
    create table my_emp as select * from emp
    where 1=2;
    Avanti.

Maybe you are looking for

  • Panel is not showing as an Extension in Photoshop CS5 (Windows 7 OS)

    I'm attempting to create a panel using Configurator 2.0 (using Windows 7 OS) for Photoshop CS5, and can't get it to show at all in my Window>Extensions menu. I have ran the program as Administrator, and it gives me a successful save message, but once

  • Aging Bucket - Account Receivable

    I wanted to create a Aged Report. e.g: 0-30 31-60 61-90 91+ Invoice 1 100 Invoice 2 300.8 I know how to calculate days difference. But I dont know how to put the amount under this certain aging bucket. I tried to use decode function but it doesnt wor

  • Address Book application no longer launches

    I broke my laptop a few weeks ago and had the data manually retrieved and put on a hard drive. I bought a new macbook pro earlier and I was manually transferring the application files when i think i accidentally overwrote the address book application

  • Error after enabling lifetime on XML FORMS.

    Hi all, I’ve created my article (XML FORMS) that was working fine. However, after add the lifetime properties (validfrom, validto) into the form, a message error “Resource cannot be displayed with XMLResourceRenderer” is showed when a new article is

  • CIN Example with Values..?

    Hi all Can anybody explain me about he CIN process from end to end for below materials Say for example, Raw material - 1000 (Excisable) Purchased for RS1000 , and Excise duty as follows, ED-14% ( Rs 140) Ecess -2% (Rs 28) Secess-1%(Rs 14). Total Exci