Data download (for excel) ISSUE!

hi
i use GUI_DOWNLOAD function download inter table data generated xls format.
in inter table data have ID FIeld which consist of numeric!
example:
35000078297773587
when download the field will change:3.50001E+16
i want to avoid it!
in sap stardand provide a mothod:
run REUSE_ALV_GRID_DISPLAY function to display
data.
in REUSE_ALV_GRID_DISPLAY screen:
go to list>export>sprresheet
choice excel(in MHTML format) will download data what i want!
who know which function is executed in REUSE_ALV_GRID_DISPLAY  .
or exist other method to solve this issue!
help!
thank you advance!

HI
  DATA:PLINE TYPE I,CLINE TYPE I.
  REFRESH IT_S.
  REFRESH: itab,GT_S.
  CALL FUNCTION 'NAMETAB_GET'
    EXPORTING
      langu          = sy-langu
      tabname        = itoper-tabname
    TABLES
      nametab        = itab
    EXCEPTIONS
      no_texts_found = 1.
  IF sy-subrc = 1.
    MESSAGE 'STOP,CREATE TABLE ERROR' TYPE 'E'.
  ENDIF.
  DESCRIBE TABLE itab LINES pline.
  LOOP AT <F_FS> ASSIGNING <F_FS5>.
    CLEAR CLINE.
    LOOP AT itab.
      CLINE = sy-tabix.
      ASSIGN COMPONENT itab-fieldname OF STRUCTURE <F_FS5> TO <F_FS6>.
      IF SY-SUBRC = 0.
        IF CLINE = 1.
          WA_S = <F_FS6>.
        ELSE.
          CONCATENATE WA_S <F_FS6> INTO WA_S separated by con_tab.
          IF CLINE = pline.
            concatenate  WA_S con_cret into WA_S.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDLOOP.
    REFRESH IT_S.
    CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
  EXPORTING
    TEXT            = WA_S
IMPORTING
  LENGTH          =
  TABLES
    FTEXT_TAB       = IT_S
    APPEND LINES OF IT_S TO GT_S.
   APPEND WA_S TO IT_S.
  ENDLOOP.
  IF <F_FS5> IS ASSIGNED.
    UNASSIGN <F_FS5>.
  ENDIF.
  IF <F_FS6> IS ASSIGNED.
    UNASSIGN <F_FS6>.
  ENDIF.
WHEN RUN:
    CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
  EXPORTING
    TEXT            = WA_S
IMPORTING
  LENGTH          =
  TABLES
    FTEXT_TAB       = IT_S
Will dump out!
TYPES:S_STRING TYPE STRING.
DATA:WA_S TYPE S_STRING,
     IT_S TYPE TABLE OF S_STRING WITH HEADER LINE,
     GT_S TYPE TABLE OF S_STRING WITH HEADER LINE.

