Skip to Content
0
Former Member
May 16, 2013 at 02:10 PM

Getting short dump on selecting request in clock-in/out correction

166 Views

Hi All,

We are using clock-in/out correciton application using HRESS_C_CORRECTIONS.

We are able to edit entries which are not posted. We are auto approving entries and have workflow configured.

After posting time entries thourgh RPTCORPOST if we select request to edit with 'Edit' button top, we are getting following short dump:

Category ABAP Programming Error
Runtime Errors MESSAGE_TYPE_X
ABAP Program CL_PT_COR_REQS_LIST===========CP
Application Component PT-RC-TE
Date and Time 2013/05/16 03:30:57

Error analysis
Short text of error message:
Request ID 005056A718F21EE2AFBF34CAFDB15CDA does not exist

Long text of error message:

Technical information about the message:
Message class....... "HRTIM_ABS_REQ"
Number.............. 038
Variable 1.......... "005056A718F21EE2AFBF34CAFDB15CDA"
Variable 2.......... " "
Variable 3.......... " "
Variable 4.......... " "

Source Code Extract

Line SourceCde

1 METHOD get_reqlist_entry.
2
3 DATA:
4 req_objs_tab TYPE ptreq_request_tab,
5 obj_request TYPE REF TO if_pt_req_request,
6 attribs_struc TYPE ptreq_request_struc_flat.
7
8
9 * find request in selected_reqlist
10 READ TABLE selected_reqlist
11 WITH KEY request_id = im_request_id
12 INTO ex_reqlist_entry.
13
14 IF sy-subrc NE 0.
15
16 CALL METHOD ca_pt_req_header=>sel_reqs_by_all_attribs
17 EXPORTING
18 im_request_id = im_request_id
19 IMPORTING
20 ex_result_tab = req_objs_tab

EXCEPTIONS

actor_not_found = 1

OTHERS = 2.



READ TABLE req_objs_tab INDEX 1 INTO obj_request.



IF sy-subrc NE 0.

>>>> MESSAGE x038(hrtim_abs_req) WITH im_request_id.

ENDIF.

Kindly help me how to avoid this exception.

Thanks & Regards,

Phani.