SAP ABAP Class CL_HRTMC_GRID_FACTORY (Generate n-Box Grid)
Hierarchy
☛
SAP_BS_FND (Software Component) SAP Business Suite Foundation
⤷
CA-EPT-TM (Application Component) Talent Management
⤷
HCM_TMC (Package) HCM: Talent Management Core
⤷
⤷
Properties
| Class | CL_HRTMC_GRID_FACTORY | |
| Short Description | Generate n-Box Grid | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | HCM_TMC | HCM: Talent Management Core |
| Created | 20080403 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_HRTMC_GRID_FACTORY has no interface implemented.
Friends
Class CL_HRTMC_GRID_FACTORY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | TY_FILLED_BOX_COLOR | 'RGB(255,142,000)' | RGB Color for Empty Box | 20080615 | ||
| 2 | Constant | Private | Type reference (TYPE) | HRTMC_DOCUMENT_TYPE | 'GRID_ICON' | Document Type | 20080415 | ||
| 3 | Constant | Private | Type reference (TYPE) | TY_IGS_RFC_DEST | 'IGS_RFC_DEST' | RFC Connection | 20080415 | ||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_MR_API | API for MIME Repository - Basic Functions | 20080403 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | TY_T_DB_URIS | Storage in INDX Table | 20110509 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | W3MIMETABTYPE | ITS: Table Type for MIME Source | 20080403 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | HRTMC_T_GRID_POSITION | Positions in Grid | 20080403 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TY_EMPTY_BOX_COLOR | 'RGB(255,255,255)' | RGB Color for Empty Box | 20080403 | ||
| 9 | Instance attribute | Private | Type reference (TYPE) | TY_HEIGHT | '300' | Height of Grid in Pixels | 20080403 | ||
| 10 | Instance attribute | Private | Type reference (TYPE) | HRTMC_XSTRING | Screen As XSTRING | 20080403 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | W3PARAM-CONT_LEN | HTML content length | 20080403 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | W3PARAM-CONT_TYPE | HTML content type | 20080403 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | TY_LINE_COLOR | 'RGB(193,201,203)' | RGB Color for Lines | 20080403 | ||
| 14 | Instance attribute | Private | Type reference (TYPE) | SAEURI | Link to Photo | 20080403 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | TY_NO_OF_X_VALUES | 3 | Number of Values on the X Axis | 20080403 | ||
| 16 | Instance attribute | Private | Type reference (TYPE) | TY_NO_OF_Y_VALUES | 3 | Number of Values on the Y Axis | 20080403 | ||
| 17 | Instance attribute | Private | Type reference (TYPE) | TY_WIDTH | '300' | Width of Grid in Pixels | 20080403 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Generate Customizing XML | 20080403 | |
| 2 | Instance method | Private | Method | Generate XML Data | 20080403 | |
| 3 | Instance method | Private | Method | Generates a Unique Name from Grid Information | 20080403 | |
| 4 | Instance method | Private | Method | Calculates Best Grid Size As Near As Poss. to Specification | 20091028 | |
| 5 | Instance method | Public | Constructor | CONSTRUCTOR | 20080403 | |
| 6 | Instance method | Private | Method | Provides Grid | 20080411 | |
| 7 | Instance method | Public | Method | Provides Photo Content | 20080403 | |
| 8 | Instance method | Public | Method | Returns the Link to the Photo | 20080403 | |
| 9 | Instance method | Public | Method | Provides File Size of Photo | 20080403 | |
| 10 | Instance method | Public | Method | Provides Type of Photo | 20080403 | |
| 11 | Instance method | Private | Method | Gets the File from Storage If Available | 20080428 | |
| 12 | Instance method | Private | Method | Stores the File in Repository | 20080403 |
Events
Class CL_HRTMC_GRID_FACTORY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_EMPTY_BOX_COLOR | Private | See coding | RGB Color for Empty Box | 20080415 | ty_empty_box_color TYPE c LENGTH 16
|
|
| 2 | TY_FILLED_BOX_COLOR | Private | See coding | RGB Color for Filled Box | 20080615 | ty_filled_box_color TYPE c LENGTH 16
|
|
| 3 | TY_HEIGHT | Private | See coding | Height of Grid in Pixels | 20080415 | ty_height TYPE c LENGTH 4
|
|
| 4 | TY_IGS_RFC_DEST | Private | See coding | RFC Connection | 20080415 | ty_igs_rfc_dest TYPE c LENGTH 32
|
|
| 5 | TY_LINE_COLOR | Private | See coding | RGB Color for Lines | 20080415 | ty_line_color TYPE c LENGTH 16
|
|
| 6 | TY_NO_OF_X_VALUES | Private | See coding | Number of Values on the X Axis | 20080415 | ty_no_of_x_values TYPE c LENGTH 3
|
|
| 7 | TY_NO_OF_Y_VALUES | Private | See coding | Number of Values on the Y Axis | 20080415 | ty_no_of_y_values TYPE c LENGTH 3
|
|
| 8 | TY_S_DB_URI | Public | See coding | Storage in INDX Table | 20110506 | BEGIN OF ty_s_db_uri,
unique_name TYPE char255,
uri TYPE saeuri,
content type xstring,
mimetype type W3PARAM-CONT_TYPE,
END OF ty_s_db_uri
|
|
| 9 | TY_S_POS_CALC | Private | See coding | Structure for Calculating Layout | 20080403 | BEGIN OF ty_s_pos_calc,
left TYPE f,
right TYPE f,
top TYPE f,
bottom TYPE f,
rgb_color TYPE string,
END OF ty_s_pos_calc
|
|
| 10 | TY_T_DB_URIS | Public | See coding | Storage in INDX Table | 20110506 | ty_t_db_uris TYPE STANDARD TABLE OF ty_s_db_uri
|
|
| 11 | TY_T_POS_CALC | Private | See coding | Table for Calculating Layout | 20080403 | ty_t_pos_calc TYPE STANDARD TABLE OF ty_s_pos_calc WITH DEFAULT KEY
|
|
| 12 | TY_WIDTH | Private | See coding | Width of Grid in Pixels | 20080415 | ty_width TYPE c LENGTH 4
|
Method Signatures
Method BUILD_CUSTOM_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_IXML_DOCUMENT | Value transfer | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20080403 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080620 |
Method BUILD_DATA_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_IXML_DOCUMENT | Value transfer | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20080403 |
Method BUILD_DATA_XML on class CL_HRTMC_GRID_FACTORY has no exception.
Method BUILD_UNIQUE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_UNIQUE_NAME | Value transfer | Type reference (TYPE) | CHAR255 | Eindeutiger Name | 20080403 |
Method BUILD_UNIQUE_NAME on class CL_HRTMC_GRID_FACTORY has no exception.
Method CALCULATE_BEST_FIT Signature
Method CALCULATE_BEST_FIT on class CL_HRTMC_GRID_FACTORY has no parameter.
Method CALCULATE_BEST_FIT on class CL_HRTMC_GRID_FACTORY has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_POSITION | Call by reference | Type reference (TYPE) | HRTMC_T_GRID_POSITION | Positionen im Grid | 20080403 | |||
| 2 | IV_BEST_FIT | Call by reference | Type reference (TYPE) | BOOLE_D | 'X' | Konstante Seitenlängen der Zellen erzwingen | 20091028 | ||
| 3 | IV_EMPTY_BOX_COLOR | Call by reference | Type reference (TYPE) | CHAR16 | RGB Farbe für leere Box | 20080403 | |||
| 4 | IV_HEIGHT | Call by reference | Type reference (TYPE) | CHAR4 | '40' | Höhe des Grids in Pixel | 20080403 | ||
| 5 | IV_LINE_COLOR | Call by reference | Type reference (TYPE) | CHAR16 | RGB Farbe für Linien | 20080403 | |||
| 6 | IV_NO_OF_X_VALUES | Call by reference | Type reference (TYPE) | CHAR3 | Anzahl der Ausprägungen auf der X-Achse | 20080403 | |||
| 7 | IV_NO_OF_Y_VALUES | Call by reference | Type reference (TYPE) | CHAR3 | Anzahl der Ausprägungen auf der Y-Achse | 20080403 | |||
| 8 | IV_WIDTH | Call by reference | Type reference (TYPE) | CHAR4 | '40' | Breite des Grids in Pixel | 20080403 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen für Parameter (Tabelle T77TMCPARAMS) | 20080615 |
Method GENERATE_GRID_IMAGE Signature
Method GENERATE_GRID_IMAGE on class CL_HRTMC_GRID_FACTORY has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080615 |
Method GET_IMAGE_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CONTENT | Value transfer | Type reference (TYPE) | XSTRING | Bildinhalt als XString | 20080403 |
Method GET_IMAGE_CONTENT on class CL_HRTMC_GRID_FACTORY has no exception.
Method GET_IMAGE_LINK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_URL | Value transfer | Type reference (TYPE) | SAEURI | Verweis auf das Bild | 20080403 |
Method GET_IMAGE_LINK on class CL_HRTMC_GRID_FACTORY has no exception.
Method GET_IMAGE_SIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_IMAGE_SIZE | Value transfer | Type reference (TYPE) | W3PARAM-CONT_LEN | HTML-Content-Len | 20080403 |
Method GET_IMAGE_SIZE on class CL_HRTMC_GRID_FACTORY has no exception.
Method GET_IMAGE_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_IMAGE_TYPE | Value transfer | Type reference (TYPE) | W3PARAM-CONT_TYPE | HTML-Content-Type | 20080403 |
Method GET_IMAGE_TYPE on class CL_HRTMC_GRID_FACTORY has no exception.
Method IS_IN_STORAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_EXISTS | Value transfer | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20080428 |
Method IS_IN_STORAGE on class CL_HRTMC_GRID_FACTORY has no exception.
Method WRITE_TO_STORAGE Signature
Method WRITE_TO_STORAGE on class CL_HRTMC_GRID_FACTORY has no parameter.
Method WRITE_TO_STORAGE on class CL_HRTMC_GRID_FACTORY has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 701 |