on 06-02-2014 3:21 PM
Hi,
I have a requirement where I need to check if created date > (today's date-180) then Yes else No. I can write this statement in Bex query designer like below:
(Create date>(today's date-180))*1+0
However I want to display YES if conditions meets else NO. Is there any way to achieve this in query designer formula.
Thanks,
Arvind
You cannot populate text at BEx level.
The only workaround which you can do--go to query properties--display tab--show zero as text--and you can write NO there.
But this will be applied globally for all 0's in the query.
Again 1 will remain as 1 and 0 can be replaced with text by using the above property.
Regards,
AL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As you know, we can't populate texts on the fly in Bex unless the value is Zero. Instead i have an idea. Try this:--
Create a new Char Infoobject(text) of length 3 and maintain two records YES and NO
Write a BADI for your Virtual KF with your logic. This way you can populate Text dynamically.
Else, you can write a VBA Macro in Analyzer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Arvind,
This is easier achieved at report level, if your requirement is inline with this.
Regards,
Srilakshmi B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.