cancel
Showing results for 
Search instead for 
Did you mean: 

Approve Leave Request Didn't appear.

Former Member
0 Kudos

Hi All,

I am unable to see "Approve leave request link" in my team.

Leave is applied successfully from ESS but i cant see from where MSS user will approve the applied leave.

We are using EHP5 and BP2.600.

Regard's

Haris

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Now i Leave request is appear in UWL but approve reject button did not appear.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

you are still missing the customisation as indicated above!Please check the role

Former Member
0 Kudos

Hi Siddharth,

thanks a lot.

Following are the setting in the system,

Role assigned = SAP_MANAGER_MSS_NWBC

Application = HRESS_A_PTARQ_LEAVREQ_APPL

Parameters = LRF_ARQ_MODE

Value = A

Problem is still where it was, may be i missed some thing basic. pleae advice me.

Regard's

Answers (9)

Answers (9)

Former Member
0 Kudos

as per your screen shot it is looking like a rule issue.

for workflow part check once workflow log using tcode SWIA.

former_member455376
Participant
0 Kudos

Hi Siddharth ,

we are using nw 7.3 based on ehp5.

and we are using MSS add on For leave approval.

As per 1600953 note We are changing in com.sap.pct.erp.mss.addon.xml file and replaced the code section for Approve Leave Request.

but after that i am getting the error which is attached as a screen shot.

we are using the custom task(TS99900008) Instead of TS12300097.

Former Member
0 Kudos

Hello,

I was finally able to get his working. As Siddharth has been saying all along, we just need to do the configuration correctly. Then, re-register workflow tasks in the UWL. When I did that, a new XML file with a low priority was created (or maybe it was there but I just didn't notice it). I copied and pasted the entry for task TS21500003 into the actual UWL XML file we use and it worked like a charm!

clwalker
Participant
0 Kudos

Hi

Do have a dcoumented step by step approach to successfully be able to set the leave approval up in MSS. I am struggling as I can't seem to find the relevant documentation anywhere.

Regards

Claire

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

HRESS_A_PTARQ_LEAVREQ_APPL) with ARQ_MODE = A (approver),

ie

In the UWL configuration XML file the settings for TASK TS21500003 has

been made as per the note 1600953. The iView has been configured with

the "Employee" OBN object and the webdynpro Application to be called is

HRESS_A_PTARQ_LEAVEREQ_APPL with Application configuration as

HRESS_AC_PTARQ_LEAVREQ and application parameters has also been set.

check in LPD_CUST and swfvisu

new task TS21500004

APPLICATION#hress_a_ptarq_leavreq_appl

DYNPARAM#LRF_REQUEST_ID=${item.REQUESTID}.

&WDCONFIGURATIONID=HRESS_AC_PTARQ_LEAVREQ&LRF_SKIP_OVERVIEW_PAGE=-

NAMESPACE#sap

DYNPARAM#LRF_REQUEST_ID=${item.REQUESTID}.

Former Member
0 Kudos

Hello,

I'm struggling with this task as well. I did the following and it is still not working:

- I configured an entry in table IBO_C_WF_TA_P_SC (SPRO: Cross-Application Components -> Processes and Tools for Enterprise Applications -> Inbox -> Assign Task IDs to POWL Types) as: application: MANAGER_MSS_INBOX; type: MSS_POWL_LEA_APPROVAL; Workflow Task ID: TS21500003

- I modified the TS21500003 entry in SWFVISU to: (APPLICATION: hress_a_ptarq_leavreq_appl; DYNPARAM: LRF_REQUEST_ID=${item.REQUESTID}; NAMESPACE: sap; SYSTEM_ALIAS: <our own system alias>)

- I updated the system alias in the MSS launch pad as suggested above.

- I re-registered UWL tasks

- When that did not work, I found note 1600953 so I used the corresponding UWL entry for TS21500003

- When that did not work, I changed the properties in the UWL file to:

<Property name="Operation" value="approveleaverequest"/>

<Property name="ObjectName" value="employee"/>

<Property name="ObjectValue" value="${item.EmployeeNumber}"/>

<Property name="DynamicParameter" value="LRF_REQUEST_ID=${item.REQUESTID}"/>

<Property name="openInNewWindow" value="true"/>

<Property name="System" value="<our own system alias"/>

<Property name="WebDynproNamespace" value="sap"/>

<Property name="WebDynproApplication" value="HRESS_A_PTARQ_LEAVREQ_APPL"/>

I have the following questions:

- That still did not work. Am I missing a step, a parameter?

- What I am really confused (unsure) about is that how does the system know which iView to call (if it calls an iView at all)?

