Table aliases while creating views in KM

Hello All,
While executing an interface I noticed that it failed on the LKM step -
Create View on Source
(LKM MSQL to MSQL)
On investigation, I found the error was because of an in invalid alias (alias created was a sql server keyword) that ODI had assigned to the source table. I extracted the code from the KM and I am hoping someone could direct me on how I could modify the KM so that the alias ODI creates is different from what its currently set to.
TIA
MN

MN you dont need to modify the KM , when you click on the required Datastore , you will find the alias name , there change it accordingly or in the Datastore itself. I think that should help you .

Similar Messages

  • Getting Error ORA-00604 While Creating View from front Ent

    Hello All,
    I am getting ORA-00604 while creating view from the front end. And some time I get Maximum cursor open, It is ok amy be I am opening cursors in while loop. While ORA-00604 is giving lots of truble to me. In help it said to contact Oracle service, I dont know how to do that. Help me.

    Please post your view definition including the complete error_message and also the relevant parts of your code with the while loop.

  • Tables updated while creating order, before saving

    hi friends,
    Please provide list of tables updated while creating the order, before saving it.
    regards,
    vandana arora

    Hi
    The following tables get updated
    VBBE - Sales Requirement
    VBLB - Release Order Data
    VBAK - Sales Document Header
    VBPA - Partner Table
    VEPVG - Delivery Due Index
    VBAP - Sales Document Item Data
    VKDFS - SD Index: Billing initiator
    VAPMA - SD Index: Order Item by Material
    VAKPA - SD Index: Order Item by Partner Function
    VBEP - Schedule Line
    VBKD - Sales Doc: Business Data
    VBEH - Schedule Line History

  • Error while creating view

     Hello,
    I am trying to create view which is based on multiple source tables and I am receiving following error 
    Internal error: An expression services limit has been reached. Please look for potentially complex expressions in your query, and try to simplify them.
    Can anyone know how to resolve this.
    Thanks,

    See MS Support for how to solve it:
    Error message when you run a query in SQL Server 2005: "Internal error: An expression services limit has been reached"
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Error "No entry in table T551A" while creating set work schedule rule.

    Dear Team,
    I am getting following error while creating set work schedule rule.
    Error "No entry in table T551A" for key 22 BBB [ here BBBB is my period work schedule]
    The actual prob is i configured all the necessary steps but when i tried to create work schedule rule im getting this error. Also, in the same screen there is one field DWS grouping initially value in this is 00 and gread mode. But after giving ES grp, holiday calander ID etc etc when i try to save that screen that value is chainging to 22 from 00.
    My ES grop=2 and PS grop=2 . Is that value is my ES and PS grouping..?? or some other thing.
    Request you to please help me out.
    Regards
    Shab.

    HI, there are 8 steps you need to do below:
    1. Group Personnel Subareas for the Daily Work Schedule
    2. Group Personnel Subareas for the Work Schedule
    3. Define Break Schedules
    4. Define Daily Work Schedules
    5. Define Period Work Schedules
    6. Define Employee Subgroup Groupings
    7. Define Groupings for the Public Holiday Calendar
    8. Set Work Schedule Rules and Work Schedules
    All of them belong to TIME MANAGEMENT. I think you miss some steps above.
    Please check it again.
    Regards!
    Minh

  • Getting prob while creating view in webdynpro ABAP application

    Hi Guys,
    I am facing a problem while creating a view for webdynpro ABAP application. It is giving an error as "ICF service "/sap/public/bc/WebDynpro/ViewDesigner" inactive".
    can anybody let me know how to solve this problem.
                   Thanks In Advance
    Regards
    Ravikumar

    I think check Internet explorer Tools ->Internet Options ->Connections.>Lan Connections> if the proxy or anyting checkbox is clicked coz it doesn't work with Internet on .
    Please reward if useful.

  • How to make the fields of the table mandatory while creating new entries..?

    Hi,
    I have created a new Z table which has 6 fields. All the 6 fields are KEY fields and all are of CHAR type. I have generated the table maintenance generator for the same. My requirement is all the fields should be MANDATORY while creating the entries. No field should be BLANK.
    When creating the new entries in the table, even if I don't give any values to some of the fields, it is saving the entry. But, it shouldn't happen like that. If any of the field is kept blank, it should not allow the user to save the entry. Can someone tell me how to approach this. Will there be any settings while creating the table which takes care of this.
    I read somewhere that this can be done using the Table EVENTS. Can someone tell me what is the code that we should write there in the Events which prevents the user from saving the blank fields. While writing the logic in the events, how to check whether the particular field is BLANK or not. Will the values be stored in any internal table kind of thing..?
    My table name is ZCRF_TAB and the fields are FLD!, FLD2, FLD3, FLD4, FLD5 & FLD6. Can someone provide me sample code for my requirement. Thanks in advance.
    Best regards,
    Paddu.

    Hi,I think u have generated Table Maintainance Generator, goto Environment->Modifications->Events
    Select appropriate option by using F4,I think value 05 is appropriate for u r requirement.Enter From routine name.Dbl click on the routine.
    Write the appropriate code like:
    If ZTABLE-FIELD1 is initial.
    Message (E000) with "Fill all the manadatory fields".
    Thats it.Just look at the following docu with screenshots,by this understand how u can use Table Events:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
    Regards,
    Rock.

  • Bug in BC4J test query while creating view based on query

    In BC4J while creating a view from query if we test our query , BC4J modify the query with the following one :
    "SELECT * FROM ( " + ourQuery + " ) where 1=2;"
    so for the Query like "SELECT ename,ename from emp" which is a valid query it modifies it to
    "SELECT * FROM ( SELECT ename,ename from emp ) where 1=2;"
    which is an invalid Query and BC4J get a SQLException:column ambiguously defined and Test fails
    BC4J does this modification in query because it doesn't want to Fetch Data from Database and add the where clause
    to the query but in Cases like above this modification doesn't work properly.
    one way to solve the problem is by giving alias name to the columns of query.Is there any other way to do the same as my query is completely Valid and i don't want to change it at all ?

    Hi Jan,
    Actually I am getting my query at run time and based on that I am creating a view.This Query can be given by User of my application and at that time it'll be very painful for me to handle that.
    It's definately a Bug in BC4J as they should not modify the query in this way.Thanx for ur interest in my problem.

  • Call procedure while creating view in hana.

    Can we call procedure while creating a attribute view like
    CREATE VIEW "PAYROLLDBTEST"."@HourTransactionView"
    "DocEntry",
    "DocNum",
    "EmpID",
    "EmpCode",
    "FullName",
    "TableName",
    "TranName",
    "U_FromDate",
    "U_ToDate",
    "NoOfDays",
    "U_FromTime",
    "U_ToTime",
    "NoOfHours",
    "OvertimeHours",
    "UnpaidDays",
    "Weekends",
    "Holidays",
    "U_Remarks",
    "U_BatchNo",
    "ProjectCode"
    ) AS SELECT
      T0."DocEntry" AS DocEntry,
        T0."DocNum" AS DocNum,
       T0."U_EmpCode" AS EmpID,
    CALL PAYROLLDBTEST.GetEmpCodeFromEmployeeID('EmpID')  ,              (getting syntax error here).
        GetEmployeeFullName("@TRANSACTION_HOURS".U_EmpCode) AS FullName,
          T0."U_TransactionType" AS TranCode,
        GetHourTableName("U_TransactionType") AS TableName,
         GetHourTransactionName("U_TransactionType") AS TranName,
        T0."U_FromDate",
        T0. "U_ToDate",
          DAYS_BETWEEN("U_FromDate", "U_ToDate") + 1 AS NoOfDays,
          T0."U_FromTime" AS U_FromTime,
           T0."U_ToTime" AS U_ToTime,
        IFNULL("U_WorkHours", 0) AS NoOfHours,
         IFNULL("U_OvertimeHours", 0) AS OvertimeHours,
        IFNULL("U_PaidDays", 0) AS PaidDays,
         IFNULL("U_UnpaidDays", 0) AS UnpaidDays,
        IFNULL("U_WeekendsCount", 0) AS Weekends,
         IFNULL("U_HolidaysCount", 0) AS Holidays,
          T0."U_Remarks",
           T0."U_BatchNo",
        T0."U_ProjectCode" AS "ProjectCode"
        FROM
        "@TRANSACTION_HOURS" T0
        INNER JOIN
        "OHEM" T1
        ON
         T1."empID" = T0."U_EmpCode";

    Hello,
    The problem could be a SAPGUI related problem... Whats the current sapgui patch level ? Does it work when you try on another wokstation with the same user ?
    Could you please use SAPGUI 720 and update your patch level to 7 ? Then check the behaviour again.
    Best regards
    Rene

  • Table lock while creating index?

    Hello,
    my db is oracle10g. My database is OLTP system. I wanted to create index on one of the table. The table has 200 million records.
    Does it lock the entire table when i create index? I am thinking, how it impacts the regular operations in the database while creating the index?
    Any help is appreciated...

    Hi,
    Do you have Enterprise Edition? If so, the online option is available to you.
    So, you can do:
    create index my_new_index on my_tab(col1,col2) online;or:
    alter index my_existing_index rebuild online;If you don't use the online option, then yes, the table will be locked against updates, any OLTP traffic will serialize behinds the index maintenance operation.
    Hope that helps,
    -Mark

  • Error while creating view in component - BT115H_SLSO

    Hi All,
    When I am creating view in the BSP Component workbench(T/code: BSP_WD_CMPWB), I
    am getting the error "Invalid GUI INPUT DATA :INVALID XMLBLOB DATA" shot and suggest me how to come out of this error.
    Component: BT115H_SLSO
    Regards,
    Praveen

    Hello,
    The problem could be a SAPGUI related problem... Whats the current sapgui patch level ? Does it work when you try on another wokstation with the same user ?
    Could you please use SAPGUI 720 and update your patch level to 7 ? Then check the behaviour again.
    Best regards
    Rene

  • Select option "Show this View : in Folder of Content type : {Custom Content Type Name}" while creating view using CSOM

    Hi,
    I am trying to create "View" in a Document Library and need to enable following:
    1. Mark as default View
    2. Folders -> Show this view : in Folders of Content Type : {Custom Content Type name}
    I am using following code which sets "in Folders of Content Type : " to "Folder" rather than selecting custom content type despite passing Content Type ID of custom content type.
    code:
    var itemContentTypes = clientContext.LoadQuery(web.AvailableContentTypes.Where(ct => ct.Name == viewContentType));
    clientContext.ExecuteQuery();
    var itemContentType = itemContentTypes.FirstOrDefault();
    view.ContentTypeId = itemContentType.Id;
    view.DefaultViewForContentType = true;
    view.Update();
    clientContext.ExecuteQuery();
    Please highlight what seems to be missing?
    Thanks
    Sonal

    Hi,
    Before you set the content type ID for the view, you need to add the custom content type to the library firstly.
    You can add the content type to library using OOTB feature “Add from existing site content types” in library settings or using Client Object Model.
    Here is a code snippet for your reference:
    var list = context.Web.Lists.GetByTitle(listTitle);
    list.ContentTypesEnabled = true;
    var contentType = context.Site.RootWeb.ContentTypes.GetById("0x0120");
    list.ContentTypes.AddExistingContentType(contentType);
    context.ExecuteQuery();
    More information about add exist content type using Client Object Model:<o:p></o:p>
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.contenttypecollection.addexistingcontenttype%28v=office.15%29.aspx
    Best regards,
    ZhengyuGuo
    Zhengyu Guo
    TechNet Community Support

  • Embeding ALV table in dynamically created view container UI element

    Hi ,
    I created a view container UI element dynamically .that is working fine . I am using standard ALV component . Now i want to embed ALV table in View container UI element dynamically > please help me in this .
    Thanks in advance ,
    Vijay vorsu

    Hi,
    I am not sure how to do add an ALV table dynamically but you can have a look at this blog which talks about creating and adding a TABLE ui element dynamically. And TABLE UI element may solve your problem.
    http://mamma1360.blog.163.com/blog/static/314740992008127115551165/
    Thanks,
    Abhishek

  • Error while creating views

    Hi all,
    Im creating a view with 2 CO tables(COSP &COSS),i gv join conditions as OBJNR,WRTTP,KSTAR,MANDT. after this i selected tab View/Fields then i selected my table COSP,wherein i selected the other fields which i want,then i saved and did a check and finally activated it.But after activation i get a error that all "<b>Fields are Evaluated as Key fields "</b> <b>The View ignores client dependency of the base tables.</b> After that i saw all the fields in View Flds tab are Checked as Keyfields.Please advice how to solve this error.
    Thanks

    Hi BI,
    The first one is a warning and the second one is an error. The error can be cleared by including the MANDT field in the view from one of the tables. The warning "Fields are Evaluated as Key fields" is because, you have not included all the key fields of the base tables in the view. I mean to say if you include all the key fields from COSP and COSS, you can get rid of this warning. The warning means... since you did not select all the key fields of the base tables of the view, all the display fields of the view are treated as key fields. That is why you see all the fields marked as key fields. You can ignore the warning if you are getting all the required records in the view. Otherwise, include all the key fields from both the tables and the other fields can be deselected as key fields. Hope this helps.
    Thanks and Regards
    Subray Hegde

  • Conditions while creating views

    Hi,
    I have 2 db tables A and B. And I need to have a condition while joining these two tables. i have a field called date in A and date1 and date 2 in B.
    The condition i would like to incorporate is A-date should lie between B-date1 and B-date2 (B-date1<A-date<B-date2).
    I've tried out Maintenance Views and i can only give a comparative value in the selection conditions (say A-date eq sy-datum).
    Can anyone suggest me how to go about this.
    Thanks in advance...
    Naren

    hi
    good
    go through these links which ll gie you idea about view with join statement.
    http://www.braincorp.com.au/products/information-technology/sql/database-concepts-and-technologies/database-technologies-part-2-introduction-to-sq/
    http://dev.mysql.com/doc/maxdb/en/6d/117c44d14811d2a97400a0c9449261/content.htm
    thanks
    mrutyun^

