Problem in saving layout in ALV's

Hi all!
     I am getting a strange problem in ALV's .For an ALV report some users are able to save the layouts where as some are not able to save .Why is it happening so? I have mentioned IS_SAVE = 'X' in my func.module REUSE_ALV_GRID_DISPLAY.Please help.

Hi,
You Have to call the Fm Reuse_alv_variant_f4
SELECTION-SCREEN : BEGIN OF BLOCK blk3 WITH FRAME TITLE text-003.
PARAMETER:p_var TYPE disvariant-variant MODIF ID p2.                    "Variant Part
SELECTION-SCREEN:END OF BLOCK blk3.
Data: wa_variant   TYPE   disvariant,
         wa_variant1  TYPE   disvariant.
CONSTANTS:c_x(1)             TYPE c VALUE'X',
                    lc_a(1)            TYPE c VALUE 'A',
FORM alv_variant .
  wa_variant-username = sy-uname.
  wa_variant-report = sy-repid.
*For variant Part
  CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
    EXPORTING
      is_variant    = wa_variant
      i_save        = lc_a
    IMPORTING
      es_variant    = wa_variant1
    EXCEPTIONS
      not_found     = 1
      program_error = 2
      OTHERS        = 3.
  IF sy-subrc <> 0.
    p_var = wa_variant-variant.
  ELSE.
    p_var = wa_variant1-variant.
  ENDIF.
ENDFORM.                       " alv_variant
After That
*display variant
  wa_variant-report = sy-repid.
  IF NOT p_var IS INITIAL.
    wa_variant-variant = p_var.
  ENDIF.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_callback_program       = sy-repid
      i_callback_pf_status_set = 'PF_STATUS'
      i_callback_user_command  = 'USER_COMMAND'
      is_layout                = lwa_layout
      it_fieldcat              = gi_fieldcat
      is_variant               = wa_variant
      i_default                = c_x
      i_save                   = lc_a
    TABLES
      t_outtab                 = gi_final
    EXCEPTIONS
      program_error            = 1
      OTHERS                   = 2.
Regards
Sandipan

