on 11-19-2007 10:21 AM
Hi everybody,
Is it possible to have a variable that gets its value depending on a condition?
For instance:
If Attribute of Characteristic = TRUE then
Variable = Not asigned (#)
Else
Variable= Time period
Thanks a lot!
Hi,
Why dont you create a BEx variable of type Exit?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I would need an example of an exit that make reference to global variable.
The sample code tha I've got I think is related to older versions because it referes to planning area, level, etc. I don't know if this has changed in IP (BW 7.0)
Can you point me to any samples of code related to the use of global variables?
Thank you very much!
Hi Alfred,
I think you can write the same logic in a FOX...similar to what you have mentioned.
could be something like....
Data AAA type I/F...(depending on the char).
AAA = ATRV(attribure,Char).
If AAA = TRUE
Variable = Not asigned (#)
Else.
Variable= Time period
Endif.
Try and let us know if you face any issues.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yes, I thought the same but, how do you assign a value in the FOX formula to a global variable? (I know how to do it in a local variable but not a global one)
is there an easy way to do it? or you need to use an ABAP call?
Maybe I've to use a symbol as & or % with the variable name, I don't know how and it makes me crazy.
Thank you for your help!
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.