Skip to Content
avatar image
Former Member

BEx variable customer exit run error- error class SAPMSSY1 method: UNCAUGH

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>

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 17, 2007 at 07:53 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hey can you tell us where is this "ZPUTMNTH" varaible? is it under Calday.

      I am asking Because in the error i am seeing only 7 digits but you are passing 8 digits... from the user exit to ZPUTMNTH.

  • avatar image
    Former Member
    Aug 17, 2007 at 11:54 PM

    Check this link it might give you some more idea.......

    Hope this Helps

    Add comment
    10|10000 characters needed characters exceeded