on 2012 Oct 01 2:45 AM
Hi BI gurus,
We are currently creating a query that need to show YTD.
The query will have the user to enter the Fiscal Period they want.
And from the fiscal period, the variables will calculate from start of the fiscal year until the month the user entered.
Have any SAP Standard Variables cater for this?
Many thanks,
Vince
Found it,
The Standard BEx Variable to get YTD:-
Create a Selection, and use <(0I_BA104) > to get current YTD.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Kindly check the below link for your requirement.
I think there is no standard variable available to calculate the same,if it had been there then all the experts would have been using it instead of writing that lengthy codes.
Hope that helps.
Regards,
AL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I think there is no such standard SAP variables , you have to write the customer exit to get your requirement.
There is a function module which will get the fiscal year period and from that you can get your requirement.
Regards,
RC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In your case , the user has to pass the fiscal period and based on that you have to get the starting of that fiscal year to till that fiscal period . Is it what your requirement ?
You can get this simply by using the customer exit .
below is the pseudo code :
data wa1 like line of e_t_range.
data wa2 like line of i_t_var_range.
"read the data from i_t_var_range and store it into one variable.
" use the function module to get the fiscal year and store the first period in one variable(let's say var1).
wa1-low = var1.
wa1-high = var2.
wa1-opt = 'BT'.
wa1-sign = 'I'.
APPEND WA1 TO E_T_RANGE.
endif.
Hope you got it,
Regards,
RC
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.