on 04-27-2016 12:38 PM
Dear Team,
I am writing global dependency in CU01 (Dependency type: Procedure) as below. And I am getting below error. Is it not possible include ELSE also along with IF condition?
In the below dependency, if I remove the ELSE part, it working fine. How to include ELSE part also in the below dependency?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm happy that it's working.
The suggested code was however working for me, it's a little bit weird that it wasn't for you... Here follows my quick testing in the sandbox system:
CAR_TYPE not equal to RACE:
CAR_TYPE equal to RACE
Anyway, it's okay with your solution, too. As usual, we have several ways to reach the same aim, that are equivalent.
Thanks anfd bye,
Flavio
You can use NE from Syntax of Object Dependencies.
OR
" Create with CT04 COND_VAR TYPE C(4).
COND_VAR = 'FALSE',
COND_VAR = 'TRUE' IF RACE = 'ONE',
$SELF.MATERIAL_PLANT = '1001' IF COND_VAR = 'TRUE',
$SELF.MATERIAL_PLANT = '1002' IF COND_VAR = 'FALSE'.
Complex statements can be executed with ABAP developed functions in transaction CU65. Check Variant Functions with an example and Variant Function with PFUNCTION & FUNCTION call.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.