/AWS1/IF_IOM=>UPDATEENTITY()¶
About UpdateEntity¶
Updates an entity.
Method Signature¶
METHODS /AWS1/IF_IOM~UPDATEENTITY
IMPORTING
!IV_WORKSPACEID TYPE /AWS1/IOMID OPTIONAL
!IV_ENTITYID TYPE /AWS1/IOMENTITYID OPTIONAL
!IV_ENTITYNAME TYPE /AWS1/IOMENTITYNAME OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/IOMDESCRIPTION OPTIONAL
!IT_COMPONENTUPDATES TYPE /AWS1/CL_IOMCOMPONENTUPDATEREQ=>TT_COMPONENTUPDATESMAPREQUEST OPTIONAL
!IT_COMPOSITECOMPONENTUPDATES TYPE /AWS1/CL_IOMCOMPOSITECOMPONE03=>TT_COMPOSITECOMPONENTUPSMAPREQ OPTIONAL
!IO_PARENTENTITYUPDATE TYPE REF TO /AWS1/CL_IOMPARENTENTITYUPDREQ OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iomupdateentityrsp
RAISING
/AWS1/CX_IOMACCESSDENIEDEX
/AWS1/CX_IOMCONFLICTEXCEPTION
/AWS1/CX_IOMINTERNALSERVEREX
/AWS1/CX_IOMRESOURCENOTFOUNDEX
/AWS1/CX_IOMSERVICEQUOTAEXCDEX
/AWS1/CX_IOMTHROTTLINGEX
/AWS1/CX_IOMVALIDATIONEX
/AWS1/CX_IOMCLIENTEXC
/AWS1/CX_IOMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_workspaceid TYPE /AWS1/IOMID /AWS1/IOMID¶
The ID of the workspace that contains the entity.
iv_entityid TYPE /AWS1/IOMENTITYID /AWS1/IOMENTITYID¶
The ID of the entity.
Optional arguments:¶
iv_entityname TYPE /AWS1/IOMENTITYNAME /AWS1/IOMENTITYNAME¶
The name of the entity.
iv_description TYPE /AWS1/IOMDESCRIPTION /AWS1/IOMDESCRIPTION¶
The description of the entity.
it_componentupdates TYPE /AWS1/CL_IOMCOMPONENTUPDATEREQ=>TT_COMPONENTUPDATESMAPREQUEST TT_COMPONENTUPDATESMAPREQUEST¶
An object that maps strings to the component updates in the request. Each string in the mapping must be unique to this object.
it_compositecomponentupdates TYPE /AWS1/CL_IOMCOMPOSITECOMPONE03=>TT_COMPOSITECOMPONENTUPSMAPREQ TT_COMPOSITECOMPONENTUPSMAPREQ¶
This is an object that maps strings to
compositeComponentupdates in the request. Each key of the map represents thecomponentPathof thecompositeComponent.
io_parententityupdate TYPE REF TO /AWS1/CL_IOMPARENTENTITYUPDREQ /AWS1/CL_IOMPARENTENTITYUPDREQ¶
An object that describes the update request for a parent entity.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_iomupdateentityrsp /AWS1/CL_IOMUPDATEENTITYRSP¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->updateentity(
io_parententityupdate = new /aws1/cl_iomparententityupdreq(
iv_parententityid = |string|
iv_updatetype = |string|
)
it_componentupdates = VALUE /aws1/cl_iomcomponentupdatereq=>tt_componentupdatesmaprequest(
(
VALUE /aws1/cl_iomcomponentupdatereq=>ts_componentupdsmapreq_maprow(
key = |string|
value = new /aws1/cl_iomcomponentupdatereq(
it_propertygroupupdates = VALUE /aws1/cl_iomcomponentprpgrpreq=>tt_componentprpgrouprequests(
(
VALUE /aws1/cl_iomcomponentprpgrpreq=>ts_componentprpgrpreqs_maprow(
key = |string|
value = new /aws1/cl_iomcomponentprpgrpreq(
it_propertynames = VALUE /aws1/cl_iompropertynames_w=>tt_propertynames(
( new /aws1/cl_iompropertynames_w( |string| ) )
)
iv_grouptype = |string|
iv_updatetype = |string|
)
)
)
)
it_propertyupdates = VALUE /aws1/cl_iompropertyrequest=>tt_propertyrequests(
(
VALUE /aws1/cl_iompropertyrequest=>ts_propertyrequests_maprow(
key = |string|
value = new /aws1/cl_iompropertyrequest(
io_definition = new /aws1/cl_iomprpdefnrequest(
io_datatype = new /aws1/cl_iomdatatype(
io_nestedtype = new /aws1/cl_iomdatatype(
io_relationship = new /aws1/cl_iomrelationship(
iv_relationshiptype = |string|
iv_targetcomponenttypeid = |string|
)
it_allowedvalues = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
(
new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
)
it_mapvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluemap(
(
VALUE /aws1/cl_iomdatavalue=>ts_datavaluemap_maprow(
value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
key = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
)
)
iv_type = |string|
iv_unitofmeasure = |string|
)
io_relationship = new /aws1/cl_iomrelationship(
iv_relationshiptype = |string|
iv_targetcomponenttypeid = |string|
)
it_allowedvalues = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
(
new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
)
it_mapvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluemap(
(
VALUE /aws1/cl_iomdatavalue=>ts_datavaluemap_maprow(
value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
key = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
)
)
iv_type = |string|
iv_unitofmeasure = |string|
)
io_defaultvalue = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
(
new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_mapvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluemap(
(
VALUE /aws1/cl_iomdatavalue=>ts_datavaluemap_maprow(
value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
key = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
)
)
it_mapvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluemap(
(
VALUE /aws1/cl_iomdatavalue=>ts_datavaluemap_maprow(
value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
(
new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
key = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
it_configuration = VALUE /aws1/cl_iomconfiguration_w=>tt_configuration(
(
VALUE /aws1/cl_iomconfiguration_w=>ts_configuration_maprow(
key = |string|
value = new /aws1/cl_iomconfiguration_w( |string| )
)
)
)
iv_displayname = |string|
iv_isexternalid = ABAP_TRUE
iv_isrequiredinentity = ABAP_TRUE
iv_isstoredexternally = ABAP_TRUE
iv_istimeseries = ABAP_TRUE
)
io_value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
(
new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_mapvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluemap(
(
VALUE /aws1/cl_iomdatavalue=>ts_datavaluemap_maprow(
value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
key = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
)
)
it_mapvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluemap(
(
VALUE /aws1/cl_iomdatavalue=>ts_datavaluemap_maprow(
value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
(
new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
key = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_updatetype = |string|
)
)
)
)
iv_componenttypeid = |string|
iv_description = |string|
iv_updatetype = |string|
)
)
)
)
it_compositecomponentupdates = VALUE /aws1/cl_iomcompositecompone03=>tt_compositecomponentupsmapreq(
(
VALUE /aws1/cl_iomcompositecompone03=>ts_compositecomponent04_maprow(
key = |string|
value = new /aws1/cl_iomcompositecompone03(
it_propertygroupupdates = VALUE /aws1/cl_iomcomponentprpgrpreq=>tt_componentprpgrouprequests(
(
VALUE /aws1/cl_iomcomponentprpgrpreq=>ts_componentprpgrpreqs_maprow(
key = |string|
value = new /aws1/cl_iomcomponentprpgrpreq(
it_propertynames = VALUE /aws1/cl_iompropertynames_w=>tt_propertynames(
( new /aws1/cl_iompropertynames_w( |string| ) )
)
iv_grouptype = |string|
iv_updatetype = |string|
)
)
)
)
it_propertyupdates = VALUE /aws1/cl_iompropertyrequest=>tt_propertyrequests(
(
VALUE /aws1/cl_iompropertyrequest=>ts_propertyrequests_maprow(
key = |string|
value = new /aws1/cl_iompropertyrequest(
io_definition = new /aws1/cl_iomprpdefnrequest(
io_datatype = new /aws1/cl_iomdatatype(
io_nestedtype = new /aws1/cl_iomdatatype(
io_relationship = new /aws1/cl_iomrelationship(
iv_relationshiptype = |string|
iv_targetcomponenttypeid = |string|
)
it_allowedvalues = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
(
new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
)
it_mapvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluemap(
(
VALUE /aws1/cl_iomdatavalue=>ts_datavaluemap_maprow(
value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
key = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
)
)
iv_type = |string|
iv_unitofmeasure = |string|
)
io_relationship = new /aws1/cl_iomrelationship(
iv_relationshiptype = |string|
iv_targetcomponenttypeid = |string|
)
it_allowedvalues = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
(
new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
)
it_mapvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluemap(
(
VALUE /aws1/cl_iomdatavalue=>ts_datavaluemap_maprow(
value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
key = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
)
)
iv_type = |string|
iv_unitofmeasure = |string|
)
io_defaultvalue = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
(
new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_mapvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluemap(
(
VALUE /aws1/cl_iomdatavalue=>ts_datavaluemap_maprow(
value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
key = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
)
)
it_mapvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluemap(
(
VALUE /aws1/cl_iomdatavalue=>ts_datavaluemap_maprow(
value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
(
new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
key = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
it_configuration = VALUE /aws1/cl_iomconfiguration_w=>tt_configuration(
(
VALUE /aws1/cl_iomconfiguration_w=>ts_configuration_maprow(
key = |string|
value = new /aws1/cl_iomconfiguration_w( |string| )
)
)
)
iv_displayname = |string|
iv_isexternalid = ABAP_TRUE
iv_isrequiredinentity = ABAP_TRUE
iv_isstoredexternally = ABAP_TRUE
iv_istimeseries = ABAP_TRUE
)
io_value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
(
new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_mapvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluemap(
(
VALUE /aws1/cl_iomdatavalue=>ts_datavaluemap_maprow(
value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
key = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
)
)
it_mapvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluemap(
(
VALUE /aws1/cl_iomdatavalue=>ts_datavaluemap_maprow(
value = new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
it_listvalue = VALUE /aws1/cl_iomdatavalue=>tt_datavaluelist(
(
new /aws1/cl_iomdatavalue(
io_relationshipvalue = new /aws1/cl_iomrelationshipvalue(
iv_targetcomponentname = |string|
iv_targetentityid = |string|
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
key = |string|
)
)
)
iv_booleanvalue = ABAP_TRUE
iv_doublevalue = '0.1'
iv_expression = |string|
iv_integervalue = 123
iv_longvalue = 123
iv_stringvalue = |string|
)
iv_updatetype = |string|
)
)
)
)
iv_description = |string|
iv_updatetype = |string|
)
)
)
)
iv_description = |string|
iv_entityid = |string|
iv_entityname = |string|
iv_workspaceid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_timestamp = lo_result->get_updatedatetime( ).
lv_state = lo_result->get_state( ).
ENDIF.