Timeout when using  ALV build-in functionality: exporting to Excel

Hello,
I have the following problem within one of my web dynpro abap applications:
I need to be able to display data in a table that preferably should be via alv component.
Then I shall also be able to download the displayed data via Excel.
So I have embedded the ALV component I added to the component within a view and activated the export to excel button.
Downloading small amount of data does no lead to any problem, but when trying to process a larger amount of data (in this case 22500 entries), I get a timeout.
Does anybody have any idea if it is possible to increase performance here without reducing the amount of data to be downloaded?
thanks a lot ion advance!
Ana

Hello,
coming back to the UI element download.
I managed to get the data being saved to the desktop, but unfortunately, the data remains being displayed as in chines letters.
Anybody got an idea, what parameters I might have set wrong? Or if I have to do an additional encoding before generating the XString?
Here is the supply method code and the parameters I have set in the UI element:
The Supply method
method GEN_EXCEL_DOWNLOAD_DATA .
  data: wa_cmx_line type zksb_cmxshowline.
  data: lt_excel type zksb_cmx_excel_download_t.
  data: wa_excel type zksb_cmx_excel_download.
  data: l_guid type guid_32.
  data: l_url type string.
* read context-------------------------------------------------------------------------------------
  data lo_nd_z_ksb_get_prcm type ref to if_wd_context_node.
  data lo_nd_exporting type ref to if_wd_context_node.
  data lo_nd_rt_zksb_cmx_show type ref to if_wd_context_node.
  data lo_el_rt_zksb_cmx_show type ref to if_wd_context_element.
  data lt_rt_zksb_cmx_show type table of wd_this->element_rt_zksb_cmx_show.
  data wa_rt_zksb_cmx_show like line of lt_rt_zksb_cmx_show.
*   navigate from <CONTEXT> to <Z_KSB_GET_PRCM> via lead selection
  lo_nd_z_ksb_get_prcm = wd_context->get_child_node( name = wd_this->wdctx_z_ksb_get_prcm ).
*   navigate from <Z_KSB_GET_PRCM> to <EXPORTING> via lead selection
  lo_nd_exporting = lo_nd_z_ksb_get_prcm->get_child_node( name = wd_this->wdctx_exporting ).
*   navigate from <EXPORTING> to <RT_ZKSB_CMX_SHOW> via lead selection
  lo_nd_rt_zksb_cmx_show = lo_nd_exporting->get_child_node( name = wd_this->wdctx_rt_zksb_cmx_show ).
*   @TODO handle not set lead selection
  if lo_nd_rt_zksb_cmx_show is initial.
  endif.
* get static attributes table
  lo_nd_rt_zksb_cmx_show->get_static_attributes_table( importing table = lt_rt_zksb_cmx_show ).
* reduce data to only the data that shall be displayed----------------------------------------
  loop at lt_rt_zksb_cmx_show into wa_rt_zksb_cmx_show.
    move-corresponding wa_rt_zksb_cmx_show to wa_excel.
    append wa_excel to lt_excel.
  endloop.
* populate data as tab separated strings-----------------------------------------------------
  data l_str  type string.
  data lv_struct type extdfiest.
  data itab type ref to zksb_cmx_excel_download_t.
  data r_xstring type xstring.
  data s(256) type c.
  field-symbols <wa_desc> like line of lv_struct.
  field-symbols: <tab> type table.
  field-symbols:  <wa> type any.
  field-symbols:  <f> type any.
* populate the column headers----------------------
  get reference of lt_excel into itab.
* assign lt_excel to <tab>.
  assign itab->* to <tab>.
  lv_struct = wd_this->get_table_structure( itab = itab ).
  loop at lv_struct assigning <wa_desc>.
    concatenate wa_cmx_line
                <wa_desc>-coltitle
                cl_abap_char_utilities=>horizontal_tab
                into wa_cmx_line.
  endloop.
  concatenate wa_cmx_line
              cl_abap_char_utilities=>cr_lf
              into wa_cmx_line.
