Created
November 2, 2018 10:21
-
-
Save captainabap/71f637ffd347e263b1c081f6fa060047 to your computer and use it in GitHub Desktop.
ZCL_VAR_HANA_EXIT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLASS ZCL_VAR_HANA_EXIT IMPLEMENTATION. | |
METHOD IF_RSROA_VAR_HANA_EXIT~GET_PROPERTIES | |
by database procedure | |
for hdb language SQLSCRIPT. | |
IF :I_VNAM = 'ZJB_CONCAT' THEN | |
c_is_active := 'X'; | |
c_ts_vnam_index = select 'ZJB_VAL1' as vnam, 1 as index from dummy | |
union | |
select 'ZJB_VAL2' as vnam, 2 as index from dummy; | |
END IF; | |
ENDMETHOD. | |
METHOD IF_RSROA_VAR_HANA_EXIT~PROCESS | |
by database procedure | |
for hdb language SQLSCRIPT. | |
IF :i_vnam = 'ZJB_CONCAT' THEN | |
c_value := 'Concatenated: ' || :i_var_value_1 || :i_var_value_2; | |
END IF; | |
ENDMETHOD. | |
ENDCLASS. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment