/AWS1/IF_PRN=>GETTEMPLATESYNCCONFIG()¶
About GetTemplateSyncConfig¶
Get detail data for a template sync configuration.
Method Signature¶
METHODS /AWS1/IF_PRN~GETTEMPLATESYNCCONFIG
IMPORTING
!IV_TEMPLATENAME TYPE /AWS1/PRNRESOURCENAME OPTIONAL
!IV_TEMPLATETYPE TYPE /AWS1/PRNTEMPLATETYPE OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_prngettmplsynccfgout
RAISING
/AWS1/CX_PRNACCESSDENIEDEX
/AWS1/CX_PRNINTERNALSERVEREX
/AWS1/CX_PRNRESOURCENOTFOUNDEX
/AWS1/CX_PRNTHROTTLINGEX
/AWS1/CX_PRNVALIDATIONEX
/AWS1/CX_PRNCLIENTEXC
/AWS1/CX_PRNSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_templatename TYPE /AWS1/PRNRESOURCENAME /AWS1/PRNRESOURCENAME¶
The template name.
iv_templatetype TYPE /AWS1/PRNTEMPLATETYPE /AWS1/PRNTEMPLATETYPE¶
The template type.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_prngettmplsynccfgout /AWS1/CL_PRNGETTMPLSYNCCFGOUT¶
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->gettemplatesyncconfig(
iv_templatename = |string|
iv_templatetype = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_templatesyncconfig = lo_result->get_templatesyncconfig( ).
IF lo_templatesyncconfig IS NOT INITIAL.
lv_resourcename = lo_templatesyncconfig->get_templatename( ).
lv_templatetype = lo_templatesyncconfig->get_templatetype( ).
lv_repositoryprovider = lo_templatesyncconfig->get_repositoryprovider( ).
lv_repositoryname = lo_templatesyncconfig->get_repositoryname( ).
lv_gitbranchname = lo_templatesyncconfig->get_branch( ).
lv_subdirectory = lo_templatesyncconfig->get_subdirectory( ).
ENDIF.
ENDIF.