‘IS SUPPLIED’ expression use
The expression ‘IS SUPPLIED’ is used inside the methods, It checks an actual parameter is assigned to the formal parameter . It can be used also in function modules but not in update function modules and asynchronous function modules.
The post shows a simple sues of it.
A class with a method and having two optional parameters.
In the code ‘is supplied’ and ‘is not supplied’ expressions are used.
Method call 1, calls the two optional parameters, so these are supplied/requested.
Method call 2 & 3 calls with only one optional parameters. So method call 2, iv_text1 is supplied and iv_text2 is not requested,supplied. and method call 3 is just opposite of method call 2.