UTL FILE saving as csv file

I have this line of code:
DECLARE
l_Date DATE := SYSDATE;
BEGIN
l_file := utl_file.fopen('UTL_TMP_DIR','ZERORISATION_'||l_Date||'.csv', 'w' );
END;I encountered this error while running my query with the line above :
PLS-00103: Encountered the symbol "L_FILE" when expecting one of the following:
:= . ( @ % ;
The symbol "." was substituted for "L_FILE" to continue.May I know what was the problem?

Try like this
DECLARE
l_Date DATE := SYSDATE;
l_fileName varchar2(50):= 'ZERORISATION_'||l_Date||'.csv'
BEGIN
l_file := utl_file.fopen('UTL_TMP_DIR',l_fileName, 'w' );
END;

Similar Messages

  • Flat File Upload as CSV File in BPS.

    Hi Friends,
    We have to upload CSV file to BPS and as of now we are able to upload tab spaced file as per the How to Document.
    Kindly can some body post the COMPLETE CODE changes for Uploading the CSV File in both LOAD and WEB Function Modules.
    For complete code points are guaranteed.

    Hi BI,
    please check the following thread.
    Load flat file to BPS - GUI issue
    I've implemented the file upload for CSV file. please note the changes i've made -
    Code for INIT function module :-
    FUNCTION Z_BPS_FILE_UPLOAD_INIT_CSV.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_AREA) TYPE  UPC_Y_AREA
    *"     VALUE(I_PLEVEL) TYPE  UPC_Y_PLEVEL OPTIONAL
    *"     VALUE(I_PACKAGE) TYPE  UPC_Y_PACKAGE OPTIONAL
    *"     VALUE(I_METHOD) TYPE  UPC_Y_METHOD OPTIONAL
    *"     VALUE(I_PARAM) TYPE  UPC_Y_PARAM OPTIONAL
    *"     REFERENCE(IT_EXITP) TYPE  UPF_YT_EXITP OPTIONAL
    *"     REFERENCE(ITO_CHASEL) TYPE  UPC_YTO_CHASEL OPTIONAL
    *"     REFERENCE(ITO_CHA) TYPE  UPC_YTO_CHA OPTIONAL
    *"     REFERENCE(ITO_KYF) TYPE  UPC_YTO_KYF OPTIONAL
    *"  EXPORTING
    *"     REFERENCE(ETO_CHAS) TYPE  ANY TABLE
    *"     REFERENCE(ET_MESG) TYPE  UPC_YT_MESG
      DATA: lto_chas TYPE yto_chas,
      ls_chas     TYPE ys_chas,
      ls_exitp    TYPE upf_ys_exitp,
      ls_mesg     TYPE upc_ys_mesg,
      ls_chasel   TYPE upc_ys_chasel, "<<<INSERT
      ls_charng   TYPE upc_ys_charng. "<<<INSERT
      DATA: lt_filetab TYPE filetable,
      ls_filetab   TYPE file_table,
      l_file       TYPE string,
      l_separator  TYPE char01,
      l_action     TYPE i,
      l_count      TYPE i.
      FIELD-SYMBOLS: <f> TYPE ANY. "<<<INSERT
    Try to get file name from parameter
      READ TABLE it_exitp INTO ls_exitp WITH KEY parnm = 'FILENAME'.
      IF sy-subrc = 0.
        l_file = ls_exitp-chavl.
      ENDIF.
    If no file name is given, prompt user for it
      IF l_file IS INITIAL.
        CALL METHOD cl_gui_frontend_services=>file_open_dialog
          EXPORTING
            window_title            = 'Select Upload File'
            default_extension       = 'csv'
            file_filter             = 'Text Files (*.csv)'
          CHANGING
            file_table              = lt_filetab
            rc                      = l_count
            user_action             = l_action
          EXCEPTIONS
            file_open_dialog_failed = 1
            cntl_error              = 2
            OTHERS                  = 3.                        "#EC NOTEXT
        IF sy-subrc <> 0.
          CLEAR ls_mesg.
          MOVE-CORRESPONDING syst TO ls_mesg.
          APPEND ls_mesg TO et_mesg.
          EXIT.
        ENDIF.
        CALL METHOD cl_gui_cfw=>flush.
        LOOP AT lt_filetab INTO ls_filetab.
          l_file = ls_filetab.
        ENDLOOP.
        CHECK l_action = 0.
      ENDIF.
      l_separator = 'X'.
    Upload file from front-end (PC)
    File format is tab-delimited ASCII
    l_separator = ';' .
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = l_file
         filetype                = 'DAT'
         has_field_separator     = l_separator
        TABLES
          data_tab                = gt_file_csv
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
      IF sy-subrc <> 0.
        CLEAR ls_mesg.
        MOVE-CORRESPONDING syst TO ls_mesg.
        APPEND ls_mesg TO et_mesg.
        EXIT.
      ENDIF.
    Create one dummy combination
    If we don't do this, the upload won't work since the second function
    will not be executed at all in case no transaction data exists so far.
    The combination must be a subset of the planning level!
      " >>> BEGIN INSERT
      CLEAR ls_chas.
      LOOP AT ito_chasel INTO ls_chasel.
        READ TABLE ls_chasel-t_charng INTO ls_charng INDEX 1.
        IF sy-subrc = 0.
          ASSIGN COMPONENT ls_chasel-chanm OF STRUCTURE ls_chas TO <f>.
          IF sy-subrc = 0.
            <f> = ls_charng-low.
          ENDIF.
        ENDIF.
      ENDLOOP.
      " <<< END INSERT
      COLLECT ls_chas INTO lto_chas.
      eto_chas = lto_chas.
    ENDFUNCTION.
    Include should contains following declarations-
    TYPES:      begin of itab_CSV,
                           text(255) type c,
                     end of itab_CSV.
    Global table to temporarily store loaded data.
    DATA: gt_file_CSV TYPE STANDARD TABLE OF itab_csv WITH DEFAULT
    KEY.
    Hope it will help you.
    Regards
    Tarun

  • How do you convert a pdf file to a csv file?

    how do you convert a pdf file to a csv file?

    I just noticed that you added a few more details and it seems like the problem is that part of the conversion is not working. Would it be possible to share the file with me so that I can forward it to the team that owns that service? My email address is [email protected]
    Thanks!
    Pat

  • How to transfer the messages saved as .csv file to the iphone?

    I made abackup my messages using SQlite browser which saved the backup file as .csv file. How can i transfer it to my phone again?

    PC suite does not help. Especially in my case where i created sub-folders in the "saved messages" folder, after which the messages can be read, but cannot be moved back to inbox anymore. After calling the nokia care centre, guess what the d**B customer care person said? she said one option is to forward the SMS's to another SIM card, then save it on that sim card. talk abt not using your brain!!! firstly, it would be costly, at 5cents per sms; that notwithstanding, it would take hours and hours to forward all (I have ard 900 saved sms's) to another number!
    with technology at the leve it's at now, I don't see why I have to incur both the TIME and MONEY to transfer something that is already belonging to me.

  • Using a lookup from one CSV file to another CSV file errors with a name clash

    Hi
    I have a master CSV file created by querying the AD. I need to populate the "Team" attribute by doing a lookup using Name against  the Name Column any of 6 CSVs,  someone has prepared for me .  The problem is the data is inconsistent
    in the 6 CSV files so Name can hold either the Name or Username i.e. SAmAccountName or LoginName
    Now my ps script works when the data is good. but I have around 30 exception cases whereby there is a mismatch .  To explain:
    is in this line ( see the big code block below) 
    $userObject = $nameAndTeamCsvData | Where-Object {$_.Name -eq $masterUserName}
    The $_.Name is using the top level masterCSVData Name but I was hoping that it was using the
    $nameAndTeamCSVData.Name  as in only within the scope of the Where-Object {} ..I guess I have misunderstood the syntax of what I had written.
    . A quick a dirty fix would be rename this column in all of the 4 spreadsheets or trying to fix the code.....
    # now update the empty team value for user object
    $csvMasterData | ForEach-Object `
    $masterName = $_.Name
    $masterUserName = $_.Username # to deal with exception cases
    #force scope to as the properties in the outer with the same name should be out of scope
    # lookup the Name to see if we can extract the user's Team
    $userObject = $nameAndTeamCsvData | Where-Object {$_.Name -eq $masterName }
    # deal with the situation where the name in the businesses spreadsheets is actually the Username (login name) in the master csv
    if ( $userObject -eq $null )
    # lookup the username (loginname) to see if we can extract the user's Team # !!!!error occurs here with the $_.Name !!!!!
    $userObject = $nameAndTeamCsvData | Where-Object {$_.Name -eq $masterUserName}
    if ( $userObject -eq $null )
    $_.Team = "UNKNOWN"
    else
    # replace the mastercsv.Team with the one we have looked up
    $_.Team = $userObject.Team
    else
    # Name matches so replace the mastercsv.Team with the one we have looked up
    $_.Team = $userObject.Team
    Daniel

    I see your challenge.  How about collecting the column names in an array and looking for the potential names?  Following my example before, try this:
    $dataColumns = $I | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name
    Now, you can loop through the names and collect the appropriate data.
    if ($dataColumns.Contains('Column1'))
        #add ForEach-Object { $_.Column1... }
    HTH
    ~fr3dd
    Hi I had to wait until Friday as I have someone  ( my boss) checking the business & team csv files against valid usernames and names. 
    # now update the empty team value for user object
    $nameAndTeamCsvData | ForEach-Object `
    $nt_name = $_.Name
    # $masterUserName = $_.Username # to deal with exception cases
    # lookup the Name to see if we can extract the username and mobile from the masterCSV
    $userObject = $null # Replace my original code: $csvMasterData | Where-Object {$_.SName -eq $nt_name } # with foreach code below
    $uo = $null
    foreach ($uo in $csvMasterData)
    if ($uo.SName -eq $nt_name)
    $userObject = $uo
    # ouch can't break out of this even though I found it so have to move on to the next
    }if ( $userObject -ne $null ){ #  Name matches so   replace the few propeerties in  mastercsv.Team with the ones we have looked up
             $_.Username =$userObject.SamAccountName
             $_.Mobile =$userObject.Mobile
    This does work but is clearly not very efficient since I don't think I can
    break or exit out of the foreach loop.  I am thinking I could quickly modify and add your code - my import is delayed as I am having a new property added to user class...  Let me know what you think.

  • File Content Conversion CSV File

    Hello All,
      I have a CSV file in the below format.
    a,b,c
    And my content conversion works.
    <1>a</1>
    <2>b</2>
    <3>c</3>
    Sometimes I get the records in the file as
    a,b,
    My conversion is failing, I mean it give me file as
    <1>a</1>
    <2>b</2>
    The last element <3></3> is not getting created.
    I tried to use lastFieldsOptional its not working.
    How can I achieve this.
    Regards,

    Okay Satish I will give a last try to explain you my issue..
    my CSV file is like this a,b,c,d
    my conversion works fine so the xml is after conversion
    <1>a</1>
    <2>b</2>
    <3>c</3>
    <4>d</4>
    Now few rows in the file may come as a,b,c, there is no d value it is blank.
    so I expect the conversion to be now
    <1>a</1>
    <2>b</2>
    <3>c</3>
    <4></4>
    like this, but what I am getting now is after conversion...
    <1>a</1>
    <2>b</2>
    <3>c</3>
    tag <4></4>  is not getting created and my Outbound expects the XML to be in that format, so for this I tried to use lastfieldsoptional so that empty <4></4> tag is created but no luck...
    This is what I want to do..
    In the process even though <4></4> is not created File Content Conversion is successful and so Adapter Monitoring is showing success and my mapping fails.
    Regards,

  • Merging Several Csv Files in one Csv file

    Hi,
    I have many csv file which do have same structure. I download those data from an external source like Yahoo bu it does not have headers. They jave just 6 columns of data Would you know how I can aggregate them in one file while including a column for each
    set of imported csv file having its own file name, such as YHOO or WMT just next to the 6th column?
    So, I have 2 questions: 
    If ı can add them all in a file and if ı can add the seventh column (the name of each csv file to identify the stock in that combined file.)
    Thank you so much for your support

    Hi Everybody,
    Thanks for the help. I have run the first code below:
    $files  = "d:\temp\file1.csv","d:\temp\file2.csv"
    $output = "d:\temp\output.csv"
    foreach ($file in $files) {
     $contents = get-content $file
     foreach ($content in $contents) {
      $filename = split-path $file -leaf # get filename
      $a = $filename + ";" + $content | out-file $output -append
    However, my goal  is to list companies in a tabular fashion (like file 1 should be listed in the first 6 columns of the file and second file is from 7-12 and third file 13-18 and so on).
    So my goal is not to append all files below each other but next to each other.
    Would you help me regarding that?
    Kind Regards, 

  • Can I use OWB to convert a fix-delimitted file to a csv file?

    Hi! anyone tried this before? source file is in fixed-length file and target should be a csv file.
    thanks in advance,
    carlo
    OWB 10r2

    It's quite simple.
    1.Generate 2 file objects in the OWB design that represent the 2 files. One configured as fixed-length, the other as csv.
    2. Design an external table based on your input file object
    3. Design a mapping that maps from the external table into the 2nd (csv) file object
    4. Configure file names as desired
    5. Deploy external table, connector(s) and mapping to DB
    6. Execute the mapping
    There you go...
    Regards Holger

  • Is it possible to convert a pdf file to a csv file?

    I have many files that I need to convert for a client that are presently in .pdf format and the program that she has and wants to utilize only accepts .csv files- is there a way to do this? Do I have to convert all of the files to Excel and then convert to csv? Any assistance would be greatly appreciated.
    Thanking you in advance for your time.
    Sincerely yours,
    Michelle

    we use a third party program "able2extract" this works great for converting pdf to excel (then save as CSV)

  • File saved as .5 file type with CS5, How to Open in CS5

    I've been working on a certificate and i saved it without looking at the file type. For some reason it set the file type to (.5). What is that? Is there any way I can open it again in CS5? Is there a file converter I could use. I just need to basically open the file agian in CS5 so I can continue to edit the certificate. I have tried opening the file with CS5 and CS6 and I get this message:
    "Could not complete your request because it is not the right kind of document."
    Thanks!

    That's the problem I saved it in Photoshop CS5 and It wont let me open it in that. The message:
    "Could not complete your request because it is not the right kind of document."
    Pops up when i try to open it with Photoshop.

  • Photoshop CS6 file saved thumbnail makes file blank??

    Hello,
              I've recenlty seen this problem, the file i process in adobe photoshop CS6 comes blank and the previous thumbnail also disappear. I've checked the settings in finder and adobe photoshop cs6 but i didn't change anything there. Can any one help??
    i need to submit wedding pictures but blank thumbnail makes me lost track of pictures. I'm attaching a picture below, the first row is what i've processed with adobe photoshop cs6 and the thumbnail disappeared.

    I have to make a lot of color corrections because this is film taken from the early 40s to the early 50s. I tried doing it in Avid Studio, Pinnicle studeo and Corel Draws Video Studeo which is what Avid Studio became. None of them alow for the amount of correction allowed in Photoshop. I already owned Photoshop 5 so I upgraded to 6 to take advantage of its advances in video. The plan was to break the converted files up in smaller peices so that Photoshop could handle it and use Premier Pro perhaps to do other post production editing. The origional avi files are a movie about 1 hr and 15 min long and another one about 45 min long. The CODEX is MJPG in avi.

  • Re: Microsoft Word file saved to skydrive, file now won't open on iPad?

    I created a file using the Microsoft Word app on my iPad mini, when coming to save the file on my SkyDrive it took longer than usual, but says on the 'recents' list it identifies the source location of the file within the SkyDrive. However when I click to open the file it begins downloading then says "Sorry we cannot open the file..."
    Is there any way I can retrieve the file? Any help would be appreciated as it has important work on.

    Try renaming the file just (filename).key instead of .key.zip then send and import

  • Complex file content conversion in case of CSV file

    Hi Friends,
    What you see below is generated from Excel i.e excel file saved as CSV file. This file i need to map in XI.
    Problem is i have to take only the data and not the header part.
    for e.g in this particular line
    Employee ID          :,,E00315
    I need only E0315 and not the header value. Similarly i have to find some solution to map all the required data.
    Please suggest me how to use file content conversion in such scenarios.
    Solution is required on top priority. Points will be immdly rewarded.
    Thanks & Regards
    K.Ramesh
    ,,Time Sheet,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    ,,,,,,,,,,Ref. No: T-PRO-01-011,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    ,,,,,,,,,,Page No.: 01,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    Employee ID          :,,E00315,,,Sale Order No /  Line Item :,,,SO123456,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    Employee Name    :,,K.RAMESH,,,Client Name                         :,,,NCLIENTELE,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    Month / Week        :,,Jul-08,,,Project Name                       :,,,Internal Project,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    Sales Team            :,,,,,Project  Role Start date      :,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    Location                   :,,BANGALORE,,,Project Role End date         :,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    Sl. No.,Date,Day,AA Type, Task Description,,,,,No.of Hours,Remarks,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    1,7/1/2008,Tue,0814-Talent acquitision,task 1,,,,,12.00,rmk 1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    2,7/2/2008,Wed,0814-Talent acquitision,task 2,,,,,10.00,rmk 2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    3,7/3/2008,Thu,0814-Talent acquitision,task 3,,,,,12.00,rmk 3,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    4,7/4/2008,Fri,0814-Talent acquitision,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    5,7/5/2008,Sat,0814-Talent acquitision,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    6,7/6/2008,Sun,0950-Holiday,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    7,7/7/2008,Mon,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    8,7/8/2008,Tue,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, , , ,,,,,,,,,,,,,,,,,,,,
    9,7/9/2008,Wed,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    10,7/10/2008,Thu,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    11,7/11/2008,Fri,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,, , ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    12,7/12/2008,Sat,0950-Holiday,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    13,7/13/2008,Sun,0950-Holiday,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,,,,,
    14,7/14/2008,Mon,0900-Paid leave,,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    15,7/15/2008,Tue,0900-Paid leave,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    16,7/16/2008,Wed,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    17,7/17/2008,Thu,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    18,7/18/2008,Fri,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    19,7/19/2008,Sat,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    20,7/20/2008,Sun,0950-Holiday,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    21,7/21/2008,Mon,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    22,7/22/2008,Tue,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    23,7/23/2008,Wed,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    24,7/24/2008,Thu,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    25,7/25/2008,Fri,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    26,7/26/2008,Sat,0814-Talent acquitision,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    27,7/27/2008,Sun,0950-Holiday,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    28,7/28/2008,Mon,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    29,7/29/2008,Tue,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    30,7/30/2008,Wed,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    31,7/31/2008,Thu,0804-Development,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    Prepared By:,,,,,Approved By:,Company Project Manager,,,,Client Project Manager,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    Name,,K.RAMESH,,,Name,YYY,,,,ZZZ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    Signature,,,,,Signature,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    Date   ,,31.07.2008,,,Date           ,31.07.2008,,,,31.07.2008,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

    Hi,
    In this CSV file, what all i need is the value E00315 after the label Employee ID. I used in FCC the parameters u asked me to do. Also in the Document Offset i gave value 3 so that the first three lines are ignored.
    1,,,Time Sheet,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    1,,,,,,,,,,,Ref. No: T-PRO-01-011,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    1,,,,,,,,,,,Page No.: 01,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    1,Employee ID          :,E00315
    But still i am getting the error
    Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 4 according to structure 'tims_header':java.lang.Exception: ERROR in configuration / structure 'tims_header.': More elements in file csv structure than field names specified!
    Please help.
    Thanks
    Ramesh

  • 10g - disconnected analytics, encrytion on csv file in client machine

    hi, experts,
    I found that the disconnected analytics client firstly download the data from server and SAVED AS CSV FILES.
    but everyone can view the content in csv files.
    IT IS UNSAFE.
    can any encrytion be done for this issue?
    Thank you very mucH!

    user11861756 wrote:
    I am trying to get a csv file in the client machine .My database server is configured in oracle 10g within an unix
    box.Though i am able to get a csv file on my server by using pl/sql codes and can have it on my local machine by
    ftp.But the problem is we dont have any permission to create ant file in our production environment .
    Is there is any process or utility on which i can build on my previous approach to get my csv file on my client
    machine directly.
    The answer to this question is the question.. What is client-server?*
    PL/SQL, SQL, Oracle, database ... all these equal server.
    SQL*Plus, TOAD, web browsers... all these equal client.
    Who handles the presentation of data on the client? Who has access to the client platform's keyboard, mouse, screen printer, disk drives, etc? The client.
    So how can a server process or component then hack across the client-server architecture and into a client component and write data (e.g. CSV files) there?
    This is a fundamental concept that needs to be clearly understood when dealing with all aspects of client-server.
    What also needs to be understood that client-server is a software architecture. This means that client-server can run on a single machine. Client can run on a PC. Server can run on a big Unix machine. Or server can run on the PC and the client can run on the big Unix machine.
    Which means that you can have PL/SQL code (on the server platform) acting as a client.. and use server software on your client platform to service that PL/SQL session.
    For example. PL/SQL creates a CSV "+file+" as a CLOB. PL/SQL uses a FTP package and opens a client FTP session to a FTP server on your client PC. Now your PC is the FTP server and PL/SQL the FTP client. The client then proceeds to FTP the CLOB as a CSV file.

  • Conversion of an excel file into a CSV 2.0 file for uploading in CCM 2.0

    Hi guys,
    We are downloading content from SAP R/3 into an excel spread sheet.
    We are uploading this content in a CSV file 2.0 into CCM 2.0
    the csv file we use today we are arming manualy because of the difference in structure between excel and CSV 2.0. We would like to be able to convert easily the excel file in a CSV file. How can one do this.
    Example of our csv-file:
    SAP CATALOG CSV 2.0 <,>FULL,,,,,,,,,,,,,,
    DEFAULTS,ES,,,,,,,,,,,,,,
    Model,,,,,,,,,,,,,,,
    DataType,String_ID,String,,,,,,,,,,,,,
    Characteristic,Z_COMPANY,/CCM/ID,,,,,,,,,,,,,
    Characteristic,Z_DOC_TYPE,/CCM/ID,,,,,,,,,,,,,
    Characteristic,Z_DATE,STRING_ID,,,,,,,,,,,,,
    Characteristic,Z_SUPPLIER_ID,/CCM/ID,,,,,,,,,,,,,
    Characteristic,Z_MARCA,/CCM/DESCRIPTION,,,,,,,,,,,,,
    Schema,ENTEL,Z_COMPANY,Z_DOC_TYPE,Z_DATE,Z_SUPPLIER_ID,Z_MARCA,{}ENTEL,,,,,,,,,,,
    Category,PRODUCTOS ENTEL,,,,{}ENTEL PRODUCTS,,,,,,,,,,
    Category,A.B.G INGENIERIA S.A.,PRODUCTOS ENTEL,,{}A.B.G. INGENIERIA S.A.,,,,,,,,,,,
    Content,,,,,,,,,,,,,,,
    ItemValuation,parent cty,/ccm/supplier_part_no,/ccm/base_uom,/ccm/order_unit,/ccm/price[1]#/ccm/amount,/ccm/price[1]#/ccm/currency_code,Z_DOC_TYPE,/ccm/supplier_name,/ccm/contract_id,/ccm/contract_item_id,Z_MARCA,/ccm/short_description,Z_SUPPLIER_ID,/ccm/product_group,/ccm/product_id,Z_DATE,Z_COMPANY
    1,A.B.G INGENIERIA S.A.#ENTEL,61,PCE,PCE,1,UF,ZSV0,A.B.G INGENIERIA S.A.,4410000181,10,ALL,Insp.TTecnica Terreno Servicios Privado,096898120K,A0307S001,3001870,20060111,ENT
    Any advice is welcome,
    Thanks in advance
    Aart

    Hi,
    We are also facing same issue like when we saved data was in CSV formate but now when we open the file then it comes in Text formate.
    Currently file extension is .xls but we tried to change that to .csv but still it opening in text only...
    Regards,

Maybe you are looking for

  • Hiding a dimension column in report

    Hi, I want to use a dimension column in criteria with other columns. But i dont want to display it in the results. How can i hide this particular column in result. Please suggest.

  • Windows 7: ssvagent.exe prompt constantly with IE...

    Hi, all! Just installed latest JRE (1.7.0_02-b13) and I'm getting constant prompts to run ssvagent.exe, whether admin or restricted use users. Any way to fix/prevent this? And no, logging in every user possible and shutting off the plug-in in IE is n

  • Can't connect any BB10 device to my Mac

    After I installed the MacBook pro EFI Firmware Update 1.3, none of our devices (we have a few of them running on all released OS's) would connect to my Mac. I'm running the latest BB Link (1.1.1.39) and sometimes I see that the device connects and di

  • Saved Pages doc as pdf now I want to edit it

    I created a document in Pages and saved it as a pdf, but I forgot to save a version that I can edit. How do I revert back to a document that I can edit? I usually save a Pages document and a second pdf document. Thank you!

  • Creative Cloud will not allow me to sign in.

    This just started recently. After I attempt to sign-in, a sign-in window pops up indicating I've been signed out. I've tried several times and still no luck. Changing the password does not help at all. It's like it's looping over and over as I try to