Download tsv (tab separated values) to Appleworks spreadsheet

Previously was able to download data from an AOL portfolio directly into an Appleworks 5 spreadsheet operating an iMac with OS 9. Now using OS 10.4.6 and Appleworks 6.2.9 on a Mac Mini none of the AOL options work. The other options for download are csv (comma separated values), qif (Quicken) and asc (Metastock).
Mac Mini   Mac OS X (10.4.6)  
Mac Mini   Mac OS X (10.4.6)  

I have a text.tsv file (Google calls it a csv, but
that's their error) which I feel I should be able to
just drop onto AW and have it open in a spreadsheet.
All I get is a couple of odd characters in the A1
cell.
Try dropping the file onto an open AppleWorks word processor document. If it is indeed a tab delimited text file, with no internal formatting information, you should then be able to copy it and paste into a spreadsheet.
Your comment regarding "a couple of odd characters in the A1 cell" indicates to me that there's more than simply text, tabs and returns in the file. If that's the case, you should be able to see the extra (often odd) characters in the WP document. If so, toggle 'Show invisibles' to on by pressing command-; (semi colon), then copy only the relevant text, tabs (will show as a right pointing arrow) and returns (will show as a reversed L haped arrow pointing left), and paste that block into your spreadsheet.
Regards,
Barry

Similar Messages

  • Import data from tsv (tab separated values) file

    I have a large tab separated values file that I want to import into an oracle table so I can a) run queries on this data and b) split into smaller and more manageable files.
    I'm very new to Oracle. I have installed 10g XE and sql_developer.
    This tsv file has 3,684,011 rows. Maybe it could be imported into an Access DB then into Oracle, but that seems like extra work??

    I have a text.tsv file (Google calls it a csv, but
    that's their error) which I feel I should be able to
    just drop onto AW and have it open in a spreadsheet.
    All I get is a couple of odd characters in the A1
    cell.
    Try dropping the file onto an open AppleWorks word processor document. If it is indeed a tab delimited text file, with no internal formatting information, you should then be able to copy it and paste into a spreadsheet.
    Your comment regarding "a couple of odd characters in the A1 cell" indicates to me that there's more than simply text, tabs and returns in the file. If that's the case, you should be able to see the extra (often odd) characters in the WP document. If so, toggle 'Show invisibles' to on by pressing command-; (semi colon), then copy only the relevant text, tabs (will show as a right pointing arrow) and returns (will show as a reversed L haped arrow pointing left), and paste that block into your spreadsheet.
    Regards,
    Barry

  • Read values from Tab Separated File(tsv) or Comma Separtated File (csv)

    Hi All,
       Am creating a portal application to dynamically display data in a tree structure .
       I'm having some data's stored in a tab separated file . I need to retrieve these data and display it in a jsp fie. Can any help me  regarding this.?
    Regards,
    Eben

    Hi,
    see whether this code helps:
    ==========================================================
    public class Read_TabFile {
        /** Creates a new instance of Read_TabFile */
        public Read_TabFile() {
        private static int c;
        public static void main(String aa[])//pass ur file name here
                File readThis=new File(aa[0]);
                int count=0;
                try
                    FileReader input=new FileReader(readThis);
                    Reader reader=new BufferedReader(input);
                    while(c!=-1)
                        if(c!=9&&c!=0&&c!=10&& c!=13)// for line feed,null,tab and comma
                            System.out.println(c);//populate ur bean here 4m which        u r                                             //setting values 4 the tree
                            count++;
                        c=reader.read();
                    System.out.println("EOF"+count);
                }catch(FileNotFoundException nof){System.out.println("FileNotFoundException");/do smthng/}
                catch(IOException iox){System.out.println("IOException")/do smthng/;}
    =========================================================
    If this doesnot satisfy ur need then let me know xactly what u r lookin 4...........
    Abhi

  • HT2486 The selected file does not appear to be a valid comma separated values (csv) file or a valid tab delimited file. Choose a different file.

    The selected file does not appear to be a valid comma separated values (csv) file or a valid tab delimited file. Choose a different file.

    I guess your question is, "what's wrong with the file?"
    You're going to have to figure that out yourself, as we cannot see the file.
    Importing into Address book requires either a tab-delimited or a comma-delimited file. You can export out of most spreadsheets into a csv file. However, you need to make sure you clean up the file first.  If you have a field that has commas in the field, they will create new fields at the comma. So, some lines will have more fields than the others, causing issues like the error you saw.

  • Exporting Metadata (caption information) from JPEGS to a comma separated value (CSV) file

    Here is my dilemma. I am an archivist at an arts organization and we are in the process of digitizing many of our materials to post them on the web and make them available to internet users. One of the principle components of our collection is a large trove of photographs. We have been in the process of digitizing these images and embedding metadata (in the Caption/Description, Author/Photographer and Copyright fields) via PhotoShops File Info command.
    Now I am at a crossroads. We need to extract this metadata and transfer it into a comma separated value form, like an Excel spreadsheet or a FileMakerPro database. I have been told that it is not possible to do this through PhotoShop, that I must run a script through Acrobat or Bridge. I have no clue how to do this. I have been directed to a couple of links.
    First I was directed to this (now dead) link: http://www.barredrocksoftware.com/products.html
    The BSExportMetadata script allegedly exports the metadata from files selected in Adobe's Bridge into a comma separated value (CSV) file suitable for import into Excel, Access and most database programs. It installs as a Bridge menu item making it simple to use. The the Export Metadata script provides you with an easy to use wizard allowing you to select associated information about a set of images that you can then export. This script requires Creative Suite 2 (CS2). This script sounds like it does exactly what I want to do, but unfortunately, it no longer exists.
    Then I found this:
    Arnold Dubin, "Script to Export and Import Keywords and Metadata" #13, 8 Aug 2005 7:23 am
    I tried this procedure, but nothing seemed to happen. I also tried to copy the script into the JAVASCRIPT action option in Acrobat, but I received a message that the script had an error. It also seems to me that this script does not set up a dumping point, that is, a file into which this information will be exported to.
    I am a novice, not a code writer or a programmer/developer. I need a step-by-step explanation of how to implement this filtering of information. We have about 2000 jpeg and tiff files, so I would rather not go through each file and copy and paste this information elsewhere. I need to find out how to create a batch process that will do this procedure for me. Can anyone help?

    Hello -
    Is anyone aware of a tool that will do the above that is available for mac? Everything I've found so far seems to be PC only.
    Any help is appreciated, thanks!

  • Need help: GUI_DOWNLOAD and tab-separated in between fields.

    hello everyone,
    this is the layout of the interface that i created:
             sy-title
    total records processed: XX
    total records failed: XX
    summary of the error
    pernr<tab>name<tab>error message<tab>otherfieldshere
    i wanted the error log to be saved locally thus, i have to use GUI_DOWNLOAD.
    ok, here's the current parameters i supplied with my gui_download:
    CALL FUNCTION 'GUI_DOWNLOAD'
           EXPORTING
                filename                    = v_file_string
                filetype                      = 'ASC'
                write_field_separator   = 'X'
           TABLES
                data_tab                    = i_error_log
    (exceptions not displayed)
    the problem that i have is that, there is a difference between the error logs displayed after the execution and the error logs saved in my local directory.
    i did find a way to resolve this BUT, i still need to refine it. also, the spaces between the fields seems not tab delimited, but separated by space.
    to explain further here's the current error log that i have downloaded:
    10000001<tab>10/23/2006<tab>01<tab>P<tab>11<tab>01
    the header:
             sy-title
    total records processed: XX
    total records failed: XX
    summary of the error
    is not included in the downloaded errorlog file.
    i added some modification of my report to include it because, i want to to look exactly the same as of the errorlog generated/displyed after the execution.
    the result looks as it is what i've expected BUT,
    when i checked the spaces in between fields...
    it is all separated by spaces... not tab.
    here is the actual error log that i have obtained:
             sy-title
    total records processed: XX
    total records failed: XX
    summary of the error
    pernr<space><space><space>name<space><space><space><space><space><space>error message<space><space>otherfieldshere
    What i wanted to resolve is that, i want the error log to be tab delimited and not separated by space.
    is this possible? if it is, any suggestion will truly be appreciated.

    Hi,
    Please check your flat file i think it they have used the Three spaces instead of using a SINGLE TAB. between the fields.
    Thanks & Regards,
    Chandralekha.

  • Store table data in a tab separated file in oracle apex

    How to store table data in a tab separated file in oracle apex ?
    Suppose i have a table 'Table1' as shown below.
    id name
    1 x
    2 y
    I want to get the result 'select * from table1;' into a tab separated file in oracle apex.

    For client you could
    - invoke call to Oracle Reports, where an .rdf is ready to generate one for you
    - utilise download as csv option in interactive reports
    - call page that generates csv using htp package (CSV Download without Header, possible?
    - modify an interactive report to do a similar thing (http://www.talkapex.com/2009/04/custom-download-for-apex-interactive.html)

  • Can't import AppleWorks spreadsheet with Japanese

    I can't import an AppleWorks spreadsheet with Japanese writing into Numbers. The fonts are all just like this.
    Å@Å@â∫ãLÇÃÇ∆Ç®ÇËå©êœÇËÇ¢ÇΩǵNjÇ∑ÅB
    In AppleWorks, the fonts are fine.

    How do I get AppleWorks to export to TAB delimited?
    Save As… text in the File Format drop-down menu. You will need to add the .txt extension to the file name. AppleWorks won't do it for you & Numbers may not recognize the file as one it can open without the extension.

  • Problem in Uploading Data using a Tab Separated File?

    Hi All,
    I am trying to upload a file which tab separated containing customer and bank details and my file structure somewhat in the following manner.
    10     21169     abcde     xyz     kdHDHLk     gdh     ghgah  (Customer Details)
    20     21169     DE     20050000     01122334  (bank details for customer 21169)
    20     21169     DE     23022200     1122334455
    (bank details for customer 21169)
    20     21169     DE     23984899     223344556    (bank details).
    But when I am trying to intial upload the details to an internal table using GUI_upload FM and display to check if it is loading correctly or not it is not giving me any o/p.
    I am copying the code which I am trying to execute. Please tell me what way I need to modify the code so that it executes correctly.
    parameters: p_file type rlgrap-filename.
    data: begin of wa_file,
          text(256) type c,
          end of wa_file.
    data: it_file like table of wa_file.
    types: begin of ty_kna1,
           kunnr type kunnr,
           name1 type name1,
           sortl type sortl,
           stras type stras,
           ort01 type ort01,
           land1 type land1,
           spras type spras,
           end of ty_kna1.
    data: it_kna1 type standard table of ty_kna1,
          wa_kna1 type ty_kna1.
    types: begin of ty_knbk,
           kunnr type kunnr,
           banks type knbk-banks,
           bankl type knbk-bankl,
           bankn type knbk-bankn,
           end of ty_knbk.
    data: it_knbk type standard table of ty_knbk,
          wa_knbk type ty_knbk.
    data: v_id(2).
    At Selection-Screen on Value-Request for p_file.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
       PROGRAM_NAME        = SYST-CPROG
       DYNPRO_NUMBER       = SYST-DYNNR
    *   FIELD_NAME          = ' '
    IMPORTING
       FILE_NAME           = p_file
    Start-of-Selection.
    data: p_file1 type string.
          p_file1 = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = p_file1
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = 'X'
    *   HEADER_LENGTH                 = 0
    *   READ_BY_LINE                  = 'X'
    *   DAT_MODE                      = ' '
    * IMPORTING
    *   FILELENGTH                    =
    *   HEADER                        =
      TABLES
        DATA_TAB                      = it_file
    * 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.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    constants: c_tab type X value '09'.
    loop at it_file into wa_file.
    if wa_file+0(2) = '10'.
    split wa_file at 'c_tab'
              into v_id
                   wa_kna1-kunnr
                   wa_kna1-name1
                   wa_kna1-sortl
                   wa_kna1-stras
                   wa_kna1-ort01
                   wa_kna1-land1
                   wa_kna1-spras.
    append wa_kna1 to it_kna1.
    elseif wa_file+0(2) = '20'.
    split wa_file at 'c_tab'
           into v_id
                wa_knbk-kunnr
                wa_knbk-banks
                 wa_knbk-bankl
                 wa_knbk-bankn.
    append wa_knbk to it_knbk.
    endif.
    endloop.
    write:/ 'Customer Master General Data'.
    uline.
    loop at it_kna1 into wa_kna1.
    write:/ wa_kna1-kunnr,
             wa_kna1-name1,
                   wa_kna1-sortl,
                   wa_kna1-stras,
                   wa_kna1-ort01,
                   wa_kna1-land1,
                   wa_kna1-spras.
    endloop.
    clear wa_kna1.
    skip 2.
    write:/ 'Customer Master Bank Data'.
    uline.
    loop at it_knbk into wa_knbk.
    write:/ wa_knbk-kunnr,
             wa_knbk-banks,
             wa_knbk-bankl,
             wa_knbk-bankn.
    endloop.
    clear wa_knbk.
    Regards,
    MD

    Declare Class cl_abap_char_utilities
    Use File type as 'DBF'
    Has_field_seperator = w_tab in FM GUI_UPLOAD
    DATA: w_tab TYPE c VALUE cl_abap_char_utilities=>horizontal_tab.
        CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
        BIN_FILESIZE                    =
          filename                        = w_file
       filetype                        = 'DBF'
        append                          = ' '
       write_field_separator           = w_tab
        TABLES
          data_tab                        = it_extractchar
       fieldnames                      = it_header
    EXCEPTIONS
       file_write_error                = 1
       no_batch                        = 2
       gui_refuse_filetransfer         = 3
       OTHERS                          = 22

  • AppleScript & AppleWorks Spreadsheet

    For years I have been using AppleWorks spreadsheets on my Quadra (ease-of-use, nostalgia, old habits die hard, etc.). After eventually deciding to transfer some of them to my G5 and work with them (as well as creating new ones) in a newer and faster environment, I started fiddling around with using AppleScript to automate some of the repetitive tasks within each document, especially for the new ones. One task appears to have either no solution or a particularly well-hidden one. Except for the example given here, all the other scripting is working to my satisfaction.
    The relevant part of the script is:
    tell application "AppleWorks 6"
        activate
        make new document at front with properties {document kind:SS}
        tell spreadsheet of document 1
            select menu item "Display…" of menu "Options"
        end tell
    end tell
    The line "select menu item "Display…" of menu "Options" brings up a window as pictured here.
    I would like to be able to use AppleScript to uncheck the checkboxes labelled "Row Headings" and "Column Headings" so that the whole script (of which this is only a small part), can run without ANY manual intervention. So far, no luck. The arrow keys and tab key (with and without modifier keys) have no effect within this window. If you hold down the command key for a a few seconds, the window displays command-key equivalents for the checkboxes, as pictured here;
    Turning on GUI scripting by enabling access for assistive devices in System Preferences and using calls to System Events with various permutations of the "keystroke" command had no effect. To try to discover if the items in the window were actually UI elements and of what type, I used the "get entire contents of window ... " approach, which worked beautifully in the main document window. The calls I used, inserted after the line ""select menu item "Display…" of menu "Options" and before the two "end tell" lines, were:
    tell application "System Events"
         tell process "AppleWorks 6"
              get entire contents of window 1          -- each of these four lines,
              get entire contents of window 2          -- and other various similar attempts, was used by itself
              get every item of window 1               -- (all included consecutively here to save space)
              get every UI element of window "Display"
         end tell
    end tell
    The line "get entire contents of window 1" only took effect once the "Display" window had been dismissed, and then it quite happily returned the contents of the main document window. The others returned either: "System Events got an error: NSReceiverEvaluationScriptError: 4" or "System Events got an error: Can't make every item of window 1 of process "AppleWorks 6" into type reference."
    My guess is that the window "Display" is a modal dialog which is not letting anything else happen until it is dismissed. In the script, the next command after "select menu item "Display…" of menu "Options" waits until the window has been dismissed.
    I have also tried saving the document (once the row and column headings have been hidden) as a spreadsheet template. That ALMOST achieved what I wanted. The new spreadsheet template shows up in Starting Points as "Spreadsheet" with the previous (pre-defined) template being renamed to "Standard SS". When clicking on the new template in Starting Points, a new SS document opens up with the row and column headings hidden, but when a new SS document is created using AppleScript, it uses the pre-defined template (headings not hidden). So near yet so far!
    If anybody has any suggestions, tricks and workarounds for both AppleScript and AppleWorks, I am willing to try them out.
    If I can't get this (small) part of the script to work without having to use the mouse or keyboard, then it's not the end of the world. But I do like sitting back and watching the computer do what it is good at - repetitive tasks, etc. - from start to finish.
    - - -    break for food and thought   - - -
    While not having found the reason for AppleScript's inability to access the "Display" window, I have worked out a way to achieve what I want. Even though the AppleScript command "make new document at front with properties {document kind:SS}" causes AppleWorks to ignore the customized template document and use the original, pre-defined one, the following routine makes a copy of the customized template document, converts it from a stationery document (template), renames it and opens it.
    tell application "Finder"
         set TemplateCopy to duplicate file "AppleWorks SS Options.cws" of folder "Templates" of folder "Starting Points" of folder "AppleWorks 6" of folder "Applications" of startup disk to desktop
         set stationery of TemplateCopy to false
         set NewFileName to "My spreadsheet.cwk"
         set the name of TemplateCopy to NewFileName
         open file NewFileName
    end tell
    One other approach which might have led somewhere was to explore the ability to prevent row and column headings from printing, even if they are displayed on screen. Scripting the print end of things may not have been easy, if possible at all, and would have required much more complexity in scripting. Also, I would prefer the screen display to match what is going to be printed.
    The end result I wanted has been achieved, although using a different approach than I expected. Given the legacy status of AppleWorks 6 and its oddities of behaviour with AppleScript (even though much functionality was added and many bugs fixed from version 5), I doubt that the original approach will ever work, although if anybody has some ideas/knowledge, etc., I am willing to listen.

    Scripting printing in AppleWorks 
    As a spin-off from my efforts described above, I think I have found a way of using AppleScript to save documents from AppleWorks as PDF's. At the moment the script is pretty wordy and maybe not as efficient as it could be, but it works (almost 100% of the time).
    In the Print dialog, the tab key can be used to move between the various elements in the dialog. Depending on which one has been arrived at after each press of the tab key, you can select and do various things by using the space key, up and down arrow keys and the return key. I'm not sure if they can all be consistently emulated using the keystroke command from within System Events, as here I have restricted myself to just the tab, down arrow and return keys.
    When the Print command is issued (via keystroke "p" using command down), the Print dialog opens up.
    On my system, the number of copies is highlighted by default when the Print dialog opens and by pressing the tab key five times the PDF button is selected (although it's not all that obvious). The down arrow then activates the dropdown menu - press it again and the first item in that menu is highlighted. Press Return and that item is accepted and the Save dialog comes up.
    On my system it takes one press of the tab key with shift down to move "back" from the Save As text field to the Save button (originally I had been using ten presses of tab in the "forward" direction), at which point Return selects it and the document is saved as a PDF. As with the Print dialog, the arrow keys, space key and Return can all be used to do/select various things along the way.
    In the script I have inserted a number of delays to give things time to happen. Originally they were longer and allowed me to observe what was being selected at each emulated press of the tab key. Those that are one second or longer need, at least on my system, to remain fairly long otherwise I get errors such as "connection not valid" and the script hanging to the point where the only way out was to force quit. I would assume that  some things are timing-dependent and need a specific amount of time before the next action can be performed. If anybody tries my script and finds odd things happening, I would suggest lengthening the delay times as the first thing to try. Also, on various System versions, there might be a difference in the number of tab presses required to move from the default highlighted attribute to the PDF and Save buttons.
    The script as it stands at the moment requires at least one AppleWorks document to be open (and checks for that to avoid an error at the start). It could be modified to be a droplet (and possibly open only one document at a time from those dropped onto it, as AppleWorks would have a limit of how many documents it could have open concurrently), but I will get around to doing that later on.
    The script itself:
    tell application "AppleWorks 6"
        activate
        set HowManyDocs to count of documents
        if HowManyDocs > 0 then
            set DocNames to name of every document
            repeat with CounterA from 1 to HowManyDocs
                try
                    set ThisDoc to (item CounterA of DocNames)
                    select document ThisDoc
                    tell application "System Events"
                        tell process "AppleWorks 6"
                            keystroke "p" using command down -- brings up Print dialog
                            delay 0.1
                            tell window "Print"
                                delay 1 --  or longer
                                repeat with CounterB from 1 to 5
                                    keystroke tab -- tabs through to PDF Button
                                    delay 0.1
                                end repeat
                                key code 125 -- down arrow - selects PDF dropdown menu           
                                delay 0.1
                                key code 125 -- down arrow - selects first item in PDF dropdown menu
                                delay 0.1
                                keystroke return -- accepts selection and brings up Save dialog
                                delay 1
                                keystroke tab using shift down -- tabs back 1 to Save button
                                delay 0.1
                                keystroke return -- "presses" Save button
                                delay 2 --  or longer
                            end tell
                        end tell
                    end tell
                end try
                close document ThisDoc -- closes each document after it is "printed" to PDF
            end repeat
        else
            display dialog "You have no AppleWorks documents open." & return & "Open some and then run this script again."
        end if
    end tell

  • Read text file (ASCII), tab separated

    how to read contens of text file (ASCII), tab separated in a report.

    hi kailash,
                    To read contents of text files (Ascii) use GUI_UPLOAD function.
    GUI_UPLOAD - this FM will Upload the Data of a text File to ITAB.
    Please see below the code for it.It is very simple ,plz go through it.
    In the code when u call the function GUI_UPLOAD just mention the file type as 'ASCII' as done below.
    pls do reward if useful.
    Thanks.
    types: begin of ttab,
           f1(25) type c,
           f2(10) type c,
           f3(10) type c,
           end of ttab.
    data: itab type table of ttab with header line.
    data: file_str type string.
    parameters: p_file type localfile.
    at selection-screen on value-request for p_file.
      call function 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          static    = 'X'
        CHANGING
          file_name = p_file.
    start-of-selection.
      file_str = p_file.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                      = file_str
        FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = 'X'
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
        TABLES
          DATA_TAB                      = itab
       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.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
      Loop at itab.
        write : / itab-f1,itab-f2,itab-f3.
      endloop.

  • Converting xml data in to comma separated values in bpel

    Is there a way to covert generic xml data to comma separated value in BPEL? i have tried using createDelimitedString but no luck.
    Please guide me on this issue.
    Thanks!
    Shan
    Edited by: 876372 on Aug 3, 2011 6:58 AM

    Hi,
    Have a luk at the below link it has many examples:
    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/nfb.htm

  • Tab Separated file for Sales Order creation

    Hi,
    I am creating a Z Report which intern calls BAPI BAPI_SALESORDER_CREATEFROMDAT2 for creating Sales Orders.
    Sales Order details I am giving through Tab Separated File which contains all details like
       1) Header Details
       2) Partner Details
       3) Item Details.
    Can any one tell what is the process to convert this file to into Internal Table.....

    This Example is only for three column. If there are more column you can check
    "LOOP AT intern.
        IF intern-col = *.  " * is coulmn number
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
           EXPORTING
                filename                = filename
                i_begin_col             = 1
                i_begin_row             = 1
                i_end_col               = 3
                i_end_row               = 65000
           TABLES
                intern                  = intern
           EXCEPTIONS
                inconsistent_parameters = 1
                upload_ole              = 2
                OTHERS                  = 3.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT intern.
        IF intern-col = '1'.
          l_length = strlen( intern-value ).
          IF l_length > 10.
            l_flag = 'E'.
            wa_error-vbeln  = intern-value.
            wa_error-message = 'Invalid Sales Order'.
            CONTINUE.
          ELSE.
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                 EXPORTING
                      input  = intern-value
                 IMPORTING
                      output = wa_vbeln-vbeln.
            CONTINUE.
          ENDIF.
        ELSEIF intern-col = '2'.
          IF l_flag = 'E'.
            wa_error-posnr = intern-value.
          ELSE.
            CLEAR : l_length.
            l_length = strlen( intern-value ).
            IF l_length > 6.
              wa_error-vbeln = wa_vbeln-vbeln.
              wa_error-posnr = intern-value.
              wa_error-message = 'Invalid item Number'.
              l_flag = 'E'.
            ELSE.
              wa_vbeln-posnr = intern-value.
              APPEND wa_vbeln TO i_vbeln.
              CLEAR : intern,wa_vbeln,l_flag,l_length.
            ENDIF.
          ENDIF.
        ELSEIF intern-col = '3'.
          CLEAR : wa_noti.
          wa_noti-aufnr = intern-value.
          APPEND wa_noti TO i_noti.
          CLEAR : wa_noti.
        ENDIF.
      ENDLOOP.

  • To read the values in the spreadsheet

    Hi,
    I have an excel sheet with some values quoted and ended with a comma at the end ( so as to place in the where condition of the sql query)
    I need to use these values in the where condition of the sql query to get the result. I will use this query in the shell script.
    How can i read each value from the spreadsheet.
    Values in the spreadsheet:
    'TT.1',
    'TT.2',
    'TT.3',
    'TT.4',
    'TT.5'
    Please guide me.
    Many thanks in advance.

    Whats the file format? Is it XLS. If thats the case then you cant use External Table. You may need to go for Hetrogeneous Services. You can follow this link to know more about it
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:4406709207206#18830681837358
    On the other hand if your file format is CSV then you can go for external tables. Once you have your external table in place its just a matter of how you query it. But mind that the file need to be in the DB server and not on your client machine.

  • How do I get the downloads popup/tab to go back to the old place (on the left side?) Now that I have the latest update of Firefox, it moved it over to the right

    I would like to get the downloads tab to go back to the way it was, before this most recent update. Now that I have the latest update of Firefox, it moved over to the right. The little hand won't budge it. And the download interface is different, now it is under something called 'library', I liked the old way much better - any way to restore it to that?

    Can you clarify what you mean with ''downloads popup/tab''
    Is this the pop-up that you see when finishing a download or do you mean the pop-up you see if you hover a link?
    When a download is in progress then you see a download progress bar on the Navigation Toolbar instead of the Download Manager button and that button is highlighted once the download has finished to make you aware the their are new downloads.
    You can view the new Download Manager in a tab by opening the about:downloads page and consider to open this page in a separate window.

Maybe you are looking for

  • SCOM SQL query killing instance performance

    Hi! Since a few day, a new query running against our SCOM datawarehouse db is killing the performance of the SQL instance. The query run 1'000'000 times per hour for a total of 100'000'000 logical read per hour, and this continuously. The query is pa

  • Oracle Financial , getting external Data

    Hai , We have an oracle financial system running with an inventory module , we need to link the database to an external dataase (text file). The program should upload text formatted (comma separated) data into the respective field and update it. Can

  • Migrating to a new OD master?

    Hello all, We currently have a G5 Xserve running OS X Server 10.4.11. This is our main server: it is our OD master, it has networked home directories, and various share points for different groups in our office. We will be replacing this with a new I

  • JCheckBox-icon not showing

    Hi there, i hope this has not been covered already, i searched this forum looking for all kind of JCheckBox posts but did not find what i was looking for. If i missed it i'm really sorry and would appreciate any kick that get's me into the right dire

  • RectVisible function not working as before on Windows 8

    What I want to achieve (and did successfully before switching to win8.1) is to check whether the currently displayed windows (i.e. not minimized)  visible parts (to the user) are crossing a selection rectangle I manages. For that purpose I used to us