/AWS1/IF_WAD=>GETLENSVERSIONDIFFERENCE()
¶
About GetLensVersionDifference¶
Get lens version differences.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_lensalias
TYPE /AWS1/WADLENSALIAS
/AWS1/WADLENSALIAS
¶
LensAlias
Optional arguments:¶
iv_baselensversion
TYPE /AWS1/WADLENSVERSION
/AWS1/WADLENSVERSION
¶
The base version of the lens.
iv_targetlensversion
TYPE /AWS1/WADLENSVERSION
/AWS1/WADLENSVERSION
¶
The lens version to target a difference for.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_wadgetlensvrsdiffer01
/AWS1/CL_WADGETLENSVRSDIFFER01
¶
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->/aws1/if_wad~getlensversiondifference(
iv_baselensversion = |string|
iv_lensalias = |string|
iv_targetlensversion = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_lensalias = lo_result->get_lensalias( ).
lv_lensarn = lo_result->get_lensarn( ).
lv_lensversion = lo_result->get_baselensversion( ).
lv_lensversion = lo_result->get_targetlensversion( ).
lv_lensversion = lo_result->get_latestlensversion( ).
lo_versiondifferences = lo_result->get_versiondifferences( ).
IF lo_versiondifferences IS NOT INITIAL.
LOOP AT lo_versiondifferences->get_pillardifferences( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_pillarid = lo_row_1->get_pillarid( ).
lv_pillarname = lo_row_1->get_pillarname( ).
lv_differencestatus = lo_row_1->get_differencestatus( ).
LOOP AT lo_row_1->get_questiondifferences( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_questionid = lo_row_3->get_questionid( ).
lv_questiontitle = lo_row_3->get_questiontitle( ).
lv_differencestatus = lo_row_3->get_differencestatus( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.