- If it calls the Web Dynpro application directly within the POWL iView, how does it know which configuration to use? What if I wanted to create my own application configuration for the approval web dynpro application?

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

what error you get?

Have you done all customisaiton as listed above

clwalker
Participant
0 Kudos

IS there anywhere any written documentation of the steps you need to take when moving from EhP4 to EhP5 with specific regard to the MSS leave approval stage.

ESS leave request works out of the box, but I can't find anything which tells me what I need to do for MSS leave approval.

From rading various threads I have changed the application parameter LRF_ARQ_MODE to A, so at least when i preview the leave approval iview I get the approval screen, but this does not seem to e as complete as I'd like.

I would really appreciate some help (documents) relating to this. I ma trying to evaluate the benefits of moving to EhP 5 for the leave request process and am finding this hard without appropriate documentation.

Regards

Claire

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

Leave request approval is faster, Mass approval is supported etc in New leave request and above all its just one step now.

clwalker
Participant
0 Kudos

Thanks SIddharth,

I am aware of what the benefits are and I really want to implement them. What I don't understand is where to configure MSS to be able to show the leave approval iview/POWL. The new ESS application works"out of the box" however there is obviously config to be done on the MSS side.

IS there any documentation available which tells you the steps you need to take.

Regards

Claire

Barin
Product and Topic Expert
Product and Topic Expert
0 Kudos

Important to add object employee in portal to the iview being used.

in PCD you will have employee object under path object Business objects->ERPcommon part-> human resources

open your iview, (right click and select object based navigation)

Right click on the object employee and add to the iview.

all xml based obn requires above mandatory steps irrespective of HCM.

if you are getting a blank page after doing above then you must perform above operation.

Former Member
0 Kudos

in addition to above, Leave request also didn't appear in UWL.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

no it doesnt require access rights, its a customisation in LPD_CUST for MSS.

Please follow the steps and have correct authorisaiton for making the changes

Former Member
0 Kudos

Hi Siddharth,

Back to my question. Parameter = A requires access key right?

Thanks for your valuable replies.

Edited by: Haris Raza on Sep 16, 2011 12:47 PM

Former Member
0 Kudos

Hi Siddharth

The task for approval in WS21500001 is TS21500003 the parameter inside SWFVISU

APPLICATION hress_a_ptarq_leavreq_appl

DYNPARAM WI_ID=${item.externalId}

NAMESPACE sap

It can call application and display application but it display only head no detail of leave request and button for approve and reject. Do you any suggestion?

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

it should be

DYNPARAM#WI_ID=${item.externalId} to

DYNPARAM#LRF_REQUEST_ID=${item.REQUESTID}.

in SWFVISU to the new tasks

Former Member
0 Kudos

Hi Siddharth Rajora and Haris

Now I am implementing Leave request on Ehp 5, too.

On Siddharth Rajora answer is possible to do, I fill the parameter in iview and it can display approve screen for leave request.

Then I have another question, If I want manager to approve employee request on workflow as Leave request on Ehp4. Is it possible to do?

Now I found out that there is new standard workflow WS21500001 for Leave request on Ehp5 but when I send leave request to manager, manager cannot call this application through UWL.

I try to set parameter on SWFVISU but it cannot work. Do you have any suggestion?

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

yes it would show same WFS as EHP4 and you can approve data

If you follow this customisaiton you can use the new WF also

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

Do this customisaiton

in the role parameter was missing, it is in LDP_CUST MSS, NAV.

Add LRF_ARQ_MODE to A in application paramter

There is already a Manager role shipped SAP_MANAGER_MSS_NWBC, which

needs to be attached to your manager pernr. In the Manager role there is

a link to access the Leave request approval scenario.

Coming to the application, we use the same application

HRESS_A_PTARQ_LEAVEREQ_APPL with application parameter LRF_ARQ_MODE to

distinguish between Leave request and Approval scenario. By default it

is set to R( Leave request mode). For approval scenario it should be

set to A( Leave approval mode). Please confirm the message if your

issue has been resovled.

former_member264894
Participant
0 Kudos

Hi experts,

I am unable to see "Approve leave request link" in my team

Already I Add LRF_ARQ_MODE = u2018Au2019 in application parameter under lpd_cust mss nav.

My portal version is EP 7.01EHP2, MSS 1.51 SP4

Can i assign sap_manager_in_mss_nwbc role in backend.?

Where should i add this parameter ? How can i do customization?

we are in EHP5 . Should i maintain jco destinations in the part of mss configuration in portal?

plz suggest me.

Thanks in advance

veeranji