on 08-17-2007 8:51 AM
BEx Analyzer give pop-up window with the following message, please help to solve it. Thanks!
Initial RANGE-SIGN for customer exit variable ZPUTMNTH is correct.
Value "200302 0" for user-exit variable ZPUTMNTH is invalid
Program error class SAPMSSY1 method: UNCAUGHT_EXCEPTION
<b>Diagnosis
The value for the variable ZPUTMNTH is determined in the user exit (RSR00001). In this case, the value 200302 0 was allowed. This value is not valid.
System Response
Procedure
Procedure for System Administration
Check the user exit for variable ZPUTMNTH. Make sure that variables for characteristic values are in internal format and are not compounded. This means, for example, that a date variable must have the value 20000914 and not the value 14.09.2000.</b>
The ABAP code like below:
&----
*& Include ZXRSRU01
&----
DATA: L_S_RANGE TYPE RSR_S_RANGESID.
DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
Data: v_loc_date type d.
Data: v_loc_date1 type d.
Data: v_loc(4) type c.
CASE I_VNAM.
*----
to calculate "month to date" user input is "Calday" Key Date
*----
WHEN 'ZPUTMNTH'.
IF I_STEP = 2. "after the popup
LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
WHERE VNAM = 'ZPDATE'.
CLEAR L_S_RANGE.
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(6). "low value, e.g.YYYYMM (200606) part of key date (20060625)
L_S_RANGE-LOW+6(2) = '01'. low value e..g. YYYYMM01 (20060601)
L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW. "high value = input
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'BT'.
APPEND L_S_RANGE TO E_T_RANGE.
EXIT.
ENDLOOP.
ENDIF.
ENDCASE.
Message was edited by:
Almini Sanbra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Almini,
1) Try replacing the following 2 lines:
L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(6). "low value, e.g.YYYYMM (200606) part of key date (20060625)
L_S_RANGE-LOW+6(2) = '01'. low value e..g. YYYYMM01 (20060601)
with ****
CONCATENATE LOC_VAR_RANGE-LOW(6) '01' INTO L_S_RANGE-LOW.
2) If it doesn't help....Setup a break point in the code and DEBUG...
Good luck, BB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.