/AWS1/IF_IOM=>CREATESCENE()¶
About CreateScene¶
Creates a scene.
Method Signature¶
METHODS /AWS1/IF_IOM~CREATESCENE
IMPORTING
!IV_WORKSPACEID TYPE /AWS1/IOMID OPTIONAL
!IV_SCENEID TYPE /AWS1/IOMID OPTIONAL
!IV_CONTENTLOCATION TYPE /AWS1/IOMS3URL OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/IOMDESCRIPTION OPTIONAL
!IT_CAPABILITIES TYPE /AWS1/CL_IOMSCENECAPABILITIE00=>TT_SCENECAPABILITIES OPTIONAL
!IT_TAGS TYPE /AWS1/CL_IOMTAGMAP_W=>TT_TAGMAP OPTIONAL
!IT_SCENEMETADATA TYPE /AWS1/CL_IOMSCENEMETADATAMAP_W=>TT_SCENEMETADATAMAP OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iomcreatescenersp
RAISING
/AWS1/CX_IOMACCESSDENIEDEX
/AWS1/CX_IOMCONFLICTEXCEPTION
/AWS1/CX_IOMINTERNALSERVEREX
/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 scene.
iv_sceneid TYPE /AWS1/IOMID /AWS1/IOMID¶
The ID of the scene.
iv_contentlocation TYPE /AWS1/IOMS3URL /AWS1/IOMS3URL¶
The relative path that specifies the location of the content definition file.
Optional arguments:¶
iv_description TYPE /AWS1/IOMDESCRIPTION /AWS1/IOMDESCRIPTION¶
The description for this scene.
it_capabilities TYPE /AWS1/CL_IOMSCENECAPABILITIE00=>TT_SCENECAPABILITIES TT_SCENECAPABILITIES¶
A list of capabilities that the scene uses to render itself.
it_tags TYPE /AWS1/CL_IOMTAGMAP_W=>TT_TAGMAP TT_TAGMAP¶
Metadata that you can use to manage the scene.
it_scenemetadata TYPE /AWS1/CL_IOMSCENEMETADATAMAP_W=>TT_SCENEMETADATAMAP TT_SCENEMETADATAMAP¶
The request metadata.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_iomcreatescenersp /AWS1/CL_IOMCREATESCENERSP¶
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->createscene(
it_capabilities = VALUE /aws1/cl_iomscenecapabilitie00=>tt_scenecapabilities(
( new /aws1/cl_iomscenecapabilitie00( |string| ) )
)
it_scenemetadata = VALUE /aws1/cl_iomscenemetadatamap_w=>tt_scenemetadatamap(
(
VALUE /aws1/cl_iomscenemetadatamap_w=>ts_scenemetadatamap_maprow(
key = |string|
value = new /aws1/cl_iomscenemetadatamap_w( |string| )
)
)
)
it_tags = VALUE /aws1/cl_iomtagmap_w=>tt_tagmap(
(
VALUE /aws1/cl_iomtagmap_w=>ts_tagmap_maprow(
key = |string|
value = new /aws1/cl_iomtagmap_w( |string| )
)
)
)
iv_contentlocation = |string|
iv_description = |string|
iv_sceneid = |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_twinmakerarn = lo_result->get_arn( ).
lv_timestamp = lo_result->get_creationdatetime( ).
ENDIF.