Date format from DD/MM/YY to YYYYMMDD

Hi Guys,
Date foramt DD/MM/YY(23/09/08) is coming from the flatfiles  
(text files). I want to convert it to YYYYMMDD format.
Is it possible to convert date format from DD/MM/YY to
YYYYMMDD?
  I'm in BI 7.0 environment.When I load date like DD/MM/YY
  (23/09/08) till PSA.In PSA it is showing 08.0/.06/9.
  Please suggest me the right way.It is very impartant for us.
  Thanks
  Prasad

Hi Guys,
I understand that this leads to degrade the loading
Performance.But I don't have the alternative.
When I use the RSDAT in data source conversion routine it is
throughing the below error.
"Error 'Date   .30.0806 contains invalid characters...' at conversion exit CONVERSION_EXIT_RSDAT_INPUT (field CALDAY record 1, value 6/30/08)"
Can any body suggest me the other way or any other date
converion routine from 23/09/08 to YYYYMMDD without slash?
Thanks
Prasad

Similar Messages

  • Conversion of date format from DD-MMM-YY to YYYYMMDD

    Hi all,
    i am getting date from oracle database which is in DD-MMM-YY format.   i want to change it to YYYYMMDD format .is there any func module to achieve this.
    bye

    hi srikanth,
    try this code it is exactly suite u r requiremnt
    DATA:STR(8),S1(2),DD(2),MM(2),YY(4).
    STR=SOURCE_FIELDS-/BIC-DATEFIELD(if bi7.0 )
    STR=TRANS_STRUCTURE-/BIC-DATEFIELD(if BW 3.5 )
    SPLIT STR  AT  u2018-u2018 INTO DD MM YY
    SHIFT DD  RIGHT DELETING TRAILING SPACE.
    SHIFT MM  RIGHT DELETING TRAILING SPACE.
    OVERLAY DD WITH S1.
    OVER LAY MM WITH S1.
    CONCATENATE YY  MM DD INTO STR.
    RESULT=STR.
    regards
    sasidhar

  • Convert Date format from YYYYMMDD to MM/DD/YYYY --issue with Mapping

    Hi All ,
    I have IDOC(DESADV.DELVRY03-> file ) scenario which i am working on . While debugging noticed that the field :
    E1EDT13\NATNZ -Data Transformation(from yyyymmdd to mm/dd/yyyy)-Target .This works
    But say if IDOC doesn't pass any value (For Good's issue) I get Error during debugging : RuntimeException in Message-Mapping transformation: Unparseable date: ""
    I did check thsi blog : Convertinf Date format from YYYY-MM-DD to MMDDYYYY  but this is  about the Data Transformtaion.
    I tried using constants , create if , -these function doesn't work /not applicle in this case
    Could you please provide  inputs as to how to handle two condition :
    1. With date -- then transform
    2.Else , pass nothing

    Hi Varalakshmi,
    Plese try to use UDF for date conversion and include logic which would check the Space value from the source structure.
    so if there is space return as such
    else.
    perform the conversion logic.
      Convertinf Date format from YYYY-MM-DD to MMDDYYYY
    (The conversion logic has been provided by micheal in the thread you have provided in the query)
    Thanks,
    Ram.

  • Function module to convert date format from yyyymmdd to mmddyyyy format

    function module to convert date format from yyyymmdd to mmddyyyy format

    Hi Rajitha,
    Do like this
    Data: Var1 type sy-datum,
             var2(8) type c.
    var1 = sy-datum.
    Concatanate var1+4(2) var1+6(2) var1+0(4) into var2.
    write var2.
    Reward Points if this helps,
    Satish

  • Convertinf Date format from YYYY-MM-DD to MMDDYYYY

    Hi Experts,
              I want to convert  date format from yyyy-MM-dd  to MMDDYYYY ( i am using this format in the file strucure),
             i tryed using date tranfer funcion source as yyyy-MM-dd and target as yyyyMMdd this is working fine.
    i tryed using date tranfer funcion source as yyyy-MM-dd and target as MMddyyyy this is giving error.
    Please help me out,
    Thanks,
    Dhanush

    Hi,
    From the error it looks like the date value is coming as blank in the source. please give the date in the same format as you have provided in datetrans function and test it again. It will work.
    It might be possible that there are some other date fields in your source where you are not passing any value and using datefunction. please look carefully at all the source structure and data.
    thanks
    amit
    reward point if suggestion works

  • Converting date format from in mapping

    hi xi friends.
    in my scenario i just want to convert date format from 12022007 which is file to 12.02.2007 which is in target bapi.
    waiting for u.
    bye.
    regards.
    seeta ram.

    Hi,
    if I understood you correctly you want to transform from ddMMyyyy (your format in the external file) to yyyyMMdd (format of ABAP datatype DATS):
    Then all you need to do is to use the standard function TransformDate (as already described above).
    Enter in the field "Format of source Date": ddMMyyyy
    Enter in the field "Target Format": yyyyMMdd
    That's it.
    Regards,
    Helmut

  • How to get Date Format from Local Object.

    Hi All,
    I am new to Web Channel.
    I need to know Date format From date of locale.
    suppose there is a date "01/25/2010" date in date field I want to get string "mm/dd/yyyy". Actually I have to pass date format to backend when I call RFC. 
    Is there any way to get Date format from "Locale" object. I should get date format for local object
    I get local object from "UserSessionData" object but how to get Date format from it.
    I am not looking for Date value. I am looking for current local date format ("mm/dd/yyyy or dd/mm/yyyy or mon/dd/yyyy) whatever local date format.  I could not find example which show how to get date format from "Locale" object.
    Any help will be appreciated with rewards.
    Regards.
    Web Channel

    Hi,
    You can get it from "User" or "Shop" business object.
    Try to get User or Shop Business Object as shown below.
    BusinessObjectManager bom = (BusinessObjectManager) userSessionData.getBOM(BusinessObjectManager.ISACORE_BOM);
    User user = bom.getUser();
    char decimalNotation = user.getDecimalPointFormat().getGroupingSeparator();
    If you are seeing "1,234.00" then above code will return "."
    I hope this information help you to resolve your issue.
    eCommerce Developer.

  • How to change data format from  MM/DD/YYYY to DD/MM/YYYY

    HI,
    How can we change data format from MM/DD/YYYY to DD/MM/YYYY in Prompt and Report Level in obiee 11g.
    Please help me ont this.
    Thanks

    Hi,
    In Prompt:
    Try using EVALUATE function.
    Eg: Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'DD-MON-YYYY')
    Report level:
    Try this in the column formula-
    Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'MM/DD/YYYY')
    (or)
    EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), "Dim- Date".Start Date, 'MON-YY')
    http://108obiee.blogspot.in/2009/03/how-to-change-date-format-mask-in-date.html
    http://obiee-bip.blogspot.in/2011/08/customizing-obiee-calendar-display.html
    Some other methods.
    Metdhod 1:
    'Save System-Wide Column Formats' Option
    Check this.
    http://siebel-essentials.blogspot.com/2010/10/11-obiee-11g-tips-9-system-wide.html?m=1
    Thanks
    satya

  • Change display Date format from 06.2011 to june 2011 in output of Query

    Hi All,
                Change display Date format from 06.2011 to june 2011 in output of Query  Execution. i used time charcteristics 0calmonth in query, output display is coming 06.2011, i want to display output in june 2011 format, anyone tell me how to convert this Date format.

    Hi Nandish,
    as tibollo said you just need to mark 0CALMONTH with text in RSD1.
    Kindly note that you don't need to do data load for this object.
    It will automatically derive by system.
    Just change the Info object 0CALMONTH in RSD1, Go to Master Data/text column and check mark on with text.
    Then activate it.
    Regards,
    Ashish

  • Change the date format from mm/dd to dd/mm

    Is there any way to change the date format? Currently, my today screen, calendar app, etc is set to display dates as mm/dd. I'd like to change it to the UK format (dd/mm) but I have not been able to find a single method that works. I've tried themes as some have recommended but once I install them, it's still showing mm/dd.
    I'm not unfamiliar with upgrading the OS and "slimming" it down, so even a method that requires me to remove US resource files will be okay.
    Frankly I'm disappointed RIM doesn't provide users with a "Regional Settings" type option like in Windows to change the date format.
    Any advice would be most appriciated.

    Yes you can change Date format from mm/dd to dd/mm its done automatically by " Display language " selected :
    Go to Menu : Setup - choose  - Language and Input Methods - look for " Display Language" there is a  small window with down arrow , click the down arrow and ,  change from " English"  to " English (UK)  "for DD / MM ,date format , or change to       " English (US) "  for MM / DD date format.
    Hope this help .

  • Converting date format from 14/07/08 to 14-jul-08

    hi all ,
    i want to convert date format from 14/07/08 to 14-jul-08 . is there any function module for this ?.
    kindly reply.
    regards,
    siya

    Hi Siva,
    Check the code below.
    For getting date format in  the form like 10.Dec.2008*
          WHEN '01'.
            CALL FUNCTION 'CONVERSION_EXIT_SDATE_OUTPUT'
              EXPORTING
                input  = date2
              IMPORTING
                output = date_format.
            IF sy-subrc EQ 0.
              date_format1 = date_format.
            ENDIF.
    For getting date in the format like 10.December.2008*
          WHEN '02'.
            CALL FUNCTION 'CONVERSION_EXIT_SDATE_OUTPUT'
              EXPORTING
                input  = date2
              IMPORTING
                output = date_format.
            IF sy-subrc EQ 0.
    Get Month Long text
              SELECT SINGLE ltx
                     FROM t247                 INTO ws_month
                     WHERE ktx EQ date_format+3(3)
                     AND spras EQ 'E'.
              IF sy-subrc EQ 0.
                CONCATENATE date_format0(2) ws_month date_format7(4) INTO date_format1 SEPARATED BY space.
              ENDIF.
            ENDIF.
    Hope this helps,
    Manish

  • Date format  from Company code

    Hi Experts,
    I want to pick the date formate from company code and print it in invoice.can any tell me where i can find the date formate in the company code and what is the T-code for that.
    Thanks in Advance..

    actually, the date format is maintained to the country only not to the company code. So if u want to change the date format, u can change that in the country where ur company code exists
    The Tr. code is OY01
    Reward if useful.

  • Problem with date format from Oracle DB

    Hi,
    I am facing a problem with date fields from Oracle DB sources. The date format of the field in DB table is 'Date base type is DATE and DDIC type is DATS'.
    I mapped the date fields to Date characters in BI. Now the data that comes to PSA is in weird format. It shows like -0.PR.09-A
    I have changing the field settings in DataSource  to internal and external and also i have tried mapping these date fields to text fields with out luck. All delivers the same format.
    I have also tried using conversion routines like, CONVERSION_EXIT_IDATE_INPUT to change format. It also delivers me the same old result.
    If anybody of you have any suggestions or if anybody have you experienced such probelms, Please share your experience with me.
    Thanks in advance.
    Regards
    Varada

    Thanks for all your reply. I can only the solutions creating view in database. I want some solution to be done in BI. I appreciate if some of you have idea in it.
    The issue again in detail
    I am facing an issue with date fields from oracle data. The data that is sent from Oracle is in the format is -0.AR.04-M. I am able to convert this date in BI with conversion routine in BI into format 04-MAR-0.
    The problem is,  I am getting data of length 10 (Output format) in the format -0.AR.04-M where the month is not in numericals. Since it is in text it is taking one character spacing more.
    I have tried in different ways to convert and increased the length in BI, the result is same. I am wondering if we can change the date format in database.
    I am in puzzle with the this date format. I have checked other Oracle DB connections data for date fields in BI, they get data in the format 20.081.031 which will allow to convert this in BI. Only from the system i am trying creating a problem.
    Regards
    Varada

  • List View does not retain date formats from Excel

    i am using List View control to isplay data. When i scroll the horizontal bar inlist view, the date format changes to numbers. is there were to stop this happening.
    regards
    Chandra

    Hi Chandra,
    Are you getting the values from any live connection or is it static data from the excel file?
    You can also try to goto properties of component and in the appearence tab,select the format of the values as "DATE".
    Incase you are getting the values from the live connection, you can select a different cell which would reference to the data coming from the connection and use it into the components.
    e.g.: if values are coming in cell"A1" then goto some empty cell as B1 and type in"=A1" and use this new cell into the component.
    Let me know if this works.
    Thanks,
    Amit.

  • Date Format from YYYYMMDDhhmmss to dd-MMM-yy

    Hi All,
       I have a problem with the Date Format.
    The out of the BAPI date format is like YYYYMMDDhhmmss and the output value  is like 20,070,831,235,959. Now I want insert the date in to my Oracle database like dd-MM-yy.
    Here is my xmlformat
    datefromxmlformat(datetoxmlformat(Repeater_0.Output{/item/PERIOD_END},"yyyy-MM-dd
    HH:mm:ss"),"dd-MMM-yy")
    Can any one please correct this issue.
    Thanks
    Muvva

    Hi Muvva,
    If you want to convert a date from "yyyyMMddhhmmss' to 'dd-MM-yy' format, you may use the dateformat function. For example, the below will give you the result 30-08-08
    dateformat("20080830121110","yyyyMMddhhmmss","dd-MM-yy")
    In your case,
    dateformat(Repeater_0.Output{/item/PERIOD_END},"yyyyMMddhhmmss","dd-MM-yy")
    "dd-MMM-yy" will give you the result as "08-Aug-08", if you are looking for that format.
    John
    Edited by: John George on Aug 27, 2008 10:22 AM

Maybe you are looking for

  • I can't delete an event in iCal

    I'm trying to delete an event from my iCal & a message pops up saying that only the calendar admin can make changes in the "Contacts birthdays & events". Since it's my calendar, aren't I the admin? This contact is no longer in my contacts book. Can a

  • Assigning return value of a javascript function to a variable

    hi. I have a javascript function which returns string. I wanna assing return value of that function to variable. for example: <script> funtion writeMe() var ex; ex="try" return ex; </script> Then in body of JSP page. I wanna do something like: <% Str

  • Seriousily...no Wish List available on iTunes ios?

    This is a glaring omission on Apple's part.  Mobile devices are the one place we should have a wish list feature on iTunes as it is more likely the place people are consuming this content.  This is a big Apple "opps"

  • [REQUEST] GOP / UEFI BIOS R9 280X 3G GAMING

      S/N 602-V277-28SB13112067244-7DG THX 

  • Please please help me Can anyone help in Cross Docking Please

    I did cross dock many time succussfully but i am trying now I am either getting following error "No inbound documents have been selected for planning" Please help me as I set up warehouse relevant, movmenttype relevent set up time reference for relea