How to change data type of attribute in caf

hi.
this is my problem.
i been added a attribute in an entity service called emloyee. named "Birthday", use the data type "com.sap.caf.core.date".
when i tried modify the entity service, i hit exception about "DST Daylight Saving Time".
because of DST, the date will add an hour such like "1957/04/01 00:00:00.0" to "1957/04/01 01:00:00.0", and com.sap.caf.core.date will throw an exception.
is anyone had same problem like me?
how to fixed it(if passable)?
and, how to change data type?
thanks.

Hi Sruthi,
all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
Regards,
Noel

Similar Messages

  • How to change data type of input parameter

    Hi
    In my procedure i declared the data type of "Value Date" Input parameter as Date where as in CR it is showing data type as "Date Time". Can any one please specify how to change to Date.
    While prompting for input parameter in description it is showing message as
    Please enter Date time in format"yyy-mm-dd hh:mm:ss" . To change the content selected "format field" option. But is there any way to change input parameter data type.
    Please suggest how to change.
    Thanks Sruthi

    Hi Sruthi,
    all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
    Regards,
    Noel

  • How to change data type from Integer to Double?

    In a data set, BIP treat Oracle number type column as Integer. How to change it to double?

    Hi,
    This could be possible with the tcode RSD2 in BW.
    But before you do this you need to remove this KF from the cubes/dso in which they are used.Otherwise i don think you can do this.
    Once the change is done you could add them back to the DataTargets and load the data as required.
    Regards,
    Anoop

  • How to change data type for a field?

    Hi Experts,
    I have one std screen having one field having numeric type. So it will accept only numeric value. Remember I am using standard transaction.
    Now my user wants to enter the special character like + or - in that field(having data type numeric).
    How i can change the data type for the particular field  so that it will also accept + or -?
    Plz reply me as earliest as possible.
    Thanks in advance.

    Hi salil ,
    u have to change / create Domain of  that Data Element.
    but u have to check the Implications. i have done the same thing , but that one is Customer defined one , i got nearly 20 short dumps while doing the TP.
    regards
    Prabhu

  • How to change data type of content type column.

    Hi all,
    I am having one content type. I have 10 columns in it. There are two rich text columns in my content type. I have attached this content type to pages library. I want to change the data type of this rich text column  to "Full
    HTML content with formatting and constraints for publishing".
    Please assist me with this issue.
    amol

    Hi,
    From your description, my understanding is that you want to change the data type for rich text column in content type.
    The field type of Full HTML content with formatting and constraints for publishing is "Invalid", you could refer to this article:https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldtype.aspx.
    You also could test it by create a Full HTML content with formatting and constraints for publishing column and get the its type with C# code below:
    //change the URL to your SharePoint site
    using (SPSite site = new SPSite("http://sp/sites/sharepoint2013"))
    using (SPWeb web = site.OpenWeb())
    SPFieldType type = web.Fields["Column name"].Type;
    I have tested it with the PowerShell, it cannot hange the rich text column to “Full HTML content with formatting and constraints for publishing” column. If you want to edit the rich text column, you could not change the type of the column as the screenshot
    below:
    As a workaround, you could follow these steps to accomplish your requirement:
    Create a “Full HTML content with formatting and constraints for publishing” type column in the content type.
    Enter your site columns by clicking gear icon -> Site Settings -> Site columns under Web Designer Galleries under section.
    Find and delete the rich text column you want to change.
    Find the column you have created in step 1, and change the column’s name to the name of the text column you have deleted in step 3.
    But you will lose the data of the rich text column in pages library with this method.
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to Change Date-Type to Char-Type with Format?, When it.....

    I'd like to Change format Data from Date-Type Column to char-type
    especially, as 'YYYYMMDD' Format, But There are some Error Message.
    I already know, to_char(sysdate, 'yyyymmdd') from dual,
    But When it Applied my Table (has Date Type Column )....
    That SQL was Error...
    Table Description
    ===================
    GUBUN     NOT NULL     NUMBER(7)
    POLCD     NOT NULL     NUMBER(7)
    TITLE          VARCHAR2(200)
    VALUE          NUMBER(7)
    SIDATE          VARCHAR2(20)
    SQL
    ================================
    SELECT TO_CHAR(SIDATE,'YYYYMMDD') as V_SIDATE , -- <== Error
    TO_CHAR(SYSDATE,'YYYYMMDD') as V_TODAY -- <== Ok
    FROM T_POLL
    Error Msg
    ================================
    ORA-01722: invalid number
    .....I don't know Why... plz. help me, it's Urgent...-_-;
    ICQ : 40751557
    MSN : [email protected]
    Finally, sorry for my poor English...

    The reason for the error is you are applying a TO_CHAR function to a character datatype. SIDATE is a character. That field should be a date field. If for some reason, you need it to stay as a character field then you will need to change it to a date then change it back to a character.
    TO_CHAR(TO_DATE(SIDATE,'put format here'),'YYYYMMDD')

  • How to change data type and col. width of text item

    hi,
    how will we change the datatype and width of a text item in runtime.
    set_item_property(itemname,fixed_length,20);--- it is for width.
    please help me.
    Regards

    Hello,
    You cannot change the datatype at runtime.
    Start with a CHAR item then do the corresponding cast (NUMBER or DATE)
    Francois

  • How to change Data type of Grid column at runtime..??

    Hi ,
            I have taken a "Grid" control,and i have pass a query "Select itemcode Qunatity,linetotal From PDN1" in the ExecuteQuery
    method of Grid it displaying the data,
    but the problem is i want to change the Datatype of this column from "FLOAT" to "db_Quantity" according to the SAP standerd
    of decimal places(like 2 or 3 decimal place which the customer maintain)  after executing Query.
    How can we achieve this please guide me what to do...
    Thanks
    Sandesh

    Hi sandesh
    try with
    Select itemcode Qunatity,convert(decimal(19,2), linetotal)  [linetotal] From PDN1
    regards:
    Sandy

  • How to change date format in select-option (mm.yyyy).

    Hi,
       Plz, How to change date format in select-option (mm.yyyy).
      in my selection screen date type selection-option is there ,when i am enter date   it's  taken  dd.mm.yyyy format,but i want mm.yyyy format.
    how to set that .
    Regards,
    Kk.

    sorry
    parameters : pmonyr type spmon or
    select-options : sspmon for PGPL-spmon .
    or what table ccontains spmon.
    regards
    shiba dutta

  • How to change date format in BR?

    Hi all!
    Does anybody know how to change date format in BR?
    I created global variable with type DateAsNumber and usage type run-time promt and used it in BR
    Then I launched a BR on the form and chose necessary date. Date stored in MM/DD/YYYY format, but I need DD/MM/YYYY.
    I tried to change format through Planning but then I recieved uncorect result(for instance, I selected 4(April)/14/2009 but it was stored as 4/02/2010)

    Hi,
    the date is always stored the same in Essbase. I think it's YYYYMMDD.
    You can change the format you enter the date in webforms and business rules by changing your planning application settings (Preferences->Display Options).
    Cheers.

  • How to change light type?

    Does anyone know how to change light type?
    What happens is that I have a button that I would want to create a Point light, but it just create a spot light.
    Does anyone know how to change it to create a point light?
    My code is:
    //Add a Point Light to active Comp
           addLightCtrl.onClick = function(){
               var pointLight = proj.layers.addLight("Light", [960, 540]);

    See the LightLayer object's lightType attribute. Page 100 of the AE CS6 scripting guide.
    pointLight = activeItem.layers.addLight("Light", [960, 540]);
    pointLight.lightType = LightType.POINT;

  • How to change date format for FM ?

    Experts !
    i am trying to use FM DATE_TO_PERIOD_CONVERT. for this FM the input date formate is mmddyyyy
    but my variable returns in yyyymmdd. bcoz of that my FM doesnt understand the input date.
    how do i do this? i am very poor in abap skills so will not do too much of codeing to convert.
    thanks

    Thanks Gharu !
    I do get the correct formate using your code. but the problem if i debug my code goes till the FM and then it kicks it out. i dont know why.
    The data type what you have define in your code is not what i have in my code. is it bcoz of that.
    In your code..l_date type sydatum
    in my code ...l_date like sydatum <-----Do you think i sould make it type ?
    Also, in your code ..
    l_olddate(8) type c,
    l_newdate(8) type c,
    while in my code..
    l_olddate  LIKE sy-datum
    l_newdate  LIKE sy-datum
    Do u think i should change data type ?
    If yes , then it will be big change for me. can you make it according to my DATA TYPE ?
    thanks..i am waiting....

  • Changing data types of  fields in structures

    Hello,
       Currently we are working for upgrade to ECC 6.0 .
       In some transactions we are using BAPI_MATERIAL_SAVEDATA to create material.
      We have some additional fields in MARA and MARC table , which we fill using BAPI_TE_MARA and BAPI_TE_MARC structures.
        In these structures we have different data types for fields earlier in 4.6C
    Now this function module is only working if we change  data types of  fields in these structures only to char type. It is going for dump , if we maintain any other data type.
      Could any body tell me why should we change for char data type ?
    Regards,
      SATYA

    Hi,
    Check enhancement category (Extras --> Enhancement Category) for structures before enhancement. For example, for BAPI_TE_MARA structure, enhancement category is given as character type or numeric type. That means you can add the fields of data type only C and N. No other data types are allowed. If you select as not classified then you can add any data type. This option plays important role while enhancement.
    Regards,
    Prasanth

  • How to get data type of variable in program..

    Hi ABAP Guru.
    I need to know how to get data type of variable or any structure field.. because I got short dump when use command REPLACE ALL OCCURANCE ... with variable/structure field that has data type I or P, I think it should be used with data type CHAR only, So I need to check the data type first.
    Please give me your advice
    Thank you all.
    Nattapash C.

    data : v_value type i,
             v_char(10) type c.
    v_value = 10.
    move v_value to v_char.
    REPLACE ALL OCCURRENCES of '#' from v_char....
    Best regards,
    Prashant

  • How to change data source name and context root during deployment

    Hi,
    Env:
    WLS 10.1.3
    JDev 11.1.1.6
    Hudson
    I need to deploy two instances of my ADF application on the same development enviroment. We are using Hudson to deploy. My question is how to change data source name and application context root before second deployment.
    Kuba

    I don't believe there is an inbuilt facility to do this.
    Previously how I've done this is when checking files out using Hudson jovs, before the build I then use an Ant extension called XmlTask (http://www.oopsconsultancy.com/software/xmltask/) to modify the required XML files.
    Can I ask why you're doing this in the first place please? Multi-tenancy? 2 versions of the same app?
    CM.

Maybe you are looking for

  • Adobe Bridge CC to Adobe Dreamweaver CC compatibility issues

    I've just got off the phone to Adobe help desk following an investigation which took a number of days to resolve. The problem was this - I'm studying for a Dreamweaver ACE exam on Monday (wish me luck!) and I'm using Adobe Dreamweaver CC "Classroom i

  • Issues after copying a query from one IP to another

    Hi Friends, I have a query which was built on a infoset, i have built a multi provider with aditional objects apart from what i have in the infoset, i.e. this Multi provider has all the objects which are used in the query. I have copied the query fro

  • Time Capsule connection

    Hi all My Mac Pro is currently hardwired into a router for internet access. I have a Time Capsule that I want to use for backup but also as a wifi point for an iPad or Macbook but not as wireless internet access for my Mac Pro (my main computer). I h

  • How to disable autostart of Oracle?

    Hi I've just installed Oracle 10 Enterpirse Server on Windows XP Prof. When I am starting Windows, Oracle starts also. Is it possible to disable autostart of Oracle?

  • Installig and using Crystal Report for reporting on BW

    Dear Experts We are working on BW 7.00 and do't have BO(Business Objects) . Now we wnt to install and Use crystal Report for reporting purpose. Pl. let me know whether Crystal reports can be used to extact data from BW Query or We need to have BO in