cancel
Showing results for 
Search instead for 
Did you mean: 

Selected request was already approved/rejected in Custom Task

Former Member
0 Kudos

Dear All,

According to SAP Note "1600953" i have updated the "com.sap.pct.erp.mss.addon.xml" file but still me getting "request was already approved/rejected" error on the leave request page.

I had raised a request on 2nd Jan, its not giving error for that request but for any request m raising since yesterday its giving error.

The only change that was made after 2nd Jan is that our workflow team had created a custom task to call the same application however the custom task was giving "request was already approved/rejected" error so we switched to standard task again but now even the standard task is not working.

Please help.

Thank you,

Regards,

Disha

.

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

implement the Note 1867770    Incorrect record selected for approval from UWL and also do ensure that your XML is being picked up correctly ie changes form above note, 1773641 - ESS LEA: Web Dynpro ABAP based Leave Request use in UWL to confirm your settings etc

Former Member
0 Kudos

Dear Siddharth,

Thank you for your quick reply.

In which file should I add the custom task id?

com.sap.pct.erp.mss.addon.xml or uwl.webflow

Because in com.sap.pct.erp.mss.addon.xml we call the application through "ObjectNavigationLauncher" and in uwl.webflow we call the application through "SAPWebDynproABAPLauncher"

Please help.

Thank you,

Regards,

Disha

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

implement the above notes and your issue should be solved

once you put in SWFVISU your tasks and re register the through UWL, it ll be available in XML. otherwise you need to go in UWL Administration

Anyhow, your issue would be resolved, first apply the noted and then test

FYI

similar steps can be got from here

http://scn.sap.com/thread/1962160

Former Member
0 Kudos

Dear Siddharth,


Issue is resolved for fresh users but when we apply a leave for the user with which we had created leave requests before we get same error.


Thank you,

Regards,

Disha.



siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

can you check the status of the request in rptarqdbview?

are these already approved? workflow completed?

Please implement this note as well

1946640    POWL : Incorrect  leave approval record selected

Former Member
0 Kudos

Thank you Siddharth for you help.

I require a small help. In our workflow there are to approvers. When the 1st approver clicks on Accept or Reject button it reloads the "hress_a_ptarq_leavreq_appl" and notifies that "leave has been approved" and after this it goes to 2nd approver and when he clicks on Accept or Reject button it gives 500 internal error. I am pasting the st22 dump below:

Category               ABAP Programming Error

Runtime Errors         GETWA_NOT_ASSIGNED

ABAP Program           SAPLPT_ARQ_REQUEST_UIA

Application Component  PT

Date and Time          13.01.2014 16:10:57

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Short text                                                                                        |

|    Field symbol has not yet been assigned.                                                       |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|What happened?                                                                                    |

|    Error in the ABAP Application Program                                                         |

|                                                                                                  |

|    The current ABAP program "SAPLPT_ARQ_REQUEST_UIA" had to be terminated because                |

|     it has                                                                                       |

|    come across a statement that unfortunately cannot be executed.                                |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|What can you do?                                                                                  |

|    Note down which actions and inputs caused the error.                                          |

|                                                                                                  |

|                                                                                                  |

|    To process the problem further, contact you SAP system                                        |

|    administrator.                                                                                |

|                                                                                                  |

|    Using Transaction ST22 for ABAP Dump Analysis, you can look                                   |

|    at and manage termination messages, and you can also                                          |

|    keep them for a long time.                                                                    |

----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------

|Error analysis                                                                                    |

|    You attempted to access an unassigned field symbol                                            |

|    (data segment "-1").                                                                          |

|                                                                                                  |

|    This error may occur if                                                                       |

|    - You address a typed field symbol before it has been set with                                |

|      ASSIGN                                                                                      |

|    - You address a field symbol that pointed to the line of an                                   |

|      internal table that was deleted                                                             |

|    - You address a field symbol that was previously reset using                                  |

|      UNASSIGN or that pointed to a local field that no                                           |

|      longer exists                                                                               |

|    - You address a global function interface, although the                                       |

|      respective function module is not active - that is, is                                      |

|      not in the list of active calls. The list of active calls                                   |

|      can be taken from this short dump.                                                          |

|                                                                                                  |

----------------------------------------------------------------------------------------------------

Appreciate your help.

Thank you,

Regards,

Disha.

former_member188019
Active Participant
0 Kudos

thanks,

the note 1946640    POWL : Incorrect  leave approval record selected helped us.

now we can launch selected leave request app directly from powl

Answers (0)