PDF file has three parallel lines for each line object.

Working with Illustrator CS5 on a Windows 7 64-bit PC.
When opening files created with a CAD application, I noticed that most each line, whether straight or curve, appeared to be an extended ellipse. In most cases, they contained a line in the middle.
A closer observation determined that the lines where all separate objects, as shown in the figure below.
As you can imagine, the extra objects increase the size of the PDF file enormously.
Since I am using these files in MS Word, I need to convert them to either EMF or WMF format. However, Illustrator exports even larger files. I managed to reduce the size of the PDF, but the exported files are even larger than the original PDF file. Saving the original PDF file in AI format did not help either.
The only way I see to reduce the file size, whether PDF or AI, is to eliminate the extra lines. Other than deleting each line at a time or redrawing the entire file, which I am already doing, is there any way to eliminate those pesky extra lines?
Thanks!

Larry,
That would have been the easiest way. Unfortunately, that is not the case.
If you look at the inserted figure, you would see that the half circle at the end of each triple line is a separate object. This means that all the lines, whether internal or external, are in fact individual strokes.

Similar Messages

  • Why would my customer reading my pdf file get this message: 'Licensing for this product has stopped'?

    why would my customer reading my pdf file get this message: 'Licensing for this product has stopped'?
    The message goes on to say, 'you cannot use this product at this time. You must repair the problem by uninstalling and then reinstalling this product or contacting your IT administrator or Adobe customer support for help.'

    Hi sivey@pdx,
    Can you please let us know the following:
    - Operating System installed;
    - Name and version of the Adobe Product (Adobe Reader or Adobe Acrobat);
    - Screenshot of the error message.

  • PDF file has features that are not supported?!?

    Hi All,
    I'm using Adobe Acrobat 9 Pro to create a FORM and then I
    submit the form to Acrobat.com. The problem is that when users
    follow the emailed link to acrobat.com, they can't enter data into
    the form on the website. They have to download it into their local
    reader to fill out the form.
    This is the actual error message I get:
    "This PDF file has additional features that are only
    supported in Adobe Acrobat or Adobe Reader"
    What am I missing here? I'm creating a form, in Adobe
    Acrobat, that just has a few text fields and couple of checkboxes
    on it - that's all there is to it.
    Can someone tell me what the unsupported "additional
    features" are so that I can disable them before submitting the
    document to Acrobat.com?

    Hello recurry,
    thanks for posting.
    It does not look like you are missing anything really....The
    workflow that you've laid out is the proper workflow for working
    with Forms and Acrobat9/Acrobat.com.
    You cannot edit the pdfs using acrobat.com. Each user will
    need to download it, and definitely need to if they want to input
    data to it.
    Once they then submit their file, you should then see the
    updates.
    Thanks!
    Pete

  • The PDF file has illegal entries in bfchar block in ToUnicode CMap (03042008)

    While creating the pdf document in Adode indesign CS3 i get the pdf file has as a illegal entries in bfchar block in ToUnicode CMap
    Tell me Why this pdf has a illegal entries
    How to resolve this problem

    I assume you mean a CID font, not a CMAP font – since there isn't such a type of font.
    To your issue, you need to decode the string first as a series of single byte characters and then as double byte.  This is true for all strings in PDF.
    From: DukE2k3 <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Mon, 13 Feb 2012 00:14:56 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Decoding (...)Tj - what todo with "backslash" in hex encoded ToUnicode indices
    Decoding (...)Tj - what todo with "backslash" in hex encoded ToUnicode indices
    created by DukE2k3<http://forums.adobe.com/people/DukE2k3> in PDF Language and Specifications - View the full discussion<http://forums.adobe.com/message/4202969#4202969

  • Aperture 3.1.2 When exporting files to Finder is creating a folder for each file, that means export 200 files is creating 200 folders for each files. Does anyone knows how to fix this. Thanks

    Aperture 3.1.2 When exporting files to Finder is creating a folder for each file, that means export 200 files is creating 200 folders for each files. Does anyone knows how to fix this. Thanks

    No. This is NOT true. I've been battling with this for a couple hours.
    I choose Export>Versions
    choose
    Subfolder Format: Project Name
    no custom subfolder
    Name Format: Current Version Name.
    Aperture creates project folders for each image and names them Projects1, Projects2, Projects3 etc.
    To be sure, I have no project named Projects
    x
    This particular Aperture library has 16 projects. you can see in the screen grab it's created more than 30 folders
    If I uncheck the Subfolder, that is say NONE, I just get images and images and images, not in their project folders (of course, because I've said NONE, so why would it put them in project folders?)
    I just want to export the entire library and have the versions placed in folders named by the projects from which they came.... ez enough, no?

  • PDF File not opening in browser for sharepoint 2010

    Recently we have moved our web application from one server to another in Sharepoint 2010. Back up of entire web application was taken and restored in another server. But in the new server , the PDF files in the document library is not getting opened in browser.
    it always open in browser
    I have already made following changes but didn,t work
    Set browser file handling to Permissive from central admin
    Set "open in browser" in setting s of doc library
    Set the doc library file handling property using $docLib = $web.lists["Your Document Library Title"] $docLib.BrowserFileHandling = "Permissive" $docLib.Update()
    Added "AllowedInlineDownloadedMimeType.Add("Application/Pdf") in web app
    Installed Adober eader in client machine
    Even after trying all these, the PDF files are still opening in Client application(Adobe reader) but not in the browser
    It would have been great help if anybody provide a solution for this. I have been banging head on this for two days

    It would be handy if you didn't double post too.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/81ed0362-4033-4a31-b265-c1aba43c3d14/pdf-file-not-opening-in-browser-for-sharepoint-2010?forum=sharepointadminprevious
    To answer your question, you've tried most things that I normally see working, but there may be an extra solution here for you.  The solution 2 Powershell that deals with updating the Inline MimeType may help.
    http://www.pdfshareforms.com/sharepoint-2010-and-pdf-integration-series-part-1/
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How save pdf files which r in inbox for nooia c503

    how save pdf files which r in inbox for nooia c503

    AFAIK, i do not believe this is possible on Series40 devices such as the own that you use.

  • How can we repeat specific page number of pdf file by using FDF Toolkit for Windows?

    how can we repeat specific page number of pdf file by using FDF Toolkit for Windows?

    let's say a registration form, there is only 1 full address provided in my registration pdf, but applicant could have more than 1 address, so i have to make it more flexible to extend the address page no matter how many addresses that applicant provided, i have use adobe acrobat pro to edit the form properties. but dont know how to extend/duplicate a page in felxible times.
    Please advise~ tks so much!!! George

  • How can you convert a PDF File into a picture format for uploading?

    How can you convert a PDF File into a picture format for uploading?

    If you have Acrobat 11, you'd select: File > Save As Other > Image
    and select one of the available image formats.

  • Increase the number of portions in process for each conversion object

    I experts,
    I configured SAP TDMS 3.0 with SP 14 to transfer test data from QAS to DEV (both is ECC 6.0) for the first test with TDMS TIM (Time Based Reduction).
    The data transfer phase is still running (99% - 60hs running). We analyzed the Display Runtime Information report and see that objects of conversion with similar calc. records and calc. GBytes have very different the Net Runtime.
    TMDS currently is working with four objects of conversion, processing a portion of each.
    Conversion objects that are running are:
    - Z_LTBP_002
    - Z_TSEGE_002
    - Z_VEVW_002
    - Z_YST27_002
    We check in the receiver system, and we see that is use only one DIA process to update the each table.
    How can increase the performance of the update? Is correct that use only 1 DIA process for this??
    Can I increase the number of portions in process for each conversion object?
    Any help is greatly appreciated.
    Regards,
    Sergio

    Hi,
    Check SAP Note 916763 - TDMS performance composite SAP note
    Note 890797 - SAP TDMS - required and recommended system settings
    Thanks
    Sunny

  • The "Open With" menu for PDF files has 19 apps listed to choose from.

    How do I modify the drop down menu for "Open With" to eliminate about 15 apps suggested for PDF files?

    I want to permanently shorten the list down to only a few apps to select from.

  • I am unable to edit PDF file.  I have paid for the Adobe dc program and when I attempt to do this, I am redirected to payment screen.  Would like help?  Adobe takes my money easily, but have no way to contact them except through this setting.  I would li

    I cannot edit a PDF file.  When I try it redirects me to payment screen and I have already paid for this!  I would like to talk to someone per phone.  You have easily taken my money and I would like support.

    "Adobe dc program"???
    Such does not exist; at least not from Adobe.
    As has been asked - What, specifically, was subscribed to? It is identified on the receipt Adobe provides for each subscription account one opens.
    Be well...

  • Can I combine two pdf files by using command lines?

    Hi
    I always need to combine two pdf files into one in my regular work
    Currently, I open one of them, press ctrl+shift+I,
    find another file and double click it.
    It works but not so efficient since I need to do
    this procedure many times everyday
    So I'm looking for a better solution
    Something like command lines,
    for example:
    acrobat.exe "combine" "doc1.pdf" "doc2.pdf"
    Does acrobat have these functions or not?
    Thx &
    Best Regards

    File > Combine

  • Attaching PDF files to PO in Services for Objects

    Hi Experts
    I have got a strange requirement. Upon creation of the Purchase order or after any changes done to the PO, I need print the form and store it into PDF format in the application server. Later I need to upload that file to Services for Objects , button which available on the top of PO, in the Left most one.
    Using that I need to attach the coverted PDF file to that. Everything should be done by the program in the background. Please advice is it possible, if it is possible please help me how to code for this requirement.
    Awaiting for your reply,
    Thanks
    Praveen
    Edited by: Praveen Kumar on Feb 4, 2010 4:25 AM
    Edited by: Praveen Kumar on Feb 4, 2010 5:43 AM

    FUNCTION z_mm_save_po_in_gos.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(PONUMBER) TYPE  EBELN
    *"  EXCEPTIONS
    *"      ERROR_OPEN_FORM
    *"      ERROR_CLOSE_FORM
      TYPES: BEGIN OF ty_message_key,
             foltp TYPE so_fol_tp,
             folyr TYPE so_fol_yr,
             folno TYPE so_fol_no,
             doctp TYPE so_doc_tp,
             docyr TYPE so_doc_yr,
             docno TYPE so_doc_no,
             fortp TYPE so_for_tp,
             foryr TYPE so_for_yr,
             forno TYPE so_for_no,
             END OF ty_message_key.
      INCLUDE : <cntn01>.
    * TABLES: ekko,
    *         lfa1,
    *         t001,
    *         pekko.
    * Load class.
      CLASS cl_binary_relation DEFINITION LOAD.
      CLASS cl_obl_object DEFINITION LOAD.
    **data declarations
      DATA: l_fstr   TYPE xstring,
            l_fsize  TYPE i,
            l_bsize  TYPE i,
            l_botype LIKE obl_s_pbor-typeid VALUE 'BUS2012', " e.g. 'BUS2012'
            l_bo_id  LIKE obl_s_pbor-instid," VALUE '4610000000'
            l_docty  LIKE borident-objtype VALUE 'MESSAGE',
            l_reltyp LIKE breltyp-reltype VALUE 'ATTA',
            lt_bin TYPE STANDARD TABLE OF char255 WITH HEADER LINE,
            lt_pdf TYPE TABLE OF tline,
            lv_message_key TYPE ty_message_key,
            lo_message TYPE swc_object,
            l_title    TYPE char30,
            lo_is_object_a TYPE borident,
            lo_is_object_b TYPE borident,
    *        lt_nast TYPE TABLE OF nast,
    *        lw_nast LIKE nast,
    *        l_nast  LIKE nast,
    *        l_druvo LIKE t166k-druvo,
    *        l_from_memory,
    *        l_doc   TYPE meein_purchase_doc_print,
    *        l_retcode TYPE i,
            lt_cdpos TYPE TABLE OF cdpos,
            lw_cdpos TYPE cdpos,
            lt_cdhdr TYPE TABLE OF cdhdr,
            lw_cdhdr TYPE cdhdr,
            l_flg,
    *        w_opt  LIKE ITCPO,
            l_text TYPE text60,
            lw_gos   TYPE zmm_gos,
            lr_chno  TYPE RANGE OF text60,
            lw_chno  LIKE LINE OF lr_chno,
            otf      TYPE TABLE OF itcoo.
        DATA: w_full TYPE string.
    **program will check only these values in the change history,
      lw_chno-sign = 'I' . lw_chno-option = 'EQ' .
      lw_chno-low = 'EKKO-FRGKE'. APPEND lw_chno TO lr_chno."Release Indicator: Purchasing Document
      lw_chno-low = 'EKKO-FRGZU'. APPEND lw_chno TO lr_chno."Release status
      lw_chno-low = 'EKKO-RLWRT'. APPEND lw_chno TO lr_chno."Total value at time of release
      lw_chno-low = 'EKET-MENGE'. APPEND lw_chno TO lr_chno."Scheduled Quantity
      lw_chno-low = 'EKPO-NETWR'. APPEND lw_chno TO lr_chno."Net Order Value in PO Currency
      lw_chno-low = 'EKPO-NETPR'. APPEND lw_chno TO lr_chno."Net Price in Purchasing
    *                                                        Document (in Document Currency)
      lw_chno-low = 'EKPO-BRTWR'. APPEND lw_chno TO lr_chno."Gross order value in PO currency
      lw_chno-low = 'EKPO-MENGE'. APPEND lw_chno TO lr_chno."Purchase Order Quantity
      SELECT SINGLE * FROM zmm_gos INTO lw_gos WHERE objectclas = 'EINKBELEG'
                                                   AND objectid = ponumber.
      IF sy-subrc EQ 0.
        IF lw_gos-changenr NE '1000000000'.
          SELECT * FROM cdpos INTO TABLE lt_cdpos
                          WHERE objectclas = lw_gos-objectclas
                            AND objectid   = lw_gos-objectid
                            AND changenr   GT lw_gos-changenr.
          IF sy-subrc EQ 0.
            LOOP AT lt_cdpos INTO lw_cdpos.
              CONCATENATE lw_cdpos-tabname lw_cdpos-fname INTO l_text
                          SEPARATED BY '-'.
              IF l_text IN lr_chno.
                l_flg = 'X'.
                EXIT.
              ENDIF.
              CLEAR: lw_cdpos,
                     l_text.
            ENDLOOP.
            IF l_flg = 'X'.
              DESCRIBE TABLE lt_cdpos.
              READ TABLE lt_cdpos INTO lw_cdpos INDEX sy-tfill.
              lw_gos-changenr = lw_cdpos-changenr.
              MODIFY zmm_gos FROM lw_gos.
              IF sy-subrc EQ 0.
                COMMIT WORK.
              ENDIF.
            ENDIF.
          ELSE.
            l_flg = space.
          ENDIF.
        ELSE.
          SELECT * FROM cdhdr INTO TABLE lt_cdhdr WHERE objectclas = 'EINKBELEG'
                                                 AND objectid   = ponumber.
          IF sy-subrc EQ 0.
            DESCRIBE TABLE lt_cdhdr.
            READ TABLE lt_cdhdr INTO lw_cdhdr INDEX sy-tfill.
            l_flg = 'X'.
            lw_gos-objectclas = lw_cdhdr-objectclas.
            lw_gos-objectid = lw_cdhdr-objectid.
            lw_gos-changenr = lw_cdhdr-changenr.
            MODIFY zmm_gos FROM lw_gos.
            IF sy-subrc EQ 0.
              COMMIT WORK.
            ENDIF.
          ENDIF.
        ENDIF.
      ELSE.
        SELECT * FROM cdhdr INTO TABLE lt_cdhdr WHERE objectclas = 'EINKBELEG'
                                                  AND objectid   = ponumber.
        IF sy-subrc EQ 0.
          DESCRIBE TABLE lt_cdhdr.
          READ TABLE lt_cdhdr INTO lw_cdhdr INDEX sy-tfill.
          l_flg = 'X'.
          lw_gos-objectclas = lw_cdhdr-objectclas.
          lw_gos-objectid = lw_cdhdr-objectid.
          lw_gos-changenr = lw_cdhdr-changenr.
        ELSE.
          l_flg = 'X'.
          lw_gos-objectclas = 'EINKBELEG'.
          lw_gos-objectid = ponumber.
          lw_gos-changenr = '1000000000'.
        ENDIF.
        MODIFY zmm_gos FROM lw_gos.
        IF sy-subrc EQ 0.
          COMMIT WORK.
        ENDIF.
      ENDIF.
    *  IF l_flg EQ space.
    *    l_flg = 'X'.
    *  ENDIF.
      IF l_flg NE space.
        DATA: memkey(10),
              memkey1(10).
        memkey = 'POOTF'.
        memkey1 = 'PONO'.
        EXPORT ponumber TO MEMORY ID memkey1.
        SUBMIT zmmr086 AND RETURN.
        IMPORT otf FROM MEMORY ID memkey.
        CHECK otf[] IS NOT INITIAL.
          import w_full from MEMORY ID 'REV'.
    **convert the otf data into xstring
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format                = 'PDF'
          IMPORTING
            bin_filesize          = l_bsize
            bin_file              = l_fstr
          TABLES
            otf                   = otf[]
            lines                 = lt_pdf[]
          EXCEPTIONS
            err_max_linewidth     = 1
            err_format            = 2
            err_conv_not_possible = 3
            err_bad_otf           = 4
            OTHERS                = 5.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    **create the object message retriveing the msg details
    *    swc_create_object lo_message 'MESSAGE' lv_message_key.
    ** define container to pass the parameter values to the method call
    *    swc_container lt_message_container.
    **creating the title for GOS
    *    WRITE sy-datum TO l_title.
    *    CONCATENATE ponumber l_title INTO l_title SEPARATED BY '_'.
    ** Populate container with parameters for method
    *    swc_set_element lt_message_container 'DOCUMENTTITLE' l_title.
    *    swc_set_element lt_message_container 'DOCUMENTLANGU' 'E'.
    *    swc_set_element lt_message_container 'NO_DIALOG' 'X'.
    *    swc_set_element lt_message_container 'DOCUMENTNAME' l_docty.
    *    swc_set_element lt_message_container 'DOCUMENTTYPE' 'PDF'.
    *    swc_set_element lt_message_container 'FILEEXTENSION' 'PDF'.
    **convert the file string into binary format
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            buffer        = l_fstr
          IMPORTING
            output_length = l_fsize
          TABLES
            binary_tab    = lt_bin.
    *    swc_set_table lt_message_container 'DocumentContent' lt_bin.
    *    swc_set_element lt_message_container 'DOCUMENTSIZE' l_fsize.
    *    swc_refresh_object lo_message.
    *    swc_call_method lo_message 'CREATE' lt_message_container.
    *    swc_get_object_key lo_message lv_message_key.
    ***fill the object key details for purchase order
    *    lo_is_object_a-objkey = ponumber. "purchase order number
    *    lo_is_object_a-objtype = 'BUS2012'. "business object type
    ** Create attachment BO object_b
    *    lo_is_object_b-objkey = lv_message_key.
    *    lo_is_object_b-objtype = l_docty.
    *    CALL FUNCTION 'BINARY_RELATION_CREATE'
    *      EXPORTING
    *        obj_rolea      = lo_is_object_a
    *        obj_roleb      = lo_is_object_b
    *        relationtype   = l_reltyp
    *      EXCEPTIONS
    *        no_model       = 1
    *        internal_error = 2
    *        unknown        = 3
    *        OTHERS         = 4.
    *    IF sy-subrc <> 0.
    *      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    *    ENDIF.
    *    COMMIT WORK AND WAIT.
    *CONSTANTS: pc_file TYPE char128 VALUE '/usr/sap/DEV/DVEBMGS00/data/newdoc5.pdf'.
    *open DATASET pc_file for OUTPUT in BINARY MODE." IGNORING CONVERSION ERRORS.
    *IF sy-subrc eq 0.
    *  TRANSFER l_fstr to pc_file.
    *  IF sy-subrc eq 0.
    *    CLOSE DATASET pc_file.
    *  ENDIF.
    *ENDIF.
        CONCATENATE  ponumber sy-datum sy-uzeit w_full INTO w_full SEPARATED BY '_'.
        CONCATENATE 'C:\' w_full '.pdf' INTO w_full.
        CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
    *   BIN_FILESIZE                    =
            filename                        = w_full
            filetype                        = 'BIN'
    *   APPEND                          = ' '
    *   WRITE_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                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    *   WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
    *   SHOW_TRANSFER_STATUS            = ABAP_TRUE
    * IMPORTING
    *   FILELENGTH                      =
          TABLES
            data_tab                        = lt_bin[]
    *   FIELDNAMES                      =
    * 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.
        ELSE.
          WRITE: 'File saved on PC'.
        ENDIF.
        FREE: l_fstr,
              l_fsize,
              l_bsize,
              l_botype,
              l_bo_id ,
              l_docty,
              l_reltyp,
              lt_bin,
              lt_pdf,
              lv_message_key,
              lo_message,
              l_title,
              lo_is_object_a,
              lo_is_object_b,
    *              l_doc,
    *              l_nast,
    *              lt_nast,
    *              lw_nast,
              lt_cdpos,
              lw_gos,
              lw_cdpos.
    *      ENDIF.
      ENDIF.
    *  ENDIF.
    ENDFUNCTION.
    plz chk and let me know if any issue.

  • Upload a file where no. of columns for each row is not fixed...

    Hi All,,
    I have to upload a file......
    number of columns for each rows are not fixed ....
    e.g.
    Posting Date     Company Code     Currency     Header Text     Cost Center     Internal Order     Ref 1     Ref 2     Line Text     Account no.     Amount     Account no.     Amount     Account no.     Amount     Account no.     Amount     Account no.     Amount     Account no.     Amount     Account no.     Amount
    31-05-09     1000     EUR     PAYROLL 05/2009     1234     123456     123456     seaman     RU     999999     9,999.99                                                            
    31-08-09     1000     EUR     PAYROLL 05/2009     678     98765     98765     officer     GB     600015     4,560.00      600035     2,125.50      600020     1,325.40      600025     245.75      600030     300.00      280010     1,000.00      281091     6,000.00
    its in tab delimited txt file.....
    how to upload this type of file..
    Plz suggest....
    thnx
    rahul

    Hi,
    Define your internal table like this.
         TYPES: BEGIN OF upload_type,
           upload(330),
           END OF upload_type.
    DATA: itab_upload TYPE STANDARD TABLE OF upload_type,
           wa_upload TYPE upload_type.
    Data: file type string.
    file = 'C:/test.txt'.
      CALL FUNCTION 'GUI_UPLOAD'
           EXPORTING
                filename                = file
                filetype                = 'ASC'
               HAS_FIELD_SEPARATOR = 'X'
           TABLES
                data_tab                = itab_upload
           EXCEPTIONS
                file_open_error         = 1
                file_read_error         = 2
                no_batch                = 3
                gui_refuse_filetransfer = 4
                invalid_type            = 5
                no_authority            = 6
                unknown_error           = 7
                bad_data_format         = 8
                header_not_allowed      = 9
                separator_not_allowed   = 10
                header_too_long         = 11
                unknown_dp_error        = 12
                access_denied           = 13
                dp_out_of_memory        = 14
                disk_full               = 15
                dp_timeout              = 16
                OTHERS                  = 17.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Use the sring operations to identify your coloumns.
    Regards,
    Satish

Maybe you are looking for