Method GET_INSTANCE_ATTRIBUTE_CONVERT
Function
Method GET_INSTANCE_ATTRIBUTE_CONVERT provides an instance of interface IF_UKM_ATTRIBUTE_CONVERT.
Prerequisites
If a preconfigured context is to be used, it must be entered in Customizing. The dependent database tables must be active and you must have access permission.
Parameters
|
Type |
Name |
Description |
|
Import |
IV_MAIN_CONTEXT_ID |
The interface is instantiated for the specific context. Therefore the correct context must already be defined at instantiation. If the context is left initial during the call, the interface is set up for the standard context. This context uses the database tables that are delivered by default with UKMS. |
|
Import |
IV_BUFFER_LINES_MAX |
The processing logic uses internal tables as buffering to accelerate the accesses. The maximum number of entries to be buffered can be limited with the parameter. In this case the implementation makes sure that the buffer is emptied when the limit is reached. |
|
Import |
IV_RUNTIME_GENERATED_CONTEXT |
The parameter defines if the context specified in IV_MAIN_CONTEXT_ID should be a preconfigured context (customizing context) or a runtime-generated context. An IV_MAIN_CONTEXT_ID can be defined at both times. However, different database tables are used as repository. |
|
Export |
ER_IF_UKM_ATTRIBUTE_CONVERT |
This export parameter contains the instance for the required interface. |
Exceptions
The exception CX_UKM_CONTEXT_UNKNOWN is triggered if parameter IV_RUNTIME_GENERATED_CONTEXT = ABAP_FALSE refers to a preconfigured context, but the context specified in IV_MAIN_CONTEXT_ID was not found in the Customizing table.