Get Example source ABAP code based on a different SAP table
• IS SUPPLIED ABAP_RELAT_EXPR • IS NOT SUPPLIED ABAP_RELAT_EXPR
ABAP_RELEXP > - IS SUPPLIED>
ABAP_SYNTAX ABAP_KEY ... para IS $[NOT$] SUPPLIED ...>
What does it do? This predicate expression checks whether a formal parameter para> of a procedure> is filled or requested. The expression is true if at the call an actual parameter was assigned to the formal parameter. This relational expression is only possible in function modules and methods. For para>, all optional formal parameters can be specified. With the addition NOT>, the expression is true if no actual parameter was assigned to the formal parameter in the call. BEGIN_SECTION VERSION 5 OUT Some specific rules must be observed in the following procedures:
Remote-enabled function modules>
In a remote function call> between two AS ABAP, both must have at least ABAP_RELEASE 4.6 so that IS SUPPLIED> can be used in the called function module.
In a function module called using CALL FUNCTION ... STARTING NEW TASK ...>>, IS SUPPLIED> is not evaluated.
In calls from an external RFC interface, IS SUPPLIED> is evaluated for all currently supported RFC Libraries>. IS SUPPLIED> is not evaluated only when an older RFC Library such as librfc32.dll> is used instead of RFC Software Development Kit for C and C++.
Update function modules> In an update function module called using CALL FUNCTION ... IN UPDATE TASK ...>>, IS SUPPLIED> is not evaluated. In cases where IS SUPPLIED> is not evaluated, the predicate expression returns the value true. END_SECTION VERSION 5 OUT
Latest notes:
In a functionally called> functional method>, the predicate expression IS SUPPLIED> is true for its return value. In this case, a temporary actual parameter is always bound to the return value, which is used as the operand of the current operand position. NON_V5_HINTS
The predicate expression IS SUPPLIED> includes the obsolete expression IS REQUESTED>>. ABAP_HINT_END
ABAP_EXAMPLE_VX5 The logical expression of the first IF> statement in method m1 > is true if an actual parameter is assigned to formal parameter p1> at the call. The check for the initial value would not be sufficient here, because this is the value of the replacement parameter specified with DEFAULT>. The logical expression of the second IF> statement is true if at the call no actual parameter is assigned to formal parameter p2>. ABEXA 01119 ABAP_EXAMPLE_END