on 02-10-2016 7:54 PM
Hi Friends,
When I run the MSS Home Page I am getting error.
App Name: HRMSS_HOMEPAGE
Package: PAOC_MSS_HOMEPAGE_WDA
In the debug, thisis the function module where giving the dump.
METHOD get_pernr.
* This method will take the SY-UNAME of logged in user and returns his personnel number.
DATA lv_name type sysid.
lv_name = sy-uname.
CALL FUNCTION 'RP_GET_PERNR_FROM_USERID'
EXPORTING
begda = sy-datum
endda = sy-datum
usrid = lv_name
usrty = '0001'
IMPORTING
usr_pernr = ev_pernr
EXCEPTIONS
retcd = 1
OTHERS = 2.
*--Code changes for Note 1706443
IF sy-subrc <> 0.
ev_result = sy-subrc.
RETURN.
ELSE.
ev_result = 0.
ENDIF.
ENDMETHOD.
From ST22 this is the error log:
rror analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
not caught in
procedure "GET_PERNR" "(METHOD)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The call to the function module "RP_GET_PERNR_FROM_USERID" is incorrect:
The function module interface allows you to specify only
fields of a particular type under "USRID".
The field "LV_NAME" specified here is a different
field type
Thanks
Krish
.
Hello Krish Reddy,
There are several notes with symptoms of this issue ( .e.g. 2149758 - No exception handling in call to RP_GET_PERNR_FROM_USERID - causing dump)
Check for the missing notes and apply.
Hope this helps.
With regards,
Sahir.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any one?
Thanks
Krish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.