Unicode and Date fields crash the kernel

Hi,
we ran into a bug in the query parser while testing our system with japanese dates, that crashes the kernel when a date/time/timestamp field is compared to a literal that contains a unicode character.
For instance,
select * from dual where now() = '2011年10月12日'
will crash the kernel (7.7 or 7.8)
Normally the date field should be compared only with strings in ISO format, but we fear some wrongly written query will crash our production database.
Is that a known bug and is there a workaround ?
Guillaume

Hi Guillaume,
this is a bug whereas not a known one up to now. We will solve this ASAP and have created an entry in our error database: [1239879|http://maxdb.sap.com/webpts?wptsdetail=yes&ErrorType=0&ErrorID=1239879].
Unfortunately there is no other workaround for this error than not to use UNICODE characters in those queries.
Thank you for reporting.
Best regards,
Steffen

Similar Messages

  • Infoset Join condition on Key feilds and data fields

    Hi Guys,
    I have a requirement to biuld the Info set with join conditon on two DSO's  the info objects which i am using in the JOin condition are defined as data fieds in one DSO and defined as key fields in another DSO, is it possible to define join condition on key fields and data fields.
    The two info objects are                
                           0AC_DOC_NO
                           0ITEM_NUM
    These two info objects are defined as  data fields in DSO :   0LIV_DS1   Invocie verificaion
                                                            key fields in DSO:    0FIAP_0o3 FI AP Line Item
    Please suggest me is it possible to define join the condtion on the data fields and key feilds.
    Thanks
    Best regards
    SG

    Hi
    yes you can create join, you will get any issue in reporting level.
    example: Say i want to create Info Set on 0MATERIAL and Sales DSO.
    In 0MATERIAL Info Object it is key filed, but in my DSO 0MATERIAL is data field.Still we can create
    Creation of join is dependent on fields common in your source objects.
    check out the below document
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7?QuickLink=index&overridelayout=true
    Regards,
    Venkatesh
    Edited by: Venkateswarlu Nandimandalam on Sep 27, 2011 2:26 AM

  • How to add the date field in the dso and info cube

    Hi all.
    I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
    Thanks & Regard
    KK

    my prob is solved
    KK

  • DSO - What key fields and data fields in dso

    Hi experts,
    I need to create a dso in between the cube and 2 data sources(2lis_11_vaitm, 2lis_12_vcscl) to stage the data. My question is: what key fields and data fields to choose for the dso? is there a standard dso to copy? please explain in detail the model to set up, whether to connect both the ds's to dso and then to cube or one ds to dso and the other to the cube. more details will help.

    Check this for standard DSO:
    http://help.sap.com/saphelp_nw04/helpdata/en/43/fcdc387f34384f94c3227baf3837a8/content.htm
    Thanks...
    Shambhu

  • Key fields and data fields in a DSO  ??

    i have a question regarding key fields and data fields in a Standard DSO...
    i am using 2 datasources to build a open sales report 2LIS_11_VASTH  and  2LIS_11_VASTI   i am pulling in data from these 2 data sources to a DSO and i am wondering what infoobjects should be in the key fields and data fields .....does this reflect back to table VBUK and VBUP tables and does the key field in the DSO have to be the key fields in VBUK and VBUP tables  ????  or what really should be included as key fields and data fields   ????  
    please help....

    If you look at the various SD tables, VBELN and POSNR are commonly used as the document number and document line item.
    For VBAP and VBUP, it's referring to the Sales Order Line Item with the columns VBELN and POSNR as the key for both tables. However, if you look at the LIPS table, which is the Delivery Line Item table, it too has VBELN and POSNR as the key. Likewise, the VTTP table, which is the Shipment Line Item table, also has VBELN and POSNR as the key.
    While using RSOSFIELDMAP as a map is a fairly good "rule of thumb", it still needs to be used with a level of skepticism.

  • Prerequsites for deciding Key fields and data fields

    Hi
    I would like to know the criteria to decide upon KEY fields and Data fields for an infoprovider.

    Hi,
    What is a Key field in a Database and How should I choose one?
    Keys are crucial to a table structure for many reasons, some of which are identified below:
    They ensure that each record in a table is precisely identified.
    They help establish and enforce various types of integrity.
    They serve to establish table relationships.
    Datafields may be Charecteristics and it may be keyfigures
    Regards,
    Marasa.

  • Key Fields and Data Fields in ODS

    Hi Guru's ,
    Can u Explain what are Key Field's and Data Field's in ODS,and How they work.
    Thanx in Advance.

    Hi Pradeep,
    An ODS’ key fields forms a unique combination of chars according to which data in the ODS will be summed up. Data fields are additional fields, chars or key figures.
    For example, you have the following key fields:
    Doc No, Doc line item (item no in the doc) and you load the following data:
    Doc# Item# Amount CALDAY
    1234  1        100       26.09.2005
    1234  1        150       27.09.2005
    1234   2        300      27.09.2005
    1235   1        400      27.09.2005
    The first two rows with the same key fields (1234-1) will be aggregated and into ODS will go amount of 250.
    What I said is true if for Amount key figure the ‘Add’ option is set.
    But if you set an ‘Overwrite’ option, then the second record will overwrite the first one and only amount of 150 will go to ODS!
    But if CALDAY is also a key field, then into ODS will go all records without any aggregation, because key fields combination is different for all records.
    So, ODS’ key fields choice and KFs settings are very important for data aggregation in the ODS.
    Best regards,
    Eugene

  • Chart report Condition fields and Data fields

    Hi all,
    i have tried chart report by adding two condion fields and one data field, the report is more meaning full in this scenario. the first condition field is taken as x-axis, the 2nd condition fields is taken as legend.
    while adding more condition fields and data fields, i feel its not showing meaningfull data.
    can anyone explain how the condition fields and data fileds are manipulated by crystal report.
    i am using CR XI R2 Server.
    Thanks
    Padmanaban V

    i am using Crystal Report XI R2 RAS Embedded in my server.
    as we can add any number condition fields programatically using the method
    ConditionField.Add(FieldObj), i would like to know how these fields are manipulated internally by the RAS server.
    that means, what is the significance of condition fieldobject 1, condition fieldobject 2,condition fieldobject 3 etc...
    if i add more than two condition fields , RAS Chart Report always returns 0 as legend value for all legends.
    Thanks in advance
    Regards,
    Padmanaban V
    Edited by: Padmanaban Viswanathan on Dec 22, 2008 9:53 AM

  • Identify key fields and data fields

    Hi
    i have datasource 0co_om_cca_9 .
    i want build 1 DSO, how can i identify what are key fields and data fields to build DSO based on that datasource.

    Hi sunnel,
    The DSO are like 2-D database tables.
    We use the technical keys here in counterpart to the business keys in Infocubes.
    The key fields are the one based on which the records are identified uniquely in the database table.
    And the data fields are the ones which are aggrgated or summarised or overwritten based on the value in key filed.
    For example:
    The ID no.s of the employees will be unique and it can be used as a key field.
    The feilds like the Salary taken by the employee every month :"SALARY"
    and the no. of leaves they taken: " NO. OF LEAVES" can be used as data fields.
    So that the salary or the leaves taken by a particular employee can be aggregated based on her/his ID no.
    The key fields in DSO doesnty mean Key figures.The key field means any unique key or a key based on which the records are sorted in the DSO
    And key figures are the data fields.Some of the Characteristics can also be data fields in DSO.
    Please give points if u r satisfied wit the information
    Also let me know if u hav any doubt and if any thing is wrong.
    Regards,
    Kalpana M

  • Defining Key -field and data fields

    Hi all
    i have to define Key-Fields and data-Fields for a DSO(say DSO3).
    DSO1 is a combination of DSO2 and DSO3..
    DSO1 and DSO2 are SAP defined DSOs.
    DSO3 is a User defined DSO.
    my assumption:
       DSO3 has 30 fields
       DSO2 has 16 fields.
       can i create the DSO3 with remaining 14 fields which is there in DSO1?
       or i have to create the DSO3 with 30 fields(all DSO1 fields).
    can any body explain....
    Thanks & Regards
    krishna

    The problem is not how many fields you create where, the issue is where is the data is going to come from.
    Since you data is going from DSO3 to DSO1and if the field is already getting populated in DSO1 from DSO2, then you don't have to worry about populating those fields again, unless and otherwise you want to overwrite them.
    Remember any fields exist in both DSO3 and DSO2 which overlapping will be overwritten by the latest update.
    Again, going back to your question, you should consider does your datasource has missing fields (14 of them).
    thanks.
    Wond

  • Sorting of Date field in the SQL Query useing ORDER BY

    Hi
    I am facing a problem when I am getting the results of a query from the ORacle 8i database using jdbc connection.
    The query is having a date field and I have to sort the query results using ORDER By for the Date field. The query is giving exact results in the SQL PLus interface.
    When I am getting this results in the GUI where servlets are being used an Exception is coming as not supported RefreshRow method.
    If anyone has faced this problem and have got the solutions please let me know.
    thanks
    sulfy

    That doesn't sound at all like an SQL problem.
    More like you trying to do updates on the resultset which is not allowed ...
    send a some code (not to much pls :) and we'll be
    able to help more
    cu
    Spieler

  • Date fields in the Maintainence View.

    Hello friends,
                   I created a maintanence view which of 2 steps. This view contains a DATE field of data element type 'DATS". Now the problem is -"
    1. In the first screen  of the viewI am not able to see only the DATE field(Over view scr).
    2. But I able to see the same field in the 2nd screen(Maintanence Screen).
    Not only to my View I maintained ' Table Maintanence Generator" to some more tables.There also I am not able to see the date field in the first screen, unless it is a key field.
    Thanks in advance.

    Hi
    Step 1: Create & Maintain Table (SE11)
    Screen 101: ABAP Dictionary: Initial Screen
    Screen 102: Maintain Table -> Delivery and Maintenance
    Screen 103: Maintain Table -> Fields
    [] SE11: Enter Table Name -> Create
    Enter Table Description (Mandatory Field)
    Select Delivery Class
    Set maintenance level
    Enter Fields, Assign Data Elements
    Save Entries
    Check Inconsistencies
    Activate Table
    Go To Technical Settings (SCREEN 104)
    Delivery Class: The delivery class controls the transport of table data when
    installing or upgrading, in a client copy and when transporting between customer
    systems. The delivery class is also used in the extended table
    maintenance.
    There are the following delivery classes:
    A: Application table (master and transaction data).
    C: Customer table, data is maintained by the customer only.
    L: Table for storing temporary data.
    G: Customer table. The customer namespace must be defined in table TRESC. (Use
    Report RDDKOR54 here).
    E: System table with its own namespaces for customer entries.
    S: System table, data changes have the same status as program changes.
    W: System table (e.g. table of the development environment) whose
    data is transported with its own transport objects (e.g. R3TR PROG, R3TR TABL,
    etc.).
    Data Browser/Table View Maint.: This indicator specifies
    whether it is possible to display/maintain a table or view using the maintenance
    tools Data Browser (transaction SE16) and table view maintenance (transactions
    SM30 and SM31).
    MANDT field is mandatory for Client dependant tables
    Technical Settings: The technical settings control, for example, table buffering.
    Indexes: To speed up data selection, you can create secondary indexes for the table
    Append Structure: Append structures are used for enhancements that are not included in the standard.
    Screen 104: Maintain Technical Settings
    Select Data Class (Mandatory) [APPL0]
    Select Size Category (Table size - No. of records - Mandatory) [1 to 6]
    Specify Buffering [allowed / not allowed]
    Save
    Check Inconsistencies
    Activate & Go Back to “Maintain Table Screen”
    Data Class: The data class defines the physical area of the database (for ORACLE
    the TABLESPACE) in which your table is logically stored. If you choose a data
    class correctly, your table will automatically be assigned to the correct area
    when it is created on the database.
    The most important data classes
    are (other than the system data):
    APPL0 Master data
    APPL1 Transaction data
    APPL2 Organizational and customizing data
    Size category: The size category determines the probable space requirement for a table in the database.
    Buffering: The buffering status specifies whether or not a table may be buffered.
    Screen 105: Maintain Table
    Screen 106: Maintain Enhancement Category (ECC 6.0 onwards)
    -> Extras -> Enhancement Category
    Select Enhancement Category
    Enhancement Category: Structures and tables that were defined by SAP in the ABAP
    Dictionary can be enhanced subsequently by customers using Customizing includes
    or append structures. The enhancements do not only refer to structures/ tables
    themselves, but also to dependent structures that adopt the enhancement as an
    include or referenced structure. Append structures that only take effect at the
    end of the original structure can also cause shifts - in the case of dependent
    structures - even within these structures.
    Screen 107: Maintain Table -> Table Maintenance Generator
    Screen 108: Generate Table Maintenance Dialog: Generation Environment
    -> Utilities -> Table Maintenance Generator OR [] SE54
    Specify Authorization Group [&NC&]
    Select Maintenance type [One Step/Two Step]
    Mention Screen Numbers [1/2]
    Save & Go Back
    Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.

  • How to select data from a table using a date field in the where condition?

    How to select data from a table using a date field in the where condition?
    For eg:
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
                                                      and bdatu = '31129999'.
    thanks.

    Hi Ramesh,
    Specify the date format as YYYYMMDD in where condition.
    Dates are internally stored in SAP as YYYYMMDD only.
    Change your date format in WHERE condition as follows.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and bdatu = <b>'99991231'.</b>
    I doubt check your data base table EQUK on this date for the existince of data.
    Otherwise, just change the conidition on BDATU like below to see all entries prior to this date.
    data itab like equk occurs 0 with header line.
    select * from equk into table itab where werks = 'C001'
    and <b> bdatu <= '99991231'.</b>
    Thanks,
    Vinay
    Thanks,
    Vinay

  • Problem with displaying Date field in the table.

    Hi All,
    I am trying to display data into a table UI Element. 
    In that data, i have one DATE type field. While displaying data in DATE field, it will display like this "01.02.2009".
    Now my requirement is if i want to modify that DATE field, it will allow to modify "01.02.2009"  to "26.02.2009".
    But while modifying DATE field , I want to show the Calender of that month, in that i  have to select the another date.
    (Like normal Date UI Element will show that calender).
    Can anyone please help me.
    Thanks in Advance!
    Regards,
    Sreelakshmi.

    Hi,
          Go to the context attribute that was mapped to the DATE field of the table and change the perperty INPUT HELP MODE to  AUTOMATIC and it works.
    Regards,
    Manne.

  • Can a today's date be added in a date field when the submit button is pressed?

    I created a form with a submit button and the form is sent via email.  Can the date when the form is submitted show up in a date field with the button is pressed?
    Any help with this is much appreciated. Thanks.

    Hi,
    there is a preSubmit event for form objects you can use.
    Select your date field, open the script editor and add this script (language is FormCalc) into the preSubmit event.
    $ = num2date(date(), "MM/DD/YYYY")

Maybe you are looking for

  • Time Management automatic Quota accrual rule

    Hi Experts, I want to configure leaves as per following basis... we want to generate quota based on ES group, also based on days worked on off days with accrual period.  Example: Mr X (Employee sub group 01) works 24 days continuously and also works

  • Avoid creation of log file for external table

    Hi This script is creating log file in the ext directory. How to avoid it. Can you specify the syntex. Thanks alot. Bhaskar CREATE TABLE datfiles_list (file_name varchar2(255)) ORGANIZATION EXTERNAL (TYPE ORACLE_LOADER DEFAULT DIRECTORY ext_dir ACCES

  • BPEL 10.1.3 Documentation and tutorial

    It seems to me that most of the oracle bpel documentation are mainly for 10.1.2. I would like to know if a cook book or something similar exist for 10.1.3. I have searched the web but most documentation seems to elaborate on 10.1.2.

  • "US holidays" calendar alerts keep poping up

    Hi, I'm getting calendar alerts for "US holidays" at 9am the day before, and I'm not able to turn that off. I went to settings-calendars, and changed "default alert times" for "all day events" to None. Then I went into several entries in "us calendar

  • .printWithDialog for Chrome / Firefox

    I am not sure where to post this, as I have not been able to find documentation on it. But it works for me in IE 7. I need to open a web page with a PDF embedded and automatically present the print dialog to the user. Does anyone know if there is an