搜档网
当前位置:搜档网 › ALV Grid Report - with Object Oriented SALV Classes - ABAP Development - SCN Wiki

ALV Grid Report - with Object Oriented SALV Classes - ABAP Development - SCN Wiki

ALV Grid Report - with Object Oriented SALV Classes - ABAP Development - SCN Wiki
ALV Grid Report - with Object Oriented SALV ClassesSummaryThis Post narrates the sample code for creating ALV Grid Report with Object Oriented method. Basic Functionalities for ALV Grid display is attained using different SALV Classes.Author(s): Vinod Kumar T Company: NIIT Technologies LimitedCreated on: 05.10.2010Author(s) BioVinod Kumar is an ABAP consultant working with NIIT Technologies Limited.?Class?and Methods used in the Report Class Name Parent Class Method Description CL_SALV_TABLE FACTORY To Create the Instance of ALV Table Object CL_SALV_TABLE CL_SALV_MODEL_LIST GET_LAYOUT Layout Object with Current Settings CL_SALV_TABLE GET_FUNCTIONS Returns Object to Define the functions of the ALV Table CL_SALV_TABLE CL_SALV_MODEL_LIST GET_DISPLAY_SETTINGS Returns Global Settings for ALV Display CL_SALV_TABLE GET_AGGREGATIONS Return Object to Edit Aggregation Functions Settings CL_SALV_TABLE GET_SORTS Return Object to Set all Sort Information CL_SALV_TABLE GET_SELECTIONS Return Object to do Settings for Selection pattern for Row(s) and Column(s) CL_SALV_TABLE CL_SALV_MODEL_BASE SET_TOP_OF_LIST Set the Contents in Top of List in ALV Display CL_SALV_TABLE GET_EVENT Return the Object to manage existing events CL_SALV_TABLE GET_COLUMNS Return individual column objects of Output table CL_SALV_LAYOUT SET_KEY Set Layout Key for Layouts in Report CL_SALV_LAYOUT GET_LAYOUTS Returns all layouts defined for the report CL_SALV_LAYOUT F4_LAYOUTS F4 Help to Display Existing Layouts of the Report CL_SALV_LAYOUT SET_SAVE_RESTRICTION Restriction Methods while saving the Layout CL_SALV_LAYOUT SET_DEFAULT Activate the Default Layout CL_SALV_LAYOUT SET_INITIAL_LAYOUT Set specific Layout as Initial layout while starting ALV Display CL_SALV_FUNCTIONS_LIST CL_SALV_FUNCTIONS SET_ALL Activate all Internal Functions of ALV CL_SALV_DISPLAY_SETTINGS SET_STRIPPED_PATTERN Set ALV Display in Stripped Pattern CL_SALV_DISPLAY_SETTINGS SET_LIST_HEADER Set Title of the ALV Display CL_SALV_SORTS ADD_SORT Define Sort for a Specific Column CL_SALV_SELECTIONS SET_SELECTION_MODE Set the Selection Methods CL_SALV_AGGREGATIONS ADD_AGGREGATION Add Aggregation function of a Table column CL_SALV_FORM_LAYOUT_GRID CREATE_HEADER_INFORMATION Create Header Information in the Cell CL_SALV_FORM_LAYOUT_GRID CL_SALV_FORM_UIE_LAYOUT_GRID ADD_ROW Add New row in the Grid CL_SALV_FORM_LAYOUT_GRID CREATE_LABEL Create Label in Grid Cell CL_SALV_FORM_LAYOUT_GRID CREATE_TEXT Create Text in Grid Cell CL_SALV_FORM_LABEL CL_SALV_FORM_UIE_TEXT_VIEW SET_TEXT Assign Text to the Label in Grid Cell CL_SALV_COLUMNS_TABLE CL_SALV_COLUMNS GET Get the list of Columns of output table CL_SALV_COLUMNS_TABLE CL_SALV_COLUMNS SET_OPTIMIZE Optimize the width of columns CL_SALV_COLUMNS_T

ABLE CL_SALV_COLUMNS SET_KEY_FIXATION Fix the Key columns while Vertical Scrolling CL_SALV_COLUMNS_TABLE CL_SALV_COLUMNS_LIST SET_COLOR_COLUMN Assign colors to the columns in output table CL_SALV_COLUMNS_TABLE CL_SALV_COLUMNS GET_COLUMN Get Properties of Single Column CL_SALV_COLUMN_TABLE CL_SALV_COLUMN GET_DDIC_DATATYPE Get data type of Selected column CL_SALV_COLUMN_TABLE CL_SALV_COLUMN SET_TECHNICAL Set column as Technical (Invisible) CL_SALV_COLUMN_TABLE CL_SALV_COLUMN GET_DDIC_INITTYPE Returns Internal ABAP Data Type CL_SALV_COLUMN_TABLE CL_SALV_COLUMN GET_DDIC_DOMAIN Get the Domain Name of Column CL_SALV_COLUMN_TABLE CL_SALV_COLUMN_LIST SET_CELL_TYPE Set Cell type of Column CL_SALV_COLUMN_TABLE CL_SALV_COLUMN_LIST SET_COLOR Set the color of Single Column CL_SALV_COLUMN_TABLE CL_SALV_COLUMN_LIST SET_KEY Set the column as Key column Sample CodeRemarksSelect Query used for this report is only for representational purpose. Performance of the query is not taken into consideration. Useful Information ALV Grid Report using Object Oriented Programming Concept -->

相关主题