Skip to Content

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

Error while approving Leave request from UWL

Hi Experts,

We are getting following error while manager clicks on Universal Worklist to approve Leave Request. On system we have assigned ess id to employee no. 43 in IT 105-0001 but it gives error message about employee no. 167 which has nothing to do with this leave request.

Please go through following ST22 error log..

Short text of the error message:

"No data exists in this period for infotype 0105 and employee 00000167."

Trigger Location of Runtime Error

Program SAPLPT_ARQ_REQUEST_U

Include LPT_ARQ_REQUEST_UIAF

Row 186

Module type (FORM)

Module Name DUMP_IF_ERRORS

Source Code Extract

Line SourceCde

156 ENDCASE.

157

158 IF lock_indicator = 'X'. "ANK Note962342

159 status_ui = c_req_sent.

160 status_ui_text = 'gesendet'(s04).

161 endif. "ANK Note962342

162

163 ENDFORM. " set_request_status_ui_text

164

165 &----


166 *& Form dump_if_errors

167 &----


168 * text

169 ----


170 * -->MESSAGES text

171 ----


172 FORM dump_if_errors

173 USING

174 messages TYPE ptarq_uia_messages_tab.

175

176 FIELD-SYMBOLS:

177 <message> TYPE bapiret2.

178

179 LOOP AT messages ASSIGNING <message>.

180 IF <message>-type EQ c_message_error.

181

182 *Note 1168656 begin

183 * MESSAGE x999(53) WITH

184 * <message>-message

185 * <message>-type. "#EC *

>>>>> MESSAGE <message>-message type 'X'.

187 *Note 1168656 end

188 ELSEIF <message>-type EQ c_message_abend.

189 *Note 1168656 begin

190 * MESSAGE a999(53) WITH

191 * <message>-message

192 * <message>-type. "#EC *

193 MESSAGE <message>-message type 'A'.

194 *Note 1168656 end

195

196 ENDIF.

197 ENDLOOP.

198

199

200 ENDFORM. " check_errors

201

202 *&----


203 *& Form prepare_customizing_attibs

204 *&----


205 * text

Would really appreciate kind guidance to resolve the same.

Thanks.

Aashish

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