* loop through the data table-----------------------
  loop at <tab> assigning <wa>.
    loop at lv_struct assigning <wa_desc>.
      assign component sy-tabix of structure <wa> to <f>.
      check sy-subrc = 0.
      if <wa_desc> is assigned and <wa_desc>-convexit is not initial.
*  Process any output conversion routines
        concatenate 'CONVERSION_EXIT_' <wa_desc>-convexit '_OUTPUT' into wa_cmx_line.
        call function wa_cmx_line
          exporting
            input  = <f>
          importing
            output = s.
      else.
        concatenate wa_cmx_line
                 <f>
                  cl_abap_char_utilities=>horizontal_tab
                  into wa_cmx_line.
      endif.
    endloop.
    concatenate wa_cmx_line
                cl_abap_char_utilities=>cr_lf
                into wa_cmx_line.
  endloop.
*Convert the strings to Binary strings (UTF-16le)------------------------------------------------
  call function 'SCMS_STRING_TO_XSTRING'
    exporting
      text     = wa_cmx_line
      mimetype = ''
    importing
      buffer   = r_xstring.
*Add the UTF-16 Little Endian Byte Order Mark to the begining of the file
  concatenate  cl_abap_char_utilities=>byte_order_mark_little
               r_xstring
               into r_xstring in byte mode.
* set context
  DATA lo_nd_excel_download TYPE REF TO if_wd_context_node.
  DATA lo_el_excel_download TYPE REF TO if_wd_context_element.
  DATA ls_excel_download TYPE wd_this->element_excel_download.
  DATA lv_excel_download_data LIKE ls_excel_download-excel_download_data.
* navigate from <CONTEXT> to <EXCEL_DOWNLOAD> via lead selection
  lo_nd_excel_download = wd_context->get_child_node( name = wd_this->wdctx_excel_download ).
* get element via lead selection
  lo_el_excel_download = lo_nd_excel_download->get_element(  ).
* set single attribute
  lo_el_excel_download->set_attribute( name =  `EXCEL_DOWNLOAD_DATA`  value = r_xstring ).
endmethod.
and the parameters to the UI are as follows
behaviour: allowSave
data: <data that was created by supply method>
fileName: CMX.xls          also tried CMX.cvs
mime-type: ms-excel     also tried  /vnd.ms-excel
text: $OTR:SOTR_VOCABULARY_BASIC/DOWNLOAD
textDirection: inherit
type: navigation
visible: Visible
Any suggestion of what I might have to change would be great!
Tx
Ana

