cancel
Showing results for 
Search instead for 
Did you mean: 

In EP 7.4, Leave approval application opening ECC T-code in UWL

former_member182426
Active Contributor
0 Kudos

We are at ECC 6.0 EHP7.

Using the standard Leave workflow WS21500001 and TS21500003 for approval. But it's opening the ECC screen t-code SWNWIEX when we click on leave approval task from UWL.

In SWFVISU parameters also maintained correctly.

I tried changing parameters like below, but still not working.

APPLICATIONhress_a_ptarq_leavreq_appl
DYNPARAMLRF_REQUEST_ID=${item.REQUESTID}.&WDCONFIGURATIONID=HRESS_AC_PTARQ_LEAVREQ&LRF_ARQ_MODE=A
NAMESPACEsap
SYSTEM_ALIASSAP_ECC_HumanResources

I check the UWL XML file for this TS21500003 Task details. It's having all details.

BP's deployed BP ERP05 MSS 1.51 and BP MSS ADDON 1.0

I assigned SAP_ALL profile also to User for checking.

Any thing changed in EP 7.4 for UWL ?

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

you need to check which XML is used for this. although you maintained correctly in SWFVISU confirm from support properties which XML is used.

http://scn.sap.com/thread/3568563 did you install the latest XML as per note 1600953? https://scn.sap.com/thread/3182130

former_member182426
Active Contributor
0 Kudos

Hi Siddharth,

We are having MSS Add on 1.0, Task is pointing to right one when i check UWL support information. I change the Task parameter settings in SWFVISU as per below note.

1773641 - ESS LEA: Web Dynpro ABAP based Leave Request use in UWL


UWL Task xml code




When i open the leave request from POWL no issues i am able to see request and approve it.


But when i access it from UWL, it's giving dump. I saw the dump in ST22 and debug some code.

In CLASS CL_HRESS_PTARQ_APP_CC_ASSIST method WDDOINIT


*     Approval: provide REQUEST_ID for APPROVE or REJECT

       mo_fpm->mo_app_parameter->get_value(

                  EXPORTING

                    iv_key   = gc_ap_lrf_request_id

                  IMPORTING

                    ev_value = lv_request_id ).

******************************Begin of SPC LAK 1867770*********************

*     If Request ID was not provided via item.requestID parameter,

*     try to get it from workitemID (item.externalID parameter

IF lv_request_id IS INITIAL OR lv_request_id = 'null'.

lv_request_id is filling with null. value when i open it from UWL.

After this it's moving to class CL_PT_ARQ_REQS_LIST method GET_REQLIST_ENTRY

It's giving dump due to this variable im_request_id having null. value.

I check below SAP notes 

1867770 - not applicable

1946640 - this corrections already exists in system, but still it show can be implemented in SNOTE

2000608  - not applicable


Is there any other SAP note or something to be corrected in UWL in EP 7.4

Former Member
0 Kudos

try above settings once and cehck again as in the note it is wrking fr me

former_member182426
Active Contributor
0 Kudos

I have already maintain if you see in my previous reply first screen shot of SWFVISU task parameter settings. It's as per SAP note. But still it's giving dump due to that null. value from uwl.

1773641 - ESS LEA: Web Dynpro ABAP based Leave Request use in UWL

Former Member
0 Kudos

ok once can u re-register the uwl once and check again after log in again  ...u can check my xml file , it is wrking for me correctly

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

you are certain the note

1946640 is there is your system as this was the root cause as you already followed this note 1773641 - ESS LEA: Web Dynpro ABAP based Leave Request use in UWL Did you clear cache or register? only one note is missing PT-RC-UI-XS 2173861 3 24 Error HRESS_C_LEA_TEAM_CALENDAR i was mentioning this earlier to you regarding XML as its a known issue 1933611 - SWFVISU "CONFIGURATION" visualisation parameter for Web Dynpro ABAP iView not propagated to UWL configuration

former_member182426
Active Contributor
0 Kudos

Yes siddharth, the note 1946640 changes are exist in system, but in SNOTE it says can be implemented.

Class CL_HRESS_PTARQ_LEAVREQ_GUIBBF

Class CL_HRESS_PTARQ_LEAVREQ_GUIBBL

In SNOTE

And the note 2173861 can be implemented for us since we are at SP15. It's looks like it's for UI applications.

System Components:

SAP_BASIS7400010SAPKB74010SAP Basis Component
SAP_HR6080015SAPKE60815Human Resources
SAP_HRGXX6080015SAPK-60815INSAPHRGXXSub component SAP_HRGXX of SAP_HR
SAP_HRRXX6080015SAPK-60815INSAPHRRXXSub component SAP_HRRXX of SAP_HR
EA-HR6080015SAPK-60815INEAHRSAP Enterprise Extension HR
EA-HRGXX6080015SAPK-60815INEAHRGXXSub component EA-HRGXX of EA-HR
EA-HRRXX6080015SAPK-60815INEAHRRXXSub component EA-HRRXX of EA-HR

I played with SWFVISU parameters changing and re-register the UWL and clearing the cache.

In Note 1773641 it's not mentioned the SYSTEM_ALIAS parameter setting.

I just added the SYSTEM_ALIAS and then it started opening the leave request.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

oh good, so the issue is solved?

Answers (0)