cancel
Showing results for 
Search instead for 
Did you mean: 

ESS Configuration

pbechani
Participant
0 Kudos

I have SAP r/3 4.7 and I have imported And I have imported the following BP for ESS and MSS (BPESS46C504_0-20000613 and BPMSS601_18-20001489). When I create users with the the necessary roles to view the iview, I get errors when I log on to the portal with these users. The users are created in the r/3 system as users and employees. I am getting the following errors

1. Portal Runtime Error

An exception occurred while processing a request for :

iView : pcd:portal_content/com.sap.portal.migrated/ep_5.0/roles/com.sap.pct.hcm.manager/mystaff/nf_2/recruitment/rc_position_overview_2/com.sap.pct.hcm.rc_vacancyrequestov

Component Name : com.sap.pct.hcm.rc_vacancyrequestov.default

Access denied (Object(s): com.sap.portal.system/security/com.sap.portal.ep50/ep50_safety).

Exception id: 06:32_18/05/06_0034_4098050

See the details for the exception ID in the log file

2. Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.16.64.63 SYSNR=01 GWHOST=10.16.64.63 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR connection to host 10.16.64.63, service sapgw01 timed out TIME Thu May 18 18:31:43 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -12 MODULE nixxi_r_mt.cpp LINE 1070 DETAIL NiPConnect COUNTER 1

The information I have is for SAP ERP 2004 for ECC 5.0.

I need one for sap R/3 4.7. What do I need in my current structure to configure to get a smooth run. I have a demo soon

Accepted Solutions (0)

Answers (5)

Answers (5)

pbechani
Participant
0 Kudos

Hie

I have downloaded the test connector par file and after doing the the tests here is what I get :

<b>Direct Connector Framework</b> - R/3

com.sapportals.connector.connection.ConnectionFailedExceptionoccured

Linked Exception: Connection Failed: Nested Exception. Failed to get connection. Please contact your admin. Linked Exception: Connection Failed: Nested Exception. Physical connection was not initialized. Linked Exception: Connection Failed: Nested Exception. Failed in creating the JCO Connection. ->Name or password is incorrect. Please re-enter

<b>Direct JCO</b>

com.sap.mw.jco.JCO$Exceptionoccured->Name or password is incorrect. Please re-enter

<b>Connector Gateway Service</b>

com.sapportals.connector.connection.ConnectionFailedExceptionoccured

Linked Exception: Connection Failed: Nested Exception. Failed to get connection. Please contact your admin. Linked Exception: Connection Failed: Nested Exception. Physical connection was not initialized. Linked Exception: Connection Failed: Nested Exception. Failed in creating the JCO Connection. ->'user' missing

<b>JCO Client Service</b>

java.lang.NullPointerExceptionoccured->null

After running the test for a while the user is locked in the R/3 system. The credentials I am using are valid as I can use them to log in to the system

pbechani
Participant
0 Kudos

Hi

This is what I am getting when running the connection test:

<b>SAP Web AS Connection</b> - Jan 1, 1970 2:53:20 PM

Test Details:

The test consists of the following steps:

1. Check that the system object defines an SAP system

2. Validate the following parameters: wap.WAS.protocol; wap.WAS.hostname

3. Check the HTTP/S connection to the defined backend application

Results

1. The system object represents an SAP system.

2. The following parameters are valid: wap.WAS.protocol (http) ; wap.WAS.hostname (r3host:8102)

3. HTTP/S connection failed. Make sure the protocol, host name, and user mapping are correctly defined.

<b>Test Connection with Connector</b> - Jan 1, 1970 2:53:20 PM

Test Details:

The test consists of the following steps:

1. Retrieve the default alias of the system

2. Check the connection to the backend application using the connector defined in this system object

Results

Retrieval of default alias successful

Connection failed. Make sure user mapping is set correctly and all connection properties are correct.

I have done the user mapping and I am using this connection perfectly in the portal where I have created transaction iview for fleet management.

In one of the documents Kaushal refered me, it said that the connection test may fail because of proxy settings and still work in iviews.

The services file has the entries that you have talked about.

Former Member
0 Kudos

Hi Prince

let's first work with connector test from portal.

plese provide ur connector detail,user management detail,WAS detail for R3 system.

regards,

kaushal

pbechani
Participant
0 Kudos

Hie Kaushal

The settings are as follows

<b>Connection Properties</b>

Application host -> R3Host

Remote Host Type --> 3

SAP Client --> 300

SAP System ID (SID)---> QAS

SAP System Number ---> 01

Server Port -


> 3201

System Type -


> SAP_R3

<b>ITS properties</b>.

ITS Description ---> ITS_R3

ITS Host Name ---> itsHost:83

ITS path -


> /scripts/wgate

ITS Protocol --->http

<b>WAS property</b>

WAS Description ---> WAS_R3

