How to go from Logical Table to Physical Table?

Hi,
I'm start using SQL Data Modeler. In order to create a table in the DB, do I need to copy the ddl generated in the Relational model and run it in the DB? or the data modeler created all objects directly in the DB?
Thanks.

do I need to copy the ddl generated in the Relational model and run it in the DBYes, Data Modeler doesn't create objects directly in database.
Philip

Similar Messages

  • OBIEE 10g repository - Business model - logical table to physical table, column mapping is empty

    Hi, I am really new to OBIEE 10g.
    I already set up a SQL Server 2005 database in Physical and import a view vw_Dim_retail_branch.
    The view has 3 columns: branch_id, branch_code, branch_desc.
    Now I want to set up the Business model to map this physical table (view).
    I created a new Business model
    Added new logical table Dim_retail_branch
    In the sources, added the vw_Dim_retail_branch as source table.
    But in the Logical table source window,  column mapping tab, it's blank. I thought it should be able to identify all the columns from vw_Dim_retail_branch, but not. The show mapped columns is ticked.
    What should I do here? Manually type each column?

    HI,
    Just you can drag and drop the columns from physical layer to BMM layer.
    Select the 3 columns and drag and drop it to the created logical column in BMM layer.
    for more reference : http:\\mkashu.blogspot.com
    Regards,
    VG

  • How to create a logical and a physical path?

    Hi ,
    I want to know how is  a logical path created ?
    Also , how can a physical path be created from a provided logicall path?
    Regards,
    Harshit Rungta

    Hi,
    Use FM u2018FILE_GET_NAMEu2019 to assign the physical file name using a logical file name.
    Remember you need to create u2018logical file nameu2019 using transaction u2013 FILE.
    R/3 applications run on various platforms with various file systems. Hence we use platform-independent logical file names in our application programs.
    Function module u2018FILE_GET_NAMEu2019 converts a logical file name to the corresponding physical file name and path for the hardware platform concerned.
    For this conversion to work for different platforms, the definition of a logical file name must include a logical file path, which in turn is converted to different physical file paths, depending on the particular platform. The platform-specific file name returned by the function module is composed of the physical file path for the current platform and the physical file name associated with the logical file name. Placeholders in physical file and path names are substituted at runtime by the corresponding current values.
    Example
    logical file name:     MONTHLY_SALES_FILE
    physical file name:     VALUES<PARAM_1>
    logical path:     SALES_DATA_PATH
    physical path (UNIX):     /usr/<SYSID>/<FILENAME>
    physical path (Windows):     C:\SALES\<FILENAME>.
    Kind Regards,
    Nikhil J.

  • How to build the Logical cube and physical cube

    Hi All,
    I have to build the logical cube and physical cube ,i dont have idea about this ,that means i think for that we have to do the partition for the cube
    may i correct , correct me if i wrong ,plz help me on this
    Thanks

    Hi,
    1. Firsty, logical model and physical model are the terms ,which we generally use in the context of database modelling excercise.
    2. Coming to essbase, I am not sure ,what exactly you are trying to co relate . but as you termed 'partitions'. There is one of the types in partitioning called 'Transparent Partition'. Where, you have one cube ( which has data in it) and you can have one mroe cube ( which actually has no data in it). But it can be connected to the former cube with the help of transparent partition. This way, you have 2 cubes , but only one cube has data in it.
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • Create temporary table to physical table.

    i have created one physical table using temporary table. columns are like this create hi table as(no number, name varchar2(20), da date));
    again do some transaction in my DB i need insert the temporary table values to physical table IF the no,name,date is same add the values into table.

    What is your 4 digit Oracle version?
    You can use a MERGE to do that
    MERGE INTO permTable P
       USING (SELECT a, b, c FROM tempTable) T
       ON (P.no = T.no AND P.name = T.name AND P.da = T.da)
       WHEN MATCHED THEN UPDATE SET P.a = T.a, P.b = T.b, P.c = T.c;See Merging into a Table: Example at the end of the MERGE section in the SQL Reference
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9016.htm

  • How to data from selected row of a TABLE

    Hi ,
    I have a table displaying some PO order details. In the last column , I have a field with element Link to Action . My requirement is , that when I click on the link to action column of specific row , I want to get the data present( specifically the the data present on the first column which is PO number) i that specific row.
    How can i get this data?
    Regards
    PG

    Hi PG,
    If you want to get Selected row data,  you can use get_selected_elements
    Try this example code.. this gives you selected records into one table..
      DATA lo_nd_et_postab_1 TYPE REF TO if_wd_context_node.
      DATA lo_el_et_postab_1 TYPE REF TO if_wd_context_element.
      DATA ls_et_postab_1 TYPE wd_this->Element_et_postab_1.
      DATA lt_et_postab_1 TYPE wd_this->Elements_et_postab_1.
    DATA: wa_temp TYPE REF TO if_wd_context_element,
            lt_temp TYPE wdr_context_element_set.
    navigate from <CONTEXT> to <ET_POSTAB_1> via lead selection
      lo_nd_et_postab_1 = wd_context->path_get_node( path = `ZSHP_EXTENDED_DUE_LI.CHANGING_3.ET_POSTAB_1` ).
      CALL METHOD lo_nd_et_postab_1->get_selected_elements
        RECEIVING
          set = lt_temp.
      LOOP AT lt_temp INTO wa_temp.
        CALL METHOD wa_temp->get_static_attributes
          IMPORTING
            static_attributes = ls_et_postab_1.
        append ls_et_postab_1 to lt_et_postab_1.
        CLEAR ls_et_postab_1.
      ENDLOOP.
    lo_nd_et_postab_1->bind_table( new_items = lt_et_postab_1 ).
    NOW LT_ET_POSTAB_1 Contains selected records in table.
    Hope it helps...
    Cheers,
    Kris.

  • How to export from VC a bapi output table to a PDF file

    Hello,
    How can I export a output table results from a BAPI (not BI Query) to a PDF file?
    Regards

    Hi
    There is very simple way of exporting the data to PDF. Follow the steps -
    1. Download PDF convertor on your machine.
    2. Create one button 'Convert to PDF' in your VC model.
    3. IN this button assign system command as 'Print'
    4. Save & Execute the model.
    After execution when you will click on this button, it will open normal print pop up window. Here you will find PDF convertor. Select this & Convert to PDF.
    Regards
    Sandeep

  • How to read from the incoming payments form table

    Hi, Im writing an addon that will sum the selected documents for payment by document type (Invoice, Credit Memos, Payment on Account).  using UI how can I get and read from the table ? I can see that it is item 20. But dont know how to get to the data on secreen.
    Thank you!
    Jose.

    SAPbouiCOM.Matrix oMatrix = (SAPbouiCOM.Matrix)moPaymentForm.Items.Item("20").Specific;
    SAPbouiCOM.Column _oCheckColumn = _oMatrix.Columns.Item("10000127");
                        SAPbouiCOM.Column _oAmountColumn = _oMatrix.Columns.Item("24");
                        SAPbouiCOM.Column _oDocTypeColumn = _oMatrix.Columns.Item("45");
    bool bChecked = ((SAPbouiCOM.CheckBox)oCheckColumn.Cells.Item(1).Specific).Checked;

  • How to convert from Logic 7.2 to older Logic on PC

    I met a producer who wants to work his magic on a track of mine. He uses an older Logic on a PC. I assume I'll give him all my tracks as audio files (Wave?), but it would be nice to keep the MIDI regions as well. Any suggestions for the best process for this?
    Thanks in advance!
    George

    Export a MIDI file containg the tempo, and any MIDI regions, together with the audio files exported track by track starting from 1 1 1 1, together with some docs to tell the guy what's included and what goes where etc.

  • How to upgrade from Logic Pro 9 to X ?

    Hi !.
    I just bought the Logic Pro 9 version on June 16th.
    I want to ask how can i upgrade my version to the "Logic Pro X" one, or when this is gonna be available.
    Thanks for your help.

    I bought Logic Pro 9 a few days ago and they just sent me a response with a big NO! Twice! so far!
    see these threads:
    https://discussions.apple.com/message/22496383#22496383
    https://discussions.apple.com/message/22490113#22490113
    https://discussions.apple.com/message/22490862#22490862
    https://discussions.apple.com/message/22500131#22500131
    https://discussions.apple.com/message/22494804#22494804
    This is no way to treat your customers.
    I am no letting this go!

  • How to update from Logic Pro X 10.0.4 to Logic Pro X 10.1?

    How do I update my current Logic Pro X 10.0.4 to Logic Pro X 10.1?

    Open the Mac App Store and click on the Updates tab.
    (124508)

  • Add records to the physical table from Internal table

    Hello,
    I am trying to insert the records from IT table to physical table. But, its not inserting. Please let me know how do I add the records to the table zebp_iv_cf_log.
    I have used only few fields for example *
    After looping I get about 800 records in it_non_ebp tab *
    loop at non_ebp_inv.
        it_non_ebp-zspgrv = non_ebp_inv-spgrv.
        it_non_ebp-zspgrq = non_ebp_inv-spgrq.
        it_non_ebp-zspgrs = non_ebp_inv-spgrs.
        it_non_ebp-inv_ref_num = non_ebp_inv-xblnr.
        it_non_ebp-zspgrc = non_ebp_inv-spgrc.
        it_non_ebp-zlifnr = non_ebp_inv-lifnr.
        append it_non_ebp.
        endloop.
        insert   zebp_iv_cf_log from table it_non_ebp[] accepting duplicate keys .
    I also tried inserting one by one by putting insert syntex within a loop but, it takes keeps processing.
    Shall appreciate the response.
    Thks & Rgds,
    Hemal
    Edited by: hemalgandhi on Jun 12, 2009 6:27 PM

    Hi,
    for the internal table you are using for appending , you must declare it with the header line option
    as
    data it_non_ebp type table of zebp_iv_cf_log with HEADER LINE.
    or else you can have a separate workarea of type zebp_iv_cf_log
    as
    data wa_zebp_iv_cf_log type zebp_iv_cf_log.
    then the code should be like :
    loop at non_ebp_inv.
    wa_zebp_iv_cf_log -zspgrv = non_ebp_inv-spgrv.
    wa_zebp_iv_cf_log -zspgrq = non_ebp_inv-spgrq.
    wa_zebp_iv_cf_log -zspgrs = non_ebp_inv-spgrs.
    wa_zebp_iv_cf_log -inv_ref_num = non_ebp_inv-xblnr.
    wa_zebp_iv_cf_log -zspgrc = non_ebp_inv-spgrc.
    wa_zebp_iv_cf_log -zlifnr = non_ebp_inv-lifnr.
    append wa_zebp_iv_cf_log to it_non_ebp.
    clear wa_zebp_iv_cf_log .
    endloop.
    and use 
       modify zebp_iv_cf_log from table it_non_ebp accepting duplicate keys .
    instead of
       insert zebp_iv_cf_log from table it_non_ebp[] accepting duplicate keys .
    Please try out and let me know of you face any problem

  • Dynamic name for the physical table

    Hi Guys,
    How to setup dynamic names for the physical table? Where it is useful?*
    Pls help me out on this.
    thanks

    Check this similar post which might be of help dynamic physical table source schema
    Cheers,
    KK

  • Logical table with data restrictions from the physical table

    Hello, I have a question about the relationships between the Logical Tables in Business Model and Mapping and The Physical table in the physical layer. The problem is the next one:
    I have a Physical Table named T1 that contains the attributes: Id, DateChangeState, State,…
    T1
    DateChangeState| ID |State     | Other columns….
    01/01/2011 | 1 | 03 |     …
    02/01/2011 | 1 |     11 |     …
    03/01/2011 | 1 |     02 |     …
    02/02/2011 | 2 |     01 |     …
    03/02/2011 | 2 |     02 |     …
    I need filter this table and extract only one row per ID. The row that I need is the row who contains the Max(DateChangeState) per ID. I don’t know how extract only the rows selected from the physical table to the Logical Table.
    I need that the logical table contains the next rows:
    T1_Logical
    DateChangeState |ID |     State     Other columns….
    03/01/2011 | 1 | 02 |     …
    03/02/2011 | 2 | 02 |     …
    How can I extract only the rows with the Max(DateChangeState) grouped by ID in the BMM?
    I thought put this condition in the column mapping (CASE WHEN DateChangeState=Max(DateChangeState)) but the Max(DateChangeState) was not grouped by ID.
    Any idea about how solve this problem?
    I can not use the group by in the answer and I can not change the physical layer.
    Thank you,
    Best Regards.

    Hi Rajeevagrl your solution is very good but I dont´t know why obiee is applying twice the max condition, The select is the next one:
    select distinct D1.c1 as c1,
    D1.c2 as c2,
    D1.c1 as c3
    from
    (select D1.c1 as c1,
    D1.c2 as c2
    from
    (select D1.c1 as c1,
    D1.c2 as c2,
    max(D1.c3) over () as c3
    from
    (select T379.ID as c1,
    T379.DATE as c2,
    max(T379.DATE) as c3
    from
    T1 T379
    group by T379.ID, T379.DATE
    ) D1
    ) D1
    where ( D1.c2 = D1.c3 )
    ) D1
    order by c2
    Edited by: 848497 on 14-abr-2011 3:58

  • How to determine the logical Keys of logical fact table in BMM layer?

    Hello guys
    I'd like to know more about how to know what columns of the logical fact table should be used as key in BMM layer. How OBIEE behaving differently when different keys are selected?
    In my situation, I have 1 fact table that physically joins to 20 dimensions in physical layer. Therefore, in physical layer, this fact table has about 20 foreign keys but no primary keys..
    In the logical layer, this fact table is logically joined to the same group of dimension tables. So in this case, how do I know what columns in logical fact table I should use as keys?
    Please advice
    Thanks

    thanks for the reply...
    The interesting thing I notice is that, when I start using fragmentation with the fact tables in its LTS, if not primary key is defined in the logical fact table, then I will be getting errors:
    [nQSError: 10058] A general error has occurred. [nQSError: 14023] None of the fact sources for columns are compatible with the detail filter []. (HY000)
    When I create the key by choosing random columns from the fact table as the logical key columns, this error goes way and the correct SQL is generated according to the frag..
    Because of such behavior, I'd really like to know how logical key really works in BMM layer.

Maybe you are looking for

  • Iphone 5s restore issues

    I have recently converted to an iphone 5s 16GB from an iphone 4s 32GB. I backed up my 4s to itunes but when I try and restore my 5s with all my 4s data is says there's not enough storage. I purchased an extra 20GB on icloud thinking that it might all

  • I have an Airplay enabled AV Receiver - how do i set up Airplay

    I have an airplay enabled AV Receiver - how do i set up Airplay I have a Yamaha RX-V673 which is Airplay enabled, but i can't get Airplay to work either on my Mac book or my iphone. The receiver is connected to my network and i can control it using t

  • Work flows

    Hello SAP Gurus Is there any table that shows list of all the task types used for workflows. Thanks Kishore

  • Issues while changing primary key in table

    Hi I have one table. In that two fields are primary key. I want to change the second PK as FK only. But when i am changing this field as FK. Its showing one error 'Primary Key Change not permitted for value Table ZCAUSECATMASTER' . How to avoid this

  • Object moved to here

    how to get rid of this problem in safari plz help i dun knw if i need any antivirus programme for this or else