on 09-23-2008 7:19 PM
Hi,
In MSS Approve time sheet data I get a
The ASSERT condition was violated., error key: RFC_ERROR_SYSTEM_FAILURE:com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: The ASSERT condition was violated., error key: RFC_ERROR_SYSTEM_FAILURE
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
at com.sap.xss.hr.cat.approve.blc.FcCatApprove.rfcExecute(FcCatApprove.java:307)
at com.sap.xss.hr.cat.approve.blc.FcCatApprove.init(FcCatApprove.java:276)
at com.sap.xss.hr.cat.approve.blc.wdp.InternalFcCatApprove.init(InternalFcCatApprove.java:243)
at com.sap.xss.hr.cat.approve.blc.FcCatApproveInterface.onInit(FcCatApproveInterface.java:136)
at com.sap.xss.hr.cat.approve.blc.wdp.InternalFcCatApproveInterface.onInit(InternalFcCatApproveInterface.java:133)
In spro I have configured
Approval Mode MSS_LTV_EE
CATS Approval MSS_LCA_EE
Request Mode ESS_LEA_EE
Team View Mode MSS_LTV_EE
I have added pernr and name in the fields selection
Following is the st22 dump
-
Error analysis
The following checkpoint group was used: "No checkpoint group specified"
If in the ASSERT statement the addition FIELDS was used, you can find
the content of the first 8 specified fields in the following overview:
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
-
-
Information on where terminated
Termination occurred in the ABAP program "CL_MSS_CAT_APPR_PERS_C========CP" -
in "READ_FIELDSELECTION".
The main program was "SAPMSSY1 ".
In the source code you have the termination point in line 25
of the (Include) program "CL_MSS_CAT_APPR_PERS_C========CM007".
-
Line SourceCde
-
1 METHOD read_fieldselection.
2
3 DATA: lv_fieldsel TYPE pt_field_selection.
4 DATA: lv_screen_area TYPE pt_screen_area.
5
6 DATA: ls_field_sel_attrib TYPE rec_pt_field_sel_attributes.
7 DATA: lt_field_attributes TYPE tab_pt_field_sel_options.
8
9 DATA: ls_field_attributes LIKE LINE OF lt_field_attributes.
10 DATA: ls_fieldlist LIKE LINE OF rt_fieldlist.
11
12 lv_fieldsel = iv_fieldsel.
13 lv_screen_area = iv_screenarea.
14
15 CALL FUNCTION 'PT_FIELD_SELECTION_GET'
16 EXPORTING
17 im_field_selection = lv_fieldsel
18 im_screen_area = lv_screen_area
19 IMPORTING
20 ex_field_sel_attrib = ls_field_sel_attrib
21 ex_field_attributes = lt_field_attributes
22 EXCEPTIONS
23 no_field_selection_found = 1
24 OTHERS = 2.
>>>>> ASSERT sy-subrc = 0.
26
27 Map fields of fieldselection to output-structure
28 LOOP AT lt_field_attributes INTO ls_field_attributes.
29
30 Fieldname
31 CONCATENATE ls_field_attributes-tabname
32 '-'
33 ls_field_attributes-fieldname
34 INTO ls_fieldlist-mfeld.
35 Output
36 IF ls_field_attributes-no_out IS INITIAL.
37 ls_fieldlist-visible = 'X'.
38 ELSE.
39 ls_fieldlist-visible = ''.
40 ENDIF.
41 required field
42 ls_fieldlist-required = ls_field_attributes-req_entry.
43 read only-field
44 IF ls_field_attributes-fieldinput IS INITIAL.
-
-
Contents of system fields
-
Name Val.
-
SY-SUBRC 1
SY-INDEX 2
SY-TABIX 1
SY-DBCNT 0
SY-FDPOS 62
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE CPIC and RFC Control
SY-MSGTY
SY-MSGID
SY-MSGNO 000
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20080923
SY-UZEIT 112451
SY-XPROG SAPLPAOC_CATS_APPR_WEBDYNPRO
SY-XFORM HRMSS_CAT_WD_APPROVAL
-
What might be the problem
Regards
Srini
As per your dump log:
15 CALL FUNCTION 'PT_FIELD_SELECTION_GET'
16 EXPORTING
17 im_field_selection = lv_fieldsel
18 im_screen_area = lv_screen_area
19 IMPORTING
20 ex_field_sel_attrib = ls_field_sel_attrib
21 ex_field_attributes = lt_field_attributes
22 EXCEPTIONS
23 no_field_selection_found = 1
24 OTHERS = 2.
>>>>> ASSERT sy-subrc = 0.
It seems like the dump is from CATS Approval Views customizing settings.
Please refer the IMG steps :
Cross application components > time sheet
> specific settings for CATS regular > CATS regular
> Approve Working Time
> Define Approval Views
(Define Field Selection for Individual Approval View)
(Define Field Selection for Detail View)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srini,
You managed to solve this? am gettinig the same error
thanks,
Mani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mani,
It is a good thing you have found this post, as it demonstrates that you put in some effort to search for similar posts to your problem.
However, if the post you found is like 3 years old and there are no replies, chances are the guy did not find a solution or isn't visiting here anymore. So it might be a good idea to raise a new post, to increase you chances of getting some answers.
User | Count |
---|---|
103 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
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.