WAS Host Name ---> R3Host:8001

WAS Path --->/sap/bc/bsp/sap

WAS protocol --> http

<b>USER management property</b>

Logon Method ---> UIDPW

User Mapping Fields -->

User Mapping Type --> admin,user

Former Member
0 Kudos

Hi Prince

This Buisness package needed ITS configuration.

i think u define SAP system with load balancing in portal.

instead of that u use SAP system using dedicated application server.

(if u define SAP system using dedicated application server.check it with my settings)

if possible create new SAP system in portal with

SAP system using dedicated application server.

else u have to define message server port and gateway service port under services file on host where u launch the portal

for this BP define the R3 & ITS systen as follows.

1) Create the SAP system with SAP system using dedicated

application server. give the name SAP_R3

now open the connector properties of SAP System.

define following.

Application host -> host name of R3 system or IP address

Remote Host Type --> 3

SAP Client --> sap client (i.e 800)

SAP System ID (SID)---> SID

SAP System Number ---> instance number of SAP system.

Server Port -


> 32<instance number> i.e for 00 it's 3200

System Type -


> SAP_R3

leave the other field as it is.

now open ITS properties.

ITS Description ---> description

ITS Host Name ---> host.domain.com:IIS port for ITS

ITS path -


> /scripts/wgate

ITS Protocol --->http or https

if u want to use BSP application from R3 system than define WAS property

WAS Description ---> description

WAS Host Name ---> r3host.domain.com:80<instance number of R3)

WAS Path --->/sap/bc/bsp/sap

WAS protocol --> http or https

Now open USER management property

Logon Method ---> UIDPW or SAPLOGONTICKET for sso

User Mapping Fields -->

User Mapping Type --> admin,user

save ur settings.

now open system aliases.

ADD the following alias to ur system

SAP_R3

SAP_R3_HumanResources ( for ESS/MSS BP)

now map ur portal user to R3 user.

any query revert back

regards,

kaushal

Former Member
0 Kudos

For Portal Runtime problem you can refer to the following document

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b295ea90-0201-0010-a88f-bad...

2) For second problem, check whether you have defined the SAP System gateway Port in the following file

<drive>WindowsSystem32driveretcservices

e

Something like

sapgw01 3301/tcp

Regards,

Piyush

ps: Reward points if this is helpful.

pbechani
Participant
0 Kudos

Hi Piyush

The document you refered me to was very helpful. actually it has takenmeto step 2. I am now getting the following errors :

1. Could not connect to the R/3 System

2. Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=10.16.64.63 SYSNR=01 GWHOST=10.16.64.63 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR connection to host 10.16.64.63, service sapgw01 timed out TIME Fri May 19 12:25:00 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -12 MODULE nixxi_r_mt.cpp LINE 1070 DETAIL NiPConnect COUNTER 2

The second error is still appearing.

I have configured my system connection as Kaushal has suggested. I can create create transaction iviews perfectly, but the ESS and MSS imported content is the only thing giving me problems

Former Member
0 Kudos

Hi Prince,

Do you have the SAP Gateway entry in your services file as mentioned in my earlier answer ?

Regards,

Piyush

Former Member
0 Kudos

Hi Prince

check the string in C:\Winnt\system32\drivers\etc\Services

sapgw01----->3301/tcp

sapdp01----> 3201/tcp

also perform connection test from portal.

map administrator user to R3 user.

system administration->system configuration

locate ur system under portal content right click on system -> connection test.

perform connector test for system and reply the result

(Connection Test for Connectors).

alternate

if ur portal is >=SP13 than do the following.

login with administrator user into portal.

Change the link in the browser to: http://<portal>: <port>/irj/servlet/prt/portal/prtroot/com.sap.portal.unification.connection.tester.TestingConnection

fill acording to ur system property and test the connection.

if portal is <SP13 than download the com.sap.portal.unification.connection.tester.par

file which is attached to sap note 785029

unzip it and deploy it to portal server.

regards,

kaushal

Message was edited by: kaushal malavia

Former Member
0 Kudos

I think adding the entries in service file should solve it as I too have faced similar problems earlier : )

kai_unewisse3
Active Contributor
0 Kudos

Hi Prince,

what is the portal version (and SP) you are using ?

There are other versions of ESS and MSS out which are for ECC 5.0; see under the prerequites on the https://www.sdn.sap.com/irj/sdn/developerareas/contentportfolio.

It seems that you installed the ESS for 4.6C and not for ERP2004 ....

- Did you setup the portal (Initial Portal Permission Configuration ?) There is a How to on service.sap.com.

- did you setup the system as system configuration and have you created the necessary Alias e.g. SAP_HR_HumanResources ? ALso use the Fully qualified Domainname (FQDN),eg. portal.company.com, instead of the IP address. if so, you might want to add an entry in the portal server so you can use the FQDN.

Kai