Spool download truncate

Hello all,
I have an issue related to spool download.
I run the transaction MB5B in Background mode and at the end I have a spool of 320.000 pages.
I would download it as text file, but the file created is truncated at page 29.986.
Please help me, I've already set my parameters in order to see 999.999 pages but it doesn't work.
I need to provide the stock in a certain date to the auditors and I don't know any workaround.
Thanks a lot in advance
Massimiliano

Hi,
use transaction  SP01, select your spool request, select menu 'goto -> Display requests->Settings'. In the poped up screen insert from page 1 - 29000. You should repeat the same for the pages 29001 - 580000 and so on until you get all you pages downloaded. At the end you can gather your list to one document.
BR,
Maru

Similar Messages

  • ALV GRID download truncates the last digit of invoice

    Hi Experts,
                     I am facing a production issue related to ALV grid download. When we click export to local file -> spread sheet,
    if it is downloaded to Excel file, invoice last digit is truncated.
    Can any body face this problem ?
    Please let me know if any body has clue to solve this strange issue.
    Thanks,
    Balaji.T.

    Hi,
    check the type of field used for invoice list. Make it type vbeln. Also try using EXit_alpha_output FM and modify the table for invoice numbers.
    Thanks,
    Sam.

  • Excel download truncated characters

    Hi,
    I have a strange problem. I am trying to download an ALV report in a excel format to the work station and the last character of one of the many fields,Vendor Number, gets truncated. Strangely this problem is confined to quality and production environments, and the same excel download works fine in the development environment.
    I have searched for replies in the forum that suggest program corrections but I would like to know how the same report download works correctly in development.

    Hi,
    The issue is due to fieldcatalog not being populated properly and in the Layout - Column width optimize is checked. In this case the contents are display till the heading ( For ex: if the heading is 'Vendor' ) the conents will be displayed with a maximum length of 6 characters instead of 10 with ".."  at the end truncating the output.
    The reason why its working in development and not in Quality or production is that the maximum vendor number in development is less than or equal to 6 digits where as in quality or production its more. Please check.
    Solution: If you are populating the field catalog manuallly, populate the ref_field and ref_table ( For ex: wth 'LIFNR' and 'LFA1' respectively ).
    Edited by: Suman Jagu on May 9, 2011 11:48 AM

  • EA60 Spool download per Invoice

    Hello Team,
    I am working on EA60(Invoice printing) of ISU. Here If I am running the prinitng based on protion Wise , system will create a single spool request containg all the document .  Now I am writing an enhancement wherein to convert the spool into PDF. It works fine converting the spool to PDF. But as system generate a single spool corresponding to all the invoices so my converted PDF contains multiple pages.
    If there any way I can make multiple spool corresponding to every invoice by running the report based on proting.
    The Idea is to download the PDF corresponding to every Invoice.
    I tries the external mail option in print parameters given in EA60 but it will great n mail corresponding to N invoices within the group & it is very diffcult to download every invoice from mail & make a repository .
    Also suggest if I use external mail option while running EA60 portion wise can I have mail header linked with Invoice no or Consumer no so that looking at mail I can say that this invoice belongs to this consumer.
    Regards,
    Pankaj

    Hi Fox,
    Here is a small sample code for you:
    REPORT ZTEST.
    PARAMETERS:
         P_OBEL LIKE ERDK-OPBEL.
    DATA:
         L_PDF  TYPE W3MIMETABTYPE,
         L_SIZE TYPE I.
    START-OF-SELECTION.
         CALL FUNCTION 'ISU_GET_PDF_FILE'
              EXPORTING
                   X_OPBEL         = P_OPBEL
              IMPORTING
                   Y_PDF_FILE_SIM  = L_PDF
                   Y_SIZE          = L_SIZE.
         CALL FUNCTION 'GUI_DOWNLOAD'
              EXPORTING
                   BIN_FILESIZE  = L_SIZE
                   FILENAME      = 'C:\TEMP\BILL.PDF'
                   FILETYPE      = 'BIN'
              TABLES
                   DATA_TAB      = L_PDF.
    Regards,
    KPG

  • SPOOL Download

    Hi Everyone,
    I have a report which is run in background. When i try to download the spool into excel file, not all the columns are not downloaded. Is there a setting that i need to check/change so that when i download the spool to excel, i will be able to download all the columns?
    Please help!
    Thanks,
    Jim

    Hi Jim,
    Check the related link. Might get your solution:
    Re: upload data from excel sheet
    search in SDN with :  want to move spool to internal table and then to excel file.
    Sorry I am unable to get the link...for this
    Reward points if this helps.
    Manish
    Message was edited by:
            Manish Kumar
    Message was edited by:
            Manish Kumar

  • ALV report truncated in Spool

    Hi All,
    When i run the program in background, there will be a spool request generated. However the ALV report in this spool is truncated which all not fully display with the column i needed. ( approximated 600 chars)
    I have defined the line-size to 1000 in my program and create the new printer format type to X_65_1000, but it still unsuccesfully to display fully. Can anyone advise on this and what are the max size of width in the spool? 1023?

    Hi,
    Check the following link:
    /people/prashant.patil12/blog/2007/02/20/displaying-alv-grid-in-background-job
    Regards,
    Bhaskar

  • Applet Download Incomplete

    I'm having a problem with the download of a large applet (approx. 1MB) getting cut short.
    Everything appears normal. The Java Extension Installation progress window comes up. But when it tries to run the applet it gets "load: class <className> not found" where <className> is the name of the class in my CODE parameter. It appears that on occasion the download of the jar gets cut off. When I search the browser's cache, I find a jar file that has fewer bytes than it should. In order to initiate a retry, you have to delete the jar file from your browser's cache, close all your browser windows so that the Plug-in with its truncated jar file stops running, and load the HTML page again. It appears that it checks the timestamp of the jar file in your cache and the one on the server and decides that it doesn't need to download it again. But if you delete it from your cache, it forces a retry.
    I never have this problem when I open from my hard drive. I've never had the problem with a cable modem connection. I've had it once from a corporate LAN hitting an internet server (i.e., outside corporate WAN). I've had people report the problem with dial-up connections. My theory is that whatever the Plug-in is using to download the applet is more sensitive than either HTTP download or FTP.
    I realize that if I used the cache options, once a user has successfully downloaded the applet, there's no more problem. But it makes for a crummy initial user experience if they're unfortunate enough to have their download truncated. Also, given the fact that it doesn't report the download problem and instead says it can't find a class, it makes it look like I'm delivering an untested applet. Not good.
    Has anybody else experienced this problem? Is there anything you can do about it? I couldn't find a bug report on it. Is there one?

    I get a similar problem which we have diagnosed to be either a network problem (i.e congestion) or a problem with the firewall and bypass proxy settings. The firewall itself slows downloads because the firewall is funnelling connections through it causing a congested network. Our solution (intranet) is to include the correct bypass proxy settings in the browser, though this might not be a very good answer for an internet.
    I have one other thing you can make sure you are doing if you are developing your applet locally then moving it to another platform. If you ftp files (like your applet) between machines, especially across different platforms like nt and unix/linex, you might want to verify that you are using binary (and not ascii) transfer to make sure you get all your bytecode. I think if you use another method like remote copy, this is not a problem. I hope this helps.
    Rodger

  • ITAB TO SPOOL

    Dear Experts,
    There are many threads regarding spool.
    But here I had given task by functional that I had to develop an object which show a some data list, in which i have to tick mark and send selected list as a mail to particular party.
    Also same thing to do as mass mailing for scheduling in back ground for all party.
    Now problem is I have an internal table with list of customer and it's particular details which i have to send by email.
    Now i know how to convert spool to pdf but i don't know how to convert internal table to spool.
    Please note i had try with many example which had already posted in sad.sap.com.
    i had got only one binary spool from it successfully. but which is not convert into pdf.
    Please i know that if i develop smartform for it is to easy but i want to do mass mailing and i had already developed module-pool for it.
    Please guide
    how do i convert my internal table to spool in specific layout with out using smart form. if it is in oops then it will be more helpful for conceptually.
    thanks & regards,
    Nayan Lad

    Hi,
    please find below prgroms are use full this Spool program will convert to PDF RSTXPDFT4.
    and this program Spool download
                   T A B L E S   & T Y P E S                             *
    TYPES : BEGIN OF ty_mail_data ,
              text(4000),
           END OF ty_mail_data.
    DATA : t_mail_data TYPE TABLE OF ty_mail_data WITH HEADER LINE ,
           l_mail_data TYPE TABLE OF ty_mail_data WITH HEADER LINE,
           w_char(4000),
           w_char1(4000),
           filenamee LIKE ibipparms-path.
    PARAMETERS: p_spool TYPE tsp01-rqident.
    Fetching Spool data into internal table
    CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'
         EXPORTING
              rqident = p_spool
         TABLES
              buffer  = t_mail_data.
    DELETE t_mail_data WHERE text(1) = '-'.
    READ TABLE  t_mail_data WITH KEY text(1) = '|'.
    IF sy-subrc EQ 0.
      formatting Internal table according to file fromat...
      LOOP AT t_mail_data.
        IF t_mail_data-text(1) EQ '|' OR  t_mail_data-text(1) EQ '-'.
          l_mail_data-text = w_char .
          APPEND l_mail_data.
          WRITE :/ w_char.
          CLEAR w_char.
          w_char = t_mail_data-text.
        ELSE.
          MOVE t_mail_data-text TO w_char1.
          CONCATENATE w_char w_char1 INTO w_char.
        ENDIF.
      ENDLOOP.
      l_mail_data-text = w_char .
      APPEND l_mail_data.
      WRITE :/ w_char.
    ENDIF.
    CALL FUNCTION 'F4_FILENAME'
         IMPORTING
              file_name = filenamee.
    CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
              bin_filesize            = 1024
              filename                = filenamee
              filetype                = 'ASC'
         TABLES
              data_tab                = l_mail_data
         EXCEPTIONS
              file_write_error        = 1
              no_batch                = 2
              gui_refuse_filetransfer = 3
              invalid_type            = 4
              OTHERS                  = 5.
    IF sy-subrc <> 0.
    MESSAGE e000 WITH text-i02.    "Exception in GUI_DOWNLOAD
    ENDIF.
    Edited by: BRsankar on Sep 29, 2011 9:13 AM
    Edited by: BRsankar on Sep 29, 2011 9:14 AM

  • How to take backup of an entire module pool program with code,screen,etc.

    Hi experts,
    I have some important data in the ides server for which i want to take backup of them.
    I have some question regarding the same.
    1.How to take backup/download of an entire module pool program with code,screen,etc.
    2.How can we take backup/download for a DB table with its structure?
    3.How can we take backup of a search help?
    Please give some suggestions abt the same.
    Regards,
    Ashesh.

    Hi,
    May be just for viewing, try downloading from SE80 transaction from the others option.
    Here just try issuing the print, it will generate the spool.
    Now using the spool, download to your desktop as required. It will have all the information regarding the attributes, fields, elements everything.
    The only issue is, may be you need to take all the screens separately.
    Regards,
    Santhosh.

  • Print driver was not installed. Operation could not be completed (error 0x00000002)

    So, here's my problem.  Wondering if anyone else has seen this or knows where I can find logs to get more information about this.
    I have some Vista x64 systems on a domain with a print server serving both x86 and x64 print drivers.  All was working fine, until one day I updated the drivers, expecting them to push out to the clients.   It did for most, but for a few of the Vista x64 systems it failed.  Not only did it fail, but it seems to have prevented me from installing any HP print drivers, even for locally connected HP printers.   A couple of the machines were critical and after hours of trying things (resetting print spooler, downloading new drivers, etc) I had to rewrite them since system restore was not working (another long story).
    So, now I have one PC left that is reporting the above 0x00000002 error when trying to install drivers, and theres a very complicated web of programs installed on this system and I'd prefer not to install it. 
    Any ideas what I can do to solve this.   Same error happens whether using the drivers that come with windows, downloading the drivers from the HP website (both the individual drivers and the universal print drivers), or whether I hook the printer directly to the printer or if its through the network.   Right now I'm trying to hook up a laserjet 8150N and getting that error.
    Any ideas?
    Thanks,
    Karl

    Did you ever find a solution to your problem? I am having the same issue with loading drivers on Windows 7 x64 machines.

  • Spool list output truncated after 255 char

    Hi,
       I'm using ALV list(FM: Reuse_alv_list_display) in my report. When it is run in background, the output is sent to spool. The problem is the list is truncated after 255 characters.
    Is there any way to display more than 255 characters in spool? So that it can be downloaded to a spreadsheet from spool.
    Thanks

    Hi,
    in the report-statement you can define the line-size of your list. I expect, you haven set the line-size!
    Try this one:
    REPORT Zxxxxx line-size 300.
    Normaly the program searches the the layout that fits to your selected printer (done by FM 'RSPO_LIST_LAYOUT_FITS').
    Regards,
    Martin

  • Downloading converted PDF file - output is truncated

    Hi -
    My requirement is to convert an SAP spool to a PDF file and download it to the presentation server. It is working, however, when I open the PDF file, the output is truncated such that only 132 characters of each line are being displayed (instead of the desired 255). Any ideas? Thanks.

    James,
    The PDF the table parameter of function module CONVERT_ABAPSPOOLJOB_2_PDF have a data element TLINE which have length of 132, so you need to do something this way
      data : begin of out occurs 0.
           include structure solisti1.
      data : end of out.
      call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
        exporting
          src_spoolid = spoolid
          no_dialog   = 'X'
        tables
          pdf         = pdf_table
        exceptions
          others      = 0.
      clear: pos,
             out,
             len.
      loop at pdf_table.
        pos = 255 - len.
        if pos > 134.    "length of pdf_table
          pos = 134.
        endif.
        out+len = pdf_table(pos).
        len = len + pos.
        if len = 255.    "length of out (contents_bin)
          append out.
          clear: out, len.
          if pos < 134.
            out = pdf_table+pos.
            len = 134 - pos.
          endif.
        endif.
      endloop.
      if len > 0.
        append out.
      endif.

  • Download Spool Asset History List

    Hi Gurus,
    I would like to download the spool of Asset History List (S_ALR_87011990).
    The standard download from SP01 isn't possible because the spool has many thousand pages.
    Anybody have a idea how is possible to download this spool?
    Thanks in advance,
    Have a nice day!
    Emanuele

    Honestly, I would never run a program even in the program which creates 66,000 pages.
    It is a sever stress on the system. I would truncate the report into different parts (may be by asset class??) and run the report.
    I do not think there is any program to download the report in the background.
    If you are interested to download the spool in pdf use transaction ZSPOOL

  • Last digit truncates while downloading to Excel from ALV Grid

    Hi All,
    I have been using REUSE_ALV_LIST_DISPLAY and REUSE_ALV_GRID_DISPLAY in my report program.
    While i use REUSE_ALV_GRID_DISPLAY and downloading the data to a local file(Excel) the last digit of the Vendor code is truncated. But in REUSE_ALV_LIST_DISPLAY the datas are downloaded correctly as displayed in the ALV.
    I have copied the code for the reference.
    REPORT  zfirp001                                .
    TYPE-POOLS: slis.
    TABLES: bsak.
    SELECT-OPTIONS:  s_bukrs FOR bsak-bukrs,
                     s_lifnr FOR bsak-lifnr,
                     s_blart FOR bsak-blart,
                     s_augdt FOR bsak-augdt,
                     s_zterm FOR bsak-zterm.
    PARAMETERS:      s_list AS CHECKBOX,
                     s_vari LIKE disvariant-variant.
    DATA: g_ext_num(24) TYPE c.
    DATA: BEGIN OF gt_bsak OCCURS 0,
            bukrs LIKE bsak-bukrs,
            lifnr LIKE bsak-lifnr,
            augdt LIKE bsak-augdt,
            gjahr LIKE bsak-gjahr,
            belnr LIKE bsak-belnr,
            blart LIKE bsak-blart,
            zterm LIKE bsak-zterm,
          END OF gt_bsak.
    DATA: BEGIN OF gt_bseg OCCURS 0,
            bukrs LIKE bseg-bukrs,
            belnr LIKE bseg-belnr,
            gjahr LIKE bseg-gjahr,
            wrbtr LIKE bseg-wrbtr,
            projk LIKE bseg-projk,
            shkzg LIKE bseg-shkzg,
            hkont LIKE bseg-hkont,
          END OF gt_bseg.
    ALV
    DATA: gt_fieldtab TYPE slis_t_fieldcat_alv,
          g_save(1)   TYPE c,
          g_variant   LIKE disvariant.
    DATA: BEGIN OF gt_result OCCURS 0,
            bukrs       LIKE bsak-bukrs,
            lifnr       LIKE bsak-lifnr,
            name1       LIKE lfa1-name1,
            augdt       LIKE bsak-augdt,
            gjahr       LIKE bsak-gjahr,
            belnr       LIKE bsak-belnr,
            blart       LIKE bsak-blart,
            zterm       LIKE bsak-zterm,
            wrbtr       LIKE bseg-wrbtr,
            waers       LIKE bkpf-waers,
            ext_num(24) TYPE c,
            txt20       LIKE skat-txt20,
            usr00       LIKE prps-usr00,
            usr01       LIKE prps-usr01,
            usr02       LIKE prps-usr02,
            usr03       LIKE prps-usr03,
          END OF gt_result.
    CONSTANTS: c_credit(1)       TYPE c VALUE 'H',
               c_x(1)            TYPE c VALUE 'X',
               c_en(2)           TYPE c VALUE 'EN',
               c_mrc(4)          TYPE c VALUE 'CA01'.
    *====================================================
    INITIALIZATION.
      PERFORM initialize_variant.
    AT SELECTION-SCREEN.
      PERFORM pai_of_selection_screen.
    *====================================================
    START-OF-SELECTION.
      REFRESH gt_result.
    find clearing documents
      SELECT        bukrs
                    lifnr
                    augdt
                    gjahr
                    belnr
                    blart
                    zterm
             INTO   TABLE gt_bsak
             FROM   bsak
             WHERE  bukrs  IN s_bukrs
             AND    lifnr  IN s_lifnr
             AND    augdt  IN s_augdt
             AND    blart  IN s_blart
             AND    zterm  IN s_zterm.
      CHECK NOT gt_bsak[] IS INITIAL.
      LOOP AT gt_bsak.
    read WBS items
        SELECT        bukrs
                      belnr
                      gjahr
                      dmbtr
                      projk
                      shkzg
                      hkont
               INTO   TABLE  gt_bseg
               FROM   bseg
               WHERE  bukrs  = gt_bsak-bukrs
               AND    belnr  = gt_bsak-belnr
               AND    gjahr  = gt_bsak-gjahr
               AND    projk  > space.
        gt_result-bukrs = gt_bsak-bukrs.
        gt_result-lifnr = gt_bsak-lifnr.
        gt_result-augdt = gt_bsak-augdt.
        gt_result-belnr = gt_bsak-belnr.
        gt_result-gjahr = gt_bsak-gjahr.
        gt_result-blart = gt_bsak-blart.
        gt_result-zterm = gt_bsak-zterm.
    document currency
        SELECT SINGLE waers
               INTO   gt_result-waers
               FROM   bkpf
               WHERE  bukrs  = gt_bsak-bukrs
               AND    belnr  = gt_bsak-belnr
               AND    gjahr  = gt_bsak-gjahr.
    vendor name
        SELECT SINGLE name1
               INTO   gt_result-name1
               FROM   lfa1
               WHERE  lifnr  = gt_result-lifnr.
    for each accounting document
        LOOP AT gt_bseg.
    convert to external WBS
          CALL FUNCTION 'PSPNUM_INTERN_TO_EXTERN_CONV'
            EXPORTING
              edit_imp  = c_x
              int_num   = gt_bseg-projk
            IMPORTING
              ext_num   = gt_result-ext_num
            EXCEPTIONS
              not_found = 1
              OTHERS    = 2.
    debit or credit
          IF gt_bseg-shkzg = c_credit.
            gt_result-wrbtr = gt_bseg-wrbtr.
          ELSE.
            gt_result-wrbtr = gt_bseg-wrbtr * -1.
          ENDIF.
    GL short Text
          SELECT SINGLE txt20
                 INTO   gt_result-txt20
                 FROM   skat
                 WHERE  spras  = c_en
                 AND    ktopl  = 'CA01'
                 AND    saknr  = gt_bseg-hkont.
    user fields
          SELECT SINGLE usr00
                        usr01
                        usr02
                        usr03
                 INTO  (gt_result-usr00,
                        gt_result-usr01,
                        gt_result-usr02,
                        gt_result-usr03)
                 FROM   prps
                 WHERE  pspnr  = gt_bseg-projk.
    append to result table
          APPEND gt_result.
        ENDLOOP.
      ENDLOOP.
    *====================================================
    END-OF-SELECTION.
      PERFORM initialize_fieldcat USING gt_fieldtab[].
      g_variant-report = sy-repid.
      g_save           = 'A'.
      IF s_list = 'X'.
        CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
            it_fieldcat = gt_fieldtab
            i_default   = 'A'
            i_save      = g_save
            is_variant  = g_variant
          TABLES
            t_outtab    = gt_result.
      ELSE.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            it_fieldcat = gt_fieldtab
            i_default   = 'A'
            i_save      = g_save
            is_variant  = g_variant
          TABLES
            t_outtab    = gt_result.
      ENDIF.
    *&      Form  initialize_variant
    FORM initialize_variant.
      g_save = 'A'.
      CLEAR g_variant.
      g_variant-report = sy-repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
        EXPORTING
          i_save     = g_save
        CHANGING
          cs_variant = g_variant
        EXCEPTIONS
          not_found  = 2.
      IF sy-subrc = 0.
        s_vari = g_variant-variant.
      ENDIF.
    ENDFORM.                               " INITIALIZE_VARIANT
    *&      Form  pai_of_selection_screen
    FORM pai_of_selection_screen.
      IF NOT s_vari IS INITIAL.
        MOVE s_vari TO g_variant-variant.
        CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
          EXPORTING
            i_save     = g_save
          CHANGING
            cs_variant = g_variant.
      ELSE.
        PERFORM initialize_variant.
      ENDIF.
    ENDFORM.                    " PAI_OF_SELECTION_SCREEN
    *&      Form  initialize_fieldcat
    FORM initialize_fieldcat USING p_fieldtab TYPE slis_t_fieldcat_alv.
      DATA: l_fieldcat TYPE slis_fieldcat_alv.
      CLEAR l_fieldcat.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'BUKRS'.
      l_fieldcat-seltext_L  = 'Company'.
      l_fieldcat-outputlen  = '8'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'LIFNR'.
      l_fieldcat-seltext_L  = 'Vendor'.
      l_fieldcat-outputlen  = '10'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'NAME1'.
      l_fieldcat-seltext_L  = 'Name'.
      l_fieldcat-outputlen  = '35'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'AUGDT'.
      l_fieldcat-seltext_L  = 'Cleared'.
      l_fieldcat-outputlen  = '10'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'GJAHR'.
      l_fieldcat-seltext_L  = 'Year'.
      l_fieldcat-outputlen  = '5'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'BELNR'.
      l_fieldcat-seltext_L  = 'Document'.
      l_fieldcat-outputlen  = '10'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'BLART'.
      l_fieldcat-seltext_L  = 'Type'.
      l_fieldcat-outputlen  = '4'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'ZTERM'.
      l_fieldcat-seltext_L  = 'Pay Terms'.
      l_fieldcat-outputlen  = '4'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'WRBTR'.
      l_fieldcat-seltext_L  = 'Amount'.
      l_fieldcat-outputlen  = '13'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'WAERS'.
      l_fieldcat-seltext_L  = 'CURR'.
      l_fieldcat-outputlen  = '5'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'EXT_NUM'.
      l_fieldcat-seltext_L  = 'WBS'.
      l_fieldcat-outputlen  = '24'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'TXT20'.
      l_fieldcat-seltext_L  = 'Short Text'.
      l_fieldcat-outputlen  = '20'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'USR00'.
      l_fieldcat-seltext_L  = 'H/O File Ref'.
      l_fieldcat-outputlen  = '20'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'USR01'.
      l_fieldcat-seltext_L  = 'Local File Ref'.
      l_fieldcat-outputlen  = '20'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'USR02'.
      l_fieldcat-seltext_L  = 'INFORM Agree ID'.
      l_fieldcat-outputlen  = '10'.
      APPEND l_fieldcat TO p_fieldtab.
      l_fieldcat-tabname    = 'GT_RESULT'.
      l_fieldcat-fieldname  = 'USR03'.
      l_fieldcat-seltext_L  = 'INFM Prim Ag ID'.
      l_fieldcat-outputlen  = '10'.
      APPEND l_fieldcat TO p_fieldtab.
    ENDFORM.                    " INITIALIZE_FIELDCAT
    Could the experts do help to overcome the probs.
    Thanks in Advance.
    Regards,
    Anbalagan.V

    Hi Anbalagan,
    i've tested your program - but it works fine (Rel. 4.6C,SAPKB46C30)
    download is ok and direct transfer (excel inplace) is ok.
    but i've a question to the selection of waers in your program -
    why do you select waers from bkpf and not from bsak ?
    i think sel. of bkpf is'nt necessary !
    regards Andreas

  • How to get Formatted Excel file when downloading spool request of a r paint

    I have scheduled a Report painter program  in background  & spool is generated .
    When I download the output in the Excel file its not in the proper format . We need to format the file file by adding  deleting blank Line in the report .
    Can it be possible when we Download the Report painter. Its come The generated Excel file should come in formatted way.
    Thanks

    kiro123 wrote:
    I have scheduled a Report painter program  in background  & spool is generated .
    >
    > When I download the output in the Excel file its not in the proper format . We need to format the file file by adding  deleting blank Line in the report .
    >
    > Can it be possible when we Download the Report painter. Its come The generated Excel file should come in formatted way.
    >
    >
    > Thanks
    Yes the report painter report especially in the hierarchial format will not make much sense when you download to excel. Until now I also have not seen any solution to this.

