/AWS1/IF_GLU=>GETBLUEPRINT()¶
About GetBlueprint¶
Retrieves the details of a blueprint.
Method Signature¶
METHODS /AWS1/IF_GLU~GETBLUEPRINT
IMPORTING
!IV_NAME TYPE /AWS1/GLUNAMESTRING OPTIONAL
!IV_INCLUDEBLUEPRINT TYPE /AWS1/GLUNULLABLEBOOLEAN OPTIONAL
!IV_INCLUDEPARAMETERSPEC TYPE /AWS1/GLUNULLABLEBOOLEAN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_glugetblueprintrsp
RAISING
/AWS1/CX_GLUENTITYNOTFOUNDEX
/AWS1/CX_GLUINTERNALSERVICEEX
/AWS1/CX_GLUINVALIDINPUTEX
/AWS1/CX_GLUOPERATIONTIMEOUTEX
/AWS1/CX_GLUCLIENTEXC
/AWS1/CX_GLUSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/GLUNAMESTRING /AWS1/GLUNAMESTRING¶
The name of the blueprint.
Optional arguments:¶
iv_includeblueprint TYPE /AWS1/GLUNULLABLEBOOLEAN /AWS1/GLUNULLABLEBOOLEAN¶
Specifies whether or not to include the blueprint in the response.
iv_includeparameterspec TYPE /AWS1/GLUNULLABLEBOOLEAN /AWS1/GLUNULLABLEBOOLEAN¶
Specifies whether or not to include the parameter specification.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_glugetblueprintrsp /AWS1/CL_GLUGETBLUEPRINTRSP¶
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->getblueprint(
iv_includeblueprint = ABAP_TRUE
iv_includeparameterspec = ABAP_TRUE
iv_name = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_blueprint = lo_result->get_blueprint( ).
IF lo_blueprint IS NOT INITIAL.
lv_orchestrationnamestring = lo_blueprint->get_name( ).
lv_generic512charstring = lo_blueprint->get_description( ).
lv_timestampvalue = lo_blueprint->get_createdon( ).
lv_timestampvalue = lo_blueprint->get_lastmodifiedon( ).
lv_blueprintparameterspec = lo_blueprint->get_parameterspec( ).
lv_genericstring = lo_blueprint->get_blueprintlocation( ).
lv_genericstring = lo_blueprint->get_blueprintservicelocation( ).
lv_blueprintstatus = lo_blueprint->get_status( ).
lv_errorstring = lo_blueprint->get_errormessage( ).
lo_lastactivedefinition = lo_blueprint->get_lastactivedefinition( ).
IF lo_lastactivedefinition IS NOT INITIAL.
lv_generic512charstring = lo_lastactivedefinition->get_description( ).
lv_timestampvalue = lo_lastactivedefinition->get_lastmodifiedon( ).
lv_blueprintparameterspec = lo_lastactivedefinition->get_parameterspec( ).
lv_genericstring = lo_lastactivedefinition->get_blueprintlocation( ).
lv_genericstring = lo_lastactivedefinition->get_blueprintservicelocation( ).
ENDIF.
ENDIF.
ENDIF.