Retrival of Control Key of Operation & Table underneeth the structure

Hi Experts,
   Right now i'm working on PP and PM related stuff, I'm in the middle of the project and stucked down at a point in how to retrive the control key of operation that triggered the update in production order: opoerational view. (CO03).
Also i have a small question on how to findout the underlying table for a particular field(any field in a screen), when done F1 on that particular field the technical details says as table name but it is actuallya structure. So how should i find the table underneeth the structure where the particular data is being stored.
Or how should i retrieve the data if i couldn't figure out the table, is there some way that i can retrie the data using the structure.
Thanks for your contribution.
Regards
Rich

Hi Rich,
This is a common problem.One of the best and easy way is use the transaction ST05 for trace.lemme explain in detail.
1.go to ST05 transaction
2.switch trace on
3.take your screen where the field resides
4.enter value in this field and other required field
5.then save the screen
6.go to ST05.
7.stop the trace
8.click on display trace
9.you will get a detailed log what all happend
10.search the log with 'update' or 'insert' word or search with the field.
11.you can find some table name.
12.check that table contains the record which you saved.
Sure this will help
Another Way
1.go to transaction se84.
2.take ABAP dictionary
3.go to Fields
4.Give the field name in table field /structure field
if you are lucky you will get in this
Regards
Shibu Kurian

