I need the Design Repository name in my Runtime repository query??????

Hi,
I want to execute a query on Runtime repository user.
I need to know: Design Repository User (own of mapping execution error) , Mapping Name and Error Message.
With this query I have the Mapping Name and Error Message. BUT HOW CAN I OBTAIN THE Design Repository name OF MAPPING EXECUTION ERROR???????????????
SELECT
mr.map_name map_name, err.UPDATED_BY,err.UPDATED_ON, err.RUN_ERROR_MESSAGE, err.TARGET_NAME,RUN_ERROR_ID, err.STEP_ID, err.MAP_RUN_ID,
err.MAP_STEP, err.CURSOR_ROWKEY, err.RUN_ERROR_NUMBER,
err.TARGET_COLUMN,
err.STATEMENT, err.CREATED_ON, err.CREATED_BY
FROM ALL_RT_AUDIT_MAP_RUN_ERRORS err,
all_rt_audit_map_runs mr
WHERE mr.map_run_id = err.map_run_id
Thanks in advance!

Hi
When you run a mapping from the OWB Client with the Deployment Manager frist you have to login into a runtime repository with an access user. So you don't run the mapping with a designer user, you run it with a runtime user through an access user.
You can find the deployment (runtima access) user in the ALL_RT_AUDIT_DEPLOYMENTS.CREATED_by/UPDATED_by fileds.
Ott Karesz
http://www.trendo-kft.hu

Similar Messages

  • We are currently looking for a way to link images to a design file within programs like InDesign and Illustrator using an HTML link instead of a local file.  We are hosting our images in SharePoint and need the design file to retain it's links, no matter

    We are currently looking for a way to link images to a design file within programs like InDesign and Illustrator using an HTML link instead of a local file.  We are hosting our images in SharePoint and need the design file to retain it's links, no matter who on our network opens the design file.

    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Need the Design Standard CS3 for Mac for companies

    Our company in 2007, was bought Design Standard CS3 for Windows. The certificate shall have the serial numbers for the Mac platform and Windows. But on the DVD program for the Windows platform.
    Now we need the Design Standard CS3 for Mac for companies. Support in Russia can not provide distribution. Help!

    Please, help!

  • Need the modem chip name of Satellite A200-1AX

    Hello..
    I am planning to buy Toshiba A200-1AX laptop, and i will run Linux under it, so i want ensure if the modem will work with Linux or not, i need the name of modem chip, is the modem chip SmartLink or what?
    Sorry for my bad English.
    Thanks.

    Hi,
    the modem wont work since these modems are like "winmodems" and such modems do not work under linux.
    Its important which distribution you want to use since some distros have different driver supports (e.g. ubuntu has more automatic driver installation but when driving gentoo you have to install everything from scratch.) and maybe some communities have a workaround to make the modems working but THATS JUST GUESSING AND NOT A STATEMENT!!
    Would be nice to tell us which distro you want to use.
    Greetings

  • I need the function module name

    i got the requirement to post data to FBS1 FB01 FBV1 transaction before posting the data to transaction i need to check the data in the iternal table for validity . this can be hadled by function modules or bapi
    if any now the name please reply

    hi  santaliestra.
    XBLNR(16) TYPE C,                  " Reference
    BLDAT(10) TYPE C,                  " Document date
    BUDAT(10) TYPE C,                  " Posting date
    BKTXT(25) TYPE C,                  " Short text
    BLART(2)  TYPE C,                  " Document type
    WAERS(5)  TYPE C,                  " Currency
    BUKRH(4)  TYPE C,                  " Company code in Header
        STODT(10) TYPE C,                  " Reversal date
        STGRD(2)  TYPE C,                  " Reason
        BUKRS(4)  TYPE C,                  " Company code
        GSBER(4)  TYPE C,                  " Business area
        HKONT(10) TYPE C,                  " Account number
        KOSTL(10) TYPE C,                  " Cost center
        AUFNR(12) TYPE C,                  " Order number
        PROJK(8)  TYPE C,                  " Wbs
        NPLNR(12) TYPE C,                  " Network
        VORNR(4)  TYPE C,                  " Network activity
        PRCTR(10) TYPE C,                  " Profit center
        ZUONR(18) TYPE C,                  " Assignment number
        PERNR(8)  TYPE C,                  " Personnel number
        VBUND(6)  TYPE C,                  " Trading parnter
        WRBTR(13) TYPE C,                  " Amount
        DMBTR(13) TYPE C,                  " Amount
        MWSKZ(2)  TYPE C,                  " Tax code
        SGTXT(50) TYPE C,                  " Item text
        MATNR(18) TYPE C,                  " Material
        LZBKZ(3)  TYPE C,                  " Bank indicator
        LANDL(3)  TYPE C,                  " Supplying country
        WWCNT(3)  TYPE C,                  " Ship to country
        WWPRL(2)  TYPE C,                  " Product line
        WWPG1(5)  TYPE C,                  " Product group
        WERKS(4)  TYPE C,                  " Plant
        BZIRK(6)  TYPE C,                  " Sales district
        BATR2(3)  TYPE C,                  " Bus. Attr 2
        WWPL4(11) TYPE C,                  " Product level 4
        WWPL5(14) TYPE C,                  " Product level 5
        PRODT(18) TYPE C,                  " Product
        KNDNR(10) TYPE C,                  " Customer
        VKORG(4)  TYPE C,                  " Sales org.
        VTWEG(2)  TYPE C,                  " Distribution channel
        SPART(2)  TYPE C,                  " Division
        VKBUR(4)  TYPE C,                  " Sales office
        INDUS(4)  TYPE C,                  " Industry
        CSGRP(2)  TYPE C,                  " Customer group
        MTNR1(18) TYPE C,                  " Material
        VKGRP(3)  TYPE C,                  " Sales group
        BATR1(18) TYPE C,                  " Bus. Attr 1
        WWPL3(8)  TYPE C,                  " Product level 3
        FKART(4)  TYPE C,                  " Billing type
        MGENT(8)  TYPE C,                  " Management entity
        WWPL6(18) TYPE C,                  " Product level 6
    for these fields i need to check for validity .

  • Need the current package name

    I am using 10g and need to get the package name of the executing package on the run time. I can write/hard_code the value, but need a dynamic variable which stores the package_name during runtime.
    Looking for something like __PACKAGE__ variable in Perl.
    Thanks.

    SQL> create or replace procedure call_proc is
      2  begin
      3  dbms_output.put_line('Call for Call_Proc');
      4  dbms_output.put_line(DBMS_UTILITY.FORMAT_CALL_STACK);
      5  end;
      6  /
    Procedure created.
    SQL> declare
      2  a varchar2(2000);
      3  begin
      4  call_proc;
      5  a := DBMS_UTILITY.FORMAT_CALL_STACK;
      6  dbms_output.put_line(a);
      7  end;
      8  /
    Call for Call_Proc
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number
    name
    332C60EC         4  procedure SYS.CALL_PROC
    332A2AD4         4  anonymous
    block
    ----- PL/SQL Call Stack -----
      object      line  object
      handle    number
    name
    332A2AD4         5  anonymous block
    PL/SQL procedure successfully completed.

  • Fetching the business system name during graphical mapping

    Hi,
    After the receiver determination is done and in interface determination, while executing the interface mapping, i need the business system name for which the
    mapping is under progress. This i need during mapping.
    Also, i need the configuration scenario name during mapping.
    Is there any XI internal variable/system variables which hold these values so that using user defined function they can be accessed and used in graphical mapping ?
    In appreciate your input in this regard.
    Regards
    Ganesh

    Hi,
      For the configuration name you can map it with a constant and for the sender,receiver services and interfaces you nee to use the UDF as one mentioned below.
    Imports   com.racs.gpt.*;
    public String getMapValue(String a,String b,Container container)
    //String a denotes incoming data string |data1|data2|data3|...|dataN.
    //String b = lookupID.
    //container contains runtime parameters.
    AbstractTrace trace;
    String headerField;
    java.util.Map map;
    String  result;
    trace = container.getTrace();
    // get constant map
    map = container.getTransformationParameters();
    CrossReferenceAPI maprule1 = new CrossReferenceAPI();
    result  =   maprule1.getData(a,b,map);
    trace.addWarning("result = " + result);
    if (result.equals("$NULL$"))
    trace.addWarning("XREF Error.  Mapped data for " + a + " not found");
    ErrorHandler errHandler = new ErrorHandler();
    int lookupID = Integer.parseInt(b);
    errHandler.logSQLError(map, lookupID, a, "");
    result = "?";
    return result;
    Regards
    Madhu

  • Import clips into FCP X version 10.0.8 and keep the original clip names

    Can you Import clips into FCP X version 10.0.8 and keep the original clip names in the event original media folder? in version 10.0.8 it automatically allocates date / time of the event. I need it to keep the original clip name i:e Clip0100 event folder original media Clip0100. I am aware you can change the clip name to original once in FCP X, But it's the event folder original media name which I want to remain as the original file name.

    Hi Tom,
    Thanks for the response.
    I am aware you can do this change in the Info inspector so the original clip name from camera is used in the event library browser, but it does not change the clip name in the Final Cut Events Original Mieda file. This still remains as an event clip name "2013-05-23 17_08_13". I need the original clip name Clip0100 to remain as Clip0100 at import. FCP X doesn't seem to allow this happen any more in version 10.0.8.
    Cheers
    D..

  • How to find the physical Host Name from a short host name?

    Hi,
      I meet a problem that in RFC destination setting I see some people maintain the
    short name in 'HOST NAME' field. But I need the long phiscial name.
      For example, the short one 'bsw6107', the phisical name is 'bsw6107.wdf.sap.corp'. It there a table or FM to look for it?
      Thank you.
    Regards,
    Yan

    Hi,
    Changing a host name on a central instance is a BIG thing, I personally would rather reinstall instead of changing a hostname...
    What comes immediately to my mind is:
    - SAP profiles
    - .sapenv* .dbenv* scripts
    - OPS$ users
    - /etc/hostname*
    - /etc/hosts
    - TMS (/usr/sap/trans)
    - Backup clients (and backup server changes if you use a central backup system)
    - RFC destination of external systems
    - SAP printers
    - other external systems connecting to the server (Fax, Archiving etc.)
    Regards,
    Sankar

  • Component gs_jobmonitor: not possible to lock runtime repository

    Hi,
    in bsp_wd_cmpwb for the enhanced component gs_jobmonitor I am not able to lock the runtime repository and I get the error:
    Not possible to lock runtime repository
    Message no. BSP_WD_TOOLS216
    Diagnosis
    You can only lock and edit runtime repositories that are saved statically in a BSP page. This means that the page may not contain dynamic elements, such as ABAP source code or page includes. Dynamic BSP pages must be loaded via HTTP and cannot be locked or edited.
    It is also not possible to lock or edit runtime repositories that are only referenced as a URL or that are in the MIME repository.
    System Response
    Lock not possible. You remain in display mode.
    How can I solve this problem? I have already seen threads in http://forums.sdn.sap.com/thread.jspa?threadID=1948329 and sap notes like 1437186: is this the case and do I have to modify the standard Repository.xml in se80? (I have upgraded my system and I need to edit the repository in order to solve inconsistencies between the standard repository and the enhanced repository).
    Thanks,
    Laura.

    We have modified in se80 the Repository.xml file for BSP Application ZGS_JOBMONITOR deleting all <% %> lines (also <%-- --%>), then we were able to lock the enhanced repository for component GS_JOBMONITOR in BSP_WD_CMPWB and make our adjustments. At the end we have restored the abap statements again in Repository.xml.
    Thanks for your help.
    Laura.

  • Need the API Name for OPM tables

    Hi,
    I need the public / private API to populate data into the following Tables.
    Table Name :
    QC_SPEC_MST
    QC_SMPL_MST
    QC_RSLT_MST
    I didnt get any reference from Metalink.
    Can anyone help us to identify the API or any workaround to solve this ?
    Thanks & Regards,
    Anik Datta

    Hi Anik;
    All APIs are listed in Oracle Integration Repository
    http://irep.oracle.com/index.html
    API User Notes - HTML Format [ID 236937.1]
    R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
    Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
    Technical Uses of Customer Interface and TCA-API [ID 269121.1]
    Pelase also check below:
    Api's in EBS
    Re: Api's in EBS
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    Fixed Asset API
    List of API
    Re: List of APIs
    Oracle Common Application Components API Reference Guide
    download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
    List of APIs and open interface R12
    Re: List of APIs and open interface R12
    Regard
    Helios

  • Why we need Design Repository and Runtime repository seperately?

    Hi All,
    Anybody please tell me why we need design time repository and runtime repository seperately? And also I want to know the total OWB Architecture.
    Thanks,
    Siv
    Edited by: Siv on Feb 10, 2010 10:40 PM

    Hi Siv:
    Concerning Repository:
    Since OWB 10.2 there is only one Repository storing Design and Runtime-Components.
    excerpt from http://download.oracle.com/docs/cd/E10926_01/doc/owb.101/b12146/over.htm (OWB 10.1.):
    The Design Repository, installed in an Oracle database, stores the metadata definitions for all of the objects used in Warehouse Builder. This is where all of the design information is stored for the target systems you are creating. You can access metadata stored here using the client user-interface, or through OMB Plus, the Warehouse Builder scripting utility.
    The runtime repository, installed in an Oracle database, stores all of the deployment data as well as data from executed mappings and process flows. This is where the target environment information is stored for the business intelligence systems you create. This includes connection information for all of the deployment locations.
    Which version of OWB are you using?
    Greetings
    Guenther Herzog

  • Specifying Repository Name in the Forte Shortcut

    I have been looking for information on how to specify the Repository Name
    with the Forte shortcut. I have a couple of repositories and I would
    like to create a Forte shortcut for each repository. I am running Forte
    3.0.E.0 on an NT 4.0 box. I have been trying the following command:
    c:\forte\install\bin\ftcmd.exe run "forte -fr bt:central -fnd
    <nodename>"
    Where central is the name of the physical repository on <nodename>. I've
    tried several variations without success and cannot connect with the
    CentralRepository. Any suggestions? I know that I can startup the Forte
    Control Panel and specify the name on that dialog, but that is tedious
    when trying to switch between multiple repositories. Thanks.
    Bradley K Wells
    Strong Capital Management, Inc
    http://www.strong-funds.com

    It looks like you are not using the proper syntax for ftcmd. Refer to "A Guide to the Forte Workshops" p51,54 for the complete list of flags for ftcmd.
    I believe the following is what you should use. If you are accessing a repos through a rpserver, then the repos flag needs the repos name and does not need the repos type (bt). The repos name is the value for the -n flag for the rpserver.
    c:\forte\install\bin\ftcmd.exe -fnd nodename -fr central run forte
    Hope this helps,
    Andrew Zwerin
    [email protected]
    To: [email protected]
    From: [email protected]@internetmime on Mon, Dec 22, 1997 7:59 PM
    Subject: Specifying Repository Name in the Forte Shortcut
    I have been looking for information on how to specify the Repository Name
    with the Forte shortcut. I have a couple of repositories and I would
    like to create a Forte shortcut for each repository. I am running Forte
    3.0.E.0 on an NT 4.0 box. I have been trying the following command:
    c:\forte\install\bin\ftcmd.exe run "forte -fr bt:central -fnd
    <nodename>"
    Where central is the name of the physical repository on <nodename>. I've
    tried several variations without success and cannot connect with the
    CentralRepository. Any suggestions? I know that I can startup the Forte
    Control Panel and specify the name on that dialog, but that is tedious
    when trying to switch between multiple repositories. Thanks.
    Bradley K Wells
    Strong Capital Management, Inc
    http://www.strong-funds.com
    ------------------ Mail Header Follows ------------------
    Date: 22 Dec 97 17:41:48 -0800
    Sender: "[email protected]" <owner-forte-users@SageIT#d#com>
    From: "[email protected]@internetmime" <brwells@strong-funds#d#com@internetmime>
    Reply-To: "[email protected]@internetmime" <brwells@strong-funds#d#com@internetmime>
    To: "[email protected]" <forte-users@Sagesoln#d#com> (Reply not requested)
    Subject: Specifying Repository Name in the Forte Shortcut
    UA-Content-Id: Specifying Repos
    Delivery-Time-Stamp: Mon Dec 22 19:53:05 1997
    P1-Recipient: "Zwerin_Andrew" <Zwerin#u#Andrew>,
    "Murphy_Bill" <Murphy#u#Bill>, "Rahmey_Ness" <Rahmey#u#Ness>
    Priority: normal
    Importance: normal
    P1-Message-Id: us*mailserver.stron*TWI;971222195242
    Original-Encoded-Information-Types: IA5-Text
    X400-Trace: us*mailserver.stron*TWI; arrival 971222174148-0800 deferred 971222174148-0800 action Relayed
    X400-Trace: us*thud*TWI; arrival 971222174026-0600 deferred 971222174026-0600 action Relayed
    X400-Trace: us*pebble.sagesoln.*TWI; arrival 971222154008-0800 deferred 971222154008-0800 action Relayed
    X400-Trace: us*pebble.SageIT.co*TWI; arrival 971222154034-0800 deferred 971222154034-0800 action Relayed
    X400-Trace: us*pebble.SageIT.co*TWI; arrival 971222154036-0800 deferred 971222154036-0800 action Relayed
    X400-Trace: us*ec-fw2.twi.com*TWI; arrival 971223005248Z deferred 971223005248Z action Relayed
    X400-Trace: us*ecsmtp.twi.com*TWI; arrival 971222195125-0500 deferred 971222195125-0500 action Relayed
    X400-Trace: us*twwtny1.twi.com*TWI; arrival 971222195240-0500 deferred 971222195240-0500 action Relayed
    X400-Trace: US*MCI*TWI; arrival 971222174000-0800 deferred 971222174000-0800 action Relayed
    Message-Id: <349F16DC#064#mailserver#d#strong-funds#d#com*/>
    P1-Content-Type: P2

  • I need the "Real" Table / Table Column names from a sql view

    Firstly, we have a system with ~1000 tables and ~250 views.  We have field level security on the table columns (in our code)
    Now we have a lot of views which select data from the tables, but I need to get the "Table Column Name" that is linked in the view. 
    I know there are view columns that is not linked to a specific table column, (or concatenation of columns) so those columns can just return NULL.
    From the sample you will see there is a view selecting data from another view.  I know it is not the best sql performance (execution path) but that is another topic on its own.
    I went through a lot of the sys.* stored procs or sys.* views to try and figure out if there is a view that we can use to get the expected results.
    here is the sql code:
    if
    Exists (select
    * from
    sys.all_objects
    where name =
    'AliasView2')
    drop view dbo.AliasView2
    if
    Exists (select
    * from
    sys.all_objects
    where name =
    'AliasView1')
    drop view dbo.AliasView1
    if
    Exists (select
    * from
    sys.all_objects
    where name =
    'Table4')
    BEGIN
    alter table dbo.Table4
    DROP CONSTRAINT [FK_T4_T3]
    alter table dbo.Table4
    DROP CONSTRAINT [PK_T4_Constraint]
    drop table dbo.Table4
    END
    if
    Exists (select
    * from
    sys.all_objects
    where name =
    'Table3')
    BEGIN
    alter table dbo.Table3
    DROP CONSTRAINT [FK_T3_T2]
    alter table dbo.Table3
    DROP CONSTRAINT [PK_T3_Constraint]
    drop table dbo.Table3
    END
    if
    Exists (select
    * from
    sys.all_objects
    where name =
    'Table2')
    BEGIN
    alter table dbo.Table2
    DROP CONSTRAINT [FK_T2_T1]
    alter table dbo.Table2
    DROP CONSTRAINT [PK_T2_Constraint]
    drop table dbo.Table2
    END
    if
    Exists (select
    * from
    sys.all_objects
    where name =
    'Table1')
    BEGIN
    alter table dbo.Table1
    DROP CONSTRAINT [PK_T1_Constraint]
    drop table dbo.Table1
    END
    create
    Table dbo.Table1
    T1_PK        int
    NOT NULL
    Identity(1, 1)
    CONSTRAINT [PK_T1_Constraint]
    PRIMARY KEY (T1_PK),
    T1_Field1    varchar
    NULL,
    T1_Field2    varchar
    NULL,
    create
    Table dbo.Table2
    T2_PK        int
    NOT NULL
    Identity(1, 1)
    CONSTRAINT [PK_T2_Constraint]
    PRIMARY KEY (T2_PK),
    T2_Field1    varchar
    NULL,
    T2_Field2    varchar
    NULL,
    T2_FK        int
    NOT NULL
    CONSTRAINT [FK_T2_T1]
    FOREIGN KEY (T2_FK)
    REFERENCES dbo.Table1
    (T1_PK)
    create
    Table dbo.Table3
    T3_PK        int
    NOT NULL
    Identity(1, 1)
    CONSTRAINT [PK_T3_Constraint]
    PRIMARY KEY (T3_PK),
    T3_Field1    varchar
    NULL,
    T3_Field2    varchar
    NULL,
    T3_FK        int
    NOT NULL
    CONSTRAINT [FK_T3_T2]
    FOREIGN KEY (T3_FK)
    REFERENCES dbo.Table2
    (T2_PK)
    create
    Table dbo.Table4
    T4_PK        int
    NOT NULL
    Identity(1, 1)
    CONSTRAINT [PK_T4_Constraint]
    PRIMARY KEY (T4_PK),
    T4_Field1    varchar
    NULL,
    T4_Field2    varchar
    NULL,
    T4_FK        int
    NOT NULL
    CONSTRAINT [FK_T4_T3]
    FOREIGN KEY (T4_FK)
    REFERENCES dbo.Table3
    (T3_PK)
    GO
    --Create a basic view to select some data
    CREATE
    VIEW dbo.AliasView1
    AS
    select
    t2.T2_FK as Table2_ForeignKey,
    t1.T1_Field1 as Table1_FieldOne,
    t2.T2_Field1 as Table2_FieldOne
    FROM Table1 t1
    Left outer
    join Table2 t2 on t2.T2_FK
    = t1.T1_PK;
    GO
    --Create another view that select basic data, and also selecting data from view 1
    CREATE
    VIEW dbo.AliasView2
    AS
    select
    v1.Table1_FieldOne
    as Table1_FieldOne,     
    v1.Table2_FieldOne
    as Table2_FieldOne,  
    t3.T3_Field1 as Table3_FieldOne,
    t3.T3_Field2 
    FROM Table3 t3
    Left outer
    join AliasView1 v1 on v1.Table2_ForeignKey
    = t3.T3_PK;
    GO
    --My attempt to get the desired output, but no luck
    SELECT 
    col.COLUMN_NAME as AliasColumnName, col.DATA_TYPE, col.CHARACTER_MAXIMUM_LENGTH
    as max_length, colu.*
    FROM
    information_schema.COLUMNS col
    left
    outer join
    (SELECT 
    VIEW_SCHEMA, VIEW_NAME, COLUMN_NAME,
    min(TABLE_NAME)
    as TABLE_NAME
    FROM information_schema.VIEW_COLUMN_USAGE colu
    WHERE VIEW_NAME =
    'AliasView2'
    Group by VIEW_SCHEMA, VIEW_NAME, COLUMN_NAME
    ) COLU ON colU.VIEW_NAME
    = col.TABLE_NAME
    and colu.COLUMN_NAME
    = col.COLUMN_NAME
    left
    outer join
    (select a.name
    as TableName, c.name
    as FieldName
    from sys.foreign_key_columns fk
    join sys.all_objects a
    on a.object_id
    = fk.parent_object_id
    join sys.all_columns c
    on c.object_id
    = a.object_id
    and c.column_id
    = fk.parent_column_id
    join sys.all_objects ar
    on ar.object_id
    = fk.referenced_object_id
    join sys.all_columns cr
    on cr.object_id
    = ar.object_id
    and cr.column_id
    = fk.referenced_column_id
    join sys.schemas scr
    on scr.schema_id
    = ar.schema_id
    ) fks on fks.TableName
    = colu.TABLE_NAME
    and fks.FieldName
    = colu.COLUMN_NAME
    WHERE COL.TABLE_NAME
    = 'AliasView2'
    order
    by col.ORDINAL_POSITION
    This is the results being returned: (That is not 100% what I am looking for)
    AliasColumnName
    DATA_TYPE
    max_length
    VIEW_SCHEMA
    VIEW_NAME
    COLUMN_NAME
    TABLE_NAME
    Table1_FieldOne
    varchar
    1
    dbo
    AliasView2
    Table1_FieldOne
    AliasView1
    Table2_FieldOne
    varchar
    1
    dbo
    AliasView2
    Table2_FieldOne
    AliasView1
    Table3_FieldOne
    varchar
    1
    NULL
    NULL
    NULL
    NULL
    T3_Field2
    varchar
    1
    dbo
    AliasView2
    T3_Field2
    Table3
    The desired results must be like the following:
    AliasColumnName
    DATA_TYPE
    max_length
    VIEW_SCHEMA
    VIEW_NAME
    COLUMN_NAME
    TABLE_NAME
    Table1_FieldOne
    varchar
    1
    dbo
    AliasView2
    T1_Field1
    Table1
    Table2_FieldOne
    varchar
    1
    dbo
    AliasView2
    T2_Field1
    Table2
    Table3_FieldOne
    varchar
    1
    dbo
    AliasView2
    T3_Field1
    Table3
    T3_Field2
    varchar
    1
    dbo
    AliasView2
    T3_Field2
    Table3
    NOTE:  the COLUMN_NAME and TABLE_NAME must the REAL field of the TABLE it belongs to and not only ONE LEVEL Higher’s ALIAS View Name

    Now we have a lot of views which select data from the tables, but I need to get the "Table Column Name" that is linked in the view.
    If you are using SQL Server 2012/2014, then you can use
    sys.dm_exec_describe_first_result_set (Transact-SQL) to gte the informations.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • In the info cube insted of description need to display technical name

    Hi,
    I am displaying my info cube contents.But in the field name insted of description i need tehnical name of the filed to dispaly.can you plz anybody suggest me the solution.
    thanks
    Raj

    Hi Raj,
    Use T code : LISTCUBE
    you get 2 text boxes,  Object type : CUBE
                                     Data Target : cube name
    Check the option - Technical names.  F8
    You get all the technical names in the place of descriptions,
    hope this is fine
    Regards
    sreekanth

Maybe you are looking for

  • Oracle Database Export - 8.1.7.4 on linux

    Hello All, With reference to the below Link. Oracle Upgrade 8.1.7.4 to 10g in Red hat linux I am trying to export the oracle database (8.1.7.4) in our landscape using the installation master - system copy. But I am not able to export the database due

  • Problem In The Query

    Hai All,            I have created a login form in screen painter (which contains two textbox and a login button). When login button is clicked, I want to check whether the username and password matches in the table (@EMPA). I have a problem while ch

  • Partial Payment in Automatic Payment Program

    HI I know that we can block a particular line item for payment in APP. But my doubt is whether is it possible to make partial payment in a particular line item in APP. Kinldy advise. Cheers V.Krishnan

  • How to create new or delete the existing row in the grid....

    hi my friends... i am developing report using Reuse_alv_grid_display... my requirement is... At runtime           1.  i may create new row on the grid (empty row inwhich  i may enter the data).           2.  i may delete a existing row in the grid   

  • Link between db's..

    Hi, Steps to create the link between databases on different machines. Regards, Usman