Maybe you are looking for

  • How do I use the App store with macbook pro and mac pro

    I currently use the app store with the mac book, but want to buy (share?) apps and music with the mac pro. I can't find anything that specifically outlines how this works. I use SplashID with the macbook and an iPhone, and want to use it (and sync it

  • Mixing ECC & non-ECC memory

    I just inherited the care of a Dual G5 server. I noticed that there are 2-256 sticks of ECC and 2-256 sticks of non-ECC memory. Is this an issue? Or will they work fine together?

  • How to resolve Nokia C6-00 touch Pad problem?

    I have bougt Nokia C6-00  two months ago from our local store.One day I drop   it on floor and then its touch pad is hanging  freequently . Now What should I do for that.Thanks for your suggestions. Gtec Media Solved! Go to Solution.

  • Iphone wifi issue.

    Hi, I have an iphone 3gs white 32 gb bought in india. I have issues with the wifi. the phone is able to connect to wifi but if locked for 2 minutes,it loses the cellular network as well as wifi and finds it again. Then the wifi is unable to locate th

  • Applecare+ ... decision day

    Today Nov14 is the last day to add applecare+ to any 4S bought by preorder last month. Been thinking about pros/cons over the weekend. The old applecare was not worth getting period, that was a no brainer. But this new + version adds a few wrinkles.