Downloading .7z file as text file instead of archive

Firefox has problem downloading .7z file. I read on other post that this is server side related but if I try to download the same file using Internet Explorer it download fine. So there has to be something that can be done to fix this problem.

Changing the setting for alt click didn't help, I press alt after pasting the link and then press enter, open the file in a new tab but still as plain text. I also tried pressing alt 1 sec after pressing enter but the file still appear as text instead of archive.

Similar Messages

  • Download File thru Text file and add password to protect text file

    Hello ABAPers,
    I have a problem regarding downloading of file in text file with password...meaning I need to protect with password the text file i created without human intervention...is it possible to ABAP? im using FM GUI_DOwnload and save it to text file.
    Please Help...Will reward points ...
    Thanks in advance.
    aVaDuDz

    Hi
    You could use OLE to integrate SAP with Excel - create files, execute macros etc. (search for DOI on SAP help), but this will only work on the presentation server, so you couldn't run it as a service in background. I suppose your e-mails are sent through the internet, hence the requirement for encryption -- or maybe your client doesn't trust its network people! For this you really should use strong encryption -- anything less, you might as well send plain text. One solution to this would be to send the email down a VPDN -- this would encrypt all traffic between source and destination. Another would be to encrypt the file just before it is attached to the email. This could be done within ABAP, but perhaps a third party public key encryptor would be better placed. This could be invoked via a system command call, or as an RFC. A third solution would be to have your mail server handle the encryption.
    Heres the link for the above explaination
    http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_gci1037837,00.html?track=sap805s
    One more link
    <a href=" http://www.telfordpct.nhs.uk/healthcare_professionals/SAP/creating_sap_documents_in_word_copy(1).htm ">http://www.telfordpct.nhs.uk/healthcare_professionals/SAP/creating_sap_documents_in_word_copy(1).htm</a>
    Regards
    Raj
    Message was edited by:
            Rajasekhar Dinavahi

  • Download into tab delimited  text file

    Hi all
    I am uploading  data from a text file with tab delimited.
    For some reason if the record doesnot satisfy the criteria i cannot upload the record .
    In the program i am moving those records into another internal table and deleting from the actual that i ausing to update the ztable.
    I need to download those fault records into another text file with tab delimited space with the same format so that they can correct those records and upload again.
    Thanks
    Preeti

    Preeti,
    Look at the code below. It should do everything that U want to do. However it uploads data from excel and downloads data into a text file.
    Hope this helps,
    Shreekant.
    Program Name  : ZRSD0177_XREF_EXCEL_UPLOAD                           *
    REPORT  zrsd0177_xref_excel_upload NO STANDARD PAGE HEADING    .
    TABLES : zzsd0010,
             knvv.
    DATA : g_repid LIKE sy-repid,
           $v_start_col         TYPE i VALUE '1',
           $v_start_row         TYPE i VALUE '2',
           $v_end_col           TYPE i VALUE '256',
           $v_end_row           TYPE i VALUE '65536',
           gd_currentrow TYPE i.
    *Data Declaration for the table ZZSD0010
    DATA : BEGIN OF it_zzsd0010 OCCURS 0.
            INCLUDE STRUCTURE zzsd0010.
    DATA : END OF it_zzsd0010.
    *DATA : it1_zzsd0010 LIKE it_zzsd0010 OCCURS 0 WITH HEADER
          LINE.
    *Data Declaration for EXCEL TABLES
    DATA :BEGIN OF it_tab_driver OCCURS 0,
               mandt                LIKE zzsd0010-mandt,
               sorg                 LIKE zzsd0010-vkorg,
               sdis                 LIKE zzsd0010-vtweg,
               sdiv                 LIKE zzsd0010-spart,
               gelco_princ_customer LIKE zzsd0010-princ_customer,
               sell_div             LIKE zzsd0010-kdgrp,
               payer                LIKE zzsd0010-payer,
               qad_cust(10)         TYPE c,
               name(30)             TYPE c,
               broker(3)            TYPE c,
          END OF it_tab_driver.
    DATA : it_tab_driver1 LIKE it_tab_driver OCCURS 0 WITH HEADER LINE.
    DATA :BEGIN OF it_tab_lookup OCCURS 0,
               rpc_ship_to(10) TYPE c,
               rpc_sold_to(10) TYPE c,
               rpc_bill_to(10) TYPE c,
               type(10)        TYPE c,
               qad_ship_to(10) TYPE c,
               qad_sold_to(10) TYPE c,
               qad_bill_to(10) TYPE c,
               sell_div1       LIKE zzsd0010-kdgrp,
               broker(3)       TYPE c,
          END OF it_tab_lookup.
    DATA : BEGIN OF it_knvv OCCURS 0,
            kunnr LIKE knvv-kunnr,
            vkorg LIKE knvv-vkorg,                              "V004
            vtweg LIKE knvv-vtweg,                              "V004
            spart LIKE knvv-spart,                              "V004
            kdgrp LIKE knvv-kdgrp,
           END OF it_knvv.
    DATA: it_outfile(200)   OCCURS 0 WITH HEADER LINE.
    DATA: it_outfile1(200)  OCCURS 0 WITH HEADER LINE.          "V004
    DATA: it_outfile2(200)  OCCURS 0 WITH HEADER LINE.          "V004
    DATA: it_outfile3(200)  OCCURS 0 WITH HEADER LINE.          "V004
    DATA: it_outfile4(200)  OCCURS 0 WITH HEADER LINE.          "V004
    DATA: it_driver LIKE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    DATA: it_lookup LIKE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    *--- Selection Screen
    SELECTION-SCREEN : BEGIN OF BLOCK blk WITH FRAME TITLE text.
    PARAMETERS : p_file  LIKE rlgrap-filename DEFAULT
    'C:\zzsd0010\driver.xls'.
    PARAMETERS : p1_file LIKE rlgrap-filename DEFAULT
    'C:\zzsd0010\lookup.xls'.
    PARAMETERS : p2_file LIKE rlgrap-filename DEFAULT
    'C:\zzsd0010\error.txt'.
    PARAMETERS : p3_file LIKE rlgrap-filename DEFAULT
    'C:\zzsd0010\warning_Sales_Div.txt'.
    PARAMETERS : p4_file LIKE rlgrap-filename DEFAULT           "V004
    'C:\zzsd0010\warning_Sales_Org.txt'.                        "V004
    PARAMETERS : p5_file LIKE rlgrap-filename DEFAULT           "V004
    'C:\zzsd0010\warning_Dist_channel.txt'.                     "V004
    PARAMETERS : p6_file LIKE rlgrap-filename DEFAULT           "V004
    'C:\zzsd0010\warning_Division.txt'.                         "V004
    PARAMETERS : p7_file LIKE rlgrap-filename DEFAULT           "V004
    'C:\zzsd0010\cust_not_found.txt'.
    SELECTION-SCREEN : END OF BLOCK blk.
    INITIALIZATION.
      g_repid = sy-repid.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name = g_repid
        IMPORTING
          file_name    = p_file.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p1_file.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name = g_repid
        IMPORTING
          file_name    = p1_file.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p2_file.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name = g_repid
        IMPORTING
          file_name    = p2_file.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p3_file.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name = g_repid
        IMPORTING
          file_name    = p3_file.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p4_file.           "V004
      CALL FUNCTION 'F4_FILENAME'                               "V004
        EXPORTING                                               "V004
          program_name = g_repid                                "V004
        IMPORTING                                               "V004
          file_name    = p4_file.                               "V004
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p5_file.           "V004
      CALL FUNCTION 'F4_FILENAME'                               "V004
        EXPORTING                                               "V004
          program_name = g_repid                                "V004
        IMPORTING                                               "V004
          file_name    = p5_file.                               "V004
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p6_file.           "V004
      CALL FUNCTION 'F4_FILENAME'                               "V004
        EXPORTING                                               "V004
          program_name = g_repid                                "V004
        IMPORTING                                               "V004
          file_name    = p6_file.                               "V004
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p7_file.           "V004
      CALL FUNCTION 'F4_FILENAME'                               "V004
        EXPORTING                                               "V004
          program_name = g_repid                                "V004
        IMPORTING                                               "V004
          file_name    = p7_file.                               "V004
    START-OF-SELECTION.
    Get the data from XLS to Internal Table
      PERFORM f1000_upload_driver_data.
      PERFORM f2000_upload_lookup_data.
    *UPDATE DATA BASE
      SORT it_tab_driver BY gelco_princ_customer qad_cust.
      SORT it_tab_lookup BY qad_sold_to.
      CLEAR : it_tab_lookup,
              it_tab_driver.
      LOOP AT it_tab_driver.
        CLEAR : it_tab_lookup.
        IF
           it_tab_driver-gelco_princ_customer = it_tab_driver-qad_cust.
    Hit the sold-to column first, and if does not find a hit then try
    the bill-to column.
          READ TABLE it_tab_lookup
          WITH KEY qad_sold_to = it_tab_driver-gelco_princ_customer.
          IF sy-subrc = 0.
            it_zzsd0010-mandt          = it_tab_driver-mandt.
            it_zzsd0010-vkorg          = it_tab_driver-sorg.
            it_zzsd0010-vtweg          = it_tab_driver-sdis.
            it_zzsd0010-spart          = it_tab_driver-sdiv.
            it_zzsd0010-princ_customer = it_tab_lookup-rpc_sold_to.
            it_zzsd0010-kunnr          = it_tab_lookup-rpc_sold_to.
            it_zzsd0010-payer          = ' '.
            it_zzsd0010-kdgrp          = it_tab_driver-sell_div.
            it_zzsd0010-ernam          = sy-uname.
            it_zzsd0010-erdat          = sy-datum.
            it_zzsd0010-erzet          = sy-uzeit.
            it_zzsd0010-aenam          = sy-uname.
            it_zzsd0010-aedat          = sy-datum.
            it_zzsd0010-aezat          = sy-uzeit.
            PERFORM f6000_add_zeros_to_cust.                    "V004
            APPEND it_zzsd0010.
            INSERT INTO zzsd0010 VALUES it_zzsd0010.
            PERFORM f5000_warning_file.                         "V004
            CLEAR  it_zzsd0010.
          ELSEIF sy-subrc <> 0.
            READ TABLE it_tab_lookup
            WITH KEY qad_bill_to = it_tab_driver-gelco_princ_customer.
            IF sy-subrc = 0.
              it_zzsd0010-mandt          = it_tab_driver-mandt.
              it_zzsd0010-vkorg          = it_tab_driver-sorg.
              it_zzsd0010-vtweg          = it_tab_driver-sdis.
              it_zzsd0010-spart          = it_tab_driver-sdiv.
              it_zzsd0010-princ_customer = it_tab_lookup-rpc_bill_to.
              it_zzsd0010-kunnr          = it_tab_lookup-rpc_bill_to.
              it_zzsd0010-payer          = 'X'.
              it_zzsd0010-kdgrp          = it_tab_driver-sell_div.
              it_zzsd0010-ernam          = sy-uname.
              it_zzsd0010-erdat          = sy-datum.
              it_zzsd0010-erzet          = sy-uzeit.
              it_zzsd0010-aenam          = sy-uname.
              it_zzsd0010-aedat          = sy-datum.
              it_zzsd0010-aezat          = sy-uzeit.
              PERFORM f6000_add_zeros_to_cust.                  "V004
              APPEND it_zzsd0010.
              INSERT INTO zzsd0010 VALUES it_zzsd0010.
              PERFORM f5000_warning_file.                       "V004
              CLEAR  it_zzsd0010.
            ELSE.
              it_tab_driver1 = it_tab_driver.
              APPEND it_tab_driver1.
            ENDIF.
          ENDIF.
        ELSEIF it_tab_driver-gelco_princ_customer <> it_tab_driver-qad_cust.
    Hit the sold-to column first, and if does not find a hit then try
    the bill-to column.
          READ TABLE it_tab_lookup
          WITH KEY qad_sold_to = it_tab_driver-qad_cust.
          IF sy-subrc = 0.
            it_zzsd0010-mandt          = it_tab_driver-mandt.
            it_zzsd0010-vkorg          = it_tab_driver-sorg.
            it_zzsd0010-vtweg          = it_tab_driver-sdis.
            it_zzsd0010-spart          = it_tab_driver-sdiv.
            it_zzsd0010-kunnr          = it_tab_lookup-rpc_sold_to.
            it_zzsd0010-payer          = ' '.
            it_zzsd0010-kdgrp          = it_tab_driver-sell_div.
            it_zzsd0010-ernam          = sy-uname.
            it_zzsd0010-erdat          = sy-datum.
            it_zzsd0010-erzet          = sy-uzeit.
            it_zzsd0010-aenam          = sy-uname.
            it_zzsd0010-aedat          = sy-datum.
            it_zzsd0010-aezat          = sy-uzeit.
            READ TABLE it_tab_lookup
            WITH KEY qad_sold_to = it_tab_driver-gelco_princ_customer.
            IF sy-subrc = 0.
              it_zzsd0010-princ_customer = it_tab_lookup-rpc_sold_to.
              PERFORM f6000_add_zeros_to_cust.                  "V004
              APPEND it_zzsd0010.
              INSERT INTO zzsd0010 VALUES it_zzsd0010.
              PERFORM f5000_warning_file.                       "V004
              CLEAR  it_zzsd0010.
            ELSEIF sy-subrc <> 0.
              READ TABLE it_tab_lookup
              WITH KEY qad_bill_to = it_tab_driver-gelco_princ_customer.
              IF sy-subrc = 0.
                it_zzsd0010-princ_customer = it_tab_lookup-rpc_bill_to.
                PERFORM f6000_add_zeros_to_cust.                 "V004
                APPEND it_zzsd0010.
                INSERT INTO zzsd0010 VALUES it_zzsd0010.
                PERFORM f5000_warning_file.                      "V004
                CLEAR  it_zzsd0010.
              ELSE.
                it_tab_driver1 = it_tab_driver.
                APPEND it_tab_driver1.
              ENDIF.
            ENDIF.
          ELSEIF sy-subrc <> 0.
            READ TABLE it_tab_lookup
            WITH KEY qad_bill_to = it_tab_driver-qad_cust.
            IF sy-subrc = 0.
              it_zzsd0010-mandt          = it_tab_driver-mandt.
              it_zzsd0010-vkorg          = it_tab_driver-sorg.
              it_zzsd0010-vtweg          = it_tab_driver-sdis.
              it_zzsd0010-spart          = it_tab_driver-sdiv.
              it_zzsd0010-kunnr          = it_tab_lookup-rpc_bill_to.
              it_zzsd0010-payer          = 'X'.
              it_zzsd0010-kdgrp          = it_tab_driver-sell_div.
              it_zzsd0010-ernam          = sy-uname.
              it_zzsd0010-erdat          = sy-datum.
              it_zzsd0010-erzet          = sy-uzeit.
              it_zzsd0010-aenam          = sy-uname.
              it_zzsd0010-aedat          = sy-datum.
              it_zzsd0010-aezat          = sy-uzeit.
              READ TABLE it_tab_lookup
              WITH KEY qad_sold_to = it_tab_driver-gelco_princ_customer.
              IF sy-subrc = 0.
                it_zzsd0010-princ_customer = it_tab_lookup-rpc_sold_to.
                PERFORM f6000_add_zeros_to_cust.                "V004
                APPEND it_zzsd0010.
                INSERT INTO zzsd0010 VALUES it_zzsd0010.
                PERFORM f5000_warning_file.                     "V004
                CLEAR  it_zzsd0010.
              ELSEIF sy-subrc <> 0.
                READ TABLE it_tab_lookup
                WITH KEY qad_bill_to = it_tab_driver-gelco_princ_customer.
                IF sy-subrc = 0.
                  it_zzsd0010-princ_customer = it_tab_lookup-rpc_bill_to.
                  PERFORM f6000_add_zeros_to_cust.              "V004
                  APPEND it_zzsd0010.
                  INSERT INTO zzsd0010 VALUES it_zzsd0010.
                  PERFORM f5000_warning_file.                   "V004
                  CLEAR  it_zzsd0010.
                ELSE.
                  it_tab_driver1 = it_tab_driver.
                  APPEND it_tab_driver1.
                ENDIF.
              ENDIF.
            ELSE.
              it_tab_driver1 = it_tab_driver.
              APPEND it_tab_driver1.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
      LOOP AT it_tab_driver.
        IF
         it_tab_driver-gelco_princ_customer <> it_tab_driver-qad_cust.
          READ TABLE it_tab_lookup
          WITH KEY qad_sold_to = it_tab_driver-gelco_princ_customer.
          IF sy-subrc = 0.
            it_zzsd0010-mandt          = it_tab_driver-mandt.
            it_zzsd0010-vkorg          = it_tab_driver-sorg.
            it_zzsd0010-vtweg          = it_tab_driver-sdis.
            it_zzsd0010-spart          = it_tab_driver-sdiv.
            it_zzsd0010-princ_customer = it_tab_lookup-rpc_sold_to.
            it_zzsd0010-kunnr          = it_tab_lookup-rpc_sold_to.
            it_zzsd0010-payer          = ' '.
            it_zzsd0010-kdgrp          = it_tab_driver-sell_div.
            it_zzsd0010-ernam          = sy-uname.
            it_zzsd0010-erdat          = sy-datum.
            it_zzsd0010-erzet          = sy-uzeit.
            it_zzsd0010-aenam          = sy-uname.
            it_zzsd0010-aedat          = sy-datum.
            it_zzsd0010-aezat          = sy-uzeit.
            PERFORM f6000_add_zeros_to_cust.                    "V004
            APPEND it_zzsd0010.
            INSERT INTO zzsd0010 VALUES it_zzsd0010.
            PERFORM f5000_warning_file.                         "V004
            CLEAR  it_zzsd0010.
          ELSE.
            it_tab_driver1 = it_tab_driver.
            APPEND it_tab_driver1.
          ENDIF.
        ENDIF.
      ENDLOOP.
      PERFORM f3000_data_base_not_updated.
      PERFORM f4000_check_sales_division.
    *&      Form  f1000_upload_driver_data
    FORM f1000_upload_driver_data.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                = p_file
          i_begin_col             = $v_start_col
          i_begin_row             = $v_start_row
          i_end_col               = $v_end_col
          i_end_row               = $v_end_row
        TABLES
          intern                  = it_driver
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.
      IF sy-subrc <> 0.
        WRITE:/10 'File '.
      ENDIF.
      IF sy-subrc EQ 0.
        READ TABLE it_driver INDEX 1.
        gd_currentrow = it_driver-row.
        LOOP AT it_driver.
          IF it_driver-row NE gd_currentrow.
            APPEND it_tab_driver.
            CLEAR it_tab_driver.
            gd_currentrow = it_driver-row.
          ENDIF.
          CASE it_driver-col.
            WHEN '0001'.
              it_tab_driver-mandt = it_driver-value.
            WHEN '0002'.
              it_tab_driver-sorg = it_driver-value.
            WHEN '0003'.
              it_tab_driver-sdis = it_driver-value.
            WHEN '0004'.
              it_tab_driver-sdiv = it_driver-value.
            WHEN '0005'.
              it_tab_driver-gelco_princ_customer = it_driver-value.
            WHEN '0006'.
              it_tab_driver-sell_div = it_driver-value.
            WHEN '0007'.
              it_tab_driver-payer = it_driver-value.
            WHEN '0008'.
              it_tab_driver-qad_cust = it_driver-value.
            WHEN '0009'.
              it_tab_driver-name = it_driver-value.
            WHEN '0010'.
              it_tab_driver-broker = it_driver-value.
          ENDCASE.
        ENDLOOP.
      ENDIF.
      APPEND it_tab_driver.
    ENDFORM.                    " f1000_upload_driver_data
    *&      Form  f2000_upload_lookup_data
    FORM f2000_upload_lookup_data.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                = p1_file
          i_begin_col             = $v_start_col
          i_begin_row             = $v_start_row
          i_end_col               = $v_end_col
          i_end_row               = $v_end_row
        TABLES
          intern                  = it_lookup
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.
      IF sy-subrc <> 0.
        WRITE:/10 'File '.
      ENDIF.
      IF sy-subrc EQ 0.
        READ TABLE it_lookup INDEX 1.
        gd_currentrow = it_lookup-row.
        LOOP AT it_lookup.
          IF it_lookup-row NE gd_currentrow.
            APPEND it_tab_lookup.
            CLEAR it_tab_lookup.
            gd_currentrow = it_lookup-row.
          ENDIF.
          CASE it_lookup-col.
            WHEN '0001'.
              it_tab_lookup-rpc_ship_to = it_lookup-value.
            WHEN '0002'.
              it_tab_lookup-rpc_sold_to = it_lookup-value.
            WHEN '0003'.
              it_tab_lookup-rpc_bill_to = it_lookup-value.
            WHEN '0004'.
              it_tab_lookup-type        = it_lookup-value.
            WHEN '0005'.
              it_tab_lookup-qad_ship_to = it_lookup-value.
            WHEN '0006'.
              it_tab_lookup-qad_sold_to = it_lookup-value.
            WHEN '0007'.
              it_tab_lookup-qad_bill_to = it_lookup-value.
            WHEN '0008'.
              it_tab_lookup-sell_div1    = it_lookup-value.
            WHEN '0009'.
              it_tab_lookup-broker      = it_lookup-value.
          ENDCASE.
        ENDLOOP.
      ENDIF.
      APPEND it_tab_lookup.
    ENDFORM.                    " f2000_upload_lookup_data
    *&      Form  f3000_data_base_not_updated
          text
    FORM f3000_data_base_not_updated .
      CALL FUNCTION 'DOWNLOAD'
       EXPORTING
      BIN_FILESIZE                  = ' '
      CODEPAGE                      = ' '
         filename                      = p2_file
         filetype                      = 'ASC'
        TABLES
          data_tab                      = it_tab_driver1
      FIELDNAMES                    =
       EXCEPTIONS
         invalid_filesize              = 1
         invalid_table_width           = 2
         invalid_type                  = 3
         no_batch                      = 4
         unknown_error                 = 5
         gui_refuse_filetransfer       = 6
         customer_error                = 7
         OTHERS                        = 8
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " data_base_not_updated
    *&      Form  f4000_Check_Sales_Division
          text
    FORM f4000_check_sales_division .
      SORT it_outfile.
      SORT it_outfile1.
      SORT it_outfile2.
      SORT it_outfile3.
      CALL FUNCTION 'DOWNLOAD'
        EXPORTING
          filename                = p3_file
          filetype                = 'ASC'
        TABLES
          data_tab                = it_outfile
        EXCEPTIONS
          invalid_filesize        = 1
          invalid_table_width     = 2
          invalid_type            = 3
          no_batch                = 4
          unknown_error           = 5
          gui_refuse_filetransfer = 6
          customer_error          = 7
          OTHERS                  = 8.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'DOWNLOAD'                                  "V004
        EXPORTING                                               "V004
          filename                = p4_file                     "V004
          filetype                = 'ASC'                       "V004
        TABLES                                                  "V004
          data_tab                = it_outfile1                 "V004
        EXCEPTIONS                                              "V004
          invalid_filesize        = 1                           "V004
          invalid_table_width     = 2                           "V004
          invalid_type            = 3                           "V004
          no_batch                = 4                           "V004
          unknown_error           = 5                           "V004
          gui_refuse_filetransfer = 6                           "V004
          customer_error          = 7                           "V004
          OTHERS                  = 8.                          "V004
      IF sy-subrc <> 0.                                         "V004
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO           "V004
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.           "V004
      ENDIF.                                                    "V004
      CALL FUNCTION 'DOWNLOAD'                                  "V004
        EXPORTING                                               "V004
          filename                = p5_file                     "V004
          filetype                = 'ASC'                       "V004
        TABLES                                                  "V004
          data_tab                = it_outfile2                 "V004
        EXCEPTIONS                                              "V004
          invalid_filesize        = 1                           "V004
          invalid_table_width     = 2                           "V004
          invalid_type            = 3                           "V004
          no_batch                = 4                           "V004
          unknown_error           = 5                           "V004
          gui_refuse_filetransfer = 6                           "V004
          customer_error          = 7                           "V004
          OTHERS                  = 8.                          "V004
      IF sy-subrc <> 0.                                         "V004
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO           "V004
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.           "V004
      ENDIF.                                                    "V004
      CALL FUNCTION 'DOWNLOAD'                                  "V004
        EXPORTING                                               "V004
          filename                = p6_file                     "V004
          filetype                = 'ASC'                       "V004
        TABLES                                                  "V004
          data_tab                = it_outfile3                 "V004
        EXCEPTIONS                                              "V004
          invalid_filesize        = 1                           "V004
          invalid_table_width     = 2                           "V004
          invalid_type            = 3                           "V004
          no_batch                = 4                           "V004
          unknown_error           = 5                           "V004
          gui_refuse_filetransfer = 6                           "V004
          customer_error          = 7                           "V004
          OTHERS                  = 8.                          "V004
      IF sy-subrc <> 0.                                         "V004
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO           "V004
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.           "V004
      ENDIF.                                                    "V004
      CALL FUNCTION 'DOWNLOAD'                                  "V004
        EXPORTING                                               "V004
          filename                = p7_file                     "V004
          filetype                = 'ASC'                       "V004
        TABLES                                                  "V004
          data_tab                = it_outfile4                 "V004
        EXCEPTIONS                                              "V004
          invalid_filesize        = 1                           "V004
          invalid_table_width     = 2                           "V004
          invalid_type            = 3                           "V004
          no_batch                = 4                           "V004
          unknown_error           = 5                           "V004
          gui_refuse_filetransfer = 6                           "V004
          customer_error          = 7                           "V004
          OTHERS                  = 8.                          "V004
      IF sy-subrc <> 0.                                         "V004
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO           "V004
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.           "V004
      ENDIF.                                                    "V004
    ENDFORM.                    " f4000_Check_Sales_Division
    *&      Form  f5000_warning_file
          Sales area in KNVV table is compared with the sales area in
          ZZSD0010 table and a warning file is created if any mismatch   *
          occurs                                                         *
    FORM f5000_warning_file .                                   "V004
      IF it_zzsd0010-payer <> 'X'.                              "V003
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'             "V002
          EXPORTING                                             "V002
            input  = it_zzsd0010-kunnr                          "V002
          IMPORTING                                             "V002
            output = it_zzsd0010-kunnr.                         "V002
        SELECT kunnr                                            "V002
               vkorg                                            "V004
               vtweg                                            "V004
               spart                                            "V004
               kdgrp                                            "V002
          INTO TABLE it_knvv                                    "V002
          FROM knvv                                             "V002
         WHERE kunnr = it_zzsd0010-kunnr.                       "V002
        IF sy-subrc = 0.                                        "V002
          READ TABLE it_knvv WITH KEY kunnr = it_zzsd0010-kunnr.
          IF it_zzsd0010-kdgrp <> it_knvv-kdgrp.                "V002
            CONCATENATE it_zzsd0010-princ_customer              "V002
                        it_zzsd0010-kunnr                       "V002
                        it_zzsd0010-kdgrp                       "V002
                        it_knvv-kdgrp                           "V002
            INTO it_outfile SEPARATED BY space.                 "V002
            APPEND it_outfile.                                  "V002
          ENDIF.                                                "V002
          IF it_zzsd0010-vkorg <> it_knvv-vkorg.                "V004
            CONCATENATE it_zzsd0010-princ_customer              "V004
                        it_zzsd0010-kunnr                       "V004
                        it_zzsd0010-vkorg                       "V004
                        it_knvv-vkorg                           "V004
            INTO it_outfile1 SEPARATED BY space.                "V004
            APPEND it_outfile1.                                 "V005
          ENDIF.                                                "V004
          IF it_zzsd0010-vtweg <> it_knvv-vtweg.                "V004
            CONCATENATE it_zzsd0010-princ_customer              "V004
                        it_zzsd0010-kunnr                       "V004
                        it_zzsd0010-vtweg                       "V004
                        it_knvv-vtweg                           "V004
            INTO it_outfile2 SEPARATED BY space.                "V004
            APPEND it_outfile2.                                 "V005
          ENDIF.                                                "V004
          IF it_zzsd0010-spart <> it_knvv-spart.                "V004
            CONCATENATE it_zzsd0010-princ_customer              "V004
                        it_zzsd0010-kunnr                       "V004
                        it_zzsd0010-spart                       "V004
                        it_knvv-spart                           "V004
            INTO it_outfile3 SEPARATED BY space.                "V004
            APPEND it_outfile3.                                 "V005
          ENDIF.                                                "V004
          CLEAR it_outfile.                                     "V002
          CLEAR it_outfile1.                                    "V004
          CLEAR it_outfile2.                                    "V004
          CLEAR it_outfile3.                                    "V004
          CLEAR it_knvv.                                        "V002
          REFRESH it_knvv.                                      "V002
        ELSE.                                                   "V002
          CONCATENATE 'CUSTOMER'                                "V002
                       it_zzsd0010-kunnr                        "V002
                      'NOT FOUND IN KNVV TABLE'                 "V002
          INTO it_outfile4 SEPARATED BY space.                   "V002
          APPEND it_outfile4.                                    "V002
        ENDIF.                                                  "V002
      ENDIF.                                                    "V003
    ENDFORM.                    " f5000_warning_file            "V004
    *&      Form  f6000_add_zeros_to_cust
          text
    -->  p1        text
    <--  p2        text
    form f6000_add_zeros_to_cust .
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'             "V002
          EXPORTING                                             "V002
            input  = it_zzsd0010-kunnr                          "V002
          IMPORTING                                             "V002
            output = it_zzsd0010-kunnr.                         "V002
    endform.                    " f6000_add_zeros_to_cust

  • Downloading ...into text file

    hii Friends,,,,
                        i want to download report program into text file and its includes into seperate text file without using function modules.I want to do it with CL_GUI_FRONTEND_SERVICES and readreport.
    Kindly halp me or send any sample code???
    Regards Mandeep.

    Hi Mandeep Singh,
    The solution is simple press the button PATTERN or press CTRL + F6.
    That gives you a pop up.
    Select radio button "ABAP Object Patterns"
    Press Enter.
    In Call Method radio button.
    Type "CL_GUI_FRONTEND_SERVICES"  in Class/Interface.
    <b>Select the METHOD of your choice by pressing F4 in the box Method.</b>
    This should solve the query.
    Reward Points if useful.
    Thanks,
    Tej..

  • Save as PDF file as excel file or text file in vba excel

    Hi all,
    I am opening a PDF document fromm VBA excel. After opening document it should save the document as excel file or text file in one folder.
    I am trying to do this with some code but not able to , pls help me thatnks.
    Dim AcroApp As Acrobat.CAcroApp
      Dim Part1Document As Acrobat.CAcroPDDoc
    Set Part1Document = CreateObject("AcroExch.PDDoc")
       Part1Document.Open ("Z:\EG MI Information\MIS\Requests\Req_156\NO.1.pdf")
      Dim app As Object, avdoc As Object, pageview As Object
    Set app = CreateObject("AcroExch.App")
    Set avdoc = app.GetActiveDoc
    app.MenuItemExecute ("SaveAs")
    thanks
    Abhijeet

    Hi,
    In the documentation for the saveAs function it has the following params
    cPath The device-independent path in which to save the file.
    cConvID (optional, Acrobat 6.0) A conversion ID string that specifies the conversion
    file type.
    cFS (optional, Acrobat 7.0) A string that specifies the source file system name.
    bCopy (optional, Acrobat 7.0) A Boolean value which, if true, saves the PDF file
    as a copy. The default is false.
    bPromptToOverwrite (optional, Acrobat 7.0) A Boolean value which, if true, prompts the user if
    the destination file already exists. The default is false.
    In order to get a text file saved you need to specify the correct cConvID.
    See the documentation for the valid convID's - http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/JS_API_AcroJS.88.519.html
    Please note the Acrobat SDK contains all the information and does not require much installing ( as it is a zip file(on windows) and a disc image (on Mac) it just needs extracted)
    Regards
    Malcolm

  • My Illustrator CC show Dxf files as Text files...

    My Illustrator CC identify my dxf files as text files...
    even they are valid dxf files as Acrobat or Rhino are able to open them...
    Any hints ?
    Many Thanks

    Hi,
    It's generated as an export by a tierce Application...I'm trying to get from the editor to which version their Dxf is supposed to be compliant.
    JM

  • Download internal table as text file with comma separation

    hi all
    I wanted text file separated by comma. I used the CSV function module, but the result is separeted by semicolon,instead i need comma.
    Kindly suggest some solution.
    Thanks
    Subha

    use this fm to convert to csv file
    CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
        EXPORTING
          I_FIELD_SEPERATOR    = ','
        TABLES
          I_TAB_SAP_DATA       = ITAB_FINAL
        CHANGING
          I_TAB_CONVERTED_DATA = ITAB_OUTPUT
        EXCEPTIONS
          CONVERSION_FAILED    = 1
          OTHERS               = 2.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    itab_output is of type ITAB_OUTPUT TYPE TRUXS_T_TEXT_DATA,
    and then download using gui_download
    CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
            FILENAME                = W_FILENAME
            FILETYPE                = 'ASC'
          TABLES
            DATA_TAB                = ITAB_OUTPUT
          EXCEPTIONS
            FILE_WRITE_ERROR        = 1
            NO_BATCH                = 2
            GUI_REFUSE_FILETRANSFER = 3
            INVALID_TYPE            = 4
            NO_AUTHORITY            = 5
            UNKNOWN_ERROR           = 6
            HEADER_NOT_ALLOWED      = 7
            SEPARATOR_NOT_ALLOWED   = 8
            FILESIZE_NOT_ALLOWED    = 9
            HEADER_TOO_LONG         = 10
            DP_ERROR_CREATE         = 11
            DP_ERROR_SEND           = 12
            DP_ERROR_WRITE          = 13
            UNKNOWN_DP_ERROR        = 14
            ACCESS_DENIED           = 15
            DP_OUT_OF_MEMORY        = 16
            DISK_FULL               = 17
            DP_TIMEOUT              = 18
            FILE_NOT_FOUND          = 19
            DATAPROVIDER_EXCEPTION  = 20
            CONTROL_FLUSH_ERROR     = 21
            OTHERS                  = 22.

  • How to download data into a text file format ?

    Hi, all.
    My situation now is: I have a report pogram which can retrieve data from database, and I would like to export or download those data to outside as a text file (.txt) in my local computer.
    So, does anyone know how to do it? i mean my report coding should add on or enhance with what coding in order to do like that.
    Thanks in advance.

    Hi,
    Use GUI_DOWNLOAD Function module.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
      BIN_FILESIZE                  =
        filename                      = 'FILEPATH'* 
    FILETYPE                      = 'ASC'
      APPEND                        = ' '
       WRITE_FIELD_SEPARATOR         = 'X'  (Field separator )
      HEADER                        = '00'
      TRUNC_TRAILING_BLANKS         = ' '
      WRITE_LF                      = 'X'
      COL_SELECT                    = ' '
      COL_SELECT_MASK               = ' '
      DAT_MODE                      = ' '
      CONFIRM_OVERWRITE             = ' '
      NO_AUTH_CHECK                 = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      WRITE_BOM                     = ' '
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = t_customer ( give internal tablename )
    EXCEPTIONS
       FILE_WRITE_ERROR              = 1
       NO_BATCH                      = 2
       GUI_REFUSE_FILETRANSFER       = 3
       INVALID_TYPE                  = 4
       NO_AUTHORITY                  = 5
       UNKNOWN_ERROR                 = 6
       HEADER_NOT_ALLOWED            = 7
       SEPARATOR_NOT_ALLOWED         = 8
       FILESIZE_NOT_ALLOWED          = 9
       HEADER_TOO_LONG               = 10
       DP_ERROR_CREATE               = 11
       DP_ERROR_SEND                 = 12
       DP_ERROR_WRITE                = 13
       UNKNOWN_DP_ERROR              = 14
       ACCESS_DENIED                 = 15
       DP_OUT_OF_MEMORY              = 16
       DISK_FULL                     = 17
       DP_TIMEOUT                    = 18
       FILE_NOT_FOUND                = 19
       DATAPROVIDER_EXCEPTION        = 20
       CONTROL_FLUSH_ERROR           = 21
       OTHERS                        = 22 .
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.                                 " IF SY-SUBRC

  • How to download Documentaion of a Text file to a Report

    Hi Friends,
    Please guide me on this,
    I want to download Documentation of a Report into a text file,
    Problem is how to get/capture the Documentaion.
    Regards,
    Sowjanya
    Edited by: sowjanya s on Dec 31, 2008 12:35 PM

    hi,
    DOKHL - Documentation: Headers
    DOKTL - Documentation - text lines
    DOKIL - Index for Documentation Table DOKH
    Use the FM:
    SRTU1_GET_REPORT_DOCUMENTATION
    Pass the language.
    And in the tables IT_REPORTS pass the report name.

  • How can I open in java file a text file?

    Hi !
    For example I have a java file name Pencil.java and I have a text fie name Box.txt
    I want like that if ( a == b ) {open Box.txt}
    How can I do that ?
    Thanks.

    Yes I want to see what this text file contains. Like clicking to a text file with mouse and opens. Then I can see what it contains.
    I have a Java document Pencil.java and I have a text file Box.txt
    I will write a java code in pencil.java ( that I dont know ). Then when I enter a number from keyboard with
    Scanner write = new Scanner(System.in);
    int a = write.nextInt()
    if (a == b) {                } opens Box.txt
    For example
    I write to command prompt
    java pencil
    It wants from me a number : I will enter 3.
    It is same as b .
    Then Box.txt file opens.
    Edited by: zue on Jun 3, 2008 11:04 AM

  • Save file as text file

    i will try this again.
    i have a table with lots of fields. one field has event type
    i would like to count event type and save it to a text file with the heading of type of event, say "accidents", "alarms".
    i only want the total number and to be displayed in horizontal
    in the saved text file.
    thanks for any help
    example: select count(*) event type from event
    result: "accidents" "alarms"
    324 343

    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0042: unknown command "INJURIES"" - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0042: unknown command "INVOLVED"" - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning "S / STINGS..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0042: unknown command """ - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning "HIVES,ITCH..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0042: unknown command "TUATION)"" - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0042: unknown command "PRESENT)"" - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0734: unknown command beginning ",SUM(DECOD..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0042: unknown command "HEMO."" - rest of line ignored.

  • Help on converting xml file to text file

    Hi,
    I have xml file and i want to convert to text file ...
    How do i write a perticular tag in perticular line by the time converting xml to text file using xsl ...
    Ex:
    input XML file:
    <NAME> venkat </NAME>
    <ADDRESS>
    5800 Lander Brook Drive
    </ADDRESS>
    output ASCII File:
    245 venkat
    300 5800 Lander Brook Drive
    In this example TAG <NAME> should write into line 245 and
    TAG <ADDRESS> should write into line 300 etc...
    here is the xsl file to above xml file ..
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
    <xsl:template match="/">
    <xsl:value-of select="Name"/>
    <xsl:value-of select="Address"/>
    </xsl:template>
    </xsl:stylesheet>
    how do i write Name value in line number 245 in the text file , similarlly how do i write Address value in line number 300 in the text file ...
    How do i specify the value has to go to a perticular line ... i know name has to goto some line number, address to some line number etc ,,,
    Any help on this please .....
    Thanks.

    sorry read: XSL.
    you will have to create your own tool to generate your text file in order to truly ensure the position of your data in the text file.

  • How to convert Labview log file to text file?

    I want to open the log file in Excel or other text editor. Is there any special format of Labview log file? I thought it just binary, so I used a general program to convert binary file to Ascii file. But it failed because of the format of the log file format. Is there any other way that I can read log file in Excel? Thanks a lot.

    Dennis Knutson wrote:
    Are you refering to the front panel logging option? The actual binary format is going to depend on what controls and indicators you have on the front panel and their data types. There is an example of using the file i/o functions to read one of these files in chapter 14 of the user manual. The problem you'll have if you write a program to read a log file is that every time you add or delete a control/indicator, you'll have to rewrite your program and then you'll be unable to read older log files. You'd be better off writing your own log routines. Then you would control the binary format. There are shipping examples that you can look at for fbinary file storage.
    Yes, I am referring the front panel logging option and I will read the maual first. Thank you very much for your help.

  • Script to add description and keywords to files from text file

    Can anyone write something up for me? I will admit I cannot do it myself, I do not know Javascript.
    I need to add keywords and a description to 1000's of images. I have a text file formatted as such for each 100 images. The script would need to ask for an input file (or I can hardcode the path into the script) and then apply to the current folder of images shown in bridge.
    Text file example:
    1000 - Bright Sunset Over City. (sun;city;sky;mountain;) .
    1001 - Dawn Behind Mountain And Lake. (sun;mountain;water;sky;) .
    1002 - Bright Red Sunset, Light Edged Clouds. (sun;sky;tree;clouds;) .
    1003 - Tree Framing Sunset Over Bay. (tree;sun;lake;bay;) .
    1004 - Sun Behind Gull On Pilings. (seagull;sun;sea;pilings;) .
    images are named 1000.tif, 1001.tif, 1002.tif etc
    Running on a Mac with CS3 and CS4.
    Thanks,
    Chris

    Hi Paul,
    This is nice example, but your script incorrectly sets both dc:description and dc:subject as ordered arrays. Description should be an alt-text type property, and subject is an unordered array (or 'bag'). Some software might not tolerate the incorrect XMP data types.
    Here's an example showing the wrong and write way to set these two properties using the XMP Script API:
    // load the library
    if (ExternalObject.AdobeXMPScript == undefined) {
        ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
    var Desc = "Test Description";
    var Keys = ["One","Two","Three"];
    // The wrong way to set the Description. and Keywords...
    var bogusXmp = new XMPMeta();
    bogusXmp.appendArrayItem(XMPConst.NS_DC, "description", Desc, 0,XMPConst.ARRAY_IS_ORDERED);
    for(var s in Keys){
          bogusXmp.appendArrayItem(XMPConst.NS_DC, "subject", Keys[s], 0,XMPConst.ARRAY_IS_ORDERED);
    $.writeln( bogusXmp.dumpObject() );
    // The correct way to set the Description and Keywords
    var correctXmp = new XMPMeta();
    correctXmp.setLocalizedText( XMPConst.NS_DC, "description", null, "x-default", Desc );
    for(var s in Keys){
          correctXmp.appendArrayItem(XMPConst.NS_DC, "subject", Keys[s], 0,XMPConst.PROP_IS_ARRAY);
    $.writeln( correctXmp.dumpObject() );
    Thanks,
    David

  • Firefox downloads pictures as plain text files, i need to download a jpeg file in windows xp

    if i download the jpeg image from google images in firefox, save as type in text document only appear. not jpeg or other format not appear. i want to save as type in jpeg format only. pls help us.

    Right click on the image and choose "save image as"
    If your in image.Google.com then it save as .html file only
    open the image file in new tab and save it.

Maybe you are looking for

  • How do i get music into my libary that is only on my ipod

    I have music on my ipod that i have lost on CD and all in other forms. How do i get this music back out of my Ipod and into my itunes. I cant seam to open it just as a drive through my computer to do it that way. Any ideas i just dont want to lose it

  • Upgrading my MacBook Pro 13" mid-2010

    Hi there, I've spent of the weekend researching this bit can't find a definitive answer so looking for a collective response if anyone has the time or inclination to respond!! I have a mid-2010 MacBook Pro 13" 2.4 GHz Intel Core 2 Duo with 4gb RAM an

  • Peoplesoft delivered processes for HRMS

    I am new to Peoplesoft. I am dealing with NA-payroll, and collected a basic idea related to HRMS. But still haven't got an overall idea about Peoplesoft HRMS. Will anyone guide me in having a basic documentation for HRMS especially about delivered pr

  • Satellite T110-10N - How to recalibrate my battery?

    Hi I have a Satellite T110-10N. The battery does not load 100% only on 50%. I like to know how recalibrate it.

  • Firefox requires administrative rights on each start (Win7)

    I have disabled all plugins, all extensions. The latest version of Firefox is installed (3.6.12 - 29 oct). On each start of Firefox Windows 7 asks me if I allow Firefox to modify my computer.