Created
April 8, 2020 09:28
-
-
Save cbuckowitz/466e43cadd9f871f121ef8dc03f42dac to your computer and use it in GitHub Desktop.
#ABAP inline date computation in parameter assignment
This file contains hidden or 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
cl_abap_unit_assert=>assert_true( f_cut->check_werk_aktiv( iv_werks = lv_werks iv_keydate = lv_datum ) ). | |
cl_abap_unit_assert=>assert_true( f_cut->check_werk_aktiv( iv_werks = lv_werks iv_keydate = CONV d( lv_datum + 1 ) ) ). | |
cl_abap_unit_assert=>assert_true( f_cut->check_werk_aktiv( iv_werks = lv_werks iv_keydate = CONV d( lv_datum + 456 ) ) ). | |
cl_abap_unit_assert=>assert_false( f_cut->check_werk_aktiv( iv_werks = lv_werks iv_keydate = CONV d( lv_datum - 1 ) ) ). | |
cl_abap_unit_assert=>assert_false( f_cut->check_werk_aktiv( iv_werks = lv_werks iv_keydate = CONV d( lv_datum - 789 ) ) ). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment