Skip to Content
author's profile photo Former Member
Former Member

MSS - UWL Leave Request

Hello,

We are using SAP portal 7.3 with EHp6 ESS MSS Business package.

I have a leave request displaying in the UWL under MSS. However, when I select the leave request it showing error message "Selected request was already approved/rejected".

But this request is not approved and rejected. this message showing for all leave requests.

Please find attached screen shot.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Apr 15, 2013 at 08:19 PM

    can you refresh the uwl? and also check the status of these requests using rptarqdbview

    Add a comment
    10|10000 characters needed characters exceeded

    • its for that particular request? or old request ?

      are you using the correct XML as per note 1600953?

      Did you check the Trace of the work item ie HTTP Trace? there might be id not passing, workitem not updated?

      so system alias can be an issue, please verify

      GET_REQUEST_TO_BE_APPROVED of class

      CL_HRESS_PTARQ_LEAVREQ_GUIBBF

      you can approve this via backend and see too? ie thru ptarq or rptarqapp

  • author's profile photo Former Member
    Former Member
    Posted on May 06, 2013 at 07:35 PM

    Implemented correct XML as per note 1600953.

    thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2014 at 11:11 PM

    We have this same issue since upgrading to EHP7 HR-Renewal we are not using a portal and only use NWBC for HTML so the note 1600953 does not apply to us. Has anyone else seen this issue?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Martha Paget

      Well the majority may be doing it but that doesn't make it right. In case of POWL the request ID should be passed as an URL parameter from POWL to the Leave Request application. Can you use Fiddler, HttpFox or HTTPwatch and see whether that is the case and whether the passed request ID is correct?

  • author's profile photo Former Member
    Former Member
    Posted on Apr 16, 2014 at 12:14 PM

    Hello,

    The problem is mentioned at OSS Message 2000608 - MSS Leave Approval: Incorrect message displayed.

    But still you may face the same issue. Same code appears at class CL_HRESS_PTARQ_LEAVREQ_GUIBBF method GET_REQUEST_TO_BE_APPROVED.

    Line 58

    * IF cl_hrmss_wda_switch_check=>hrmss_sfws_wda_ui_02( ) EQ abap_true.
    * MESSAGE e013 INTO gv_dummy_char.
    ** Selected request was already approved/rejected.
    * APPEND cl_hress_fpm_msg_services=>return_msg_fpm_sy( ) TO mt_messages_fpm.
    * ENDIF.

    But there is no OSS note belongs to this method. But we have fixed this way.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Volkan,

      I'm facing the same issue after implementing the SAP Note 2000608. Please let me how did u fix this issue.

      CL_HRESS_PTARQ_LEAVREQ_GUIBBF method GET_REQUEST_TO_BE_APPROVED.

      *- Note: 2000608
      ls_request_list-request_id = ms_request-request_id.
      CALL FUNCTION 'PT_ARQ_REQUEST_PREPARE'
      EXPORTING
      im_request_id = ls_request_list-request_id
      im_command = cl_pt_req_const=>c_cmd_select
      im_pernr = mv_pernr_user
      im_modus = cl_pt_req_const=>c_role_approver
      im_deactivate_check = abap_true
      IMPORTING
      ex_request = ms_request_backend
      ex_has_errors = mv_has_errors
      TABLES
      ex_messages = mt_messages_ptarq
      ex_commands = mt_commands.
      IF ms_request_backend-status = cl_pt_req_const=>c_reqstat_sent.
      MESSAGE e139(HRTIM_ABS_REQ) INTO gv_dummy_char WITH ms_request_backend-owner-name ms_request_backend-next_processor-name.
      * You cannot approve the leave from &1 to &2 yourself
      APPEND cl_hress_fpm_msg_services=>return_msg_fpm_sy( ) TO mt_messages_fpm.
      ELSEIF ms_request_backend-status = cl_pt_req_const=>c_reqstat_approved OR
      ms_request_backend-status = cl_pt_req_const=>c_reqstat_posted OR
      ms_request_backend-status = cl_pt_req_const=>c_reqstat_rejected.
      MESSAGE e013 INTO gv_dummy_char.
      * Selected request was already approved/rejected.
      APPEND cl_hress_fpm_msg_services=>return_msg_fpm_sy( ) TO mt_messages_fpm.
      CLEAR ms_request_backend.
      ms_request_backend-request_id = ls_request_list-request_id.
      ENDIF.


      Thanks,

      Ravi.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.