EA3, Unhooking a table from a structured type

When I reset the drop down 'Based on Structured Type:' on the 'Table Properties' window for a relational model, the attributes that were inherited from the underlying structure which are displayed as columns in the table are not removed. I'm not sure if that is by design or by accident. I would prefer that if the table is unhooked from the object type that the object attributes would be removed from the table.
This is in Data Modeler EA3 3.1.0.691
Thanks,
ScottK
Edited by: ScottK on Jan 17, 2012 1:10 PM

In SDDM 3.3 EA2 if I unhook an object table from the structured type the columns remain. I can then replace one of those columns as the primary column, replacing the object table generated column value Oid. If I rehook (based on structured type) that table back to an object type, I am not able to use any of those inherited attributes as a column value within the primary key structure.
In a normal object table definition or an object relation table the structured type's attributes can be used as a primary key column. The problem only surfaces if I accidentally un-define the setting on (based on structured type) and then try to reset it.

Similar Messages

  • Defining table from DDIC-structure dynamically

    Hi folks!
    Does anybody know whether it is possible to build an internal table from DDIC-structures dynamically?
    I have a deep structured itab_upload(whose structure is defined in the DDIC), which contains 2 fields(Number Name) and a third field which contains  itab_desc.
    This itab_desc can contain either 2 fields(Number Name) and a third field which contains another itab_desc  <b>or</b>  3 fields for numbers(without any other itab).If itab_desc contains another itab_desc, the second itab_desc contains only 3 fields for numbers and names...
    help will be very appreciated and points will be rewarded!
    Felix

    Hi Felix,
    Please find below the material which will help you to solve your problem :-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b332e090-0201-0010-bdbd-b735e96fe0ae
    Please reward points if helpful.
    Regards.
    Srikanta Gope.
    [email protected]

  • Dynamic table from an structure

    Hi,
    I want to create one alv grid using function REUSE_ALV_GRID_DISPLAY,for this i have passing the fieldcatalog to slis_t_fieldcat_alv.i have been passing my fieldnames ,and col,sel_text_m to fieldcatalog.instead of passing the fields can we assign fields catalog dynamically from the structure.....i have all the fieldnames in one structure for to be displayed in alv list.
    pls read the below  for reference....
    DATA : BEGIN OF wa_inv,
           lifnr LIKE rbkp-lifnr,
           belnr LIKE rbkp-belnr,
           bldat LIKE rbkp-bldat,
           END OF wa_inv.
    fieldcatalog-fieldname = 'LIFNR'.
    fieldcatalog-seltext_m = 'Vendor'.
    fieldcatalog-col_pos  = 0.
    fieldcatalog-outputlen  = 10.
    fieldcatalog-sp_group = 'X'.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    *.....this following part will be avaid ..and it should *..be assigned to dynamically
    fieldcatalog-fieldname = 'BELNR'.
    fieldcatalog-col_pos  = 1.
    fieldcatalog-seltext_m = 'Invoice No'.
    fieldcatalog-key = 'X'.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    fieldcatalog-fieldname = 'BLDAT'.
    fieldcatalog-seltext_m = 'Invoice Date'.
    fieldcatalog-col_pos  = 2.
    append fieldcatalog to fieldcatalog.
    clear fieldcatalog.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM                =  gd_repid
       IS_LAYOUT                         =  gd_layout
       IT_FIELDCAT                       = fieldcatalog[]
    Prakash

    Hi ,
    here's an example for fm REUSE_ALV_FIELDCATALOG_MERGE
    -> fields of itab must be defined with like not with type!
    DATA : BEGIN OF itab1,
    f1 LIKE vbak-vbeln,
    f2 LIKE vbap-posnr,
    f3 LIKE vbak-netwr,
    END OF itab1.
    rep = sy-repid.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = rep
    i_internal_tabname = 'ITAB1'
    i_client_never_display = 'X'
    i_inclname = rep
    CHANGING
    ct_fieldcat = fcat.
    regards Andreas

  • How to find out the tables from extract structures

    Hi All,
    As I know my data sources are 2lis_04_p_matnr,2lis_04_p_comp,2lis_04_p_arbpl.
    How to find out the tables concerned with the fields in the extract structure.
    Thanks

    Pl check this link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/29/79eb3cad744026e10000000a11405a/frameset.htm
    OR navigate to: help.sap.com - netweaver - bi content - supply chain - look for your application area and the extractor and you will see the source tables and fields.
    Ravi Thothadri

  • Exporting table from methode

    Hi experts,
    how can I handle it to exporting a table from a structure from a methode?
    At the moment I export the structure in the methode but I need to export a table.
    At the moment:
    Parameter    Type           Typing Methode  Associated Type
    param_1      Exporting    Type                    structure
    I need something like that:
    Parameter    Type           Typing Methode  Associated Type
    param_1      Exporting    Type Table of      structure
    ... but that is not possible

    I think he meant something like this
    CLASS lcl_test DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS: get_tab EXPORTING gen_table TYPE table.
    ENDCLASS.                  
    CLASS lcl_test IMPLEMENTATION.
      METHOD get_tab.
        SELECT * FROM sflight INTO TABLE gen_table UP TO 10 ROWS.
      ENDMETHOD.                   
    ENDCLASS.                   
    START-OF-SELECTION.
      DATA: it_sflight TYPE TABLE OF sflight.
      lcl_test=>get_tab( IMPORTING gen_table = it_sflight ).
      "here IT_SFLIGHT holds what you want
    Of course you could make it more generic, meaning query dynamic DB table inside get_tab and create dynamic table outside the method call to get returned data to that table. But basically it shows the idea.
    Regards
    Marcin

  • Accessing a field from a structure with out header line

    Hi Guys,
                 I am trying to assign a field from a structure type line of data to another field.
    This structure type line don't have a header line.
    here is the example.
    IT_EKKNU TYPE  MMPUR_EKKNU.
    when I use following statement..
    move IT_EKKNU-kostl to e_cekko-kostl.
    Iam getting error "IT_ENKKNU is not a structure or Internal table with header line.
    How to access the fields in structure IT_EKKNU.
    Thank U for ur time.
    Cheers
    S Kumar

    Here IT_EKKNU is an internal table without Header line.
    You can use a structure for assignment.
    DATA: IT_EKKNU TYPE MMPUR_EKKNU,
               wa_ekknu type    ekknu.
    read table it_ekknu into wa_ekknu........
    move wa_EKKNU-kostl to e_cekko-kostl.
    *modify the code for your conditions*.

  • How to read tables and fields transaction,how to find table from a strucre

    hi all,
      i am having problem in reading tables and fields for developing a customised report. can anybady help me how to extract tabele and fields from a transaction code and how to map table from a structure.
    It will me much help full, if u had any documentation. u should be appreciated.
    Thanking u
    kiran
    Message was edited by:
            kiran

    Hi Kiran,
    You can make use of the tables or Views available.
    Reward If Useful.
    Regards,
    Chitra

  • Assigning Table/Structure Types using Field-Symbols

    Hello Gurus,
    How can we assign a table or structure type to a particulart internal table?
    What I want to do is to make my data declaration for i_tab reusable.
    i.e.
    DATA: v_tab  TYPE string.
    v_tab = 'MARA'.
    DATA  : i_tab  TYPE STANDARD TABLE OF v_tab.
    The purpose is to make the declaration flexible so program can change v_tab to any table names like LIPS, KNA1...etc making the i_tab flexible and reusable enough. Can anyone help me please? I try to use field-symbols, but I can not achieve what I want. Any bright ideas please?

      DATA: dref TYPE REF TO data.
      FIELD-SYMBOLS: <table> TYPE STANDARD TABLE,
                     <line>  TYPE ANY.
      PARAMETERS: pa_tab TYPE tabname DEFAULT 'BUT000'.
      CREATE DATA dref TYPE STANDARD TABLE OF (pa_tab).
      ASSIGN dref->* TO <table>.
      SELECT * FROM (pa_tab) INTO TABLE <table>
               UP TO 10 ROWS.
    LOOP AT <table> ASSIGNING <line>.
    ENDLOOP.
    <LINE> will take the structure of the table line at runtime.
    This is quite flexible.
    But you can also declare it like this, as we did with the <table>:
    DATA: dref1 TYPE REF TO data.
    CREATE DATA dref1 TYPE (pa_tab).
    ASSIGN dref1->* TO <line>.
    This way <line> will already have the correct structure, even before the <ASSIGNING>.
    Edited by: Micky Oestreich on Mar 24, 2009 8:21 AM

  • How to retreive data from a table and a structure

    Hi experts,
    I have a requirement to create an ALV report. I have to include fields from two tables 'PA0001' and 'CATSDB' and from one structure 'CATSAPPR'. I am able to retrieve data from tables using INNERJOIN. But i have no idea how to deal with Structure.
    I know that structure does not contain any data.
    But  i am not able to find any transparent table which has field 'ORDERTEXT' . I found field 'ORDERTEXT' only in structure 'CATSAPPR'.
    So please anyone tell me, either any transparent table which has field 'ORDERTEXT' or please tell me how to deal with structure, in this case.
    Please help me,
    Thanks in advance
    Anu

    check this
      Table-Fields                     Short descriptn
      AUFK- KTEXT          Order master data
    COCH- KTXT              Process Management: Control Recipe Header
    COCHP- KTXT             PI sheet: Control Recipe Header
    COMPHDR- KTEXT    OCM: Comparison results, indiv. records for order headers
    HIKO- KTEXT              Order master data history
    MAAVC_MDO-  KTEXT      MPO: Individual Master Data for Orders
    MCHPVS- AUFTEXT                           Batch Record: Shadow Table for Link to Archive
    OCMHOMO_ARCH- KFELD          Backup Table of Homogeneity List in Case of Archiving
    PSJHIEDATA- KTEXT                       Hierarchy data to test LDB PSJ
    TEWOCODEST- DESCRIPTION                      Order Codes (Texts)
    TEWOCODET- KTEXT           Allocation of Message Codes to Order 
    VLCSMORDER- KTEXT                                                   VELO : Service Order
    VSAUFK_CN- KTEXT               Version: Order master data
    Yogesh N

  • Get the data from a structure not a transparent table

    Hello masters, does anyone knows how to retrieve data from a structure?

    Structures do not contain data, they are mearly a way to describe it and are usually used in screen programming to collect data into which come from transparent tables.  For example, lets say you have data from two tables that need to be displayed on a screen, the data is related, so a good programming practice is to use a structure either described internally in the program, or in the ABAP dictionary.  Then in the program, you retrieve the data from the transpart tables and move the data to the structure fields, these structure fields are then defined within the screen. 
    Anyway, when you do F1 help on a field in a screen, and it is says that it is part of a structure, then this is becasue the structure is being used to group these fields into a common container when doing the screen programming, so it is a little trickier to find where the data is coming from, but not impossible.  One way is to use the ST05 to do a SQL trace on the program, this will tell you the tables being hit, and you can find the data that way.  Another way, is to debug the program, and see where the data is coming from.
    Regards,
    Rich Heilman

  • Pass structure, internal table from workitem to BSP

    Hi All,
    I have a requirement where a BSP application is to be called from the workitem.
    How can i pass a structure or an internal table from the workitem to the BSP application?

    In the BSP application mark the check box AUTO  on the PAGE ATTRIBUTES tab and this makes the value available in the displayed URL of the BSP application.
    the documention mentation provided by SAP regarding this option is
    A page attribute marked as automatic is automatically supplied with a value from the calling URL or the navigation from another page. However there must exist a parameter of the same name with value in the URL or navigation interface.
    here your navigation interface  is WF_EXTSRV that you have already defined make the parameter as Exporting and when you get the URL read the URL and by using the OFFSET concept you can read the value of the element that you want in the BSP application

  • Get the Common from Two Internal Tables with same structure

    Hi ,
    I need to get the Common data from Two Internal Tables with same structure with using the looping method.
    For e.g.
    I have two internal table say ITAB1 and ITAB2.
    ITAB1 has values A,B,C,D,E,F
    ITAB2 has values A,H,B,Y,O
    Output at runtime should be : A,B

    Hi mohit,
    1. If u want to compare all fields,
       for matching purpose,
       then we can do like this.
    2.
    report abc.
    data : a like t001 occurs 0 with header line.
    data : b like t001 occurs 0 with header line.
    loop at a.
      LOOP AT B.
        IF A = B.
          WRITE :/ 'SAME'.
        ENDIF.
      endloop.
    ENDLOOP.
    regards,
    amit m.

  • CALL function to extract data from a structure table

    Hi Gurus,
    Anyone knows how to write a call function to extract data from a structure table?
    Your help is very much appreciated.
    Thanks alot.

    Hi,
    structure doesnot hold any data. instead of it you can check the stucture in which table it is used, find the table name,use select query to extract the data u needed.
    you can use where used list option to find the structure in which table it is used.
    regards
    siva

  • Finding table from Structure

    Hi,
    I have one field service order in one service transaction .  This is field is from one structure
    CRMT_7010_SERVICE_UI . I would like know where the data of that field: Service Order is placed in which database table.
    Please tell me how do i find the database table.
    Thanks,
    Izaz.

    Hi Ahmed,
    The Data element for table CRMT_7010_SERVICE_UI is CRMT_PO_NUMBER_SOLD.
    Follow exactly what our friends have suggested and you will get form the where used list.
    Thanks and Regards
    Srikanth.P

  • Exception in prepared execute on table SystemEvents: SELECT eventname,type,enabled,times,target,params FROM SystemEvents

    Hi all,
    I am trying to instal oracle webcenter in win server 2008 r2.
    but I am getting this exception (in "sites.log") and installation fails.
    Here's my stack trace.
    Any kind of help is appreciated.
    [2013-12-20 03:27:12,141 PST] [ERROR] [pool-7-thread-1] [fatwire.logging.cs.db] Exception in prepared execute on table SystemEvents: SELECT eventname,type,enabled,times,target,params FROM SystemEvents
    java.lang.NullPointerException
    at COM.FutureTense.Servlet.JDBCTable.prepare(JDBCTable.java:1767)
    at COM.FutureTense.Servlet.JDBCTable.executeQuery_trans_logic(JDBCTable.java:1628)
    at COM.FutureTense.Servlet.JDBCTable.executeQuery_trans(JDBCTable.java:1590)
    at COM.FutureTense.Servlet.JDBCTable.executeQuery(JDBCTable.java:1430)
    at COM.FutureTense.Servlet.JDBCTable.SelectRow(JDBCTable.java:1025)
    at COM.FutureTense.Common.ftDBTable.selectTo(ftDBTable.java:2229)
    at COM.FutureTense.Event.ftEvent.getEventsList(ftEvent.java:309)
    at COM.FutureTense.Platform.SystemEvents.SystemEventFactoryImpl.getSystemEvents(SystemEventFactoryImpl.java:62)
    at COM.FutureTense.Platform.SystemEvents.HeartBeat.run(HeartBeat.java:43)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662) less…
    java.lang.nullpointerexception

    Hi all,
    I am trying to instal oracle webcenter in win server 2008 r2.
    but I am getting this exception (in "sites.log") and installation fails.
    Here's my stack trace.
    Any kind of help is appreciated.
    [2013-12-20 03:27:12,141 PST] [ERROR] [pool-7-thread-1] [fatwire.logging.cs.db] Exception in prepared execute on table SystemEvents: SELECT eventname,type,enabled,times,target,params FROM SystemEvents
    java.lang.NullPointerException
    at COM.FutureTense.Servlet.JDBCTable.prepare(JDBCTable.java:1767)
    at COM.FutureTense.Servlet.JDBCTable.executeQuery_trans_logic(JDBCTable.java:1628)
    at COM.FutureTense.Servlet.JDBCTable.executeQuery_trans(JDBCTable.java:1590)
    at COM.FutureTense.Servlet.JDBCTable.executeQuery(JDBCTable.java:1430)
    at COM.FutureTense.Servlet.JDBCTable.SelectRow(JDBCTable.java:1025)
    at COM.FutureTense.Common.ftDBTable.selectTo(ftDBTable.java:2229)
    at COM.FutureTense.Event.ftEvent.getEventsList(ftEvent.java:309)
    at COM.FutureTense.Platform.SystemEvents.SystemEventFactoryImpl.getSystemEvents(SystemEventFactoryImpl.java:62)
    at COM.FutureTense.Platform.SystemEvents.HeartBeat.run(HeartBeat.java:43)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662) less…
    java.lang.nullpointerexception

Maybe you are looking for