on 05-21-2008 8:36 AM
Hi,
I am working on a script and the coding block below is being used.
/: if value1 GT 0.
I1 &value1&,,&value2&.
/: else.
I1 &value1&.
/: endif.
But the condition ins't working actually. For values of VALUE1 less than equal to 0 the else condition is not working. Though simple but unable sort it out. Need solutions for the same.
Regards,
Chaits.
put the same condition in ur program and assign a character flag variable.
check that flag variable in ur script
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/: IF ®UP-KUNNR& = ' '
/: &value1&,,&value2&.
/: ELSEIF ®UP-LIFNR& = ' '
/: &value1&,,&value2&.
/: ENDIF
It should be something like this...no full stops at the end...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the medruckAddress window,in that IfElse is used.
Regards,
Shiva Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
As script doent check the very long conditions (more than 1 line)
The solution is :
Call the Perform Routine from ur script and with in SE38 editor, u have to mention all ur If.........else conditions.
witth in this condition pass the Flag to the variable .
Ex:
If.......
gv_x = 'X'.
else.
gv_x = ' '.
endif.
Now u can use this flag variable in the script editor to check whther it has passed IF condition , or ELSE Condition.
Regards
Kiran Sure
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.