CL_EHCSM_SPC_FIELD_CONTROL - Internal: Field Control Handling of EHS Spec. Profiles
Fill RESBD Structure from EBP Component Structure TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
Functionality
This class is used internally only. It provides methods for UI field control that support the specificationmanagement API and it enables application development based on a Web UI. It performs the field control of specification profile nodes. This class is located in package CBUI_BO.
The field names of a profile are determined based on the components of the corresponding DDIC structure.This means the field control interprets the DDIC structure and assigns the components of the structure as field names to the profile.
Relationships
API consumers interacts exclusively with the profile class CL_EHCSM_SPC_PROFILES. However, the profileclass does not host any profiles. This is done in this field control class. The field control classprovides corresponding methods for profile retrieval. Each piece of profile information is maintained and hosted within this field control class.
The access API class CL_EHCSM_SPC_ACCESS influences the profile using the public method SET_PROFILE_MODE. Profile settings are mainly influenced by the status of a particular specification and Customizing settings.
Public Methods
- CHANGE_VAT_ON_DISPLAY
The behavior of retrieving the profile properties differs for value assignmenttypes of EHS specifications: The field names of the profile refer to the value assignment type on display.The value assignment type on display is either defined using the method RETRIEVE_VAL_INST_BY_VAT ofCL_EHCSM_SPC_ACCESS or using this public method CHANGE_VAT_ON_DISPLAY. The field properties of suchvalue assignment type profiles are influenced by the Customizing settings in activity Settings for Value Assignment.
- GET_ACTION_PROFILE_BY_ID
This method returns the profile properties for actions (operations) for a given profile according to its ID
- GET_ACTION_PROFILE_BY_INST
This method returns the action profile properties for actions (operations) for a given profile based on an instance.
- GET_INSTANCE
This method returns the singleton instance of this class.
- GET_PROFILE_BY_ID
This method determines a particular profile by its ID.
- GET_PROFILE_BY_INST
This method determines the profile for a particular instance.
- RESET_PROFILES
This method resets all internal profile settings. You must call this method when data changes have been cleaned up.
- SET_ACCESS_DETAILS
This method sets the mode for profile - either read-only or edit mode.
- SET_PROFILE_MODE
This method influences the properties of one or more than one profile at thesame time. You can use this method to switch the properties for nodes from edit mode to read-only mode and vice versa.
Example
Notes
This class is implemented following the singleton pattern. In consequence, no public constructor exists and you must call the GET_INSTANCE method in order to get an instance of this class.
Further information
ROGBILLS - Synchronize billing plans Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 3241 Date: 20120526 Time: 115317 triton ( 137 ms )






