on 2021 Jul 29 10:43 AM
Dear BW Experts,
In one of the BW report, User is entering CALQUATER as a input (20182). In the output, I want to show the data from 20182, 20183, 20184 and 20191. Can you please share, any standard function module which can get next quarters (20183, 20184 and 20191) as output. so that i can show in the report.
Thanks.
Not aware of a standard one for it.
But since quarter is only 4, you can easily create a custom one with following logic.
return
{
if (right substring (1)of user input not eq 4) then A = (user input + 1) else A=year+1 and 1
if (right substring (1)of A not eq 4) then B= (A + 1) else B =year+1 and 1
if (right substring (1)of B not eq 4) then C= (A + 1) else C =year+1 and 1
if (right substring (1)of C not eq 4) then D= (A + 1) else D =year+1 and 1
}
Hope it helps
Regards,
Rathy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.