Maybe you are looking for

  • How do I set up HP LaserJet 1022nw in wireless mode?

    I just purchased this printer and I am trying to set it up so that it will be accessible by any of our home computers via our home airport extreme base station, regardless of whether any other computer is on. Following the insructions, I can get all

  • MacBook Pro Snow Leopard Software Upgrade Help!

    I recently upgraded to Yosenity, and noticed my computer lags a bit (spinning wheel thing). I downgraded back to Snow Leopard via cd. Now my iTunes will not read my iPhone and when I upgrade the software, it is stuck on that aura screen. What should

  • [Fatal Error] :1:2: Content is not allowed in prolog.

    I am trying to parse input stream i amgetting this error please help me [Fatal Error] :1:2: Content is not allowed in prolog. org.xml.sax.SAXParseException: Content is not allowed in prolog.      at org.apache.xerces.parsers.DOMParser.parse(Unknown S

  • Getting list of all BSPs

    Hello all, I'm looking for an ABAP function that I can call from java that will bring me the list of all the BSP's in a certain system. does anyone know such a function? Thanks in advance, Tomer

  • Problem in storing of the resultset in vector

    i'm using Vectors to store the data which i got from the resultsets. all that is working fine. i display this data in a vector in a JComboBox. but my method is resetting the vector itself eventhough i'm not touching it at all. the code is as follows