Text Tab delimited - using Numbers

I have some Numbers files that I need to upload to a contact manager as Text Tab - Delimited. I cannot seem to find the correct way of doing it, since I am not able to get them done.

If you need to export data from specific tables, you can try is selecting the cells, command-c to copy, and in a text editor, command-v to paste, and then save to file, which you should then be able to upload to the contact manager.
Selecting cells and copying them places their values on the clipboard tab-delimited.
SG

Similar Messages

  • Issue related to Excel to Text tab delimited conversion

    Hi,
    I am facing a strange issue in converting an excel file to a text tab delimited file. I have an excel sheet which contains two columns:
    vendor         new_zip
    153357      99645-6340
    162642         99669-7631
    $209930-1   91320-1201
    $209989-1   91710-5766
    When i save this file as a text tab delimited file  this is how it turns into:
        vendor  new_zip
        153357  99645-6340
        162642  99669-7631
        $209930-1     91320-1201
        $209989-1     91710-5766
    i am using WS_UPLOAD since i am not using the enterprise version of SAP. In the above mentioned u can see that the zip values(first character) of the first two records and the vendor numbers(last character) of the last two records get in line with each other. so when i load this file it gives a "File open error" exception. if i move the zip codes of the first two records by one space so that they are not in line with the vendor numbers of the last two records the file uploading happens fine. but this is something which cant be done from the user point of view. so can anyone tell as to what can be done without changing the concept of using text tab delimited file and aviod this problem?
    thanks & regards,
    Bala.

    The following program uses alsm_convert_excel_to_internal_table.but i want to use split at tab delimiter.pls help.
    REPORT ZSAINAL_BDC_TRAN .
    *INCLUDE BDCRECX1.
    *definition of selection screen
    SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME .
    SELECTION-SCREEN BEGIN OF BLOCK bl2 WITH FRAME TITLE text-t01.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 10(20) text-c01.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 10(10) text-c02.
    SELECTION-SCREEN POSITION 22.
    PARAMETERS: p_txt RADIOBUTTON GROUP grp1 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 30(12) text-c03.
    SELECTION-SCREEN POSITION 46.
    PARAMETERS: p_xls RADIOBUTTON GROUP grp1 .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK bl2.
    *PARAMETERS
    PARAMETERS ctumode LIKE ctu_params-dismode DEFAULT 'A'.
    PARAMETERS cupdate LIKE ctu_params-updmode DEFAULT 'S'.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK bl1.
    *DATA
    DATA : bdc_data LIKE STANDARD TABLE OF bdcdata INITIAL SIZE 10
           WITH HEADER LINE.
    *DATA: bdc_tab LIKE TABLE OF bdcdata INITIAL SIZE 0 WITH HEADER LINE.
    *Internal table to get legacy data records structured in
    *target format
    DATA: BEGIN OF inrec OCCURS 0,
              lifnr LIKE lfa1-lifnr,
              name1 LIKE lfa1-name1,
              stras LIKE lfa1-stras,
              ort01 LIKE lfa1-ort01,
          END OF inrec.
    *Internal table of structure ALSMEX_TABLINE suitable for
    *uploading records from an Excel worksheet
    DATA: it_excel TYPE STANDARD TABLE OF alsmex_tabline
                  INITIAL SIZE 0 WITH HEADER LINE,
          it_excel_dummy TYPE  alsmex_tabline.
    data: messtab like bdcmsgcoll occurs 0 with header line.
    DATA: L_MSTRING(480).
    DATA: L_SUBRC LIKE SY-SUBRC.
    *START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM read_data.
      PERFORM populate_bdcdata.
    *START NEW SCREEN
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdc_data.
      bdc_data-program  = program.
      bdc_data-dynpro   = dynpro.
      bdc_data-dynbegin = 'X'.
      APPEND bdc_data.
    ENDFORM.
    *INSERT FIELD
    FORM bdc_field USING fnam fval.
    IF FVAL <> NODATA.
      CLEAR bdc_data.
      bdc_data-fnam = fnam.
      bdc_data-fval = fval.
      APPEND bdc_data.
    ENDIF.
    ENDFORM.
    *&      Form  read_data
          text
    -->  p1        text
    <--  p2        text
    FORM read_data.
      IF p_txt = 'X'.
        CALL FUNCTION 'GUI_UPLOAD'
            EXPORTING
              filename                      = 'C:\URMILA.TXT'
             filetype                      = 'ASC'
             has_field_separator           = 'X'
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
            TABLES
              data_tab                      = inrec
       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.
          WRITE: /'ERROR UPLOADING TXT FILE FROM PRESENTATION SERVER!',
                 / 'RETURN CODE : ',sy-subrc.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ELSE.  "filetype is excel
    -read excel file into an int. table in row/col format--
        CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
             EXPORTING
                  filename                = 'C:\URMILA.XLS'
                  i_begin_col             = 1
                  i_begin_row             = 1
                  i_end_col               = 4
                  i_end_row               = 3
             TABLES
                  intern                  = it_excel
             EXCEPTIONS
                  inconsistent_parameters = 1
                  upload_ole              = 2
                  OTHERS                  = 3.
        IF sy-subrc <> 0.
          WRITE: /'ERROR UPLOADING XLS FILE FROM PRESENTATION SERVER!',
                 / 'RETURN CODE : ',sy-subrc.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ELSE.
    --now fill data from it_excel into final legacy data itabinrec----
          IF NOT it_excel[] IS INITIAL.
            CLEAR inrec.
            REFRESH inrec[].
            LOOP AT it_excel.
              it_excel_dummy = it_excel.
              AT NEW col.
                CASE it_excel_dummy-col.
                  WHEN 1.
                    inrec-lifnr = it_excel_dummy-value(10).
                  WHEN 2.
                    inrec-name1 = it_excel_dummy-value(35).
                  WHEN 3.
                    inrec-stras = it_excel_dummy-value(35).
                  WHEN 4.
                    inrec-ort01 = it_excel_dummy-value(35).
                    APPEND inrec.
                    CLEAR inrec.
                ENDCASE.
              ENDAT.
             AT END OF row.
             ENDAT.
            ENDLOOP.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.
    *&      Form  populate_bdcdata
      to populate BDCDATA table from legacy file data contained in
      internal table inrec.
    -->  p1        text
    <--  p2        text
    FORM populate_bdcdata.
      IF  not inrec[] IS INITIAL.
        LOOP AT inrec.
          CLEAR bdc_data.
          REFRESH bdc_data.
          PERFORM bdc_dynpro      USING 'SAPMF02K' '0106'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
          PERFORM bdc_field       USING 'RF02K-LIFNR'
                                        inrec-lifnr.
          PERFORM bdc_field       USING 'RF02K-BUKRS'
                                        '1000'.
          PERFORM bdc_field       USING 'RF02K-D0110'
                                        'X'.
          PERFORM bdc_dynpro      USING 'SAPMF02K' '0110'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=PF03'.
          PERFORM bdc_field       USING 'LFA1-NAME1'
                                       inrec-name1.
          PERFORM bdc_field       USING 'LFA1-SORTL'
                                        'ALLGEMEIN'.
          PERFORM bdc_field       USING 'LFA1-STRAS'
                                        inrec-stras.
          PERFORM bdc_field       USING 'LFA1-PFACH'
                                        '645793'.
          PERFORM bdc_field       USING 'LFA1-ORT01'
                                        inrec-ort01.
          PERFORM bdc_field       USING 'LFA1-PSTLZ'
                                        '12001'.
          PERFORM bdc_field       USING 'LFA1-ORT02'
                                        'COOK'.
          PERFORM bdc_field       USING 'LFA1-PSTL2'
                                        '76905'.
          PERFORM bdc_field       USING 'LFA1-LAND1'
                                        'DE'.
          PERFORM bdc_field       USING 'LFA1-REGIO'
                                        '11'.
          PERFORM bdc_field       USING 'LFA1-SPRAS'
                                        'DE'.
          PERFORM bdc_field       USING 'LFA1-TELF1'
                                        '06894/55501-0'.
          PERFORM bdc_field       USING 'LFA1-TELFX'
                                        '06894/55501-100'.
          PERFORM bdc_dynpro      USING 'SAPLSPO1' '0100'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '=YES'.
          CALL TRANSACTION 'FK02'
                           USING bdc_data
                           MODE ctumode
                           UPDATE cupdate
                           MESSAGES INTO MESSTAB.
        ENDLOOP.
        perform mess_handling.
      ENDIF.
    ENDFORM.                    " populate_bdcdata
    *&      Form  mess_handling
          ERROR MESSAGE HANDLING IN CALL TRANACTION
    -->  p1        text
    <--  p2        text
    form mess_handling.
    tables:T100.
    LOOP AT MESSTAB.
            SELECT SINGLE * FROM T100 WHERE SPRSL = MESSTAB-MSGSPRA
                                      AND   ARBGB = MESSTAB-MSGID
                                      AND   MSGNR = MESSTAB-MSGNR.
            IF SY-SUBRC = 0.
              L_MSTRING = T100-TEXT.
              IF L_MSTRING CS '&1'.
                REPLACE '&1' WITH MESSTAB-MSGV1 INTO L_MSTRING.
                REPLACE '&2' WITH MESSTAB-MSGV2 INTO L_MSTRING.
                REPLACE '&3' WITH MESSTAB-MSGV3 INTO L_MSTRING.
                REPLACE '&4' WITH MESSTAB-MSGV4 INTO L_MSTRING.
              ELSE.
                REPLACE '&' WITH MESSTAB-MSGV1 INTO L_MSTRING.
                REPLACE '&' WITH MESSTAB-MSGV2 INTO L_MSTRING.
                REPLACE '&' WITH MESSTAB-MSGV3 INTO L_MSTRING.
                REPLACE '&' WITH MESSTAB-MSGV4 INTO L_MSTRING.
              ENDIF.
              CONDENSE L_MSTRING.
              WRITE: / MESSTAB-MSGTYP, L_MSTRING(250).
            ELSE.
              WRITE: / MESSTAB.
            ENDIF.
          ENDLOOP.
    endform.                    " mess_handling

  • Discover Plus - Export to Text Tab delimited is not exporting all the rows

    Hi gurus,
    I am trying to export a large data report which has 1 million plus rows to text tab delimited. The export takes 9 plus hours to export and the data is not more than 100000.
    My question is
    1. How can I make the discoverer to export it quicker or rather faster to tab delimited.
    2. Where can I change the number of rows to be exported.
    Any help, suggestions is appreciated.
    Thanks,
    SAI

    Hi Rod,
    Yes. The text tab delimited export is taking lot of time. The total rows for this report are nearly 1 million. If I break down the report with condition and export it I was able to export it ( three files exported with 212000, 103000 and 687000 rows respectively).
    But I m still having problems exporting it in one shot. Is there any way I could resolve this? Please let me know.
    Thanks,
    SAI

  • Text Tab delimited file-Strcuture-validation

    Hi Folks,
    1.Is there a way to check whether the file is text tab delimited or not,programatically ?
    2.can we check whether the data in the text tab delimited file is in line with the structure of the internal table into which it is going to be uploaded ?
    Thanks,
    K.Kiran.

    hi try this
    DO.
    READ DATASET p_ufile INTO in_file.
    IF sy-subrc <> 0.
    EXIT.
    ENDIF.
    APPEND in_file.
    CLEAR in_file.
    ENDDO.
    CLOSE DATASET p_ufile.
    LOOP AT in_file.
    SPLIT in_file AT c_tab INTO
    wa_citm_b-type
    wa_citm_b-vbeln
    wa_citm_b-posnr
    wa_citm_b-uepos.
    wa_citm_b-matnr
    lv_menge
    wa_citm_b-arktx
    wa_citm_b-vbegdat
    wa_citm_b-venddat
    wa_citm_b-prctr
    wa_citm_b-zterm
    wa_citm_b-faksp
    wa_citm_b-taxm1
    wa_citm_b-vlaufz
    wa_citm_b-vlauez
    wa_citm_b-vlaufk
    wa_citm_b-vkuegru
    wa_citm_b-bstkd
    wa_citm_b-bstdk
    wa_citm_b-posex
    wa_citm_b-bstkd_e
    wa_citm_b-bstdk_e
    wa_citm_b-period.
    IF NOT wa_citm_b-posnr CA sy-abcde.
    APPEND wa_citm_b TO lt_citm_b.
    ENDIF.
    ENDLOOP.

  • Dynamic Text in Pages using Numbers file as input

    I was wondering if it is possible to have cells or text boxes in Pages that are dynamic and are filled
    in automatically using a source cell from a linked Numbers file as the input.
    I have proposals to write that always use a specific Numbers file to crunch the math, but I want
    to present certain parts of the Numbers file in a formal written proposal and don't want to redo
    everything by hand when I make small changes to the projects financials.
    Thanks!!! So glad I switched!

    There is no feature allowing us to link two different documents.
    You may try to achieve your goal creating the Text document in a Numbers sheet using text boxes.
    Yvan KOENIG (from FRANCE vendredi 19 décembre 2008 12:41:29)

  • How to import tab delimited using external table?

    Hi all,
    I'm using external table to import data from a tab delimited file. However, I keep getting an error message. I used both TERMINATED BY OX'09' and X'09' but still could not get it work.
    Does anyone know how to solve this problem?
    Thank you very much.

    Hi
    Try this:
    import datafile="/myfiles/mydata" out=mydata dbms=tab replace delimiter='&' getnames=yes
    run;
    Thanks

  • 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

  • Application Server Download - Tab Delimited Text File

    Hi,
    I am trying to create a tab delimited text file in application server. Is there any option should i use with the Open Dataset / Transfer statements? My requirement is to download the file (Text - Tab Delimited) into Excel for further analysis. Can you please suggest me a suitable solution for this?
    Thanks,
    Kannan.

    Hi,
    You can use transactions CG3Y and CG3Z. Its very simple.
    Refer sample code:
    constants: c_split TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,
    c_path TYPE VALUE char100 '/local/data/interface/A28/DM/OUT'.
    *& Form f1001_browse_appl_file
    Pick up the file path for the file in the application server
    FORM f1001_browse_appl_file .
    DATA: lcl_directory TYPE char128.
    lcl_directory = p_direct.
    CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
    EXPORTING
    directory = lcl_directory
    filemask = c_mask
    IMPORTING
    serverfile = p_f2
    EXCEPTIONS
    canceled_by_user = 1
    OTHERS = 2.
    IF sy-subrc 0.
    MESSAGE s000 WITH text-039.
    EXIT.
    ENDIF.
    ENDFORM. " f1001_browse_appl_file
    *& Form f1004_app_file
    upload the file from the application server
    FORM f1004_app_file .
    REFRESH: i_input.
    OPEN DATASET p_f2 IN TEXT MODE ENCODING DEFAULT FOR INPUT.
    IF sy-subrc EQ 0.
    DO.
    READ DATASET p_f2 INTO wa_input_rec.
    IF sy-subrc 0.
    MESSAGE s000 WITH text-030.
    EXIT.
    ENDIF.
    o
    + Split The CSV record into Work Area
    PERFORM f0025_record_split.
    o
    + Populate internal table.
    APPEND wa_input TO i_input.
    CLEAR wa_input.
    ENDDO.
    ENDIF.
    ENDFORM. " f1004_app_file
    *& Form f0025_record_split
    Move the assembly layer file into the work area
    FORM f0025_record_split .
    CLEAR wa_input.
    SPLIT wa_input_rec AT c_split INTO
    wa_input-legacykey
    wa_input-profile_role
    wa_input-read_date.
    ENDFORM. " f0025_record_split
    DO your manipulation with the data records here.
    Popualte data into final internal table and write it back to application server at the desired path.
    *& Form f0020_write_application
    Write error log to application Server
    FORM f0020_write_application .
    IF p_f1 IS NOT INITIAL.
    CONCATENATE p_direct p_obj sy-datum text-037 INTO p_f2.
    ELSEIF p_f2 IS NOT INITIAL.
    REPLACE text-036 IN p_f2 WITH text-037.
    ENDIF.
    OPEN DATASET p_f2 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc 0.
    EXIT.
    ENDIF.
    LOOP AT i_error INTO wa_error.
    TRANSFER wa_error TO p_f2.
    IF sy-subrc 0.
    EXIT.
    ENDIF.
    CLEAR wa_error.
    ENDLOOP.
    CLOSE DATASET p_f2.
    ENDFORM. " f0020_write_application
    HTH,
    Regards,
    Dhruv Shah

  • How to Display  'purchase order text' in MM03 using report program

    Hi Friends,
    Can anybody suggest me how to display 'purchase order text' in MM03 using report program.
    'Purchase order text' tab displays purchase long text of particular material .
    I coded as:
          SET PARAMETER ID 'MXX' FIELD 'E'.
          SET PARAMETER ID 'MAT' FIELD k_final-matnr.
          SET PARAMETER ID 'WRK' FIELD k_final-werks.
          CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
    It displays Purchasing tab other than Purchase Order Text tab of MM03.
    Please suggest me how can i solve this.
    Is there any parameter id to set values for Purchase Order text tab

    >
    Madhu Mano Chitra wrote:
    > I want how to navigate to MM03 'Purchase Order text'  tab/ view using ABAP code.
    > could any suggest me
    You can call a transaction and pass it a BDC table that tells it where you want it to go.  You have to work out for yourself what to put into the BDC table.  The code below works for tcode CATSSHOW.
    DATA: bdcdata_wa  TYPE bdcdata,
          bdcdata_tab TYPE TABLE OF bdcdata.
    DATA opt TYPE ctu_params.
       CLEAR bdcdata_wa.
        bdcdata_wa-program  = 'CATSSHOW'.
        bdcdata_wa-dynpro   = '1000'.
        bdcdata_wa-dynbegin = 'X'.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'SO_STATU-LOW'.
        bdcdata_wa-fval = '20'.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'ANDZEIT'.
        bdcdata_wa-fval = SPACE.
        APPEND bdcdata_wa TO bdcdata_tab.
        CLEAR bdcdata_wa.
        bdcdata_wa-fnam = 'PAST'.
        bdcdata_wa-fval = 'X'.
        APPEND bdcdata_wa TO bdcdata_tab.
        IF p_selscr = SPACE.
           CLEAR bdcdata_wa.
           bdcdata_wa-fnam = 'BDC_OKCODE'.
           bdcdata_wa-fval = '=ONLI'.
           APPEND bdcdata_wa TO bdcdata_tab.
        ENDIF.
        opt-dismode = 'E'.
        opt-defsize = 'X'.
    CALL TRANSACTION 'CAPP' USING bdcdata_tab OPTIONS FROM opt.

  • Import text into a form from a tab delimited file using an action

    Good evening.
    I am using Adobe Acrobat XI Pro
    I have been working all weekend so far on this, and have tried many options.
    What I am wanting is to import a line of data from an excel file into a form, save the file with a name drived from the form fields, close the new file, then go back to the original file, import a line of data, and so on and so on.
    I had all of this working in livecyle with a tool, but now that we are going to Windows 8 and Microsoft Office 2013, the driver that I need to load the excel file into the form is not available--so now I have to redo the forms in Adobe and import using a tab delimited file.
    I would like to do this with an action.
    Thus far, I have the following.
    **Credit goes to George Johnson who helped me with the script to save the file using field names a few months ago**
    To start, I have a folder level script
    mySaveAs = app.trustPropagatorFunction(function(doc,path)
    app.beginPriv();
    var myDoc = event.target;
    myDoc.saveAs(path);
    app.endPriv();
    myTrustedSpecialTaskFunc = app.trustedFunction(function(doc,path)
    //privileged and/or non-privileged code above
    app.beginPriv();
    mySaveAs(doc, path);
    app.endPriv
    //Privileged and/or non-privileged code below
    For the Action, I start with the Form file loaded
    Then I execute a javascript to import the text into the file.
    this.importTextData("/c/data/clerical.txt");
    The next step is to save the file using field names as part of the file name
    --credit goes to George Johnson who assisted me with this on a similar project a few months ago.
    //Get the Field Value
    var fn=getField("Last").valueAsString + "-" + getField("First").valueAsString;
    //Specify the folder
    var fldr = "/c/data/";
    //Determine the full path
    var fp=fldr + fn + ".pdf";
    //save the file
    myTrustedSpecialTaskFunc(this, fp);
    That is as far as I have gotten. 
    What I want to do now is load the original form file, import the next line into the form, save the file, repeat.
    If anyone could assist me, I would greatly appreciate it.
    **note  I had to type this from my I-pad because I kept getting kicked off the internet from my computer.  I hope my code is typed correctly.

    George
    Thank you so much for your response.
    Yes--there are multiple lines in the data file--it will vary from month to month.  It looks like from what you are saying is that I need to do the global variable since it will constantly change, and then increment it as it goes through the text file.  When it reaches the end, then it will stop.
    I looked at the following links--but this is from Adobe 9 API--I don't know if things have changed with XI--especially since 9 used batch processing and XI has actions.
    Count PDF Files
    http://help.adobe.com/livedocs/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/js/html/ wwhelp.htm?href=JS_API_AcroJS.88.1.html
    Global counter
    http://help.adobe.com/livedocs/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/js/html/ wwhelp.htm?href=JS_API_AcroJS.88.1.html
    I am not exactly sure how to include this in my code.
    If you could point me in the right direction, I would appreciate it.

  • How can I save a Numbers spreadsheet as a tab delimited file?

    Okay, I would like to save a Numbers spreadsheet as a tab delimited file. But of course I can't do that, since Numbers only saves as a comma separated values file.
    Plan B: I can open up a CSV file created by Numbers in TextEdit, and I would like to Find and Replace all the commas with tabs. So I open up the Find window, enter a comma under Find, but of course when I put the cursor in the Replace blank and hit the Tab key, it just goes to the next blank instead of giving me a Tab.
    Is there a way I can get a Tab into that blank so I can replace all the commas with tabs?
    --Dave

    Hello
    When we use TextEdit as I described, rows are separated by Returns.
    It appears that your program requires LineFeeds.
    Here is a neat soluce.
    Save this script as an Application Bundle.
    --\[SCRIPT tsv2csv]
    (* copy to the clipboard a block of datas separated by tabs
    run the script
    You will get on the desktop a csv file named from the current date-time.
    The values separator is set to match the Bento's requirements:
    If the decimal separator is period, the script uses commas.
    If the decimal separator is comma, the script uses semi-colons.
    This may be changed thru the setting of the property maybeSemiColon.
    According to the property needLF,
    embedded Returns will be replaced by LineFeeds
    or
    embedded LineFeeds will be replaced by Returns
    Yvan KOENIG (Vallauris, FRANCE)
    le 10 octobre 2008
    property needLF : true
    (* true = replace Returns by LineFeeds
    false = replace LineFeeds by Returns *)
    property maybeSemicolon : true
    (* true = use semiColons if decimal separator is comma
    false = always uses commas *)
    --=====
    try
    set |données| to the clipboard as text
    on error
    error "the clipboard doesn't contain text datas !"
    end try
    set line_feed to ASCII character 10
    if |données| contains tab then
    if maybeSemicolon then
    if character 2 of (0.5 as text) is "," then
    set |données| to my remplace(|données|, tab, quote & ";" & quote)
    else
    set |données| to my remplace(|données|, tab, quote & "," & quote)
    end if -- character 2 of (0.5…
    else
    set |données| to my remplace(|données|, tab, quote & "," & quote)
    end if -- maybeSemiColon
    end if -- |données| contains tab
    if needLF then
    if |données| contains return then set |données| to my remplace(|données|, return, line_feed)
    set |données| to my remplace(|données|, line_feed, quote & line_feed & quote)
    else
    if |données| contains line_feed then set |données| to my remplace(|données|, line_feed, return)
    |données| to my remplace(|données|, return, quote & return & quote)
    end if -- needLF
    set |données| to quote & |données| & quote
    set p2d to path to desktop as text
    set nom to my remplace(((current date) as text) & ".csv", ":", "-") (* unique name *)
    tell application "System Events" to make new file at end of folder p2d with properties {name:nom}
    write |données| to file (p2d & nom)
    --=====
    on remplace(t, tid1, tid2)
    local l
    set AppleScript's text item delimiters to tid1
    set l to text items of t
    set AppleScript's text item delimiters to tid2
    set t to l as text
    set AppleScript's text item delimiters to ""
    return t
    end remplace
    --=====
    --[/SCRIPT]
    Yvan KOENIG (from FRANCE vendredi 10 octobre 2008 13:47:36)

  • GUI_UPLOAD can't upload data in a tab-delimited text file

    Hi.
    I was trying to upload data in a tab-delimited textfile.
    I could do it for a ASC textfile (by setting FILETYPE = 'ASC'), but I couldn't do it for a tab-delimited textfile (by setting FILETYPE = 'DAT').
    Any help is appreciated.

    hi kian,
    If u r using DAT file then HAS_FIELD_SEPERATOR should contain X.
    <b>check the following code:</b>
    parameters: p_file  like rlgrap-filename. " File Name.
    call function 'GUI_UPLOAD'
        exporting
          filename              =  p_file      " NAME of the file
    <b>  filetype                = 'DAT'
          has_field_separator     = 'X '</b>  "  <b>X  indicates Fields are separated by tabs.</b>
        tables
          data_tab                = t_file   " Internal table that contains the file data
        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.
    <b>IF the file type is DAT then following rules applies.</b>
    The components of the internal table are filled from the file. If the
    table contains several columns, the entries in the file must be
    separated by tabs. No conversion exits are carried out.
    The following applies for the different data types:
      -   I or N or P or F
       The numbers must be formatted according to the decimal representation
       defined in the user settings.
        -   D
       The date must be defined according to the date format defined in the
       user settings.
        -   T
       The time must have the format hh:mm:ss.
    Reward me if useful...
    Harimanjesh AN

  • Opening a tab-delimited file in numbers

    Hello,
    I have a tab-delimited file with the extension .srt to open in Numbers. I can do this easily in Microsoft Excel by going to the Open menu. It then gives me the option to say how the file is delimited and then it opens it. I can't seem to do this in Numbers... When I get to the Open menu and try to open the file, it is grayed out, so unaccessible... how does one do this in Mac?
    Thanks

    As was explained here many times, Numbers may open csv files if :
    (1) the file name ends with ".csv"
    (2) values are separated by commas if the decimal char in use on the machine is the period
    values are separated by semi-colons if the decimal char in use on the machine is the comma.
    (3) we have no way to change the values separator.
    Yvan KOENIG (VALLAURIS, France) samedi 18 juin 2011 20:50:54
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Receiver File Adapter - Tab delimited Text file

    I am using receiver file adapter to convert message created by ABAP PROXY to convert tab delimited text file format.
    XML message is in following format.
    - <DT_R3_ROLES_OUTBOUND_REC>
      <LIST_CATEGORY>SAP_HR</LIST_CATEGORY>
      <USRID>MRUDULAP</USRID>
      <EMAIL>[email protected]</EMAIL>
      <NAME>MRUDULA PATEL</NAME>
      </DT_R3_ROLES_OUTBOUND_REC>
    - <DT_R3_ROLES_OUTBOUND_REC>
      <LIST_CATEGORY>SAP_HR</LIST_CATEGORY>
      <USRID>HCHD</USRID>
      <EMAIL>[email protected]</EMAIL>
      <NAME>H CHD</NAME>
      </DT_R3_ROLES_OUTBOUND_REC>
    I have used file content conversion in the adapter configuration.
    Recordset structure = DT_LISTSERV_INBOUND_REC
    DT_LISTSERV_INBOUND_REC.addHeaderLine = 0
    DT_LISTSERV_INBOUND_REC.fieldSeparator = ','
    How to use Tab as the delimiter in the fieldSeparator field?
    Now the output in the file is as follows :
    [email protected]'MRUDULA PATEL
    [email protected]'H CHD
    What I need to do to make the file as the tab delimited file?
    Thanks in advance!
    Mrudula Patel

    Hi Mruddula,
    Use fieldSeparator: '0x09' for horizontal tab
    <b>DT_LISTSERV_INBOUND_REC.fieldSeparator: '0x09'</b>
    Naveen

  • How do you import multiple sets of tab delimited text into your form?

    Is there an easy way to bring in form data from a text file of data values(tab delimited) with multiple instances of each variable?   In my current project, I would like to bring name, address, phone, etc data from the text file for a couple hundred people into a PDF form which I create and format to my given specs.  I know I can import the text and select which instance of the variable I want to populate the similarly named fields, but I was wondering if I could appropriately name or create the various fields in the form so that it would auto populate each subsequent instance of the variables with the next line of data?.  In this case, I want to end up with a nicely formatted address book.
    Thanks!

    It is possible but not just a simple import of data.
    Each form field in the multiple page PDF would need a unique name not repeated on another page of the PDF. Fortunately the Acrobat form standard includes the "template" object and this object can be spawned or used to add a new page with the form fields automatically renamed with a prefix string of the page number and template added to each form field on the new page. So if one were to import a row from your tab delimited file into the template, one could then spawn a new page from the template with the data and rename the fields so there would be no conflict of like named fields.
    A Lesson in Templates for Adobe Acrobat by Dave Wraight
    With newer versions of Acrobat there is a mail merge feature.
    Create PDFs from Word mail merges

Maybe you are looking for

  • Issue with MIR7(BADI or User exit needed for stop SO data updating)

    Hi, While using MIR7 to post invoice, corresponding sales order item data is changed ,such as 'Billing date'. We don't want this happen. Please let me know if there is any BADI or Uer exit for achieving this. Thanks in advance.. Regards..

  • Whilst moving location of iTunes to external hard drive, I lost my iTunes Media folder and now it can't find my media files

    Whist moving my iTunes folder to an external hard drive, (I was following this post: http://support.apple.com/kb/ht1364) I seem to have accidentally deleted the itunes Media folder - I misread the last action point! All the files transferred to the e

  • Strange pageContext.forward Error

    Hello, We're migrating from Weblogic 10 to 11g1 using MyFaces 1.2. And have encountered with one JSF page with pageContext.forward problem. java.lang.IllegalStateException      at org.apache.myfaces.application.jsp.ViewResponseWrapper.getWriter(ViewR

  • Coping from quantity contract to sales order

    Hi all, I  have  fixed  to  coy  rules  from  Contract  to Sales order . The  only  problem  I  have  is  that  If  I  dont  copy  the  BOM  header,the  sub  Item  number  in  the  sales  order  is  copied  as  its  in  contract-And  I  need  new  nu

  • Transfer rotoscope path to different layer

    A novice rotoscoper, I got a little confused from having read and watched tutorials with several diffeent styles of rotoscoping. Some said to use a layer in between path and actual subject layer with the eyeball turned off.  Then lock the actual targ