Similar Messages

  • Activating WCM for control key WCM (operation level)

    Hi Guys,
    I want to activate WCM in the PM order when i enter WCM control key in operations.
    I do NOT want to activate it using "Activate Work Clearance Management for Maintenance Orders".
    I have done all the config but maybe i missed something as the work approval icon is not appearing for WCM key in order.
    Can someone think of what i may have missed?

    I guess it wont solve my problem as the WCM is working at operation level in another system without it
    any more suggestions?

  • If I have an EntityBean that mappes to two tables within one database, when I create that EJB, whoes reponsibilty to generate the primary key in database table? The RDBMS or EJB?

    If I have an EntityBean that mappes to two tables within one database, when I create
    that EJB, whoes reponsibilty to generate the primary key in database table? The
    RDBMS or EJB?
    Thanks,
    JW

    Refer to http://e-docs.bea.com/wls/docs81/faq/ejb.html/#257430
    "Jingwei Zhang" <[email protected]> wrote:
    >
    If I have an EntityBean that mappes to two tables within one database,
    when I create
    that EJB, whoes reponsibilty to generate the primary key in database
    table? The
    RDBMS or EJB?
    Thanks,
    JW

  • What can I do to prevent the control key from not working in the future?

    Background:
    I bough an macbook pro about 1 year and 3 months ago and after 9 months of usage my control key stopped working for about an hour or two.This happened every time I turned on or awoke my mac from sleep (lid down).I sent it to an authorized apple service center and they replaced the keyboard.Everything was fine for about 4-5 months when the same thing happened again, ctrl key stopped working but this time not when turning on my mac but at random times and for random intervals.I sent it again to the service center but they told me that this time it won't be for free because my 1 year warranty has expired.I should mention that in European Union and Romania (the country where I am from and from which the mac was purchased) the law is that any electronics device sold has to come with at least 2 years of warranty.Apple seems to ingore this law.
    Anyway, after long conversations with apple uk on the phone they agreed to pay for the keyboard but not for the labor which was 70 eur ($100).It's not much but my 2 year warranty should have covered it.The sad part is that I have no guarantee that it's indeed a keyboard error and not something else, this might happen again in 4 months and I doubt this time apple would agree paying for the keyboard (which is 150eur) ($215).
    I should also mention that before calling apple uk I tried apple's romanian number (listed on their site) and it didn't work on the 3 phone networks that I've tried (2 fixed and one mobile) which led me to believe that apple support is in fact a big joke.
    Suffice to say that I will no longer purchase any apple devices or software, I regret purchasing mac os x lion just a week ago, when I will no longer use it because I intend to sell all my apple gear (timecapsule, iphone4, macbook pro) and buy stuff from companies that value their customers and respect their contracts.
    My questions are this:
    1) why does apple ignore EU and Romanian law?
    2) what can I do to prevent this from happening in the future
    3) can I request that my macbook be more thoroughly inspected? I suspect the keyboard is not the main problem and it will soon happen again as it happened two times already.
    4) can I do something for the repair labor charge to be waved? It is illegal in my country to ask for one in this scenario...

    Everyone reading your posts here is just another MacBook Pro user. We're all volunteers, not Apple employees. No one here can speak for Apple.
    In my personal opinion, buying Apple products in a country where Apple has no stores and no corporate presence is a risk that the buyer takes knowingly. I don't think it's a wise risk, and I don't recommend that anyone take it. A small percentage of the products sold anywhere are going to have problems, and it makes more sense to buy an inferior product that can at least be serviced locally than to buy a superior product that may have to be sent thousands of miles for repair if anything ever goes wrong with it.

  • How to create an dynamic internal table with the structure of a ddic table

    Hi all,
    I want to fill ddic-tables (which I already created) in my abap dictionary with data out of CSV-files (which are located on the CRM-Server).  The ddic tables have different amount of fields.
    I started with creating a table which contains the name of the tables and the path to the matching CSV-file.
    At the beginning I'm filling an internal table with part of this data (the name of the ddic-tables) - after that I am looping at this internal table.
    LOOP AT lt_struc ASSIGNING <lfs_struc>.
         LOOP AT lv_itab1 INTO lv_wa1 WHERE ztab_name = <lfs_struc>.
         lv_feld = lv_wa1-zdat_name.
        ENDLOOP.
        CONCATENATE 'C:\-tmp\Exportierte Tabellen\' lv_feld INTO lv_pfad.
        Do.
        OPEN DATASET lv_pfad FOR INPUT IN TEXT MODE ENCODING NON-UNICODE IGNORING CONVERSION ERRORS.
        READ DATASET lv_pfad INTO lv_rec.
        IF sy-subrc NE 0.
          EXIT.
        ENDIF.
        enddo.
        REPLACE ALL OCCURRENCES OF '"' IN lv_rec WITH ''.
        SPLIT lv_rec AT ';' INTO TABLE lt_str_values.
        INSERT into (<lfs_struc>) values lr_str_value.
        CLOSE DATASET lv_pfad.
    endloop.
    This is not the whole code, but it's working until
    SPLIT lv_rec AT ';' INTO TABLE lt_str_values.
    I want to split all the data of lv_rec into an internal table which has the structure of the current ddic-table, but I didn't find out how to do give the internal table the structure of the ddic-table. In the code I used an internal tyble type string but I should be the structure of the matching tabel.
    If I try to create an internal table by using a fiel symbol, I am told, that the data types are not matching.
    Has anyone an idea?

    Hi Mayari,
    though you were successfull with
    METHOD cl_alv_table_create=>create_dynamic_table
    I must warn you not to use it. The reason is that the number of tables created is limited, the method uses GENERATE SUBROUTINE statement and this triggers an unwanted database commit.
    If you know the DDIC structure, it is (starting with ECC6.0) much easier:
    field-symbols:
      <table> type standard table.
    data:
      lr_data type ref to data.
    Create data lr_data type table of (<DDIC structure>).
    assign lr_data->* to <table>.
    The split code can be simplified gaining speed loosing complexity not loosing functionality.
    field-symbols:<fs_s> type any.
    field-symbols:<fs_t> type any.
    SPLIT lv_rec AT ';' INTO table it_string.
    loop at it_string assigning <fs_s>.
      assign component sy-tabix of wa_string to <fs_t>.
    if sy-subrc = 0.
      <fs_t> = <fs_s>.
    endif.
    at last.
      append <fs_itwa3> to <ft_itab3>.
    endat.
    endloop.
    Though it may work as Keshav.T suggested, there is no need to do that way.     
    Regards,
    Clemens

  • Data dictionary table where the structure of table is stored ???

    hi
    does anyone have idea where the structure of created table is stored in data dictionary.
    I have idea like where constraints are stored,indexes are stored etc. But I am looking if there is any data dictionary table which has this information too..
    Like
    create table tablename (colname datatype ..........
    Regards
    JC

    check built in dictionary view called dictionary or dict
    SQL> desc dict
    Name                                      Null?    Type
    TABLE_NAME                                         VARCHAR2(30)
    COMMENTS                                           VARCHAR2(4000)
    SQL> Explore it or SQL Reference and you'll find necessary info.
    Gints Plivna
    http://www.gplivna.eu

  • Table for the structure RIHEQUI_LIST

    Hello,
       I want the table name for the structure RIHEQUI_LIST.I searched but i didn't get the table name. Please help me on this.
    Regards,
    Rajesh

    Hi , Please find some of the table names below , and you are very specific what you want from this structure.
    EQUI             Equipment master data
    EGERR            Device data: Info record for point of delivery - historical
    EGERS            IS-U Device Master Data
    EGTUR            Periodic Replacement List
    EIKE             Index for Removed Device
    EQBS             Serial Number Stock Segment
    EQKT             Equipment Short Texts
    EQST             Equipment to BOM Link
    EQUZ             Equipment time segment
    A270             Euqipment/Document Type
    A272             Equipment/Standard Dummy Customer/Document Type

  • My mission control key does not work with the new Mac update

    The key on the keyboard doesnt work, neither does the button on my dock.  Any help?
    P.S. is anyone else having as much trouble as I am with the new update?

    The pre-2006 Mac models this forum covers cannot run a Mac OS high enough to have Mission Control. If you can identify your Mac to us we can get you moved to a more active forum.

  • Control key used to bring up the zoom tool but now...

    you have to use control+option. I really really want to change this back so that
    just shift brings zoom up temporarily. Looked in key commands, cant find it
    anywhere. Please please help. Pleasey please

    This functionality has changed in LP8 to become more standard across applications, it is not optional.
    But the keys are right next to each other, so it shouldn't be that much of a chore to relearn in practice.

  • Foreig Keys to different tables on the same field

    Hi, respected Oracle Techs.:
    My question is:
    Is there a way to reference a field by Foreign Keys to two or more tables' keys in an mutually exclusive way? For example,
    TABA.FIELDA references to TABB.FIELDA and exclusively,
    TABA.FIELDA references to TABC.FIELDA, it means:
    if child TABA.FIELDA does not exists in parent TABB.FIELDA it MUST exists in parent TABC.FIELDA and viceversa.
    'One child looking for his existing parent...'
    Thanks in advance.
    LEONARDO.

    Although I agree that combining tableB and tableC is probably the best way to go, if there is some really good reason that this cannot happen, you can use a trigger on tableA to enforce this rule. Something like:
    CREATE OR REPLACE TRIGGER tableA_ref
    BEFORE INSERT OR UPDATE ON tableA
    FOR EACH ROW
    DECLARE
    l_isfound NUMBER(1) := 0;
    BEGIN
       BEGIN
          SELECT 1 INTO l_isfound
          FROM tableB
          WHERE fielda = :new.fielda;
       EXCEPTION WHEN NO_DATA_FOUND THEN
          BEGIN
             SELECT 1 INTO l_isfound
             FROM tableC
             WHERE fielda = :new.fielda;
          EXCEPTION WHEN NO_DATA_FOUND THEN
             NULL;
          END;
       END;
       IF l_isfound <> 1 THEN
          RAISE_APPLICATION_ERROR (-20001,'Referential Integrity Check Failed');
       END IF;
    END;The example assumes that fields unique in both tableB and tableC.
    TTFN
    John

  • RE. control key used to bring up the zoom tool but now...

    referring to my previous post I did of course mean that I want just control to
    temporarily bring up the zoom tool (not shift as i mistakenly wrote) - apologies

    This functionality has changed in LP8 to become more standard across applications, it is not optional.
    But the keys are right next to each other, so it shouldn't be that much of a chore to relearn in practice.

  • Control key tables..

    We have developed a report involving control key and Qty confirmed..
    There is a bug in the report  that the quantities are not getting fetched correctly as that of in COOIS -confirmations.
    SO for analysis we need to search for the tables... Can anybody tell me the table name that contains the Control keys and the quantity of confirmation, order etc..
    Please help me out...

    Hi,
    The contril key field is STEUS and you will find in following tables
    AFVC                             Operation within an order
    CRHD                             Work Center Header
    PLPO                             Task list - operation/activity
    T430                             Operation/Activity control key
    TABLO                            Assignment table-orders to activities
    RegD
    Shekhar

  • Control key PM02 and PM03

    Hi Gurus,
    I am littele bit confused with PM02 external operation from PM03.
    By both control key i got PR but by PM03 PR ML81n happened,but PM02 PR neither MIGO/ML81N happened.
    Then what is use of PM02 PR?? and in SPRO PM02 control key is having  schedule ext operation and PM03 having service field..
    what is feature of this field???Pls explain....

    HI,
    If you create an operation using control key PM02 a normal goods receipt of the resulting PO will act as the confirmation of the operation, a PM03 requires the creation or selection of a Service Package, this then requires a service entry sheet to
    confirm the delivery, tx ML81N.
    If you use a PM02 control key the system will create a free-text PR using the data that you entered.
    The process flow is then PR->PO->GR->IR
    With a PM03 control key you will see a new Servicessub-tab at operation level. Here you can enter multiple services of different UoM.
    The process flow is then PR->PO->SES->IR
    For more info/scenario please visit site http://www.sap-img.com/plant/difference-between-the-control-keys-pm02-pm03.htm
    Hope the above info clears your doubt.
    Thanks.

  • How can I obtain the primary key of a table for an entity relation?

    hello everybody
    I am doing a consultation to a table in my data base, good this table has alone two fields, the first one is the code or pk and the second one is the description, to be presisos they are names of city and code.
    From the beginning!!: This method this one in another class that is a Dialog that is going to call to the class SelecPlace ();
      SelecPlace sl = new SelecPlace();
    public void capturarLugar(){  //  Simple void method in the mentioned class
            String place = txtProcedencia.getText() ;  //  a JTextField
            sl.executeStatement(place) ;                  
        }ok, now we see part of the code of the class SelectPlace
    public class SelecPlace extends AbstractTableModel{
        Connection con = null;
        Statement sentencia = null ;
        ResultSet rs = null;
        ResultSetMetaData rsmd = null ;
        String[] nameColum = {} ;
        Vector datos = new Vector() ;
        public SelecPlace() { }
        public void executeStatement(String query){
          try{
             con = DBManager.getConnection() ;
             sentencia = con.createStatement(rs.TYPE_SCROLL_INSENSITIVE,
                                                                          rs.CONCUR_UPDATABLE) ;
             String sql = "select * from Place where descripcion like %"+query+"%'";
              rs = sentencia.executeQuery(sql) ;
              rsmd = rs.getMetaData();
              int nroColumnas = rsmd.getColumnCount() ;
              nameColum = new String[nroColumnas] ;
              //obtengo los nombres de columnas en cache
               for(int colum = 0; colum < nroColumnas; columna++){
                    nameColum[colum] = rsmd.getColumnLabel(columna + 1) ;
               datos = new Vector();
                while(rs.next()){
                    Vector newRow = new Vector();
                    for(int i = 0; i < getColumnCount(); i++){
                    newRow.addElement(rs.getObject("place_ID"));
                    newRow.addElement(rs.getObject("description"));
                    datos.addElement(nuevaFila);
                fireTableChanged(null);
            }catch(SQLException e){
                System.err.println(e);
                e.printStackTrace(System.err);
                System.out.println("error in statement");
            }catch(ClassNotFoundException cnfe){
                System.err.println(cnfe);
        }Ok, this code me works and I obtain in this case the field description of the table Place
    Now my question is, how can I obtain the primary field of my table?
    I need this value of this field that in the base of information in a bigint, and to take it to the first class before mentioned, for that I am working with a data base related

    Certain duffymo and everyone!!, good I give you my scheme:
    And generalizing my question, I want to obtain the value of the primary key of a table in the database, I obtain more values of the same row, but I need the primary key, and you see one with the primary key I want to turn a Long and it to insert with code java in foreign clave in another table of the database
    Good of this form I believe that it would not be breaking the integrity relacional of the tables

  • How to combine large number of key-value pair tables into a single table?

    I have 250+ key-value pair tables with the following characteristics
    1) keys are unique within a table but may or may not be unique across tables
    2) each table has about 2 million rows
    What is the best way to create a single table with all the unique key-values from all these tables? The following two queries work till about 150+ tables
    with
      t1 as ( select 1 as key, 'a1' as val from dual union all
              select 2 as key, 'a1' as val from dual union all
              select 3 as key, 'a2' as val from dual )
    , t2 as ( select 2 as key, 'b1' as val from dual union all
              select 3 as key, 'b2' as val from dual union all
              select 4 as key, 'b3' as val from dual )
    , t3 as ( select 1 as key, 'c1' as val from dual union all
              select 3 as key, 'c1' as val from dual union all
              select 5 as key, 'c2' as val from dual )
    select coalesce(t1.key, t2.key, t3.key) as key
    ,      max(t1.val) as val1
    ,      max(t2.val) as val2
    ,      max(t3.val) as val3
    from t1
    full join t2 on ( t1.key = t2.key )
    full join t3 on ( t2.key = t3.key )
    group by coalesce(t1.key, t2.key, t3.key)
    with
      master as ( select rownum as key from dual connect by level <= 5 )
    , t1 as ( select 1 as key, 'a1' as val from dual union all
              select 2 as key, 'a1' as val from dual union all
              select 3 as key, 'a2' as val from dual )
    , t2 as ( select 2 as key, 'b1' as val from dual union all
              select 3 as key, 'b2' as val from dual union all
              select 4 as key, 'b3' as val from dual )
    , t3 as ( select 1 as key, 'c1' as val from dual union all
              select 3 as key, 'c1' as val from dual union all
              select 5 as key, 'c2' as val from dual )
    select m.key as key
    ,      t1.val as val1
    ,      t2.val as val2
    ,      t3.val as val3
    from master m
    left join t1 on ( t1.key = m.key )
    left join t2 on ( t2.key = m.key )
    left join t3 on ( t3.key = m.key )
    /

    A couple of questions, then a possible solution.
    Why on earth do you have 250+ key-value pair tables?
    Why on earth do you want to consolodate them into one table with one row per key?
    You could do a pivot of all of the tables, without joining. something like:
    with
      t1 as ( select 1 as key, 'a1' as val from dual union all
              select 2 as key, 'a1' as val from dual union all
              select 3 as key, 'a2' as val from dual )
    , t2 as ( select 2 as key, 'b1' as val from dual union all
              select 3 as key, 'b2' as val from dual union all
              select 4 as key, 'b3' as val from dual )
    , t3 as ( select 1 as key, 'c1' as val from dual union all
              select 3 as key, 'c1' as val from dual union all
              select 5 as key, 'c2' as val from dual )
    select key, max(t1val), max(t2val), max(t3val)
    FROM (select key, val t1val, null t2val, null t3val
          from t1
          union all
          select key, null, val, null
          from t2
          union all
          select key, null, null, val
          from t3)
    group by keyIf you can do this in a single query, unioning all 250+ tables, then you do not need to worry about chaining or migration. It might be necessary to do it in a couple of passes, depending on the resources available on your server. If so, I would be inclined to create the table first, with a larger than normal percent free, then do the first set as a straight insert, and the remaining pass or passes as a merge.
    Another alternative might be to use the approach above, but limit the range of keys in each pass. So pass one would have a predicate like where key between 1 and 10 in each branch of the union, pass 2 would have key between 11 and 20 etc. That way everything would be straight inserts.
    Having said all that, I go back to my second question above, why on earth do you want/need to do this? What is the business requirement you are trying to solve. There might be a much better way to meet the requirement.
    John

Maybe you are looking for

  • PowerMac G5 doesn't work anymore simply due to a DVD-ROM drive removal!

    Hello, here's what's happened (I'll write using the "present" because I'm not English). This happened about two days ago: I need to read an Ultra ATA hard disk, so I power off the Mac. I remove the SuperDrive DVD-ROM and I connect the hard disk in it

  • Missing tiny clips causing jumps

    when i import from my handycam minidv it automatically puts in edit points where my clip jumps (small but very noticeable). is there any way to avoid this, like importing as one solid clip? also, im not sure if this is relevant but, there are a bunch

  • Solaris 10 Installation Problems

    I recently tried (several times) to install Solaris 10 on an x86_64 AMD machine with a SATA hard drive, but I kept running into problems. When using the boot DVD, it booted a temporary desktop, and asked me several questions. At the end it asked if I

  • Chart color customization for Sentinel Log Manager (and RD)

    Hi all, I am trying to customize the color of the chart provided by the SDK. I based on the top 10 Report as modification. The default severity 0 color is WHITE. I tried to change the files of color_RGB.csv or Key_color.csv of the entry to GREY4 but

  • Why can't I update my iPad 3G to IOS 5? It is stuck at IOS 4.2.

    Why can't I update my iPad 3G from IOS 4.2 to IOS 5? iTunes says that no upgrades are available for the iPad but it updated my iPhone 4 and iPod Touch to IOS 5.