Changes in date format while creating/downloading the file

Hi All,
Can any one let me know how does the system determines which date format should it apply while creating/downloading the file.
Issue :
When I create/download the file generated by report RTXWCF02 using unix level acess the Date format of a field in file is DD.MM.YYYY where as in user profile i can see its in MM/DD/YYYY.
I dont understand how system determines the date format and How we can change it. Please suggest.
Regards,
Ravi Kasnale

I would suggest you to use ALV_XXL_CALL if your want to keep your data formats intact.
like this -   CALL FUNCTION 'ALV_XXL_CALL'
       EXPORTING
            i_tabname           = 'T_GRID'   " Name of your internal table
            it_fieldcat         = t_fcatk[]      "Your LAV grids catalog.
       TABLES
            it_outtab           = t_grid         "Internal table itself
       EXCEPTIONS
            fatal_error         = 1
            no_display_possible = 2
            OTHERS              = 3.
  IF sy-subrc <> 0.
    MESSAGE e806(bk).
  ENDIF.
hope it helps.

Similar Messages

  • Need help at date format while creating External Tables from Flat file

    Hi All,
    I have a flat file generated from SQL Server 2005. In that generated flat file the date format is in the format as "YYYY-MM-DD HH24:MI:SS.Millisec" like example "2007-09-08 13:32:36.568".
    My task is I have to load this flat file data into Oracle database table running on 9i, but its failing at the creation of external table itself because of this date format. The target table in Oracle the date column data type is "date" only not the "TIMESTAMP".
    Can any body suggest how to resolve this?
    Thanks,
    Sankar

    Or:
    SQL> select cast(to_timestamp('2007-09-08 13:32:36.568',
      2                  'yyyy-mm-dd hh24:mi:ss.xff') as  date) dt
      3  from dual;
    DT
    08-SEP-07                                                                                                                                                                                                                                                                                                                                                                   

  • Delivery Date error while creating/uploading POs using LSMW

    Hi,
    I am facing problem in creating POs using LSMW. I am using direct input method with standard object 0085 for PO upload. But I am facing problem because of delivery date in the PO. There are basically two errors that I am getting:
    1) When the delivery date format is DDMMYYYY in the fileto be uploaded, the error that i get is "Please enter a valid delivery date"(Message No..ME 077)
    2) When the delivery date format is YYYYMMDD in the file to be uploaded, the error that i get isFor the K4 fiscal year variant, no period is defined for   .  .(Mesage no. F5 275)
    Please let me know how to rectify these errors.
    Thanks in advance.....

    Hi,
    You need to rectify the issue by applying attached corrections in SAP Note 1094336 - Error message F5 275 if requirement date is deleted.
    Summary
    Symptom
    The "Requirement date" field (EBAN-BADAT) was set to changeable in the the field selection. If the "Requirement date" field is deleted for a purchase requisition item, the system issues error message F5275 "For the xxx fiscal year variant, no period is defined for 00.00.0000".
    You can leave the process only with /n.
    Other terms
    BADAT, requirement date, F5 275, EF5275, E F5 275
    Reason and Prerequisites
    Usability
    Solution
    Implement the program corrections.
    Regards,
    Sandesh Sawant

  • Download the file from oracle throuth jsp

    hello
    i have a problem that how to read the long raw data from oracle, and download the files( include images or word or txt files and so on). i don't want to read them is ie .i hope can realize the function that each file have a name appeared in ie .they are downloaded only we click the name. who can tell me .thank u

    you say you don't want to, so just don't :)
    Start by learning the use of proper punctuation, grammar and spelling and use that knowledge to learn how to properly word a question so others can understand what you are asking.
    Then come back and ask your question using that new knowledge.

  • Invalid date format for 'Created' field in the getVersions web service Response.

    Hi all,
    I am trying to get all versions for selected document by calling getVersions method Versions.asmxweb service, but getting ‘Created’ date attribute value is in the format "29-05-2012 12:01"
    but I am expecting either one of the following date formats.
     1.      yyyy-MM-dd HH:mm:ss  or  yyyy-MM-ddTHH:mm:ssz
     2.      MM/dd/yyyy HH:mm a   (a means AM/PM)
     3.      MM/dd/yyyy
     4.      yyyyMMdd HH:mm:ss
    where do I need to change?
    what are all the formate will be support by SharePoint?
    please find attached response xml of getVersions call.
    <results xmlns="http://schemas.microsoft.com/sharepoint/soap/">
        <list id="{6A6F6CD1-2E9C-44CC-B1F5-56G7JB5C8778}"/>
        <versioning enabled="1"/>
        <settings url="http://hbngjfgj47s20/reg/_layouts/LstSetng.aspx?List={7S6F6CD1-2E9C-44CC-B1F5-KO9J8Y7Y6H78}"/>
        <result version="@0.3" url="http://vmesxsrv47s20/register/Shared Documents/Parent/child/my_doc" created="29-05-2012 12:01" createdRaw="2014-12-02T12:46:02Z" createdBy="my_dom\agi_sharepoint"
    createdByName="AGI_Sharepoint" size="288" comments=""/>
        <result version="0.1" url="http://hbngjfgj47s20/register/_vti_history/1/Shared Documents/Parent/child/my_doc" created="29-05-2012 10:01" createdRaw="2014-12-02T10:55:18Z" createdBy="my_dom\my_sharepoint"
    createdByName="my_sharepoint" size="288" comments=""/>
        <result version="0.2" url="http://hbngjfgj47s20/register/_vti_history/2/Shared Documents/Parent/child/my_doc.txt" created="29-05-2012 11:01" createdRaw="2014-12-02T10:59:25Z" createdBy="my_dom\my_sharepoint"
    createdByName="my_sharepoint" size="288" comments=""/>
    </results>
    Kindly help me on this.

    Hi,
    According to your post, my understanding is that you want to change date format for ‘Created’ field in the getVersions web service.
    Per my knowledge, you can get the date format for ‘Created’ field as “MM/dd/yyyy HH:mm a”.
    For more information, you can refer to:
    Versions.GetVersions Method (Versions)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Changing date format for some of the date columns in a subject area

    Hi,
    I have a requirement to change the date format for some of the date columns to dd-mon-yyy for only a particular subject area. Is there a feature available in the RPD which can help me do this?
    In Answers - Column Properties for a Particular column of a report, we can save the style and formatting as system wide default for the particular column or the data type, but that applies across subject areas.
    I tried with the config files too , but that too applies to all suject areas.
    Thanks in Advance,
    Gaurav

    Why don't you create 2 logical column derived from same date physical col and then change the format for one logical column and use it in Subject Area ?

  • Date format while downloading data into open office excel

    Hi experts,
                  i am trying to download hr personal data into excel from an internal table using GUI_DOWNLOAD, where date field, in excel, are having  2 different types of date format  and the formats are :
                                                                1)  05/08/52
                                                                 2)   22.04.1957
    But i want to maintain only one type date format... preferably the 2nd one.
    please help me out in this....
    with regards.
    Praveen

    Hi,
    Convert the date fields in the internal table using conversion routines.
    Regards
    Praveen

  • Hi i have recently bought iphone 5s and created apple id on the same day. But i didnt used the apple ID for 20 days. While trying download the apps my Apple ID was Inactive. Please tell me how to active my Apple ID

    Hi i have recently bought iphone 5s and created apple id on the same day. But i didnt used the apple ID for 20 days. While trying download the apps my Apple ID was Inactive. Please tell me how to active my Apple ID.

    Hi,
    Try to connect you on Apple.com on your computer,
    and if it doesn't work, it will tell you.
    Thanks

  • Problem in Downloading the file by using FM : GUI_DOWNLOAD in XLSX format

    Dear Experts,
        We are using FM: GUI_DOWNLOAD to download the data in .XLSX Format,But it is giving ERROR while opening the Excel file.
    So,Please help me how to download the file in .XLSX format.
    checked DC30 - for file extensions..there we were observed the suffix field is taking only 3 characters,it is not accepting 4 characters,kindly tel me how to increase the field size for SUFFIX field.
    and USED : CL_GUI_ALV_GRID and CL_GUI_FRONTEND_SERVICES.
    Still Not possible to download the data  in XLSX format.
    Kindly Provide the Solution.
    Regards,
    Nagaraju

    hi
    Try to use like below
    Display save dialog window
          call method cl_gui_frontend_services=>file_save_dialog
            exporting
              window_title      = 'FILE PATH'
              default_extension = 'XLS'
              default_file_name = 'CREDIT LIMIT DATA'
         INITIAL_DIRECTORY = 'c:\temp\'
            changing
              filename          = l_filename
              path              = l_path
              fullpath          = l_fullpath
              user_action       = l_result.
    Check user did not cancel request
          check l_result eq '0'.
          call function 'GUI_DOWNLOAD'
            exporting
      BIN_FILESIZE                    =
              filename                        = l_fullpath
             filetype                        = 'ASC'
      APPEND                          = ' '
             write_field_separator           = 'X'
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
      WK1_N_FORMAT                    = ' '
      WK1_N_SIZE                      = ' '
      WK1_T_FORMAT                    = ' '
      WK1_T_SIZE                      = ' '
      WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
      SHOW_TRANSFER_STATUS            = ABAP_TRUE
    IMPORTING
      FILELENGTH                      =
            tables
              data_tab                        = it_crdt_limit
      FIELDNAMES                      =
    EXCEPTIONS
      FILE_WRITE_ERROR                = 1
      NO_BATCH                        = 2
      GUI_REFUSE_FILETRANSFER         = 3
      INVALID_TYPE                    = 4
      NO_AUTHORITY                    = 5
      UNKNOWN_ERROR                   = 6
      HEADER_NOT_ALLOWED              = 7
      SEPARATOR_NOT_ALLOWED           = 8
      FILESIZE_NOT_ALLOWED            = 9
      HEADER_TOO_LONG                 = 10
      DP_ERROR_CREATE                 = 11
      DP_ERROR_SEND                   = 12
      DP_ERROR_WRITE                  = 13
      UNKNOWN_DP_ERROR                = 14
      ACCESS_DENIED                   = 15
      DP_OUT_OF_MEMORY                = 16
      DISK_FULL                       = 17
      DP_TIMEOUT                      = 18
      FILE_NOT_FOUND                  = 19
      DATAPROVIDER_EXCEPTION          = 20
      CONTROL_FLUSH_ERROR             = 21
      OTHERS                          = 22
        endif.
      endif.
    Thanks
    Gupta

  • Tried to "Open As" in PS a NEF file I modified in LR.  Got the following error message:  "Could not complete your request because the file format module cannot parse the file."  I can "Open" the file in PS, but then the changes I made in LR (and saved in

    Tried to "Open As" in PS a NEF file I modified in LR.  Got the following error message:  "Could not complete your request because the file format module cannot parse the file."  I can "Open" the file in PS, but then the changes I made in LR (and saved in the associated meta data file with the "Control S" command) are not applied to the opened PS file.  HELP!

    If you are working with a file you modified in Lightroom, you should go to the Lightroom Photo menu and choose Edit in... and the version of Photoshop you want to open it in.
    There a dialog will ask if you want to transfer the LR settings you made to your photo when you open in Photoshop.
    Gene

  • Formscentral - how do I change required date format to long date (e.g. January 2, 2014) in a form field?

    Formscentral - how do I change required date format to long date (e.g. January 2, 2014) in a form field?  I can't seem to change it from the short date format.

    Hi,
    I would suggest you to change the form language to English (UK), Here are the steps:-
    1. Open your form in FormsCentral
    2. Clik on Options tab
    3. Click on Language and Formatting and check out the selection for Form Language and make sure English (U.K.) is selected and the default date format should be day/month/year.
    Regards,
    Nakul

  • 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

  • Problem in Date Format when user chages the date format in preferences

    I want to generalize my code so that user can change what ever Date format he wants, I will get the date from the page in the format yyyy-mm-dd, and if the Date Format is
    set to MM/dd/yyyy in prefernces i need to use MM/dd/yyyy and if the Date Format is set to dd-Mon-yyyy in prefernces i need to use dd-MMM-yy, so my question is how to know what Date format is set in the preference so that i can have all the possible date format for inserting the date
    Thanks
    Babu

    Babu,
    The date format in OAF Pages is controlled by profile ICX: Date format mask.This profile can be set at site as well as user level for the individual users to set the Date format.
    But I would advice not to go for setting different profile values at user level, because i remember some old threads, where seeded Oracle pages fail, as code their is not generalised to handle date formats.
    If your are planning to have this in ur custom page, go ahead, but do check the entire flow is working fine for different values of this profile at user level.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • FM to create a folder in local directory and then download the file...

    hi...
    can some one help me with a FM which will create the folder mentioned in the file path and then download the file.
    Ex : if file path is 'C:\Try\file.txt'.
    if the foler 'Try' is not available then it should be created and then the file should be downloaded in it.

    Hi
    Use the FM GUI_DOWNLOAD
    It will create the folder in PC if it not exist. Then Download the data .
      CONCATENATE p_path    " Directory path        
                  l_file                " File name
                  '.TXT'
            INTO  l_file_path.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = l_file_path
          filetype                = 'ASC'
        TABLES
          data_tab                = i_source[]
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6
          header_not_allowed      = 7
          separator_not_allowed   = 8
          filesize_not_allowed    = 9
          header_too_long         = 10
          dp_error_create         = 11
          dp_error_send           = 12
          dp_error_write          = 13
          unknown_dp_error        = 14
          access_denied           = 15
          dp_out_of_memory        = 16
          disk_full               = 17
          dp_timeout              = 18
          file_not_found          = 19
          dataprovider_exception  = 20
          control_flush_error     = 21
          OTHERS                  = 22.

  • Can we avoid the message  while opening downloaded excel file.

    Hi,
    I have an interesting issue.
    In my scenario I am downloading characteristics value from COID.
    Through background job we are getting that report in our Out look mail box. Report format is XLS.
    While opening the attached XLS file we are getting one message.
    The message is as follows
    The file is not in a recognizable format
    •     If you know the file is from another program which is incompatible with Microsoft excel click cancel, then open this file in its original application. If you want to open the file later in Microsoft excel. Save it in a format that is compatible, such as text format.
    •     If you suspect the file is damaged, click help for more information about solving the problem.
    •     If you still want to see what text is contained in the file, click OK. Then click finish in the text import wizard
    if we ok it the file is opening properly
    So My question is Can we avoid this message ?
    Edited by: amit kulkarni on Apr 10, 2008 9:01 AM

    Hi,
    can you check with your ABAPer on this or post this thread to ABAP Developement forum
    Regards,
    Sankaran

Maybe you are looking for

  • Getting results from LDB (Logical Database)

    Hi All, I have a requirement where i need to pass LDB results to external application. It can be any LDB. Like in SE36 we put the LDB name and execute and final results are shown in ALV. I dont need it to display in ALV but from my custom program, ne

  • How do I do headers and footers in a pages document

    How do I change headers and footers in a pages document.  New user and no help from Apple on software questions.  Jeanne

  • Get/set methods

    I've been programming in java for a while now, but just recently i started wondering about something. Doesn't get/set methods that contain no other code defeat the point of encapsulation? i.e public void getXxx() { return xxx; But now to the importan

  • How important is HAS ?

    11.2/aix 6.1 I came across "ORACLE HIGH AVAILABILITY SERVICES STACK" from the below link https://blogs.oracle.com/myoraclediary/entry/clusterware_processes_in_11g_rac I gather this is not part of CRS stack. I did a check on our 2 node RAC . It showed

  • Help Me with Encore CS6 Menu and buttons

    Hi I need help with Encore CS6 Menu's.  I have a Premiere CSs 6 video which is 3 hours long and 21 chapters.  It looks like I can get 18 of the buttons to work.  I also want to set up a exit button.  Is there a 18 button limit to a menu?  Should I be