on 01-21-2008 1:49 PM
pls help me how to write a customer exit for displaying the debit/credit account for present fiscal year, previous fiscal year, last to last fiscal year and before that.
Denella,
is there a specific reason why you need to create an exit variable? You can just use the variable offset. as an example, you can use one Variable - 0P_FYRA (Current Fiscal Year). Put the restriction in each column as follows:
Current year = 0P_FYRA
Prior year = 0P_FYRA-1
Year before that = 0P_FYRA-2
and so forth
to use the offset, first transfer the variable into the Selection half of the screen, and then you will see the -/+ button on the top/right.
Would this be a solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can u just gimme the code for this???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi D' souza,
Check this code....
VARIABLE IS PREPOPULATED WITH CURRENT Year unless it is January 1, gives prior yr
*----
WHEN 'Variable name'.
yesterday = sy-datum - 1.
l_S_range-low = yesterday+0(4).
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO E_T_range.
ENDIF.
hope this helps..
Thanks
Suman
the problem is 0p-FYRA is not included in the cube.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.