Similar Messages

  • Report data download to excel file

    Hi experts,
       My requirement is report data download to excel file and that file should be an attachment to send email to specified people.
    first i want to to download data to excel file and that file should be an attachment.
    Regards
    V.Venu

    Hi venu,
    Before posting the question, just search for the related query, more number of post has been posted related to your query,
    any ways  check this below links, it will solve your problem.
    <<linkfarm removed>>
    Cheers
    NZAB
    Edited by: kishan P on Jan 10, 2012 4:51 PM

  • Issue with Data download to excel from ALV

    Hi,
    I am trying to download data to excel from ALV.
    The number of records are 26000.
    When I am trying to download I am getting an error displaying a pop up saying that
    problems came up in the following areas during the load
    TABLE
    The log displayed is not clear.
    I need to know the limitations while downloading to excel... I tried in SDN but of no use. I am using office 2007.
    What is the max downloading limit(MB)
    What must be the Length of line that can be downloaded.
    Regards

    Hi ,
    First check whether your ALV grid OUTPUT   is Consistent or Not   .
    if there are any inconsistency  then you need to rectify that  .
    for Checking COnsistency / Inconsistency  .do following steps
    1) execute ALV report 
    2) Press Shift+Mouse Right Button (Twice)  in blank area of report 
    3) you will get result   whether ALV is good or not .
    regards
    Deepak.

  • Master Data Services Add-in for Excel Issue

    I am trying to configure MDS in the Production server. I am running into isssues.
    (I was able to do the whole process successfuly in my local system - Versions are same in the local and server - Only difference is local machine is windows 7 server is Windows 2008 R2)
    I have installed SQL server 2012 Enterprise Version SP1. I am able to browse the MDS URL. User has got full permissions. When I try to access the MDS via Excel I get the below error.
    Can any one help me please I have spent days on this withou any joy.
    Error message
    TITLE: Master Data Services Add-in for Excel
    An error occurred while receiving the HTTP response to
    http://MYIPADDRESS/mds/service/service.svc/bhb. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See
    server logs for more details.
    ADDITIONAL INFORMATION:
    The underlying connection was closed: An unexpected error occurred on a receive. (System)
    Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. (System)
    An existing connection was forcibly closed by the remote host (System)
    BUTTONS:
    OK
    Bn

    I have finally found a solution for this problem!  Every time I opened Excel (unless I ran as administrator) I would have to activate the MDS add-in; this was time-consuming and annoying. It seems like there was no solution posted online anywhere! Well
    after much aggravation, I have finally found a solution:
    Fixing the Microsoft MDS Excel Add-In so it Stays Enabled
    Press the Start button (Windows button)
    In the search bar type “REGEDIT”
    Open regedit.exe
    A pop-up will ask permission for the Registry Editor to make changes to the computer, select Yes.
    In the Registry Editor expand HKEY_CURRENT_USER
    In the HKEY_CURRENT_USER folder, expand in the following order:  Software -> Microsoft -> Office -> Excel -> Addins
        Select Microsoft.MasterDataServices.ExcelAddIn
    Double-click on LoadBehavior in the right panel
        In the Edit Value popup, change the value to 
    Press OK
    Exit the Registry Editor
    The excel add-in should now be active anytime you open Excel. If multiple errors occur while using the add-in, the Load Behavior may change back to 0.  If that occurs simply follow these steps so the add-in will be active when Excel starts up.
    I hope this helps some of you avoid the long hours of trying to find a solution to this silly problem.
    Cheers!
    Tony

  • Data download in excel based on conditions

    Hi ,
    I need to download data in excel for selected months from report .
    These are the following examples:
    A. If on selection screen month is given 4 to 5, then data for 4 and 5 month should be downloaded in
        excel and rest other month should'nt downloaded.
    B. If on selection screen month is given 1 to 12, then data for 1 to 12 month should be downloaded in
        excel( means all month data should be downloaded).
    Please suggest me any logic.
    Thanks in advance.
    Have a good day!
    Gaurav

    Hi,
    As far as my knowledge, below are the Suggestions.
    1. You need to declare a special Excel download button(New) in the GUI status of your report.
    2. handle the above Button Functionality in the User command of your ALV report.
    3. For handling the data: In the User command,,,
        Loop at the Final Output table, Inside the Loop, check for the entries in the Selection screen Month Entry & Filter the data into another Table.
    4. Download the above data in to the Excel file by using custom Download FM's.
    Ex:  FM:  GUI_DOWNLOAD
    Note: Also use F4_FILENAME for asking the user for the Path to download excel file.
    If this way of solution is Ok for you, Please revert me for any more Help.
    Chaitanya...

  • Download to excel issue.

    Hi All,
    When I download a report to excel, one of my percent field with one decimal place, is increased to two decimal places in excel.
    does anyone of a work around or a fix to this issue?
    Thanks

    Checking the Oracle bug database there are the following bugs/enhancements logged that sounds relevant and some workarounds we can try:
    Bug 865450 DOWNLOAD TO EXCEL ALWAYS OPENS AS HTML FILE
    Bug 5592823 EXCEL DOWNLOAD TREATED AS HTML FILE BY MOZILLA FIREFOX 1.5
    Enh 6906146 DOWNLOAD TO EXCEL 2000 OUTPUT SHOULD BE EXCEL FORMAT NOT HTML
    Workarounds:
    (1) If your server is Tomcat
    (From bug log...)
    The real issue is IE fails to to detect the file type correctly in some cases
    in absence of proper MIME headers from the Tomcat servers especially on
    Linux.
    The fix is to
    Add a mime-mapping in tomcat/conf/web.xml. Under the section
    Default MIME Type Mappings
    Restart tomcat and delete temporary internet files from IE
    <mime-mapping>
    <extension>xls</extension>
    <mime-type>application/octet-stream</mime-type>
    </mime-mapping>
    (2) Switch browser to Firefox instead of IE. This sounds drastic but reading the bug logs it appears that Firefox will ask you what to use to open the file the first time it is used via Download to Excel - and at this point you can choose Excel and ask it to remember that decision.
    Let me know if any of this useful. If not I'll drill further and see if I can dig up a better workaround.

  • Issue with data download to excel

    Hi all,
    iam downloading data from table to excel sheet.
    when i see in the excel sheet i don't see the leading zero's
    say if i have value in table as 0001234 but in excel when i download i see as 1234
    instead i want it exactly it is in my table
    this is the code
    data : begin of it_heading occurs 0,
            line(30) type c,
           end of it_heading.
    it_heading-line = 'ABC'.
    append it_headING.
    it_headING-line = 'XYZ'.
    append it_headING.
    call function 'WS_DOWNLOAD'
    exporting
      BIN_FILESIZE                  = ' '
      CODEPAGE                      = ' '
       filename  = p_file
       filetype                      = 'DAT'
        mode                          = ' '
      WK1_N_FORMAT                  = ' '
      WK1_N_SIZE                    = ' '
      WK1_T_FORMAT                  = ' '
      WK1_T_SIZE                    = ' '
      COL_SELECT                    = ' '
      COL_SELECTMASK                = ' '
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = it_data
        fieldnames                    = it_heading
    exceptions
       file_open_error               = 1
       file_write_error              = 2
       invalid_filesize              = 3
       invalid_type                  = 4
       no_batch                      = 5
       unknown_error                 = 6
       invalid_table_width           = 7
       gui_refuse_filetransfer       = 8
       customer_error                = 9
       others                        = 10
    if sy-subrc eq 0.
    endif.
    Thanks
    Kajol

    The date field has nothing to do with the progarm, only with excel sheet. you can try increasing the length in the progam for the date field before pushing to excel and check it.
    gui_download has got some extra features when compared to ws_download.
    You can check this for some info
    http://help.sap.com/saphelp_erp2005/helpdata/en/79/c554a3b3dc11d5993800508b6b8b11/frameset.htm
    http://www.sapdevelopment.co.uk/file/file_otherpc.htm
    WS_UPLOAD and WS_DOWNLOAD, the function modules used until now are not part of the standard set of ABAP commands. They are used to display the file interface on the presentation server. WS_UPLOAD and WS_DOWNLOAD are not compatible with USs and have been replaced by GUI_UPLOAD and GUI_DOWNLOAD.
    The new function modules, GUI_UPLOAD and GUI_DOWNLOAD, have an interface that also allows you to write Unicode format to the local hard drive. For a description of these interfaces, refer to the documentation for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.
    Instead of using the function modules, you can use the static methods GUI_UPLOAD and GUI_DOWNLOAD of the global class CL_GUI_FRONTEND_SERVICES.
    award points if it helps.

  • Proper data download to excel

    hi all,
    i am getting right output.But while downloading iam not
    getting the data for name1 field from lfa1 table to be displayed & also while downloading the negative sign is not coming for the amount values.
    Modify the below code.
    REPORT zvenageing1 NO STANDARD PAGE HEADING                             
                        LINE-SIZE 300                                        
                        LINE-COUNT 65(3).                                    
    TABLES DECLARATION                                                    
    TABLES : bsik,  "Accounting: Secondary index for vendors                
              bsak,  "Accounting: Secondary index for vendors (cleared
    items)
              lfa1.                                                                               
    INTERNAL TABLE                                                        
    DATA : BEGIN OF itab OCCURS 0,                                          
            saknr LIKE bsik-saknr,                                           
            lifnr LIKE bsik-lifnr,                                           
            name1 LIKE lfa1-name1,                                           
            umskz LIKE bsik-umskz,                                           
            belnr LIKE bsik-belnr,                                           
            blart LIKE bsik-blart,                                           
            bldat LIKE bsik-bldat,
                   zfbdt LIKE bsik-zfbdt,                                                   
           ageing TYPE i,                                                           
           duedate LIKE itab-zfbdt,                                                 
           zbd1t LIKE bsik-zbd1t,                                                   
           waers LIKE bsik-waers,                                                   
           wrbtr LIKE bsik-wrbtr,                                                   
           pswsl LIKE bsik-pswsl,                                                   
           dmbtr LIKE bsik-dmbtr,                                                   
           sgtxt LIKE bsik-sgtxt,                                                   
           shkzg LIKE bsik-shkzg,                                                   
           END OF itab.                                                                               
    HEADER DETAILS                                                                
    DATA : BEGIN OF itab_head OCCURS 0,                                             
           name1(20) TYPE c,                                                        
           name2(20) TYPE c,                                                        
           name3(50) TYPE c,                                                        
            name4(20) TYPE c,                                                
            name5(20) TYPE c,                                                
            name6(20) TYPE c,                                                
            name7(20) TYPE c,                                                
            name8(20) TYPE c,                                                
            name9(20) TYPE c,                                                
            name10(20) TYPE c,                                               
            name11(20) TYPE c,                                               
            name12(20) TYPE c,                                               
            name13(20) TYPE c,                                               
            name14(20) TYPE c,                                               
            name15(20) TYPE c,                                               
            name16(20) TYPE c,                                               
            END OF itab_head.                                                                               
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.           
    SELECT-OPTIONS : s_bukrs FOR bsik-bukrs,                                
                      s_saknr FOR bsik-saknr,                                   
                      s_lifnr FOR bsik-lifnr.                                   
    PARAMETERS : p_date1 LIKE itab-zfbdt." value sy-datum.                     
    SELECTION-SCREEN END OF BLOCK b1.                                          
    *p_date1 = sy-datum.                                                       
    SET PF-STATUS '100'.                                                       
    PERFORM head.                                                              
    SELECT saknr lifnr belnr bldat zfbdt zbd1t waers wrbtr pswsl dmbtr         
            sgtxt shkzg blart umskz                                             
            INTO CORRESPONDING FIELDS OF TABLE itab                             
            FROM bsik                                                           
            WHERE bukrs IN s_bukrs                                              
            AND saknr IN s_saknr                                                
            AND lifnr IN s_lifnr                                                
            AND zfbdt LE p_date1                                                
            AND budat LE p_date1                                                
            AND umskz NE 'F'.                                                   
    SELECT saknr lifnr belnr bldat zfbdt zbd1t waers wrbtr pswsl dmbtr     
           sgtxt shkzg blart umskz                                         
           FROM bsak                                                       
           APPENDING CORRESPONDING FIELDS OF TABLE itab                    
           WHERE bukrs IN s_bukrs                                          
           AND saknr IN s_saknr                                            
           AND lifnr IN s_lifnr                                            
           AND zfbdt LE p_date1                                            
           AND augdt GT p_date1                                            
           AND budat LE p_date1.                                                                               
    LOOP AT itab.                                                          
      CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'                               
           EXPORTING                                                       
                i_datum_bis             = p_date1                          
                i_datum_von             = itab-zfbdt                       
            I_KZ_EXCL_VON           = '0'                                
            I_KZ_INCL_BIS           = '0'                                 
            I_KZ_ULT_BIS            = ' '                                 
            I_KZ_ULT_VON            = ' '                                 
            I_STGMETH               = '0'                                 
            I_SZBMETH               = '1'                                 
          IMPORTING                                                         
               e_tage                  = itab-ageing                        
           EXCEPTIONS                                                       
                days_method_not_defined = 1                                 
                OTHERS                  = 2.                                
      MODIFY itab.                                                          
      CLEAR itab.                                                           
    ENDLOOP.                                                                               
    LOOP AT itab.                                                           
    CLEAR lfa1.                                                             
      SELECT SINGLE name1 FROM lfa1                                         
             INTO (itab-name1)                                              
             WHERE lifnr = itab-lifnr.                                                                               
    IF itab-shkzg EQ 'H'.                                                 
        itab-wrbtr = itab-wrbtr * -1.                                       
        itab-dmbtr = itab-dmbtr * -1.                                       
      ENDIF.                                                                
      DATA : total(16) TYPE p DECIMALS 2.                                   
      total = total + itab-dmbtr.                                           
      itab-duedate = itab-zfbdt + itab-zbd1t.                                                                               
    WRITE : /2(10)     itab-saknr,                                        
               12(10)    itab-lifnr,                                        
               24(35)    itab-name1,                                        
               61(1)     itab-umskz,                                        
               70(10)    itab-belnr,                                        
               82(2)     itab-blart,                                        
               86(10)    itab-bldat,                                       
               98(10)    itab-zfbdt,                                       
              110(4)     itab-ageing,                                      
              116(10)    itab-duedate,                                     
              130(3)     itab-zbd1t,                                       
              146(5)     itab-waers,                                       
              152(13)    itab-wrbtr,                                       
              166(5)     itab-pswsl,                                       
              174(13)    itab-dmbtr,                                       
              190(50)    itab-sgtxt.                                       
             243(25) itab-xblnr.                                                                               
    AT LAST.                                                             
      SKIP 1.                                                              
        ULINE.                                                             
        WRITE : /2 'GRAND TOTAL' COLOR 3,155 total COLOR 3.                
        ULINE.                                                             
        CLEAR total.                                                            
      ENDAT.                                                                    
    ENDLOOP.                                                                    
          FORM HEAD                                                     *     
    FORM head.                                                                  
    ULINE.                                                                     
    WRITE :/15 'V E N D O R  O P E N  I T E M S  A S  O N  : ', p_date1        
      COLOR 3 INTENSIFIED ON.                                                   
    ULINE.                                                                     
       FORMAT COLOR 2 INTENSIFIED OFF.                                          
    ULINE.                                                                     
       WRITE : /2 'RECON.A/C',                                                  
                12 'VENDOR NO.',                                                
                24 'VENDOR NAME',                                          
                61 'SP.GL',                                                
                73 'DOC.NO',                                               
                81 'DT',                                                   
                85  'DOC.DATE',                                            
                95  'INV.RCD.DATE',                                        
                109 'AGE DAYS',                                            
                119 'DUE DATE',                                            
                132 'CREDIT PERIOD',                                       
                148 'CURR',                                                
                156 'AMT.IN.DOC',                                          
                167 'LOC.CUR',                                             
                176 'AMT.IN.LOCA',                                         
                192 'TEXT'.                                                
       ULINE : /(300).                                                     
    ENDFORM.                                                                               
    AT USER-COMMAND.                                                        
      IF sy-ucomm = 'EXCEL'.                                                
       WHEN 'EXCEL'.                                                      
          PERFORM downloadexcel.                                            
      ENDIF.                                                                
          FORM DOWNLOADEXCEL                                            * 
    FORM downloadexcel.                                                     
      DATA : b_file1 LIKE rlgrap-filename.                                  
      REFRESH itab_head.                                                    
      MOVE : 'REC A/C'         TO itab_head-name1,                          
             'VEN A/C'         TO itab_head-name2,                          
             'VEN NAME'        TO itab_head-name3,                          
             'SP G/L'          TO itab_head-name4,                          
             'DOC NO'          TO itab_head-name5,                          
             'DT'              TO itab_head-name6,                          
             'DOC DATE'        TO itab_head-name7,                          
             'INV.RCD.DATE'    TO itab_head-name8,                          
             'AGEING DAYS'     TO itab_head-name9,                          
             'DUE DATE'        TO itab_head-name10,                         
             'CR DAYS'         TO itab_head-name11,                         
             'DOC CURR'        TO itab_head-name12,                         
             'DOC CURR AMT'    TO itab_head-name13,                         
             'LOC CURR'        TO itab_head-name14,                         
             'LOC CURR AMT'    TO itab_head-name15,                         
             'TEXT'            TO itab_head-name16.                                                                               
    APPEND itab_head.                                                     
      CLEAR itab_head.                                                      
      CALL FUNCTION 'WS_FILENAME_GET'                                       
          EXPORTING                                                         
               def_filename     = ' '                                       
               def_path         = 'C:\'                                     
               mask             = ',.,..'                               
               mode             = 'S'                                       
               title            = 'Save this file as '                      
          IMPORTING                                                         
               filename         = b_file1                                   
            RC               =                                            
           EXCEPTIONS                                                       
                inv_winsys       = 1                                        
                no_batch         = 2                                        
                selection_cancel = 3                                        
                selection_error  = 4                                        
                OTHERS           = 5.                                                                               
    CALL FUNCTION 'WS_DOWNLOAD'                                           
          EXPORTING                                                         
            BIN_FILESIZE            = ' '                                 
               codepage                = 'IBM'                              
               filename                = b_file1                            
               filetype                = 'DAT'                              
            MODE                    = ' '                                 
            WK1_N_FORMAT            = ' '                                 
            WK1_N_SIZE              = ' '                                 
            WK1_T_FORMAT            = ' '                                 
            WK1_T_SIZE              = ' '                                 
            COL_SELECT              = ' '                                 
            COL_SELECTMASK          = ' '                                 
            NO_AUTH_CHECK           = ' '                                 
       IMPORTING                                                          
            FILELENGTH              =                                     
           TABLES                                                           
                data_tab                = itab_head                         
            FIELDNAMES              =                                     
           EXCEPTIONS                                                       
                file_open_error         = 1                                 
                file_write_error        = 2                                 
                invalid_filesize        = 3                                 
                invalid_table_width     = 4                                 
                invalid_type            = 5                                 
                no_batch                = 6                                 
                unknown_error           = 7                                 
                gui_refuse_filetransfer = 8                                 
                OTHERS                  = 9.                                                                               
    CALL FUNCTION 'WS_DOWNLOAD'                                           
          EXPORTING                                                         
            BIN_FILESIZE            = ' '                                 
               codepage                = 'IBM'                              
               filename                = b_file1                            
               filetype                = 'DAT'                              
               mode                    = 'A'                               
            WK1_N_FORMAT            = ' '                                
            WK1_N_SIZE              = ' '                                
            WK1_T_FORMAT            = ' '                                
            WK1_T_SIZE              = ' '                                
            COL_SELECT              = ' '                                
            COL_SELECTMASK          = ' '                                
            NO_AUTH_CHECK           = ' '                                
       IMPORTING                                                         
            FILELENGTH              =                                    
           TABLES                                                          
                data_tab                = itab                             
            FIELDNAMES              =                                    
           EXCEPTIONS                                                      
                file_open_error         = 1                                
                file_write_error        = 2                                
                invalid_filesize        = 3                                
                invalid_table_width     = 4                                 
                invalid_type            = 5                                 
                no_batch                = 6                                 
                unknown_error           = 7                                 
                gui_refuse_filetransfer = 8                                 
                OTHERS                  = 9.                                
    ENDFORM.

    hi Sanjeev,
    Use GUI_DOWNLOAD in this way  ..
          DATA: W_WSD_FILENAME01 TYPE STRING,
                W_WSD_FILETYPE01 TYPE CHAR10.
          W_WSD_FILENAME01 = P_OUT1.
          W_WSD_FILETYPE01 = 'DAT'.
          CALL FUNCTION 'GUI_DOWNLOAD'
               EXPORTING
    *              BIN_FILESIZE                    =
                   FILENAME                        = W_WSD_FILENAME01
                   FILETYPE                        = W_WSD_FILETYPE01
    *              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                      = ' '
    *          IMPORTING
    *              FILELENGTH                      =
               TABLES
                   DATA_TAB                        = ITAB_VBAK
    *              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.
               ENDIF.

  • DATA DOWNLOAD TO EXCEL

    Hi Friends,
    I m using FM  'gui download' to download data into excel sheet.
    everything gets downloaded in the proper format.
    But the last column output gets compressed and
    the result shows hash in output.
    if i manually increase the column length, output is seen in the correct format.
    But what i need to do is to download the data itself  in the correct uncompressed form.
    How can i do this ?
    Please reply to my query.
    Regards,
    Sapna Agarwal

    Hi Sapna,
    need to handle the data from abap
    code for the filed as below
    1 and 14 are the length. at 14 give your field length
    CONCATENATE '=REPLACE("' wa_zpp13-order_date '",1,14,"'
                               wa_zpp13-order_date '")' INTO lv_datetime1 .

  • APEX Report Data Download in Excel and PDF format

    Hi,
    Can someone please guide me how to download APEX report data in Excel and PDF format.I know this is possible through BI Publisher but that is extra Licence cost for client so i don't want to use that option.
    Thanks in advance.
    Regards
    Prabhat Mishra

    1005844 wrote:
    Hi ,
    Thanks for Reply,
    I am using APEX 4.2 but when i am trying to download the IR data then getting 3 options only(CSV,HTML and Email).
    PrabhatWell, Excel should understand the .csv format for offloads. Perform web seraches to see what can be done for pdfs

  • Sample Data download for practice.

    Hi DBA
    can any one tel me where i can download sample data for practicing.
    Thanks
    Raja....

    803338 wrote:
    Hi Pavan,
    Thanks for your response.
    Raja...
    create table tbl_practice as
    select * from dba_objects;:)
    Kamran Agayev A.
    Oracle ACE
    My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/

  • OOP's ALV : Download to excel issue

    Hi All,
    I am using oops ALV in a report .
    I need to implement it in such a way that when user export the list to excel
    1. Downloaded excel should also contain the data printed in top- of-page followed by the grid data.
      i.e some desired records followed by the main records.
    I am able to display the output data as desired, But when I download data to excel, it gives only records
    from grid and not the top-of-page data.
    Please let me know how to solve this ?
    Do I need to change approach?
    Thanks in Advance.

    Hi,
    To display the top of page in ALV FM we use the TOP_OF_PAGE event to display the data. But in Oop's Concept if you populate the data in TOP_OF_PAGE event the data will not be displayed in ALV layout but when print preview or print then you can see the TOP_OF_PAGE data.
    So to show the data on the ALV layout we use the split conatainer concept. Split the container in two and display ALV in below container and TOP_OF_PAGE in top container.
    Apart from having above you still populate the TOP_OF_PAGE event of ALV. This will be come into picture in case of download,Print priview & Print.

  • Power BI - Office 365 data storage for Excel (Power Pivot & Power Query) architecture

    Hi, I trying to find a comprehensive view of the Power BI architecture, specifically where the data for Power Pivot & Power Query files are held. I've seen reference to the Vertipaq Engine and the data being stored in the Excel File, however this is
    in reference to 2010.
    Other references I've seen (SharePoint on premise with Power Pivot) have shown me that the data held in the Excel files on the SharePoint sites are actually held in SQL Server instances.
    Could anyone provide clarity on the architecture for Power BI please...
    Tim
    Thank you for you time folks!

    Hi Tim,
    let my try to explain this:
    When you load data into Power Pivot it is actually loaded into Vertipaq (in-memory column-store) and it resides there until you close Excel. Technically speaking Power Pivot is a single-user SQL Server Analysis Services instance hosted within Excel. When you
    close Excel a backup of the Power Pivot "database" is created and stored within the resulting .xlsx-file .
    Any user that has access to the Excel file also has access to the Power Pivot model, so there is actually no security
    This is very similar to any other excel file
    Once the Excel is stored in SharePoint / SharePointOnline and is access the first time the backup that is stored within the Excel is restored into SQL Server Analysis Services instance running in SharePoint Integrate mode
    all connections to the Excel-File are redirected to that SSAS instance. After some time of inactivity the model is unloaded from that SSAS instance again to free up the memory
    the data itself so basically always resides inside Power Pivot or respectively the Excel file
    Power Query only stores the actual query (= M-script) but no data
    hth,
    gerhard
    Gerhard Brueckl
    blogging @ http://blog.gbrueckl.at
    working @ http://www.pmOne.com

  • Have large data downloads for no apparent reason can be upwards of a half a gb. Any ideas

    Hi,
    My sons iPhone 4S with 64 megs of memory periodically has a large data usage. Can be around .5 gb for no apparent reason. Wifi is on. Sometimes this download occurs in middle of night. Any ideas. Thanks

    If it is cellular data usage you should be able to identify the cause with a little detective work. Settings > Cellular > Use Cellular Data For will show data usage by app and if you click on System Services in that list it will also show the details of system service usage. The numbers are from the last time the statistics were reset (bottom of the same screen).

  • Download to excel Issue in obiee 11g (11.1.1.6.4)

    Hi ,
    One report contains 1,00,000 results, when the user is trying to export it into excel. they may not get all (1,00,000) records. We are getting exceed limit. Could you please provide me the solution?
    Regards,
    Sree

    sree,
    change the download number in inistanceconfig file and check the updated value is available in EM after restarting the services(OPMN).if not enter the required value in download button w't have you been given in instanceconfig.xml.
    Instanceconfig file path: <biee11g_install>\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1\instanceconfig.xml
    change value in:
    <DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
    check value after restart the service in em, same values is there or not: Maximum nuber of rows to download.
    Thanks,
    Narasimha

Maybe you are looking for

  • File location and name

    If I use iPhoto to import files from my camera where are the files actually stored and how do I change the actual file name? I have figured out how to change the picture title but it does not change the file name. If I use iPhoto to import pictures f

  • Apple AV composite cable & extension cable

    Hi everyone, Please can anyone help me with my problem? I went to the apple store and bought the official AV composite cable 30 pin for my device. It's working perfectly BUT ... When I'n connecting my device to the AV cable via an extension cord (1 m

  • Desit give you the option to back files?

    Iwantto update but don''t want to loose everything does it ggiveua choice?

  • Why is my paragraph spacing not appearing?

    In order to use Lion features, I'm attempting to switch from Word to Pages. I opened a document with quite a bit of formatting. Most of it switched over, except (I thought) the paragraph spacing, but when I went to adjust the headings, the spacing sa

  • Affiliate program / allocating commissions

    Hi everyone, I have a question that I hope no one laughs at. I self manage my website and am looking for a few pointer in regards ot the affilate programs/ commision tracking ability of the site. Background: We have a small team of sales staff out on