/AWS1/IF_IOI=>IMPORTDECODERMANIFEST()¶
About ImportDecoderManifest¶
Creates a decoder manifest using your existing CAN DBC file from your local device.
The CAN signal name must be unique and not repeated across CAN message definitions in a .dbc file.
Method Signature¶
METHODS /AWS1/IF_IOI~IMPORTDECODERMANIFEST
IMPORTING
!IV_NAME TYPE /AWS1/IOIRESOURCENAME OPTIONAL
!IT_NETWORKFILEDEFINITIONS TYPE /AWS1/CL_IOINETWORKFILEDEFN=>TT_NETWORKFILEDEFINITIONS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ioiimpdecodermanife01
RAISING
/AWS1/CX_IOIINTERNALSERVEREX
/AWS1/CX_IOIACCESSDENIEDEX
/AWS1/CX_IOICONFLICTEXCEPTION
/AWS1/CX_IOIDECODERMANIFESTV00
/AWS1/CX_IOIINVALIDSIGNALSEX
/AWS1/CX_IOIRESOURCENOTFOUNDEX
/AWS1/CX_IOITHROTTLINGEX
/AWS1/CX_IOIVALIDATIONEX
/AWS1/CX_IOICLIENTEXC
/AWS1/CX_IOISERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/IOIRESOURCENAME /AWS1/IOIRESOURCENAME¶
The name of the decoder manifest to import.
it_networkfiledefinitions TYPE /AWS1/CL_IOINETWORKFILEDEFN=>TT_NETWORKFILEDEFINITIONS TT_NETWORKFILEDEFINITIONS¶
The file to load into an Amazon Web Services account.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ioiimpdecodermanife01 /AWS1/CL_IOIIMPDECODERMANIFE01¶
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->importdecodermanifest(
it_networkfiledefinitions = VALUE /aws1/cl_ioinetworkfiledefn=>tt_networkfiledefinitions(
(
new /aws1/cl_ioinetworkfiledefn(
io_candbc = new /aws1/cl_ioicandbcdefinition(
it_candbcfiles = VALUE /aws1/cl_ioinetworkfileslist_w=>tt_networkfileslist(
( new /aws1/cl_ioinetworkfileslist_w( '5347567362473873563239796247513D' ) )
)
it_signalsmap = VALUE /aws1/cl_ioimodelsignalsmap_w=>tt_modelsignalsmap(
(
VALUE /aws1/cl_ioimodelsignalsmap_w=>ts_modelsignalsmap_maprow(
value = new /aws1/cl_ioimodelsignalsmap_w( |string| )
key = |string|
)
)
)
iv_networkinterface = |string|
)
)
)
)
iv_name = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_resourcename = lo_result->get_name( ).
lv_arn = lo_result->get_arn( ).
ENDIF.