CSV format file through Report scripts.

Hello Gurus -
In hyperion report scripts we can use the "Tabdelimited" syntax to produce the extract where the columns are separated by tabs.
I was wondering if there is a way to get the columns separated by "Comma" instead of Tabs through the report scripts.
Any guidance is appreciated.
Thanks in advance.
Regards

To produce comma separed report script you could use the MASK command and fixed column lengths.
If you have a read of :- http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/rw_mask.htm
It gives an example of producing comma separated report.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • How to parse CSV format files in CPO?

    Hi,
    Not able to read the csv format file in CPO.
    I need to loop through each line of the csv file, and retrieve each field by splitting with ','
    Can anybody help me in this?
    Thanks,
    Swati

    Use the "Read Table from Text" activity.  Here's a thread: https://supportforums.cisco.com/message/3570542#3570542

  • FM -  gui_upload. Problems uploading CSV format file

    Hi experts,
    I am facing an issue here. I tried to upload a .csv format file using FM - gui_load, in the table LT_RAW all the information is all in one column and rest of the columns are empty.
    How can i get the information to its respective fields?
    below are my codes:
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = pv_file
          READ_BY_LINE            = 'X'
          HAS_FIELD_SEPARATOR     = 'X'
          codepage                = '4110'
        IMPORTING
          filelength              = lv_filelength
        TABLES
          data_tab                = lt_raw
        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.
    I can only upload using .CSV format.

    Hi Suhas,
    below is the new code that i used. now the data is not filled in only one column,
    Instead it will fill up the max length of the field and continue the data in other field and fill up its max length of the field.
    " my declaration of lt_raw and ls_raw
    lt_raw            TYPE TABLE OF ZCTD_MIGCUSTOMER,
    ls_raw            like line of lt_raw,
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = pv_file
          codepage                = '4110'
        IMPORTING
          filelength              = lv_filelength
        TABLES
          data_tab                = lt_raw
        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.

  • How to place tif file through a script in an indesign document?

    how to place tif file through a script in an indesign document?

    Emanuele:
    it works if i just run a script....
    but since i have been using a gui to do some functions, this  place command is not able to place the output tif file back into the  document

  • Merging PDF files through a script

    Hi everyone,
    I want to merge a couple of PDF files
    through a script, because i have to do
    it for a good number of them every time
    I get them sent.
    I was wondering, does Reader have a
    command that can be called in the command
    line in order to merge this pdf files through
    a script.
    Ted.

    Reader can do very few things besides being a reader. If you wanna merge PDF files, use a PDF merger.

  • Loading into CSV format file

    I'm trying to load data into csv format file, by adding "," at the "Text Delimiter" at the "Files" tab. However, it adds several commas as:
    ,aaaaaa , ,aaaaaaaa , ,aa,
    ,bbbbbb , ,bbbbbbbb , ,bb,
    ,cccccc , ,cccccccc , ,cc,
    Can anyone confirm if it's right way to load into csv file?

    There is too many commas!
    You should not use a comma in your text delimiter but a quote' or double quote"
    and put a comma in the field separator to have something like
    "aaa","aaaa","aa"

  • Unable to open CSV format files

    Hi , Iam using Blackberry Z3 handset . But unable to opening the files in CSV format files .
    Please help me

    Hi and Welcome to the Community!
    Refer:
    Article ID: KB35546 BlackBerry 10 OS - Supported Attachement types
    It would appear that CSV is not a supported attachment format.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to Read the "text file and csv file" through powershell Scripts

    Hi All
    i need to add a multiple users in a particular Group through powershell Script how to read the text and CSV files in powershell
    am completly new to Powershell scripts any one pls respond ASAP.with step by step process pls
    Regards:
    Rajeshreddy.k

    Hi Rajeshreddy.k,
    To add multiple users to one group, I wouldn't use a .csv file since the only value you need from a list is the users to be added.
    To start create a list of users that should be added to the group, import this list in a variable called $users, the group distinguishedName in a variable called $Group and simply call the ActiveDirectory cmdlet Add-GroupMember.
    $Users = Get-Content -Path 'C:\ListOfUsernames.txt'
    $Group = 'CN=MyGroup,OU=MyOrg,DC=domain,DC=lcl'
    Add-ADGroupMember -Identity $Group -Members $Users

  • How to update XML file through UCCX script ?

    Hi,
    I have an UCCX script with MENU step. One of the step is for technical support team. When caller chose this step, information about date and time of the call and calling number should be recorded on a XML file located on the web server.
    This XML is uploaded into the web server , but I don't know how to update it through UCCX script.
    Here is how the XML file looks like:
    <?xml version="1.0" ?>
    <rss version="2.0">
    <channel>
    <title>CALL LOG</title>
    <link></link>
    <description>Support Call log</description>
    <ttl>1</ttl>
    <item>
    <title>2011-08-24 14:56:39 - 00044 123 123 123</title>
    <link></link>
    <description></description>
    </item
    </channel>
    </rss>
    Any idea?
    Thanks,
    O

    Hi
    The 'keyword transform' step uses the template XML file to generate the actual XML file you want to post... the template would be a plain text file uploaded to the repository, and would look like so:
    <?xml version="1.0" ?>
    CALL LOG
    Support Call log
    1
    %%calldatetime%% - %%clinumber%%
    Now - if you had that bit of XML, with correct time/number in it - have you verified know that you can definately just post that XML to a certain URL to get it on the server? Check with whoever manages that server exactly what you need to do to get it to appear - then worry about how you do that from UCCX. It may not be a matter of posting up that XML, you may need it in a different format or something..
    Aaron

  • Runtime error in KEFC Transaction while uploading CSV format file

    Hi Experts,
    This is regarding Runtime Error while executing the KEFC transaction in R3D.
    It is working successfully while uploading the file in Text format. But there is run time error while uploading in CSV format.
    It showing "The transfer was terminated.However,content errors occured" .
    Please provide the solution.
    Thanks in advance.
    Regards,
    Priya.

    Hi,
    To upload a CSV file it is used FM:
    CALL FUNCTION 'TEXT_CONVERT_CSV_TO_SAP'
    EXPORTING
    i_field_seperator = ';'
    I_LINE_HEADER =
    i_tab_raw_data = lt_file
    i_filename = p_filename
    TABLES
    i_tab_converted_data = p_table
    EXCEPTIONS
    conversion_failed = 1
    OTHERS = 2
    Please check what separetor this fm and your file are using. It should be the same.
    Regards,
    Fernando

  • Error when transferring table data to a CSV format file.

    Hi
    I am getting an error when I am passing the parameter value for the file name from the selection screen. If i hard code the path and name it works fine. can any one help me please. here is my code:
    PARAMETERS: OUTFILE LIKE dxfile-filename
                           DEFAULT 'C:\Apositivepay.txt',
          RUNDATE LIKE PAYR-LAUFD,
          Bank LIKE T012K-HBKID.     "List of Possible Banks
    type-pools:TRUXS.
    DATA: BEGIN OF OUTPUT_REC OCCURS 0,  "Output file for USBANK
          ACCT(12),           "bank account no
          Payee2(40) type c,         "payee 2
          END OF OUTPUT_REC.
    data:  itab1 type TRUXS_T_TEXT_DATA.
      CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
        EXPORTING
             I_FIELD_SEPERATOR          = ','
         TABLES
             I_TAB_SAP_DATA             = OUTPUT_REC
         CHANGING
             I_TAB_CONVERTED_DATA       =  itab1
         EXCEPTIONS
              CONVERSION_FAILED          = 1
              OTHERS                     = 2.
    IF SY-SUBRC <> 0.
       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
            filename = OUTFILE  "This doesn't work
            filename = 'C:\Apositivepay.txt' "This works
         TABLES
              DATA_TAB            = itab1
         EXCEPTIONS
              FILE_OPEN_ERROR     = 1
              FILE_WRITE_ERROR    = 2
              INVALID_FILESIZE    = 3
              INVALID_TABLE_WIDTH = 4
              INVALID_TYPE        = 5
              NO_BATCH            = 6
              UNKNOWN_ERROR       = 7
              OTHERS              = 8.
    Message was edited by: Anwarul Kabir

    hi,
    use this code and save that file in CSV format it will work
    OPEN DATASET P_IFILE FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF SY-SUBRC NE 0.
        MESSAGE E000 WITH 'Problem in opening Application Server file'.
      ELSE.
        DO.
          READ DATASET P_IFILE INTO IT_UPLOAD.
          IF SY-SUBRC NE 0.
            EXIT.
          ELSE.
            APPEND IT_UPLOAD.
            CLEAR IT_UPLOAD.
          ENDIF.
        ENDDO.
        CLOSE DATASET P_IFILE.
      ENDIF.
      IF IT_UPLOAD[] IS INITIAL.
        MESSAGE E000 WITH 'NO data in the file/upload problem'.
      ENDIF.
      LOOP AT IT_UPLOAD.
        SPLIT IT_UPLOAD AT ','
                         INTO
                         IT_FDATA-MATNR
                         IT_FDATA-WERKS.
                        IT_FDATA-SLGORT.
        APPEND IT_FDATA.
        CLEAR  IT_FDATA.
      ENDLOOP.
       IT_TOTAL1[] = IT_FDATA[].

  • Creating CSV format/files from Objects

    Hi,
    Context : I need to convert a linear object (having only one level of member variables) into CSV format.
    Progress: I have been able to create CSV format if strings are passed.
    Requirement: However, I was wondering if it is possible to create the entire CSV at one shot, instead of having to pass the object members separately, as this wud turn out to be very cumbersome for objects with lots of members...
    Is there a way to create a csv file or formatted text, if given a linear object?
    Any pointers appreciated
    Cheers!
    Nick

    i was wondering....
    if the class is dynamically created at runtime, then we would not be able to build such a functionality. Any thoughts?

  • How can i show gif files through reports

    I have blob column in a table and i store text with some gif files there ...i made a report for that and i set the property of blob item like ..file format as "text" and containes html tags "yes" then i generate the report on html but when i see the on html i can see only text not any picture like .gif file ..
    if any body have the solutuion to show .gif files with text then tell me ...
    Thanx..

    hello,
    you say, you store text with gif images in a blob. the question would be, in what format. if you store HTML text there, the images are actually not stored in the document but only references to them. you might then check the src attributes of your IMG tags if they point to valid destinations.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Download to CSV format in Interactive report

    Hi all,
    We have APEX 4.2. We have created Interactive report on a table. When we download that report to csv, everything is fine except for loan number which is a varchar2(50 Byte) (e.g. 210568900000000012). It is shown as 2.10569E+15. When we try to format the cell as text, it rounds off the number (e.g 210568900000000000).
    Please advice.
    Regards,
    Andy

    I encountered this issue previously, but regarding leading zeroes. It was really a battle with Excel - not APEX.
    Although I'd be interested to see if anyone has found a workaround that made Excel interpret it as a character instead of a number. We tried a few leads but to no avail.

  • How to generate PDF file through reports using forms 6i

    Hi all,
    I am using oracle 10g with forms 6i and reports 6i.I need to generate pdf file where clicking a button a report should be called and the report should be generated as a .pdf file in the source i have specified(ex. d:\...).Is this popssible with forms?.how can i achieve this.Kindly help me with suitable answers.Thanks :)
    Regards
    Vids

    hi,
    regarding report, there is a dedicated report forum. you should post there.
    but answer for your question is form is nothing to do with the pdf generation. you can call the report from the as usual.
    In the report you should set the properties like
    destype to 'file'
    desname to 'path with file name'
    desformat to 'pdf'

