Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

MSS Approve Time sheet data error

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

Not what you were looking for? View more on this topic or Ask a question