cancel
Showing results for 
Search instead for 
Did you mean: 

Leave approval java webdypro programm is giving error

Former Member
0 Kudos

Hi Guur's,

I have configured a customized workflow for Java webdynpro application. When I submit a leave applicatin a workitem is sent to the approving officers inbox. When I try to open the work item from Universal worklist, I am getting the below error.

"

Service cannot be reached

What has happened?

URL http://decc01.abc.gov.sg:8000/webdynpro/dispatcher/com.sap.xss.hr.lea.appl/LeaveRequestApprover call was terminated because the corresponding service is not available.

Note

The termination occurred in system DE1 with error code 404 and for the reason Not found.

The selected virtual host was 0 .

What can I do?

Please select a valid URL.

If you do not yet have a user ID, contact your system administrator.

ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:decc01_DE1_00-v:0-s:404-r:Notfound

HTTP 404 - Not found

Your SAP Internet Communication Framework Team

"

I have created my own workflow and I have configured in SWFVISU, with the below setting

APPLICATION LeaveRequestApprover

DYNPARAM wi_id=${item.externalId}

PACKAGE com.sap.xss.hr.lea.appl

Can anyone let me know what went wrong.

Regards,

H.K.Hayath Basha.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Closing

Former Member
0 Kudos

Hi Kuthbudeen ,

Can you tell me how u resolved this issue.

I am also facing same kind of issue.

Thanks in Advance

KK

Former Member
0 Kudos

Hi Kuthbudeen ,

Can you tell me how u resolved this issue.

I am also facing same kind of issue.

Thanks in Advance

KK

Former Member
0 Kudos

Hi,

Let me rephrase my question and what I have done.

In portal I have registered two SAP R/3 system( same server, two different clients) in universal worklist they are

ZSAP_ECC_CLNT100

ZSAP_ECC_CLNT200

For the two clients I have this for JCO in portal:

In portal, there is a standard JCO with the name

SAP_R3_HUMAN_RESOUCES, this is configured to client 100 and there is another JCO called metadata with the name SAP_R3_HUMAN_RESOUCES_METADATA.

Another JCO is created with the name SAP_R3_HUMAN_RESOUCES200, this is configured to client 200, and there is another JCO called metadata with name SAP_R3_HUMAN_RESOUCES_METADATA200

In R/3 in SWFVISU, for a task TS90000001, I have configured the below setting.

APPLICATION = LeaveRequestApprover

DYNPARAM = wi_id=${item.externalId}

PACKAGE = sap.com/ess~lea

SYSTEM_ALIAS = SAP_ECC_HumanResource

With the above configuration, when I click the the leave workitem in UWL which belongs to client 100, it opens the leave which are pending in client 100.

I changed the SYSTEM_ALIAs to point to client 200 and the change configuration is,

APPLICATION = LeaveRequestApprover

DYNPARAM = wi_id=${item.externalId}

PACKAGE = sap.com/ess~lea

SYSTEM_ALIAS = SAP_ECC_HumanResource200

With the above configuration, when I click the leave workitem in UWL which belongs to client 200, it opens the leave which are pending in client 100. But I expected that it will open the leave which are in client 200.

Which means what ever client configured, in SAP_R3_HUMAN_RESOUCES JCO, only that client workitem is opened not the actual client workitem.

I have registered the Item types and cleared the cache in UWL.

Please let me know how to solve this issue. Did I did the configuration wrongly.

Regards,

H.K.Hayath Basha.

Former Member
0 Kudos

Hi,

Just now I checked the URL in the error, it is point to the R/3 server and the port number is 8000. The port number for Java webdynpro is 50000 and the server is different. Can you let me know why this is pointing to R/3 server.

Regards,

H.K.Hayath Basha.

former_member185086
Active Contributor
0 Kudos

Hi

Oh !!!! wait R/3 server port and Java Server port both r different.

How did u get the service or application .Does it is a file u have downloaded form somewhere.

Please follow these threads to understand

1. Read [this|;

2.[What to know in R/3?|;

3 .[this also|;

4.[J2ee Server|;

5.[J2ee|;

Best Regards

Satish Kumar

former_member185086
Active Contributor
0 Kudos

Hi Kuthbudeen

call was terminated because the corresponding service is not available

It is clear that services which u r using for your workflow is not available or not deployed.Check this first

Let us know

Best Regards

Satish Kumar