Maybe you are looking for

  • Iphone 3G - cannot access the bottom of the mail,Contact etc. Settings pane

    When I go to the pane I can set all my mail accounts etc but if I try to scroll down to the bottom of that page where I can set the sorting order of the contacts the iphone freezes and takes me back to the home screen. I have done a total 2 hour rese

  • Date in SQL Statement

    Hi, In oracle, there is a bulit in command, sysdate to retrieve the current system date. Is there any command to retrieve current system month and year? Tina

  • Navigation link disappear in IE but appear in Firefox

    Hi, I'm a Mac newbie. I created my first website using iWeb'09 and save it on local disk. It's look and run nicely in Firefox on both Mac and PC. However, when viewed in Explorer on PC, the navigation link did not appear. In IE, when I clicked the in

  • How do I connect wirelessly from my Canon SX700HS to my iPhone5s?

    I can not get my iphone to connect wirelessly to the Canon SX700HS. I am able to see the Canon SX700 in the wifi section of my iPhone and I am able to select it. When I open the EOS Remote application and select Camera Connection, I see the camera sh

  • Apps_ts_queues tablespace full error

    We had an issue last night where archive space filled and everything stopped until this morning when we cleared the disk space. Since that time we are getting the following error when opening previous requests in Apps ORA-00604: error occurred at rec