Similar Messages

  • How to add interface to customlize MXML Component when use Flex Builder 3?

    How to add interface to customlize MXML Component when use
    Flex Builder 3?

    David,
    I don't believe you can add the interface via the creation
    dialog in FlexBuilder 3. You can always manually add the
    "implements" property to your MXML Component root tag. Something
    like this: <mx:VBox implements="com.mycorp.IMyInterface">
    If you want autogeneration of the interface, then create an
    ActionScript class with that interface and then copy the generated
    functions and setter/getters into the script block of your MXML
    component.

  • Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems n

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

  • Error when using Form Builder

    When using Form Builder to create a new form from TEMPLATE.fmb, there is an error like this:
    FRM-18108:Failed to load the following objects:
    Source Module:APPSTAND
    Source object:STANDARD_PC_AND_VA
    Source Module:APPSTAND
    Source object:STANDARD_TOOLBAR
    Source Module:APPSTAND
    Source object:STANDARD_CALENDAR
    Then, I found an file incuding the error message in the directory where I placed the TEMPLATE.fmb and APPSTAND.fmb.
    Here is the main point:
    FRM-30064: Unable to parse statement select timezone_code,name
    ,to_char(trunc(gmt_offset),'S09') || ':' || to_char(abs(gmt_offset - trunc(gmt_offset))
    *60,'FM900') offset
    ,decode(daylight_savings_flag,'Y','*',null) dst_flag
    from fnd_timezones_vl
    where enabled_flag = 'Y'
    order by gmt_offset.
    ORA-00942: table or view does not exist
    Record Group TIMEZONES
    Form: STANDARD_OBJECTS
    FRM-30085: Unable to adjust form for output.
    How can I fix this error?
    Thanks a lot,
    Mike Cui
    PS: I have intalled the Oracle EBS VIS, and the OS is WinXP(ZHS).

    Yes, that's right.
    I have fixed this error.
    At the same time, I found a bug when installing Oracle EBS DEMO. That is,
    FORM60_PATH in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE,is $AU_TOP\11.5.0\resource;$AU_TOP\11.5.0\form\us; But another one in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME2 is $AU_TOP\11.5.0\resource;$AU_TOP\11.5.0\plsql. I think the second one is the working path used by Form Builder. Correcting it to be same with the first one will be OK. Or you can change all of them to your own working path.
    PS: Form builder is installed in the server PC which I only have:)
    Message was edited by:
    Mike Cui

  • [Help] Error when using Form Builder

    When using Form Builder to create a new form from TEMPLATE.fmb, there is an error like this:
    FRM-18108:Failed to load the following objects:
    Source Module:APPSTAND
    Source object:STANDARD_PC_AND_VA
    Source Module:APPSTAND
    Source object:STANDARD_TOOLBAR
    Source Module:APPSTAND
    Source object:STANDARD_CALENDAR
    Then, I found an file incuding the error message in the directory where I placed the TEMPLATE.fmb and APPSTAND.fmb.
    Here is the main point:
    FRM-30064: Unable to parse statement select timezone_code,name
    ,to_char(trunc(gmt_offset),'S09') || ':' || to_char(abs(gmt_offset - trunc(gmt_offset))
    *60,'FM900') offset
    ,decode(daylight_savings_flag,'Y','*',null) dst_flag
    from fnd_timezones_vl
    where enabled_flag = 'Y'
    order by gmt_offset.
    ORA-00942: table or view does not exist
    Record Group TIMEZONES
    Form: STANDARD_OBJECTS
    FRM-30085: Unable to adjust form for output.
    How can I fix this error?
    Thanks a lot,
    Mike Cui
    PS: I have intalled the Oracle EBS VIS, and the OS is WinXP(ZHS).

    You have to connect with a database user who has right to select on the table.

  • Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?

    The documentation for Flash Builder 4 beta says that after opening flash from flash builder, I should click a "done" button in flash and flash should close and what I created in flash should be included as a component or container in Flash Builder.  Using the Flash Builder 4 beta on Windows, when I click on the "create in flash" button on the properties panel for either the new flash component or container, Flash CS4 opens, I create something in Flash and no "done" button is present.  Nor is anything present in the menus resembling a "done" option.  Where is it?

    Hi Jeffrey:
    Still no done button.  Now under commands in Flash I can convert symbols to flex components and containers and these show up in the Flash library.
    Thanks:
    Jim
    Date: Wed, 30 Sep 2009 09:58:10 -0600
    From: [email protected]
    To: [email protected]
    Subject: Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    Hi,
    You may need to install FlexComponentKit.mxp to your Flash CS4 beforehand.
    Jeffrey
    Date: Tue, 29 Sep 2009 17:04:36 -0600
    From: mailto:[email protected]
    To: mailto:[email protected]
    Subject: Flex Where is the "done" button in Flash CS4 when using Flash Builder 4's new flash component or container?
    I apparently didn't get one.  I've looked under various workspace configurations.  Another thing that seems odd is that when Flash opens I get the opening panel that allows me to select the type of file and version of AS I want to use.  I select new file with AS3.  Any ideas on why the "done" button wouldn't be present and if the opening panel is what I should expect on opening Flash after clicking the "create in Flash" button?
    >
    >

  • Will pages automatically reformat to correct size when using Folio Builder or do I have to make pages iPad format, for example, in InDesign document set up from the start?

    Will pages automatically reformat to correct size when using Folio Builder or do I have to make pages iPad format, for example, in InDesign document set up from the start?

    Moved to DPS forum.
    You need to set up the pages appropriately for the target device. For iPad that's 1024x768.

  • Cannot get the details in ME2N when using ALV but can when using BEST

    Hi experts,
    Could you let me know why I am not able to get the results when using ALV as Scope of List in ME2N Transaction, but can get data when using BEST?
    Regards,
    Pri

    Hi Priya,
    Check the following :
    IMG-> Materials Management-> Purchasing-> Reporting-> Scope of List->Define Scope of List
    Here select ALV and click details.
    Check the check boxes you need.
    Cheers,
    Satish

  • Quick Functions, export to Excel and variable screen pop up do not function

    We have put the following in place in our environment.
    http://help.sap.com/saphelp_nw70/helpdata/en/45/2f76471ca96d7be10000000a114a6b/content.htm
    Integrating into an SAP NetWeaver 2004 Portal (SAP EP 6.0).
    The creation of the iview using the SAP BW Report iview template using version SAP NetWeaver BI (7.0) is successfull and the report is generated correctly. The problem occurs when we try to use the Quick Function - Export to Excel. At this point nothing happens. Another example is when we access the context menu and try to access the variable screen there are no popups. When the report is executed on our SAP EP 7.01 system the same reports functions properly. I am operating with all authorization so I believe this is not the issue. Any assistance will be greatly appreciated.
    Regards,
    Brian

    Hello,
    Please check SAP Note No. 1591929 for the solution.
    If this does not help then verify your portal set-up is correct with the supportdesk tool as per note 937697.
    Regards,
    Michael

  • Derby db named query causes parse error when using derby db MONTH function

    Hi all!
    I'm trying to create an application using the persistance api and beans binding. I have created my database and entity classes.
    My problem is creating a named query that uses some of the functionality from the derby database (which is embedded in the application).
    I have a named query:
    @NamedQuery(name = "Vehicles.findbymotmonth", query = "SELECT v FROM Vehicles v WHERE MONTH(v.lastmotdate) = :monthnumber") The actual query works fine when I send it directly to the db (with the parameter filled in) but causes an exception when used as a named query:
    Local Exception Stack:
    Exception [TOPLINK-8025] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.EJBQLException
    Exception Description: Syntax error parsing the query [Vehicles.findbymotmonth: SELECT v FROM Vehicles v WHERE MONTH(v.lastmotdate) = :monthnumber], line 1, column 32: unexpected token [MONTH].
    Internal Exception: line 1:32: unexpected token: MONTH
            at oracle.toplink.essentials.exceptions.EJBQLException.unexpectedToken(EJBQLException.java:389)
    ... I've tried looking for solutions online but it seems evryone just writes up the original java db application example provided by sun and no one has tried doing more than "select c from customers c".
    I'm using the netbeans ide (6.5).
    Please tell me there is a simple solution to this and the persistance API can handle complex queries!
    Thanks in advance.

    one solution: assume the toplink library to be so full of bugs as to be unusable and switch to the hibernate persistance manager where it works fine.
    Edited by: pointer2null on Feb 17, 2009 11:02 AM

  • How to fix the width of the column when using alv table

    Hi ,
    I am displaying the contents in a table. Of course using alv component i displayed the content. Now the problem is the column width is not fixed with value of the table entries( based on the domain length level). As  length  of field increases or decreses as the length of the content increases or decreases. I wanted to fix the column width whatever be the length of the contents.
    Can any one help in this regard ?
    Thanks Pons.

    Hi,
    Please find the code related to your problem.
    METHOD configure_alv .
    data declaration for column settings
      DATA  : lr_column_settings   TYPE REF TO if_salv_wd_column_settings,
              lr_col_header        TYPE REF TO cl_salv_wd_column_header,
              lt_columns           TYPE salv_wd_t_column_ref,
              ls_column            TYPE salv_wd_s_column_ref.
    data declaration for table settings
      DATA : lr_salv_wd_table_ctr  TYPE REF TO iwci_salv_wd_table,
             lr_table_settings_ctr TYPE REF TO if_salv_wd_table_settings,
             lr_header_ctr         TYPE REF TO cl_salv_wd_header.
    Variables for drop-down and inpufield reference
      DATA : lr_drdn_by_key        TYPE REF TO cl_salv_wd_uie_dropdown_by_key,
             lr_input_field        TYPE REF TO cl_salv_wd_uie_input_field,
             l_header              TYPE string.
    get ALV Component <CONTRACT_DETAILS>
      lr_salv_wd_table_ctr = wd_this->wd_cpifc_payment_detail( ).
      wd_this->alv_config_table = lr_salv_wd_table_ctr->get_model( ).
    set visible row count
      lr_table_settings_ctr ?= wd_this->alv_config_table.
      lr_table_settings_ctr->set_visible_row_count( '5' ).
      lr_table_settings_ctr->set_read_only( abap_false ).
      lr_table_settings_ctr->set_grid_mode( ).
      lr_table_settings_ctr->set_width(
        EXPORTING
          value = '980PX' ).
      wd_this->alv_config_table->if_salv_wd_table_settings~set_data_check( if_salv_wd_c_table_settings=>data_check_on_cell_event ).
      wd_this->alv_config_table->if_salv_wd_std_functions~set_pdf_allowed( abap_false ).
      wd_this->alv_config_table->if_salv_wd_std_functions~set_view_list_allowed( abap_false ).
      wd_this->alv_config_table->if_salv_wd_std_functions~set_edit_insert_row_allowed( abap_false ).
      wd_this->alv_config_table->if_salv_wd_std_functions~set_edit_delete_row_allowed( abap_true ).
      wd_this->alv_config_table->if_salv_wd_std_functions~set_export_allowed( abap_false ).
      wd_this->alv_config_table->if_salv_wd_std_functions~set_edit_check_available( abap_false ).
      CLEAR: l_header.
      l_header = wd_assist->if_wd_component_assistance~get_text( '030' ).
      lr_header_ctr = lr_table_settings_ctr->get_header( ).
      lr_header_ctr->set_text( l_header ).
    set text header for Columns.
      CLEAR: l_header,lt_columns.
      lr_column_settings ?= wd_this->alv_config_table.
      lt_columns = lr_column_settings->get_columns( ).
      LOOP AT lt_columns INTO ls_column.
        CASE ls_column-id.
          WHEN 'PAYMENT_METHOD'.
    get header details
            lr_col_header = ls_column-r_column->get_header( ).
    disable DDIC field label
            CALL METHOD lr_col_header->set_prop_ddic_binding_field
              EXPORTING
                property = if_salv_wd_c_ddic_binding=>bind_prop_text
                value    = if_salv_wd_c_ddic_binding=>ddic_bind_none.
    set user defined column header
            l_header = wd_assist->if_wd_component_assistance~get_text( key = '020' ).
            lr_col_header->set_text( l_header ).
            CREATE OBJECT lr_drdn_by_key
              EXPORTING
                selected_key_fieldname = ls_column-id.
            ls_column-r_column->set_cell_editor( lr_drdn_by_key ).
            ls_column-r_column->se_width( '100PX' ).
            lr_drdn_by_key->set_key_visible(
              EXPORTING
                value = abap_true ).
          WHEN OTHERS.
        ENDCASE.
        CLEAR: l_header,ls_column.
      ENDLOOP.
    ENDMETHOD.
    Regards
    Manoj Kumar

  • How can I disenable the EXCEL field format when use ALV download to excel ?

    Dear friends,
         I have a problem with the ALV download to EXCEL. One field Value in ALV is like u2018-abcdeu2026u2019.the character u201C-u201Cis the first   position  in field value.when I download  the value to EXCEL,the field value u2018-abcdeu2026u2019 changed u2018=-abcdeu2026u2019 in EXCEL.how can I remove u2018=u2019 in EXCEL when I down to excel used ALV.
    I add a space in u2018  -abcdeu2026u2019,So this value can be download to Excel .
    Have you any solve method?
    User does not use excel logo button to download.
    User use Local fileu2026 button to download
    Thanks
    Sun

    add a single quote to the beginning of the field.
    like:  '-abcde
    in excel it will be shown as : -abcde

  • Timeout when using CLIENT_HOST('cmd /c start/wait winword.exe) in FORMS10g

    Hi, what to do      to prevent loss connection in forms / AS10g / Webutil?
    we have in forms 10g / AS 10g using webutil following command to edit a word-document and save it afterwards:
    CLIENT_HOST('cmd /c start /wait winword.exe '||'"'||pLocal_file_name||'"');
    it works well for a short time of maybe 1 minute,
    but when user works a longer time, the connection to AS-Server is loss.
    what to do to solve problem ?
    it is a Problem in FORMS or in WebUtil ?
    set FORMS_TIMEOUT / higher ?
    if so, where to set it, in the forms-module or in default.DEV of AS ?
    or do i have use enable_redirect_on_timeout, how ?
    Thanks
    Norbert

    Hello,
    use the WEBUTIL_HOST.blocking() function instead as follow:
    Declare
       LC$Cmd     Varchar2(256) ;
       Ret        WEBUTIL_HOST.PROCESS_ID ;
       LN$Result  Pls_Integer ;
       LC$FicName Varchar2(128) := Name_In( ‘BLOB_TABLE.DOC_NAME’ ) ;
    Begin
       LC$Cmd := 'cmd /c start "" /WAIT "' || LC$FicName || '"' ;
       Ret := WEBUTIL_HOST.blocking( LC$Cmd ) ;
       LN$Result := WEBUTIL_HOST.Get_return_Code( Ret ) ;
    End ;Francois

  • Keynote freezes when using smart builds.

    I've got an issue using smart builds.
    Any time I click on the smart build button on the tool bar or the actions tab in the inspector window, I get the spinning beach ball of death.
    I'm not sure if it's an issue with hardware or software.
    I've tried deleting quicktime codecs, final cut plugins, etc.
    None of them seem to work.
    Reinstalling iWork hasn't helped either.
    Anyone else have this problem?
    Thanks...

    I've got an issue using smart builds.
    Any time I click on the smart build button on the tool bar or the actions tab in the inspector window, I get the spinning beach ball of death.
    I'm not sure if it's an issue with hardware or software.
    I've tried deleting quicktime codecs, final cut plugins, etc.
    None of them seem to work.
    Reinstalling iWork hasn't helped either.
    Anyone else have this problem?
    Thanks...

  • I am experiencing problems when using the calendar minimonth function which causes the operation to freeze up.

    I have, for a couple of months now, experienced a freeze up, and the firefox not responsive when using a date search box like when trying to pick a date for getting a hotel room or booking a rental car. I noticed that I had a message box that had been coming up telling me about unresponsive script detailing something like chrome/calendar/minimonth. I could not find that in my computer anywhere. It happens with ie as well. Any thoughts? This is driving me crazy.

    Klaus,
    Thanks although you didn't know the answer somebody out there did and I cannot believe how simple the issue was - assign a name to the computer through System Preferences>Sharing
    excellent result, it's really nice to stop banging my head against that brick wall
    Stuart Mcf

Maybe you are looking for

  • Push data from BW 3.5 to XI 3.0 via ABAP proxy

    Hi,   I have the following scenario: I´m in BW 3.5 trying to send data to XI 3.0 via ABAP proxy. I´ve already found a "How-to" to do build this scenario, but something does not work. I think that problem is when a try do the logon from BW to XI becau

  • Bridge won't run

    I have CS6. Bridge has quit running. I can't run it from the Starrt page, I can't launch it from F)Browse in Bridge. How do I reinstall just Bridge, or do I have to reinstall CS6 in total? Thanks.

  • Printed PDF does not match what is on screen

    Not sure this is the right place to post (have just posted on Adobe's equivalent of this - belt and braces), but I am having an issue with PDFs when printed vs. what they look like on screen. In short, when they are printed, it is as if there are som

  • Buttons in panel gives error

    i created a class that has many buttons and each button calls something on a Canvas. but i keep getting errors. THE ERROR ARE C:\WINDOWS\Desktop\WINDOWS\pickdraw\ShapeButtons.java:36: local variable drawArea is accessed from within inner class; needs

  • Adobe Shockwave Player 11.6.6.636

    Was trying to install Adobe Shockwave Player 11 on my Mac, but my Mac won't run the installer...