CX_BUSINESS_OBJECT::AllocatedObject
Description:
This class function returns the allocated object of the desired type. All allocations stored in the fixed data field "Allocations" are iterated over. For each allocation, the type of object to which the allocation refers is compared with the first parameter. If they match, the object is returned. If the desired object is not available, NULL is returned.
Code example:
...
| Stack | Position | Object type | Brief description |
|---|---|---|---|
| Stack(In) | Top | CX_BUSINESS_OBJECT | A business object |
| Top 1 | INTEGER | FALSE: compare types directly with each other, TRUE: consider inheritance hierarchy | |
| top 2 | STRING | Type to be checked for, e.g. "CX_PHONE | |
| Stack(Out) | Top | CX_BUSINESS_OBJECT | Searched object or NULL |