Export as Tab Separated Text (TTX)

I am using CR XI R2 to create the reports.  The reports are then run through Oracle's IBPM Process Monitor which uses CR Runtime Engine 9.  The old Oracle's IBPM Process Monitor also uses the same runtime engine, but it offered option to export the reports to TTX.  The new one doesn't.  Are we missing a DLL?
Thanks.
Mai

TTX is not installed by default. Go to Add/Remove programs and select Crystal Report XI R2 and Modify and use the Custom Install option. Expand the database option and check on TTX. If it's not there you'll have to use another datasource like XML etc.
Thank you
Don

Similar Messages

  • Convert tab separated text to non-trivial xml. (pwsafe -- KeePassx)

    I'd like to take the output of `pwsafe --exportdb > database.txt` and convert it to a KeePassX XML friendly format (feature request in pwsafe).
    I found flat file converter but the syntax is beyond me with this example.  Solutions are welcomed.
    More details
    Here is the pwsafe --> KeePassX XML translations.  The pwsafe export is simply a txt file with 6 fields (the first field can be ignored):
    uuid= doesn't translate
    group= group>title
    name= entry>title
    login= entry>username
    passwd= entry>password
    notes= entry>comment
    Example txt file for conversion (exported from pwsafe):
    # passwordsafe version 2.0 database"
    uuid group name login passwd notes
    "123d9-daf-df-3423423" "retail" "amazon" "myamazonuser" "sjfJ849" "superfluous comment"
    "4599d934-dsfs-324" "retail" "netflix" "netflixuser" "dj3W$#" ""
    "4kdfkd-434-jj" "email" "gmail" "mygmail" "dfkpass" ""
    Example xml in keepassx xml:
    <!DOCTYPE KEEPASSX_DATABASE>
    <database>
    <group>
    <title>Internet</title>
    <entry>
    <title>github</title>
    <username>githubusername</username>
    <password>githubpassword</password>
    <comment>optional comment</comment>
    </entry>
    </group>
    <group>
    <title>retail</title>
    <entry>
    <title>amazon</title>
    <username>username</username>
    <password>myamazonpw</password>
    </entry>
    </group>
    <group>
    <title>retail</title>
    <entry>
    <title>netflix</title>
    <username>username</username>
    <password>mynfxpw</password>
    </entry>
    </group>
    </database>
    Last edited by graysky (2015-06-14 18:27:17)

    It seems that ffe does not work quite well with tab/space separated list (at least I was not able to get it working). However you can use sed to replace tabs with commas:
    sed -e "s/\t/,/g" input.txt | ffe -c pwsafe.rc -s example.txt -l 2>/dev/null
    and this is pwsafe.rc
    structure pwsafe {
    type separated , *
    output group
    quoted
    header first
    record line {
    field uuid * * noprint
    field title
    field title * * entry
    field username * * entry
    field passwordd * * entry
    field comment * * entry
    output noprint {
    data ""
    no-data-print no
    output entry {
    data " <%n>%t</%n>\n"
    no-data-print no
    output group {
    file_header "<!DOCTYPE KEEPASSX_DATABASE>\n <database>\n"
    record_header " <group>\n"
    data " <%n>%t</%n>\n <entry>\n"
    record_trailer " <entry>\n </group>\n"
    file_trailer "</database>\n"
    no-data-print no
    If you are not bound to ffe, maybe it is easier to use a python script which is simpler to modify and it is more flexible. Something like the following should work:
    #!/usr/bin/python
    import sys
    from xml.dom import minidom
    class Converter(object):
    def __init__(self, filename):
    self.url = filename
    def convert(self):
    inp_f = open(self.url, 'r')
    data = inp_f.readlines()
    inp_f.close()
    # xml document model
    doc = minidom.Document()
    root = doc.createElement('database')
    doc.appendChild(root)
    for line in data:
    if '"' not in line:
    continue
    fields = line.split('\t')
    if len(fields) < 6:
    continue
    # uuid = fields[0].strip('"') # unused
    group = fields[1].strip('" ')
    name = fields[2].strip('" ')
    login = fields[3].strip('" ')
    passwd = fields[4].strip('" ')
    notes = fields[5].strip('" \n')
    group_node = doc.createElement('group')
    root.appendChild(group_node)
    # <group>
    group_title_node = doc.createElement('title')
    group_node.appendChild(group_title_node)
    group_title_node.appendChild(doc.createTextNode(group))
    # one <entry> per <group>
    entry_node = doc.createElement('entry')
    group_node.appendChild(entry_node)
    # <entry> -> <title>
    entry_title_node = doc.createElement('title')
    entry_title_node.appendChild(doc.createTextNode(name))
    entry_node.appendChild(entry_title_node)
    # <entry> -> <username>
    entry_uname_node = doc.createElement('username')
    entry_uname_node.appendChild(doc.createTextNode(login))
    entry_node.appendChild(entry_uname_node)
    # <entry> -> <password>
    entry_passwd_node = doc.createElement('password')
    entry_passwd_node.appendChild(doc.createTextNode(passwd))
    entry_node.appendChild(entry_passwd_node)
    # <entry> -> <comments>
    entry_comment_node = doc.createElement('comment')
    entry_comment_node.appendChild(doc.createTextNode(notes))
    entry_node.appendChild(entry_comment_node)
    print('<!DOCTYPE KEEPASSX_DATABASE>')
    print(root.toprettyxml(' ', '\n'))
    if __name__ == "__main__":
    try:
    ifname = sys.argv[1]
    except IndexError:
    print("Input file name required")
    sys.exit(1)
    cc = Converter(ifname)
    cc.convert()
    NOTE: I'm assuming from the example you posted that every <group> node contains only one <entry> child node.
    --edit[0]: corrected a typo in the python code (just realized that it is <comment> instead of <comments ) and made the parsing function more reliable
    Last edited by mauritiusdadd (2015-06-15 09:29:01)

  • Export from Crystal Reports to .ttx takes long time

    We have multiple sites running the same Crystal report. The report can run and present data in an hour resulting in thousands of records. Then we need the report to be exported into tab-separated text. The export can take 10-12 hours for some of the sites. Could this be a Crystal Reports issue?...Some are running CR10 and some CRXI? We are not sure if it is a systems issue or a Crystal Reports issue. Can anyone help?

    Multiple things could be causing this.  If you go to the fastest machine, does it have better network access, more mem, etc...
    Or, is it just closer to the data source, than the slowest.  I would take the quickest, and the slowest and try to isolate
    the differences between those two.  Honestly, could be anything.   Patch levels of CR, Operating system, ODBC Drivers, maybe even printer drivers.
    if you find your self exporting to tab delimited quite a bit, it might be worth redesigning the report,
    you could add the tabs between the fields in one huge formula. our several smaller ones,
    {Item 1} & chr(10) &  {Item 2} & chr(10) &  {Item 3} & chr(10) &  {Item 4}....
    anyway, then you could just output standard txt, and your tabs will already be imbedded.
    That may buy you some speed.

  • 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.

  • Script to export swatch names as tab-delimited text?

    Howdy!
    I run the screen printing department at a large shipping company, and as we grow, we're trying to integrate & computerize our workflow. 95% of the designs we have on file are built as spot color in Illustrator.
    We're trying to automate some functions here in the screen-making department, such as a computer-generated inventory of screens on-hand. When we image a screen, it'll get a barcode sticker and we can then *beep* it into inventory. When we reclaim a screen we can *beep* it out of inventory. My thinking is that this would be a metric ton faster than wandering around on the shop floor looking for screens when clients placed re-orders.
    In order to do that, I've got to generate a spreadsheet with the name of each color in the design in its own field of a spreadsheet, so that they can be used to populate our inventory system and get assigned SKU's.
    I can do this manually, but it's going to take a long time. What I was sort of half-heartedly wishing for was a way to export the names of all the spot swatches used in a design as text, hopefully tab-delimited so that it can be copy/pasted into a spreadsheet.
    Am I nuts?

    Chris, you could give this a try? It was done for mac OS as a batch. It should…(if it works) write a tab delimited text file to your desktop. As is it works for all the illustrator .ai & pdf files of a given folder. It would append the text file for each directory which you run it on. If it works this could easily be changed to work with just an open doc.
    var defaultFolder = new Folder ('~/Desktop');
    var illFolder = defaultFolder.selectDlg('Please select your Folder of Illustrator files…');
    if (illFolder != null) {
    var fileList = illFolder.getFiles(fileFiltering);
    if (fileList.length > 0) {
    main(fileList);
    } else {
    alert('This Folder contains NO Illustrator files!');
    } else {
    alert('User Canceled!');
    function main(fileObjs) {
    for (var i = 0; i < fileObjs.length; i++) {
    var fileName = fileObjs[i].name;
    var colorList = customColors(fileObjs[i]);
    var thisInfo = fileName + '\t' + colorList;
    writeLog(thisInfo);
    alert('Finished…');
    function customColors(filePath) {
    var colorList = '';
    filePath.open('r');
    while (filePath.tell() < filePath.length) {
    var line = filePath.readln();
    if (line.substring(0, 23) == '%%DocumentCustomColors:') {
    colorList = line.substring(25, line.length-1) + '\t';
    var nextLine ='';
    while (nextLine.substring(0, 18) != '%%CMYKCustomColor:') {
    var nextLine = filePath.readln();
    if (nextLine.substring(0, 18) != '%%CMYKCustomColor:') {
    colorList = colorList + nextLine.substring(5, nextLine.length-1) + '\t';
    filePath.close();
    return colorList;
    function fileFiltering(fileObj) {
    if (fileObj.creator == 'ART5' && fileObj.type == 'PDF ') {
    return true;
    } else {
    return false;
    function writeLog(info) {
    try {
    var log = new File('~/Desktop/Spot_Color_Info.txt');
    log.open('e');
    log.seek(0, 2);
    log.write(info + '\n');
    log.close()
    catch (e) {
    alert(e);

  • Create text file (ASCII), tab separated and load in sap (transaction al11)

    hi..
    i need to create a text file (ASCII), tab separated in sap which can be viewed in transaction AL11.
    thank you.

    Hi kailashl,
    Do intend to create a tab delimited file through program. or is it that you wish to diretly place the file on the application server.
    PS: if you wish to place the file which you have on the application server from presentation you use the tcode CG3Z, you need to give the source file path on the front end and target path on the application.
    If you wish to write the file onto the app server using program that you can do using dataset. and for tab delimited u can use CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
    PS: Award points ONLY if the solution was useful to you.

  • Export address book group text file?

    Hi,
    I need to get a group of addresses to a friend who can not use the vcard format. I need to do it in a text file format, but don't see any way in address book to do that.
    Can you help?
    Meg

    The vcards are actually text files - you can read them with BBEdit or Text Editor.
    One way to achieve what you want is clumsy but may be workable, depending on the number in the group and what your friend plans to do with them. In Address Book, select the group and go to File/Print. Choose the List style, select the fields to be included and then click the PDF button and save the group as a PDF. Send the PDF to your friend. Friend can open it, click the "Select Text" tool, select the data and copy it off to whatever is to receive it.
    Another more standard way would be to run applescript to pull the data you need into a comma-separated or tab-separated data file which can be imported into spreadsheet or address book programs. Several versions of such scripts have been posted here recently, or there are various importer/exporter scripts available on the internet.
    AK

  • Export as Tab Delimited File

    Is there any methodology whereby a file can be exported, or saved, as a Tab Delimited File?
    Thanks

    Select All
    Copy
    Paste in a Pages document
    Export as text.
    Other way (my preffered one) :
    Select All
    Copy
    run this Script :
    --[SCRIPT clipboard2textFile]
    Enregistrer le script en tant que Script :clipboard2textFile.scpt
    déplacer le fichier créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:
    Copiez la table à exporter dans le Presse-papiers.
    menu Scripts > clipboard2textFile
    Le script créera un fichier TSV (valeurs séparées par TAB).
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    +++++++
    Save the script as a Script :clipboard2textFile.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:
    Copy the table to export into the clipboard
    menu Scripts > clipboard2textFile
    The script will create a TSV file (Tab separated values).
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    +++++++
    Yvan KOENIG (VALLAURIS, France))
    2009/07/07
    2010/01/10 : Corrigé quelques coquilles dans les explications
    --=====
    on run
    try
    set enTexte to the clipboard as text
    set fName to (do shell script "date " & quote & "+_%Y%m%d-%H%M%S" & quote) & "." & "txt"
    set p2d to path to desktop
    tell application "System Events" to make new file at end of p2d with properties {name:fName}
    write enTexte to file ((p2d as text) & fName)
    on error
    if my parleAnglais() then
    error "The clipboard doesn’t contain text data. Maybe you selected a Numbers sheet !"
    else
    error "Le presse-papiers ne contient pas de données texte. Vous avez peut-être copié une feuille de Numbers !"
    end if
    end try
    end run
    --=====
    on parleAnglais()
    local z
    try
    tell application "Numbers" to set z to localized string "Cancel"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) mardi 16 février 2010 21:57:42

  • 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

  • Data getting truncated while exporting report to a text file in crystal 10?

    Hi All,
    I am using crystal 10.When exporting report to a text file ,a dialog prompts asking for Character perinch with a default value 9.If I change the value from 9 to 16 i am getting the correct data(that means character per inch value is 16) and it update "CharPerInch" value in registry under following location to 16.
    HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal Reports\Export\Text
    The dialog asked for character per inch also has option to select not to prompt again and i also selected that in first go.
    When i export the report again in text format it didn't prompt for number of character per inch but the data gets truncated.
    What i believe is even though it updates entry in registry and reads, it is not using the same value for export. It never consider the value that is in registry, if the check box is not selected then it is using the value entered in the dialog and if the check box is selected then in the next run it uses the default value as 9.
    Can anyone suggest me how to override this problem ? Is there any other setting place in registry where i can enter the number of character per inch.I don't want to crystal to prompt always for character per inch.

    Hi Venkateswaran,
    The other option to avoid truncation of the data could be
    Right click the text filed
    Click on Format Text to open the Format Editor
    On Common tab check the text box for Can Grow.
    This will prevent the data from truncating in preview as well as while exporting to text.
    Otherwise you will have to set the characters per inch to 16 each time. I donu2019t see changing the registry value causing any difference here.
    Regards,
    Aditya Joshi

  • How do I export Address Book to text file?

    I want to create a separate database for my professional contacts using Excel or Filemaker.  Right now I have them all in Address Book.  If I could just export my database as a tab-delimited text file.

    The AB file
    ~/Library/Application Support/AddressBook/AddressBook-v22.abcddb
    is a SQLite3 database. You can extract data with
    http://menial.co.uk/software/base/
    or Firefox SQLite manager

  • Trying to Export Details Column as Text Files

    In the bin, where all the information is columned regarding (on the right hand side) regarding duration/in/out... and all the other information...
    Is there a way to export only that information as a text file of any sort? I have a feature film's length worth of footage, and I'm trying to create a list of all the available shots we have for the crew, what master tape they were captured from, their in and out points, and all that...
    (As opposed to print screening the whole thing...)
    Any help would be just fantastic and save me an incredible amount of time (or confirm I have to spend an incredible amount of time)
    Thanks.

    Export "batch list" will give you a tab delimited text file that can be imported in to a spread sheet. Hide or add columns in the browser for further control.

  • OBIEE 11.1.1.6.12 - value modification during export in tab delimited format

    Hi all,
    we have noticed unproper value modification during export in tab delimited format.
    Please find example below:
    The proper value is 24150170000011615 (it is state register number of enterprise).
    The wrong value is 24150170000011600.
    Correct value:
    http://s12.postimg.org/v2gpqqzgd/obiee_1.png
    How do we export data from obiee:
    http://s23.postimg.org/6k7dwiezf/obiee_2.png
    Wrong value after export:
    http://s22.postimg.org/qdgqgogn5/obiee_3.png
    What should we do to fix it?

    The bigger picture is as follows:
    I have a button on my report that essentially should download the output of report to tab delimited text file. This button is integrated with a custom built class which has a main method. When I click on the button, the logic written in the main method gets executed.
    In this method I generate my internal table and pass to cl_gui_frontend_services=>gui_download method with parameters mention above.
    I try debugging but every thing seems to be working correct when sy-subrc = 0 through executable program and it does not enter into the download method logic when i do it through main method, instead sy-subrc is straight set to 6 (unknown error).
    Regards,
    Pankaj.

  • Excel to Tab delimited .text

    At work i have to deal with a lot of excels in which i have to save the file as .txt and then .xls, I will then upload the .txt file to SAP
    In the txt files, the numbers are being saved with "." (dot) and not with a ","(Comma) in the decimals, even though then numbers in excel are formated in number with 2 decimals and with comma separator.
    So I'm having problems with this, I've tried the different formats (number, text, general) but nothing seems to work. If I save manually in Tab delimited .txt the files is always saved with a comma in the decimals, but if i run the excel macro the .txt always save with a dot. I've also tried changing the file format in my VBA (TextWindows, TextMSDOS, Currentplatformtext) without sucess.
    Can anyone give me some help with this? I've been looking the internet for a solution but found none. The number of files i have to upload is huge, so i'd like to program my macro to do all this saving automatically.
    Thank you..
    PS:The VBA code I am using now is this:
    Sub Save()
        Dim NomeFicheiro As String
        Dim PathGrav As String
        NomeFicheiro = InputBox("Nome do Ficheiro?")
        PathGrav = "H:\Starflows\" & NomeFicheiro
        If NomeFicheiro = "" Then Exit Sub
        ActiveWorkbook.SaveAs Filename:=PathGrav, FileFormat:=xlTextWindows, CreateBackup:=False
        ActiveWorkbook.SaveAs Filename:=PathGrav, FileFormat:=xlNormal, CreateBackup:=False
        ActiveWorkbook.Close SaveChanges:=False
    End Sub

    I thought it might me the regional settings, mine are in Portuguese and by default we have the comma as decimal separator, so this should be ok.
    I tried changing to the English (US) format using both the comma and the dot as separator, but the problem remains, the macro is always saved with dot instead of comma, even so if I save the file manually as tab delimited text.
    What I also did was, I configured dot as decimal separator in the regional settings and putted commas in the numbers in my excel, I think it recognizes the numbers as text, in this case, when i run the macro the numbers in the text are saved with quotes like this but with commas, for example  "12,56". But in this case SAP does not accept the file because of the quotes.
    I remembered something that might be the reason for this happening. when I manually save as tab delimited .txt, excel asks me 2 questions, which i answer yes and which could be important.
    1. Excel tells me that the selected file type does not support workbooks that contain multiple sheets and to save only the active sheet click ok. This does not look like the problem but i changed the code to:
    ActiveSheet.SaveAs Filename:=PathGrav, FileFormat:=xlTextWindows, CreateBackup:=False
    I executed it but the dot and not comma remains.
    2. 123.txt may contain features that are not compatible with Text (Tab delimited). Do you want to keep the workbook in this format?
    *To keep this format, which leaves out any incompatible features, click Yes.
    *To preserve the features, click No. then save a copy in the latest Excel format
    I press yes and the file is saved as comma delimited.
    Could it be that i need to add something to my VBA code, as when the macro runs I am not prompted any of these questions.
    Thanks

  • 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

Maybe you are looking for