Similar Messages

  • Problem While Saving the editable ALV GRID

    Dear Experts,
    I have a scenario in which i am display the ALV(using class) with some data in the custom container of module pool screen in the non-editable mode.Also i have save and edit buttons.If i click the edit button i have written the code to edit the some columns in the ALV grid, it is working fine.After editing it,when i click the save button then ALV has to refreshed with edited data and then it should go to non editable mode but it is not working.I have written the code for changing the editable ALv to non editable mode as follows :
      call method c_alvgd->set_ready_for_input
        exporting
          i_ready_for_input = 0.
    *****Row and column of the alv are refreshed after changing values
      stable-row = 'X'.
      stable-col = 'X'.
    *REfreshed ALV display with the changed values
    *This ALV is non editable and contains new values
      call method c_alvgd->refresh_table_display
        exporting
          is_stable = stable
        exceptions
          finished  = 1
          others    = 2.
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    Could you Suggest me solution for this issue ?
    Thanks & Regards,
    R.Dhineshraj.

    Dhinesh,
    I suppose that you are able to get your changes values on screen but not able to get your field in DISPLAY mode from editable mode, let me know if this is not your problem.
    When you press SAVE, after the PAI, again PBO will run and hence the editable code for that field will overwrite which will keep it editable.
    So, do something like this.
    data: gv_edit value 'X'.....  "global variable in TOP include
    PBO....
    loop at ...
    if gv_edit = 'X'.
    CALL METHOD lo_alv->set_ready_for_input
      EXPORTING
        i_ready_for_input = 1.
    else.
    CALL METHOD lo_alv->set_ready_for_input
      EXPORTING
        i_ready_for_input = 0.
    endif.
    endloop.
    PAI.
    when 'SAVE'.
    gv_edit =  space.
    When 'EDIT'.
    gv_edit = 'X'.
    Regards,
    Diwakar

  • Fields present in the saved layout of ALV

    Hi All,
    I have a report which has 20 fields in output.
    I have saved a layout with only 10 fields and I am using these default layout while executing the program.
    Is there any possibility to get the fields in the layout without actually going to the report output?
    When I run this report in background mode I am downloading the fields into an excel and sending it to an email.Though the layout has ten fields, all the 20 fields are downloaded into the excel.This is because I have taken all the possible fileds into the excel.
    Is there any possibilty to look at the fields present in the layout and pass only those fields data to the excel?
    Thanks
    Sandeep

    You should be able to do this as the data is obviously held inside SAP - but the approach may differ a little depending on how your table catalog is defined.  The best starting point would probably be function REUSE_ALV_VARIANT_SELECT - have a look at include RJITMON_DOWNLOAD for example (if it's in your system) that uses this to read the variant and assemble a download.  Otherwise you may need to delve down a layer or two into the function modules that REUSE_ALV_VARIANT_SELECT calls (e.g.   LT_VARIANT_LOAD, LT_DBDATA_READ_FROM_LTDX, &  LT_FC_LOAD) - if you do a where-used on these you will probably find an example you can copy the logic for determining the variant column attributes from.
    Jonathan

  • Problem in changing layout of ALV to excel

    Hello everyone,
    I have developed an ALV program, wherein I need to show the graphs for the same.
    For this, I need my data in excel format, so that I can write some macros ,and do the further processing on it(I am using an appraoch I found on SDN, "Report with graph").
    I got to know, that I need <b>SAP R/3: Add On:Interactive Excel</b>.
    I asked the BASIS guys to install it, but even after installing it, I am unable to view the data in Excel layout, when I do Change LAyout->View->Microsoft Excel.
    Could anyone let me know if there is any other setting which is required to view the data in excel?On the excel side, we can change the security level(Tools->Macro->Security) to either low, medium or high.
    Is there any such provision in SAP?
    Kindly suggest your answers, as it is important for me to get the data in excel.
    Points will be rewarded.
    Thanks and regards,
    Prerna

    Hi,
    I have already tried what you have just mentioned.
    I searched the entire SDN, for this, and this was one of the replies   
    But still we don't get the data(Even you didn't get it, right?).
    when we change the layout to excel(Excel Inplace), there are 2 sheets by default:-
    Rawheader and Rawdata.The data comes in RAwheader sheet.
    But there is some setting on the BASIS side, which need to be done, in order for it to work.
    I have asked my BASIS colleagues and some of my senior consultants to look into the same.
    They will let me know.
    I would also suggest you try your program on another PC.
    I will let you know as soon as I get any replies from my colleagues.
    Thanks and regards,
    Prerna

  • Saving layout in ALV display

    Hi,
    I am using both is_variant, i_save parameters in this method, but still am not getting save layout button on my grid.
    ls_variant-REPORT = sy-repid.
      CALL METHOD w_alv1->set_table_for_first_display
        EXPORTING
          is_variant                    = ls_variant
          i_save                        = 'A'
          i_default                     = 'X'
          is_layout                     = it_layout
        CHANGING
          it_outtab                     = <fs1>
          it_fieldcatalog               = it_fcat
          it_sort                       = it_sort
        EXCEPTIONS
          invalid_parameter_combination = 1
          program_error                 = 2
          too_many_lines                = 3
          OTHERS                        = 4.
    Please sujjest me.
    Thanks,
    Prathap

    sample code:
    gs_variant-report = g_repid.        "Program name
    CALL METHOD grid1->set_table_for_first_display         
         EXPORTING it_toolbar_excluding = gt_ui_functions  
                   is_print             = gs_print         
                   is_layout            = gs_layout        
                   i_save               = x_save           
                   is_variant           = gs_variant       
         CHANGING  it_outtab            = gt_deldef        
                   it_fieldcatalog      = pt_fieldcat.     
    Also c
    heck if you have authorization to all basic ALV functiobnalities.

  • Problem with same layout (variant) for two ALV Grid and ALV Tree

    Hello!
    I have two docking containers on the screen. On the left i have cl_gui_alv_tree, on the right cl_salv_table.
    When a user set a default layout for ALV Grid (or ALV Tree), raport starts and sets this layout in both objects (tree and grid).
    How to avoid this?

    Hi,
    Take Two radio buttons.
    First radion button display the two containers in grid format,
    second radio button display the two containers in tree format base on user selection.
    CREATE OBJECT G_DOCING_CONTAINER
        EXPORTING PARENT = G_CUSTOM_CONTAINER."G_CONTAINER.
    DISPLAY THE DATA IN GRID FORMATA
    CREATE OBJECT r_grid
        EXPORTING
          i_parent          = G_DOCING_CONTAINER
    CALL METHOD g_docing_container->set_width
          EXPORTING
            width      = 1300.
    DISPLAY THE GRID DATA IN SECOND CONTAINER
    CREATE OBJECT r_grid1
        EXPORTING
          i_parent          = G_DOCING_CONTAINER
    CALL METHOD g_docing_container->set_width
          EXPORTING
            width      = 1300.
    OTHERWISE WE CAN DISPLAY THE TWO CONTAINERS DATA IN A GRID FORMAT
    CREATE OBJECT g_tree
        EXPORTING
          parent                = g_docing_container"g_custom_container
    IF R1 = 'X'.  "FOR GRID DISPLAY
    CALL METHOD r_grid1->set_table_for_first_display
    CALL METHOD r_grid2->set_table_for_first_display
    ELSE.
    ************TREE DISPLAY
    ENDIF.
    regards,
    muralii

  • ALV  - default to saved layout

    How can a default to a particular saved layout when using
    REUSE_ALV_GRID_DISPLAY?  I tried using the is_variant parameter but that doesn't seem to work.
    Thank you for any help.

    Make sure that you give all data for the variant.  Also, I think that the name is case-sensitive.  So make sure you check that.
    data: variant type  disvariant.
    * Set layout variant
      variant-report   = sy-repid.
      variant-username = sy-uname.
      variant-variant  = p_var.
    Regards,
    Rich Heilman

  • Save layout in ALV-GRID OO

    Hi
    i'm using ALV-GRID OO and i have problems with
    saving my own layout.
    In the output-liste i have a button to chage the output, but i'm missig
    a button to save the new layout.
      CALL METHOD GR_ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY
       EXPORTING
                 IT_TOOLBAR_EXCLUDING = GT_EXCLUDE
                 IS_LAYOUT                       = GS_LAYOUT
                 I_SAVE                             = 'A'
       CHANGING
                 IT_FIELDCATALOG            = GT_FIELDCAT
                 IT_OUTTAB                       = ITAB.
    Any idea?
    Regards, Dieter

    Make sure that you pass the variant also.
      data: variant type  disvariant.
      variant-report = sy-repid.
      variant-username = sy-uname.
    CALL METHOD GR_ALVGRID->SET_TABLE_FOR_FIRST_DISPLAY
    EXPORTING
    IT_TOOLBAR_EXCLUDING = GT_EXCLUDE
    IS_LAYOUT = GS_LAYOUT
    is_variant             = variant
    I_SAVE = 'A'
    CHANGING
    IT_FIELDCATALOG = GT_FIELDCAT
    IT_OUTTAB = ITAB.
    Regards,
    Rich Heilman

  • Saving Data from ALV.

    hi all.
    I have an issue regarding saving data from alv to data base table.
    The problem is like this. I have an internal table consist of 10 column from three diferent tables.one primary key is there.
    now i have displayed it in alv grid. there is a column of quantity. i made some changes in quantity of some rows. now i want to save it into the database table from which that quantity field fetched.
    i used first check_changed_data method. if the flag is set it means data is changed.
    wat shud i do to save that quantity column into data base.
    Thanks In advance.
    varu

    Hi,
    <b>To modify database or ztable from the ALV grid,you need to do the following:</b>
    ---You have to modify the field Catalog fields (fields that you want to make editable).Set the field <b>EDIT as 'X'</b>.For example if you want to make the field below editable:
    ls_fcat-fieldname = 'CARRID'.
    ls_fcat-edit = 'X'.
    APPEND ls_fcat TO pt_fieldcat.
    ---Call the method below before you call the set_table_for_first_display.
    CALL METHOD ALV_GRID_INSTANCE-><b>set_ready_for_input</b>
    EXPORTING
    i_ready_for_input = 0. ( For Display ) and ('1' for Edit )
    After this put the set_table_for_first_display.
    <b>Now if the ALV data has changed,and you want to change the database or ztable,then in your pf status give a function code for SAVE button in the GUI.
    In the PAI of the screen,in user command module write the following:</b>
    WHEN 'SAVE'.
    <b>call method gr_alvgrid->check_changed_data</b>
    importing e_valid = l_valid.
    if l_valid = 'X'.
    <b>MODIFY spfli FROM TABLE itab_spfli.</b>
    endif.
    <b>(l_valid is a flag.</b>
    DATA:l_valid type c.
    If you want to check if the user has entered any value on the grid, use the Method : CALL METHOD gr_alvgrid->check_changed_data.
    This method returns a flag l_valid which can be checked to see if the data on the ALV grid has been changed or not.)
    Regards,
    Beejal
    **Reward if this helps

  • How to Keep Default Layout of ALV

    I changed layout of ALV, then pressed button "Enter" but not "Save". But when I entered the screen again, the layout was changed to the setting which I changed last time, not default setting.
    Source code is shown below.
         DATA lt_acc_bal_fcat TYPE lvc_t_fcat.
         DATA lt_trans_dtl_fcat TYPE lvc_t_fcat.
         CLEAR gt_copc_bal.
         APPEND LINES OF it_copc_bal TO gt_copc_bal.
         CLEAR gt_trans_detail.
         APPEND LINES OF it_trans_detail TO gt_trans_detail.
         _adjust_data_for_display( ).
         IF gv_grid_inited NE abap_true.
           CLEAR gs_grid_variant.
           CLEAR gs_grid_variant_detail.
           CLEAR gt_trans_dtl_fcat.
           gs_grid_layout-no_rowmark  = abap_true.
    "      gs_grid_layout-sel_mode    = 'A'.
           gs_grid_layout-stylefname  = 'FLD_STYL'.
           gs_grid_variant-report     = sy-repid.
           gs_grid_variant-username   = sy-uname.
           gs_grid_variant-log_group  = '001'.
           "load account balance data to ALV
           CREATE OBJECT go_acc_bal_container
             EXPORTING
               container_name = 'ACC_BAL_CONTAIN'.
           CREATE OBJECT go_acc_bal_grid
             EXPORTING
               i_appl_events = abap_true
               i_parent      = go_acc_bal_container.
           CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
             EXPORTING
               i_structure_name = 'EPIC_S_COPC_BAL'
             CHANGING
               ct_fieldcat      = lt_acc_bal_fcat.
           DATA lt_acc_bal_fcat_a TYPE lvc_t_fcat.
           _adjust_bal_alv_dsp(
             EXPORTING
               it_fcat = lt_acc_bal_fcat    " Field Catalog for List Viewer Control
             IMPORTING
               et_fcat = lt_acc_bal_fcat_a   " Field Catalog for List Viewer Control
           go_acc_bal_grid->set_table_for_first_display(
             EXPORTING
                 is_layout            = gs_grid_layout
                 is_variant           = gs_grid_variant
                 i_save               = 'A'
               CHANGING
                 it_outtab            = gt_copc_bal
                 it_fieldcatalog      = lt_acc_bal_fcat_a
           "load trasaction detail data to ALV
           CREATE OBJECT go_acc_trans_dtl_container
             EXPORTING
               container_name = 'TRANS_DTL_CONTAIN'.
           CREATE OBJECT go_acc_trans_dtl_grid
             EXPORTING
               i_appl_events = abap_true
               i_parent      = go_acc_trans_dtl_container.
           CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
             EXPORTING
               i_structure_name = 'COPC_S_TRANS_DETAIL'
             CHANGING
               ct_fieldcat      = lt_trans_dtl_fcat.
           DATA lt_trans_dtl_fcat_a TYPE lvc_t_fcat.
           _adjust_detail_alv_dsp(
             EXPORTING
               it_fcat = lt_trans_dtl_fcat    " Field Catalog for List Viewer Control
             IMPORTING
               et_fcat = gt_trans_dtl_fcat   " Field Catalog for List Viewer Control
           gs_grid_variant_detail = gs_grid_variant.
           gs_grid_variant_detail-log_group = '002'.
           go_acc_trans_dtl_grid->set_table_for_first_display(
             EXPORTING
                 is_layout            = gs_grid_layout
                 is_variant           = gs_grid_variant_detail
                 i_save               = 'A'
               CHANGING
                 it_outtab            = gt_trans_detail
                 it_fieldcatalog      = gt_trans_dtl_fcat
           gv_grid_inited = abap_true.
         ENDIF.
         go_acc_bal_grid->refresh_table_display( ).
         go_acc_trans_dtl_grid->refresh_table_display( ).
    I want to keep layout of ALV default setting when I enters screen each time. Please help me solve this problem.

    Hi,
    are you refreshing ALV when pressing enter? maybe you should not refresh when pressing enter, or provide the right variant when refreshing.
    regards
    Stefan Seeburger

  • Sving layout with ALV block list

    1) I am not able to save layout for alv block. How this can be done?
    2) Can this be saved for all blocks if the fields of all blocks are the same?

    Hi,
    1. not possible with the ALV BLOCK list.
    2. No option avaialble for this in case of Block list.
    for normal list you have variant option.
    Regards
    vijay

  • Layout in ALV Grid in OO ABAP

    Hello friends,
    I want the ALV Grid to be displayed with a default layout. I am able to get the saved layout on the selection screen but when I select that layout still the output layout is not taking it.
    Please refer the code which I have written.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_layout.
      PERFORM variant_search CHANGING p_layout.
    FORM variant_search  CHANGING p_layout TYPE slis_vari.
      DATA : lv_exit      TYPE c,
             ls_variant   TYPE disvariant.
      ls_variant-report = syst-repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          is_variant    = ls_variant
          i_save        = 'A'
        IMPORTING
          e_exit        = lv_exit
          es_variant    = ls_variant
        EXCEPTIONS
          not_found     = 1
          program_error = 2
          OTHERS        = 3.
      IF sy-subrc EQ 0 AND lv_exit IS INITIAL.
        p_layout = ls_variant-variant.
      ENDIF.
    ENDFORM.                    " variant_search
    *-------The above piece of code helps me to save a layout.
    Now when I enter the saved layout in my parameter, I want the output to take this layout and display the grid, but I dont know why it is not taking this layout. Please refer the code which I have written.
            lr_layout = gr_alv->get_layout( ).
            key-report = sy-repid.
            lr_layout->set_key( key ).
            lr_layout->set_save_restriction( cl_salv_layout=>restrict_none ).
    Please let me know how can I achieve this.
    Regards,
    Salil

    Salil,
    Here is some code that uses a default variant.
    *& SELECTION-SCREEN
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: s_werks FOR  marc-werks,
                    s_matnr FOR  mara-matnr,
                    s_uname FOR  sy-uname,
                    s_datum FOR  sy-datum,
                    s_uzeit FOR  sy-uzeit,
                    s_mtart FOR  mara-mtart,
                    s_matkl FOR  mara-matkl.
    PARAMETERS:     p_toler(3) TYPE n.
    SELECTION-SCREEN: END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK v1 WITH FRAME.
    PARAMETERS: p_vari LIKE disvariant-variant.
    SELECTION-SCREEN END OF BLOCK v1.
    *& Event INITIALIZATION
    INITIALIZATION.
      PERFORM set_defaults.
      PERFORM default_variant CHANGING p_vari.
    Event AT SELECTION-SCREEN ON VALUE-REQUEST
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
      PERFORM f4_for_variant CHANGING p_vari.
    *&      Form  default_variant
          text
         <--PL_VARI  variant
    FORM default_variant  CHANGING pl_vari.
      g_repid = sy-repid.
    set options: save variants userspecific or general
      g_save = 'A'. " 'A' = standard and user-specific saving
    initialize variant
      CLEAR gs_variant.
      gs_variant-report = g_repid.
    get default variant
      gs_xvariant = gs_variant.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
        EXPORTING
          i_save     = g_save
        CHANGING
          cs_variant = gs_xvariant
        EXCEPTIONS
          not_found  = 2.
      IF sy-subrc = 0.
        pl_vari = gs_xvariant-variant.
      ENDIF.
    ENDFORM.                    " default_variant
    *&      Form  f4_for_variant
          text
         <--PL_VARI  variant
    FORM f4_for_variant  CHANGING pl_vari.
    display variant selection dialog box
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                is_variant          = gs_variant
                i_save              = g_save
              it_default_fieldcat =
           IMPORTING
                e_exit              = g_exit
                es_variant          = gs_xvariant
           EXCEPTIONS
                not_found = 2.
      IF sy-subrc = 2.
        MESSAGE ID sy-msgid TYPE 'S'      NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        IF g_exit = space.
          pl_vari = gs_xvariant-variant.
        ENDIF.
      ENDIF.
    ENDFORM.                    " f4_for_variant
    MODULE status_0100 OUTPUT
    MODULE status_0100 OUTPUT.
      SET PF-STATUS '100'.
      SET TITLEBAR '100'.
      IF o_container IS INITIAL.
        REFRESH: t_fieldcat,
                 t_sortcat,
                 t_groupcat,
                 gt_exclude.
        CREATE OBJECT o_container
          EXPORTING container_name = 'CONTAINER'.
    Create TOP-Document
        CREATE OBJECT o_dyndoc_id
        EXPORTING style = 'ALV_GRID'.
    Create Splitter for custom_container
        CREATE OBJECT o_splitter
        EXPORTING parent  = o_container
        rows    = 2
        columns = 1.
        CALL METHOD o_splitter->get_container
          EXPORTING
            row       = 1
            column    = 1
          RECEIVING
            container = o_parent_top.
        CALL METHOD o_splitter->get_container
          EXPORTING
            row       = 2
            column    = 1
          RECEIVING
            container = o_parent_grid.
    Set height for g_parent_html
        CALL METHOD o_splitter->set_row_height
          EXPORTING
            id     = 1
            height = 12.
        CREATE OBJECT o_grid
          EXPORTING i_parent = o_parent_grid.
        gs_layout-smalltitle = 'X'.
        gs_layout-no_rowmark = ' '.
        gs_layout-cwidth_opt = 'X'.
        gs_layout-zebra      = 'X'.
        gs_layout-sel_mode   = 'D'.
        gs_variant-report    = sy-cprog.
        gs_variant-variant   = p_vari.
        gs_exclude = cl_gui_alv_grid=>mc_fc_info.
        APPEND gs_exclude TO gt_exclude.
        gs_exclude = cl_gui_alv_grid=>mc_fc_graph.
        APPEND gs_exclude TO gt_exclude.
        CALL METHOD o_grid->set_3d_border
          EXPORTING
            border = 1.
        SET HANDLER lcl_event_handler=>hotspot_click FOR o_grid.
        SET HANDLER lcl_event_handler=>top_of_page FOR o_grid.
        SET HANDLER lcl_event_handler=>print_top_of_page FOR o_grid.
        CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
          EXPORTING
            i_structure_name = 'Z1271'
          CHANGING
            ct_fieldcat      = t_fieldcat.
        LOOP AT t_fieldcat INTO h_fieldcat.
          CASE h_fieldcat-fieldname.
            WHEN 'MATNR'.
              h_fieldcat-hotspot   = 'X'.
            WHEN 'VBELN'.
              h_fieldcat-hotspot   = 'X'.
            WHEN 'UNAME'.
              h_fieldcat-coltext   = 'Maint. By'.
              h_fieldcat-tooltip   = 'Material maintained by'.
            WHEN 'DATUM'.
              h_fieldcat-coltext   = 'Maint. Date'.
              h_fieldcat-tooltip   = 'Material maintenance date'.
            WHEN 'UZEIT'.
              h_fieldcat-coltext   = 'Maint. Time'.
              h_fieldcat-tooltip   = 'Material maintenance time'.
            WHEN 'EDAYS'.
              h_fieldcat-coltext   = 'EDays'.
              h_fieldcat-tooltip   = 'Elapsed days'.
            WHEN 'ETIME'.
              h_fieldcat-coltext   = 'ETime'.
              h_fieldcat-tooltip   = 'Elapsed time same day'.
            WHEN 'EDATU'.
              h_fieldcat-coltext   = 'Delivery Date'.
              h_fieldcat-tooltip   = 'Delivery date'.
          ENDCASE.
          MODIFY t_fieldcat FROM h_fieldcat.
          CLEAR h_fieldcat.
        ENDLOOP.
        CALL METHOD o_grid->set_table_for_first_display
          EXPORTING
            is_layout            = gs_layout
            i_save               = 'A'
            is_variant           = gs_variant
            it_toolbar_excluding = gt_exclude
          CHANGING
            it_fieldcatalog      = t_fieldcat
            it_sort              = t_sortcat
            it_outtab            = t_rpt.
        CALL METHOD o_grid->list_processing_events
          EXPORTING
            i_event_name = 'TOP_OF_PAGE'
            i_dyndoc_id  = o_dyndoc_id.
      ENDIF.
    ENDMODULE.                    "status_0100 OUTPUT

  • Error while saving layout  for report

    Using BIEE 11. (Win64 Server 2003 R2 - russian edition)
    When designing layout for report and putting text field (dos'nt matter - russ or engl) - I get an error during saving - 'Error when saving layout' (trunslated from russ)
    This happens only when putting text field, with other types of filds all is ok!
    Where can I find more detailed info about my error?
    Also when I choose layout from existing e.g. - Dashboard.xpt and save - I get the same error. When I cut off all text fields from this template - I can successfully save it.
    Thanks

    Check the OSS note 550760 regarding the issue.

  • Problem with saving a pdf file to computer. Continually get an error message " This document could not be saved. There was a problem reading this document (21).

    Need advice on a saving file issue. I'm having problem with saving a .pdf file to computer. Continually get an error message " This document could not be saved. There was a problem reading this document (21). This is new as this error message just recently started to pop-up.

    More information about this issue can be found here:
    https://forums.adobe.com/thread/1672655
    A "quick" fix that worked for me was to uninstall Adobe... then download the base install for Adobe Reader 11.0.
    Then download each of the individual updates and run them sequentially. 
    I've installed back up to the last security update which is version 08 and have been able to do normal Save As operations.
    You will have to disable automatic updates in order to stay at version 08 until Adobe resolves this issue in a later release.
    http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows
    Adobe Reader 11.0 - Multilingual (MUI) installer    AdbeRdr11000_mui_Std
    Adobe Reader 11.0.01 update - Multilingual (MUI) installer    AdbeRdrUpd11001_MUI.msp
    Adobe Reader 11.0.02 update - All languages    AdbeRdrSecUpd11002.msp
    Adobe Reader 11.0.03 update - Multilingual (MUI) installer    AdbeRdrUpd11003_MUI.msp
    Adobe Reader 11.0.04 update - Multilingual (MUI) installer    AdbeRdrUpd11004_MUI.msp
    Adobe Reader 11.0.05 security update - All languages    AdbeRdrSecUpd11005.msp
    Adobe Reader 11.0.06 update - Multilingual (MUI) installer    AdbeRdrUpd11006_MUI.msp
    Adobe Reader 11.0.07 update - Multilingual (MUI) installer    AdbeRdrUpd11007_MUI.msp
    Adobe Reader 11.0.08 security update - All languages    AdbeRdrSecUpd11008.msp

  • Problem while saving date field in custom table

    Hi,
    Iam facing the following problem while saving a date field in custome table
    i have a date field zdate in which the value is 02082010.
    now when i try to insert this value in the custom table it is getting updated as 20/10/0208 , but it should be 08/02/2010
    How can i correct it..
    Regards
    Kumar

    just before saving u might have to use a string reverse FM and then save it..
    CALL FUNCTION 'STRING_REVERSE'
      EXPORTING
        STRING          = p_string
        LANG            = sy-langu
    IMPORTING
       RSTRING          = r_string
    EXCEPTIONS
       TOO_SMALL        = 1
       OTHERS           = 2

Maybe you are looking for

  • Field VIQMSM-MATXT(14) does not exist in the screen SAPLIQS0 7204

    Hi experts, I have a BDC calls QM02 Tcode in a custom report as follow:   PERFORM bdc_dynpro      USING 'SAPLIQS0' '7204'.   PERFORM bdc_field       USING 'BDC_OKCODE'                                 '=REAK'.   PERFORM bdc_field       USING 'BDC_CURS

  • Firewire disk not showing up in save window.

    Hey all, I recently upgraded to Snow Leopard and all seems to have been well until today when I realised my firewire drives aren't showing up in the 'save as' window.  However, the drives are showing up in the scratch drive list in the preferences. 

  • IPhoto Screen Saver Disappeared

    I have iPhoto as my screen saver (the whole library, random order) and today suddenly it stared showing National Geographic photos.  I went into the Desktop & Screen Saver options, and iPhoto is not in the drop down list.  It _does_ appear in the Des

  • Error using multiple subqueries in a from statement - sorry so long

    From the query below, my results should only be 3 rows but, for whatever reason, I'm getting 3 of each operation number. Can someone PLEASE tell me why this is looking more than once? Version - Oracle 9i Here's the query select base.equivalent_operat

  • Question on Branching

    I have defined two conditional branches on a page X 1. If PL/SQL Expression 1 is TRUE then go to Page Y 2. If PL/SQL Expression 1 is FALSE, then go to Page Z. It seems I need to define an additional branch which is UNCONDITIONAL back to same page (X)