alv

Question: hi all,
can anyone tell me how to save a layout in ALV.
That option is always disabled.
I am using reuse_alv_block _display.

Kindly help,

Aparna

Answer:
If you are using the function module REUSE_ALV_GRID_DISPLAY, then set the I_SAVE parameter to 'A'.

HTH, Dean.

Oops, I forgot to mention.... I don't know if an 'X' will work but when I did my programming originally, I found that an 'A' will work so I stuck to using the 'A'.

Answer:
Hi,

Personnally, I've always used an 'U' value for the I_SAVE parameter but it seems that (looking through the code) anything different than SPACE would work (e.g. 'X').

Answer:
hai,
Thanks for the reply.
But in Block_display append and block_display ,there is no option for
i_save.

Kindly help.

thank yoi

Answer:
Hi,

I don't quite see what is your "block_display", but in the function module definition, you find a parameter called I_SAVE:
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
  EXPORTING
    I_INTERFACE_CHECK                 = ' '
    I_BYPASSING_BUFFER                =
    I_BUFFER_ACTIVE                   = ' '
    I_CALLBACK_PROGRAM                = ' '
    I_CALLBACK_PF_STATUS_SET          = ' '
    I_CALLBACK_USER_COMMAND           = ' '
    I_CALLBACK_TOP_OF_PAGE            = ' '
    I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    I_CALLBACK_HTML_END_OF_LIST       = ' '
    I_STRUCTURE_NAME                  =
    I_BACKGROUND_ID                   = ' '
    I_GRID_TITLE                      =
    I_GRID_SETTINGS                   =
    IS_LAYOUT                         =
    IT_FIELDCAT                       =
    IT_EXCLUDING                      =
    IT_SPECIAL_GROUPS                 =
    IT_SORT                           =
    IT_FILTER                         =
    IS_SEL_HIDE                       =
    I_DEFAULT                         = 'X'
    I_SAVE                            = ' '     <--- here put an 'X'
    IS_VARIANT                        =
    IT_EVENTS                         =
    IT_EVENT_EXIT                     =
    IS_PRINT                          =
    IS_REPREP_ID                      =
    I_SCREEN_START_COLUMN             = 0
    I_SCREEN_START_LINE               = 0
    I_SCREEN_END_COLUMN               = 0
    I_SCREEN_END_LINE                 = 0
    IT_ALV_GRAPHICS                   =
    IT_ADD_FIELDCAT                   =
    IT_HYPERLINK                      =
    I_HTML_HEIGHT_TOP                 =
    I_HTML_HEIGHT_END                 =
    IT_EXCEPT_QINFO                   =
  IMPORTING
    E_EXIT_CAUSED_BY_CALLER           =
    ES_EXIT_CAUSED_BY_USER            =
  TABLES
    t_outtab                          =
  EXCEPTIONS
    PROGRAM_ERROR                     = 1
    OTHERS                            = 2
          .
Copyright ?2007 - 2008 www.jt77.com