SAP ABAP Class CL_HRGRID_DISPLAY (Display of ALV GRID)
Hierarchy
☛
SAP_HRCGB (Software Component) Sub component SAP_HRCGB of SAP_HR
⤷ PY-GB (Application Component) United Kingdom
⤷ PC08 (Package) HR accounting: GB
⤷ PY-GB (Application Component) United Kingdom
⤷ PC08 (Package) HR accounting: GB
Properties
Class | CL_HRGRID_DISPLAY | |
Short Description | Display of ALV GRID | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | PC08 | HR accounting: GB |
Created | 20040331 | SAP |
Last change | 20050411 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | SLIS | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_HRGRID_DISPLAY has no interface implemented.
Friends
Class CL_HRGRID_DISPLAY has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GT_EVENT | Static Attribute | Public | Type reference (TYPE) | SLIS_T_EVENT | event parameter for ALV list | 20040331 | ||
2 | GT_EVENT_EXIT | Static Attribute | Public | Type reference (TYPE) | SLIS_T_EVENT_EXIT | event parameter for ALV list | 20040331 | ||
3 | PRI_PARAMS | Static Attribute | Public | Type reference (TYPE) | PRI_PARAMS | print parameter for regular list output | 20040331 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_FIELD_TO_FIELDCAT | Instance method | Public | Method | Add a new field to a fieldcatalog | 20040331 |
2 | GET_FIELDCAT | Instance method | Public | Method | Creates a fieldcatalog | 20040331 |
3 | OUTPUT_ALV_GRID_FIELDCAT | Instance method | Public | Method | Output of given table via ALV GRID using a fieldcatalog | 20040331 |
4 | OUTPUT_ALV_GRID_STRU | Instance method | Public | Method | Output of given table via ALV GRID using a flat structure | 20040331 |
5 | OUTPUT_ALV_GRID_USER_COMMAND | Instance method | Public | Method | Output of given table via ALV GRID with user command | 20040331 |
6 | VARIANT_DEFAULT | Instance method | Public | Method | Read default layout | 20040331 |
Events
Class CL_HRGRID_DISPLAY has no event.
Types
Class CL_HRGRID_DISPLAY has no local type.
Method Signatures
Method ADD_FIELD_TO_FIELDCAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | FIELDCAT | Call by reference | Type reference (TYPE) | SLIS_T_FIELDCAT_ALV | Field catalog | 20040331 | ||
2 | Importing | NEW_FIELD | Call by reference | Type reference (TYPE) | SLIS_FIELDNAME | Fieldname of the new field in FIELDCATALOG | 20040331 | ||
3 | Importing | REF_FIELD | Call by reference | Type reference (TYPE) | DD03P-FIELDNAME | Reference field in the REF_TAB for the new field | 20040331 | ||
4 | Importing | REF_TAB | Call by reference | Type reference (TYPE) | DD03P-TABNAME | Reference table for the new field | 20040331 | ||
5 | Importing | VOR_FIELD | Call by reference | Type reference (TYPE) | SLIS_FIELDNAME | The new field will be before the VOR_FIELD | 20040331 |
Method ADD_FIELD_TO_FIELDCAT on class CL_HRGRID_DISPLAY has no exception.
Method GET_FIELDCAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | ERROR | Call by reference | Type reference (TYPE) | CHAR1 | Error flag | 20040331 | ||
2 | Changing | FIELDCAT | Call by reference | Type reference (TYPE) | SLIS_T_FIELDCAT_ALV | Fieldcatalog | 20040331 | ||
3 | Importing | REPID | Call by reference | Type reference (TYPE) | SYREPID | Report name | 20050301 | ||
4 | Importing | STRU_NAME | Call by reference | Type reference (TYPE) | DD02L-TABNAME | Structure name | 20040331 |
Method GET_FIELDCAT on class CL_HRGRID_DISPLAY has no exception.
Method OUTPUT_ALV_GRID_FIELDCAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | DATA_TAB | Call by reference | Type reference (TYPE) | STANDARD TABLE | Data to be output | 20040331 | ||
2 | Importing | FIELDCATALOG | Call by reference | Type reference (TYPE) | SLIS_T_FIELDCAT_ALV | Fieldcatalog | 20040331 | ||
3 | Importing | MODE | Call by reference | Type reference (TYPE) | CHAR2 | 'RO' | Editability | 20040331 | |
4 | Importing | REPID | Call by reference | Type reference (TYPE) | SY-REPID | Calling application | 20040331 | ||
5 | Importing | TITLE | Call by reference | Type reference (TYPE) | LVC_TITLE | ALV Control: Title bar text | 20040331 | ||
6 | Importing | VAR | Call by reference | Type reference (TYPE) | DISVARIANT-VARIANT | Layout | 20040331 |
Method OUTPUT_ALV_GRID_FIELDCAT on class CL_HRGRID_DISPLAY has no exception.
Method OUTPUT_ALV_GRID_STRU Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | DATA_TAB | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table name | 20040331 | ||
2 | Importing | MODE | Call by reference | Type reference (TYPE) | CHAR2 | 'RO' | Editability | 20040331 | |
3 | Importing | STRU_NAME | Call by reference | Type reference (TYPE) | DD02L-TABNAME | Structure name | 20040331 | ||
4 | Importing | TITLE | Call by reference | Type reference (TYPE) | LVC_TITLE | ALV Control: Title bar text | 20040331 | ||
5 | Importing | VAR | Call by reference | Type reference (TYPE) | DISVARIANT-VARIANT | Display variant | 20040331 |
Method OUTPUT_ALV_GRID_STRU on class CL_HRGRID_DISPLAY has no exception.
Method OUTPUT_ALV_GRID_USER_COMMAND Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Changing | DATA_TAB | Call by reference | Type reference (TYPE) | STANDARD TABLE | Data to be output | 20040331 | ||
2 | Importing | FIELDCATALOG | Call by reference | Type reference (TYPE) | SLIS_T_FIELDCAT_ALV | Fieldcatalog | 20040331 | ||
3 | Importing | FORM_NAME | Call by reference | Type reference (TYPE) | SLIS_FORMNAME | EXIT routine name for command handling | 20040331 | ||
4 | Importing | GT_EVENT | Call by reference | Type reference (TYPE) | SLIS_T_EVENT | Table of events to perform | 20040331 | ||
5 | Importing | GT_EVENT_EXIT | Call by reference | Type reference (TYPE) | SLIS_T_EVENT_EXIT | Standard fcode exit requests table | 20040331 | ||
6 | Importing | GUIFORM_NAME | Call by reference | Type reference (TYPE) | SLIS_FORMNAME | EXIT rountine name to status | 20040331 | ||
7 | Importing | GUI_EXCL_TAB | Call by reference | Type reference (TYPE) | SLIS_T_EXTAB | Table of inactive function codes | 20040331 | ||
8 | Changing | LAYOUT | Call by reference | Type reference (TYPE) | SLIS_LAYOUT_ALV | List layout specifications | 20040331 | ||
9 | Importing | MODE | Call by reference | Type reference (TYPE) | CHAR2 | 'RO' | Editablility | 20040331 | |
10 | Importing | REPORT | Call by reference | Type reference (TYPE) | SY-REPID | ABAP program, current main program | 20040331 | ||
11 | Importing | STRU_NAME | Call by reference | Type reference (TYPE) | DD02L-TABNAME | Table name | 20040331 | ||
12 | Importing | TITLE | Call by reference | Type reference (TYPE) | LVC_TITLE | ALV Control: Title bar text | 20040331 | ||
13 | Importing | VAR | Call by reference | Type reference (TYPE) | DISVARIANT-VARIANT | The display variant | 20040331 |
Method OUTPUT_ALV_GRID_USER_COMMAND on class CL_HRGRID_DISPLAY has no exception.
Method VARIANT_DEFAULT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | SAVE | Value transfer | Type reference (TYPE) | ANY | Flag for Variants can be saved | 20040331 | ||
2 | Changing | VARI | Call by reference | Type reference (TYPE) | DISVARIANT-VARIANT | Layout | 20040331 | ||
3 | Changing | VARIANT | Call by reference | Type reference (TYPE) | DISVARIANT | Display Variant (External Use) | 20040331 |
Method VARIANT_DEFAULT on class CL_HRGRID_DISPLAY has no exception.
History
Last changed by/on | SAP | 20050411 |
SAP Release Created in | 600 |