SAP ABAP Class CL_PS_USERFIELD_HANDLER (PS HLP User field handler)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
PS-ST (Application Component) Structures
⤷
PS_HLP_MD (Package) Handling Large Projects:-Master Data
⤷
⤷
Properties
| Class | CL_PS_USERFIELD_HANDLER | |
| Short Description | PS HLP User field handler | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | PS_HLP_MD | Handling Large Projects:-Master Data |
| Created | 20080102 | 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_PS_USERFIELD_HANDLER has no interface implemented.
Friends
Class CL_PS_USERFIELD_HANDLER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Type reference (TYPE) | ACTELE_UPD_USERFIELDS_TT | table for updating bapi for activity element | 20080401 | |||
| 2 | Static Attribute | Public | Type reference (TYPE) | ACTELE_USERFIELDS_TT | table for bapi update of activity element | 20080401 | |||
| 3 | Static Attribute | Public | Type reference (TYPE) | ACT_UPD_USERFIELDS_TT | Table for marking the changed user fields for bapi upd. | 20080124 | |||
| 4 | Static Attribute | Public | Type reference (TYPE) | ACT_USERFIELDS_TT | Table type for user fields of activity for bapi update. | 20080124 | |||
| 5 | Static Attribute | Public | Type reference (TYPE) | USRFLD_TT | Internal table type for user fields | 20080221 | |||
| 6 | Static Attribute | Public | Type reference (TYPE) | USRFLD_TT | Internal table type for user fields | 20080221 | |||
| 7 | Static Attribute | Public | Type reference (TYPE) | PSHLP_OVIEW_FETCHED_TTY | Overview Buffer Table | 20080528 | |||
| 8 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_PS_USERFIELD_HANDLER | PS HLP User field handler | 20080109 | |||
| 9 | Static Attribute | Public | Type reference (TYPE) | USRFLD_ST | Structure for user fields | 20080107 | |||
| 10 | Static Attribute | Public | Type reference (TYPE) | USRFLDWBS_TT | Table type with user fields for wbs overview. | 20080130 | |||
| 11 | Static Attribute | Public | Type reference (TYPE) | USRFLD_TT | Internal table type for user fields | 20080107 | |||
| 12 | Static Attribute | Public | Type reference (TYPE) | USRFLDKEY_ST | Structure to return field key based on object no. | 20080108 | |||
| 13 | Static Attribute | Public | Type reference (TYPE) | USRFLDKEY_TT | Table type to store a list of object nos and field keys | 20080108 | |||
| 14 | Static Attribute | Public | Type reference (TYPE) | USRFLDLAB_ST | Structure for field lables in user fields | 20080108 | |||
| 15 | Static Attribute | Public | Type reference (TYPE) | USRFLDLAB_TT | Table type for user field lables. | 20080108 | |||
| 16 | Static Attribute | Public | Type reference (TYPE) | WBS_UPD_USERFIELDS_TT | Table for marking the changed user fields for bapi upd. | 20080123 | |||
| 17 | Static Attribute | Public | Type reference (TYPE) | WBS_USERFIELDS_TT | Table type for user fields of WBS for bapi update. | 20080123 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Method to check if any data is changed | 20080514 | |
| 2 | Static method | Private | Method | This method finds the field key based on the objnr | 20080108 | |
| 3 | Static method | Public | Method | Returns singleton instance | 20080109 | |
| 4 | Instance method | Public | Method | Prepared all the objects for Save as draft | 20080310 | |
| 5 | Instance method | Private | Method | 20080108 | ||
| 6 | Instance method | Public | Method | Reads the dataset for all objects. | 20080204 | |
| 7 | Instance method | Public | Method | 20080103 | ||
| 8 | Instance method | Public | Method | 20080109 | ||
| 9 | Instance method | Public | Method | Perform precommit check before save of userfeild | 20080123 | |
| 10 | Static method | Public | Method | Updates the tables for user fields. | 20080121 | |
| 11 | Instance method | Public | Method | Method to update the overview screen. | 20080320 |
Events
Class CL_PS_USERFIELD_HANDLER has no event.
Types
Class CL_PS_USERFIELD_HANDLER has no local type.
Method Signatures
Method CHECK_DATA_CHANGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_DATA_CHANGED | Value transfer | Type reference (TYPE) | FLAG | General Flag | 20080514 |
Method CHECK_DATA_CHANGED on class CL_PS_USERFIELD_HANDLER has no exception.
Method FIND_FIELD_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20080108 | |||
| 2 | SLWID | Call by reference | Type reference (TYPE) | SLWID | Key word ID for user-defined fields | 20080108 |
Method FIND_FIELD_KEY on class CL_PS_USERFIELD_HANDLER has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_PS_USERFIELD_HANDLER | PS HLP User field handler | 20080109 |
Method GET_INSTANCE on class CL_PS_USERFIELD_HANDLER has no exception.
Method PREPARE_UPDATE_DRAFT Signature
Method PREPARE_UPDATE_DRAFT on class CL_PS_USERFIELD_HANDLER has no parameter.
Method PREPARE_UPDATE_DRAFT on class CL_PS_USERFIELD_HANDLER has no exception.
Method READ_FIELD_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FLD_KEY | Call by reference | Type reference (TYPE) | SLWID | Key word ID for user-defined fields | 20080108 |
Method READ_FIELD_KEY on class CL_PS_USERFIELD_HANDLER has no exception.
Method READ_MASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_OBJNR_TT | Call by reference | Type reference (TYPE) | TT_OBJ_NUM | 20080208 |
Method READ_MASS on class CL_PS_USERFIELD_HANDLER has no exception.
Method READ_SINGLE_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_DYNNR | Call by reference | Type reference (TYPE) | SY-DYNNR | Current Screen Number | 20080103 | |||
| 2 | EX_PROGNAME | Call by reference | Type reference (TYPE) | SY-CPROG | Calling Program | 20080103 | |||
| 3 | IM_FIRST_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20080526 | |||
| 4 | IM_LAST_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20080526 | |||
| 5 | IM_OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20080103 | |||
| 6 | IM_OBJTYPE | Call by reference | Type reference (TYPE) | C | Object Type | 20080130 | |||
| 7 | IM_SCRTYPE | Call by reference | Type reference (TYPE) | C | 20080130 | ||||
| 8 | IM_TYPE | Call by reference | Type reference (TYPE) | IONR-OBART | Object Type | 20080103 |
Method READ_SINGLE_INSTANCE on class CL_PS_USERFIELD_HANDLER has no exception.
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ACTELE_TT | Call by reference | Type reference (TYPE) | ACTELE_USERFIELDS_TT | Table type for bapi update table | 20080401 | |||
| 2 | E_ACTELE_UPD_TT | Call by reference | Type reference (TYPE) | ACTELE_UPD_USERFIELDS_TT | Table type for bapi update | 20080401 | |||
| 3 | E_ACT_TT | Call by reference | Type reference (TYPE) | ACT_USERFIELDS_TT | Table type for user fields of activity for bapi update. | 20080124 | |||
| 4 | E_ACT_UPD_TT | Call by reference | Type reference (TYPE) | ACT_UPD_USERFIELDS_TT | Table for marking the changed user fields for bapi upd. | 20080124 | |||
| 5 | E_WBS_TT | Call by reference | Type reference (TYPE) | WBS_USERFIELDS_TT | 20080122 | ||||
| 6 | E_WBS_UPD_TT | Call by reference | Type reference (TYPE) | WBS_UPD_USERFIELDS_TT | 20080122 |
Method SAVE on class CL_PS_USERFIELD_HANDLER has no exception.
Method SAVE_CHECK Signature
Method SAVE_CHECK on class CL_PS_USERFIELD_HANDLER has no parameter.
Method SAVE_CHECK on class CL_PS_USERFIELD_HANDLER has no exception.
Method UPDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJNR | Call by reference | Type reference (TYPE) | J_OBJNR | Object number | 20080123 |
Method UPDATE on class CL_PS_USERFIELD_HANDLER has no exception.
Method UPDATE_FOR_OVERVIEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_OBJTYPE | Call by reference | Type reference (TYPE) | IONR-OBART | Object Type | 20080320 |
Method UPDATE_FOR_OVERVIEW on class CL_PS_USERFIELD_HANDLER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 604 |