on 10-24-2007 9:54 PM
Hi ,
My req is , If user enter fiscalyera/ period 005/2007 .the total year colum should display total of year 2007 (001/2007 -012/2007) . we don"t want to use fiscal year input .I have to use fiscal year period to input r . How to write a customer exist for this .I need to pass only year .
Appriciate your response
sree
Sree,
Are you saying that one column will have a key fig with 05.2007 and in another column you have the complete year on display?
If so, there is a SAP Exit for All Periods of Current Year, use that in your selection.
Regards
Gill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I didn't write this but I think it should work
DATA: L_S_RANGE TYPE RSR_S_RANGESID.
DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
CASE I_VNAM.
WHEN 'yourvar'.
IF I_STEP=2. "after the popup
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'variablename where user entry'.
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4). "YYYYMM"
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
ENDIF.
Hi
Define in global declaration, you may have already defined range variable so u can use them.
DATA: L_S_RANGE TYPE RSR_S_RANGESID,
LOC_VAR_RANGE LIKE RRRANGEEXIT,
v_fyear(4) TYYPE n.
put it into I_STEP=2
WHEN 'EXITVARNAME'.
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'USERINPUT'.
MOVE LOC_VAR_RANGE+0(4) TO v_fyear.
ENDLOOP.
L_S_RANGE-LOW = v_fyear.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND L_S_RANGE TO E_T_RANGE.
Thanks
Tripple k
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.