cancel
Showing results for 
Search instead for 
Did you mean: 

testing R/3 connection entry R/3 system and XI

Former Member
0 Kudos

Hi all,

when i'm trying to test the connection between SAP R/3 and XI i get some erors.

My question is how can i fix this problem.

Points will be given for usefull answers.

the technical system and business system are well created in the XI sld

I've tested the connection via transaction SLDAPICUST and RZ70

Via transactions SM59 the R/3 connections with XI works, but the tcp/ip connections for SAPSLDAPI gives also an error;

How can i fix this or where something is wrong installed?

Kind regards

Gwen

-


see oss note 0000753013 2007 with attachement

Accepted Solutions (1)

Accepted Solutions (1)

nisarkhan_n
Active Contributor
0 Kudos

These RFC Dest of typr TCP/IP are Registred Server Program, make sure you have created JCO in Visual Admin with similar name and also check your HOST and sapgateway there.

it will work if JCO is created and host,sapgateway is right.

perform SLDCHECK to make sure your R/3 is able to ping to SLD, which you have already connected using the SLDAPICUST and RZ70.

check the JCO entries in visual admin.

Former Member
0 Kudos

Hi,

while doing a connection test he gave me an eror telling the program is not registred.

sldcheck gave me also an error

see copy screen in oss note 0000753013

kind regards

Gwen

Answers (4)

Answers (4)

kenny_scott
Contributor
0 Kudos

Hi Gwen,

the PRogram ID should be exactly the same (case sensistive) for SAPSLDAPI in SM59 as it is in JCO RFC Provider.

Also check TCODE

SMGW

-> Logged on clients

Is there an entry for SAPSLDAPI

Regards

Kenny

Regards

Kenny

kenny_scott
Contributor
0 Kudos

Hi Gwen,

the following notes should help you :

#768452 Troubleshooting SLDCHECK

#1057720 Missing configuration for JCO/RFC destinations of the SLD

Regards

Kenny

Former Member
0 Kudos

Hi,

if i perform a SLD check in R/3 there are indeed some errors

see new attachement in oss note 0000753013 2007

how can i get some more detail information concerning this error

How can i check my JCO settings in visual admin

think this is on the J2EE server under administration?

kind regards

Gwen

Former Member
0 Kudos

Hi,

To access J2EE Visual admin you need to have authorizations to login to server. You can contact your admin and ask them to check if the programID mentioned in your RFC destination is registerd in the Visual admin.

Regards,

Kumar

nisarkhan_n
Active Contributor
0 Kudos

Q. if i perform a SLD check in R/3 there are indeed some errors:

check your SLDAPICUST is pointing to correct SLD host name and PORT also the user under what is the user you have maintained?

Q. How can i check my JCO settings in visual admin think this is on the J2EE server under administration?

If you dnt have acess to Visual Admin-> on R/3sm59-> RFC Dest (TCP/IP) SAPSLDAPI, this RFC there is regostred server program, host name and sapgateway.

if you select the registred server program---> IF JCO is created with similar name thenonly the connection will be sucessfull.

if you get error Registred server program not found then JCO connection is not created.

yes this JCO connections are created using the visual admin tool, under services-->JCO

Former Member
0 Kudos

Hi,

SLDAPICUST is pointing to the correct SLD, host name and port.

In visual Admin at my point of view JCO settings are good

but when testing i got an errer telling program is not registred.

What can then be still wrong ?

Thank you for your advide

Kind regards

Gwen

nisarkhan_n
Active Contributor
0 Kudos

if the error is Program not registred:

Can u check with the basis which all JCO connections are created

1. IS SLDCHECK is working from R/3 working without any error

2. In this RFC LCRSAPRFC , SAPSLDAPI on R/3 the Registred program server should match with JCO Entries cretaed in Visual Admin, also the host name (XI Host) and sapgateway (sapgw00 -> 00 is the instance name)

cross check the host name and gateway also once.

Former Member
0 Kudos

Hi

1. In R/3 the SLDCHECK is not working without any errors see oss note 0000753013 for printscreen

2. RFC LGRSAPRFC, SAPSLDAPI are creatd with same JCO entries, see printscreen in OSS note 0000753013

XI host : sideshow-mel.escapo.local

sapgateway : sapgw00

kind regards

Gwen

Former Member
0 Kudos

Hi,

Your SLDCHECK must be working fine both in R/3 and as well as in your XI system. and also the RFC Destinations LCRSAPRFC & SAPSLDAPI should not have any errors when you test the connection. If you have this errors then ask the basis people to fix them first.

Regards,

Kumar

nisarkhan_n
Active Contributor
0 Kudos

1. In R/3 the SLDCHECK is not working without any errors see oss note 0000753013 for printscreen.

not working without any errors ? ( not working right)

In SLDAPICUST what are the values you have maintained and which user?

2. RFC LGRSAPRFC, SAPSLDAPI are creatd with same JCO entries, see printscreen in OSS note 0000753013

XI host : sideshow-mel.escapo.local

sapgateway : sapgw00

the RFC is LCRSAPRFC not LGRSAPRFC.

XI Host: try giving the IPAddress.

S

Former Member
0 Kudos

Hi

SLDAPICUST R/3 : Alias = SAP_CONFIG

Hostname = sideshow-mel.escapo.local

Port = 50000

User = PIAPPLUSER

SLDAPICUST XI : ALias = SAP_CONFIG

Hostname = sideshow-mel.escapo.local

Port = 50000

User = PIAPPLUSER

2. Is that wrong that LCRSAPRFC, SAPSLDAPI are created with same JCO entries?

trying IP = same error

nisarkhan_n
Active Contributor
0 Kudos

Firstly tell me your SLDCHECK is working fine or not?

SLDAPICUST: these values are right

User = PIAPPLUSER

SLDAPICUST XI : ALias = SAP_CONFIG

Hostname = sideshow-mel.escapo.local

Port = 50000

User = PIAPPLUSER.

Is that wrong that LCRSAPRFC, SAPSLDAPI are created with same JCO entries?

in this RFC dest you are selecting the option registred Server program " the name you write in this tab should be same as the JCO Entries"

what is the name in the Registred server program you have given?

Former Member
0 Kudos

Hi,

The SLDCHECK is not working properly. I gave errors?( how can i fix this error)

the server program i used are at R/3 side :

LCRSAPRFC_XID

SAPSLDAPI_XID

the server program i used at XI side :

AI_DIRECTORY_XID

AI_RUNTIME_XID

LCRSAPRFC_XID

SAPSLDAPI_XID

when i execute transaction smgw in XI i have 2 entries

when i execute transaction smgw in R/3 i have 0 etries

regards

Gwen

Former Member
0 Kudos

Hi,

Inform your Basis team.they will take care of this issue.

Regards,

Kumar

nisarkhan_n
Active Contributor
0 Kudos

Hi

In this RFC you have created mention the host of R/3 not XI.

if the host name and sapgateway you have mentioned is of the XI then it will not work, change it to R/3's host name and SApgwateway.

regards

khan

Former Member
0 Kudos

Hi,

You mean the rfc in R/3 ?

this is another error while testing INTEGRATION_DIRECTORY_HMI

HTTP/1.1 500 Internal Server Error

Set-Cookie: saplb_*=(sideshow-mel_XID_00)6645050; path=/

Set-Cookie: JSESSIONID=(sideshow-mel_XID_00)ID1956004850DB11611600192057997373End; path=/; domain=.escapo.local

Content-Type: text/html;charset=ISO-8859-1

Content-Length: 1936

connection: close

server: SAP J2EE Engine/7.00

pragma: no-cache

date: Fri, 07 Sep 2007 12:36:23 GMT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>

<title>Error Report</title>

<style>

td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;}

A:link

A:visited

A:active

</style>

</head>

<body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0">

<table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">

<tr bgcolor="#FFFFFF">

<td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>&nbsp;&nbsp;500 &nbsp Internal Server Error</b></font></td>

</tr>

<tr bgcolor="#3F73A3">

<td height="23" width="84"><img width=1 height=1 border=0 alt=""></td>

<td height="23"><img width=1 height=1 border=0 alt=""></td>

<td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00&nbsp;</b></font></td>

</tr>

<tr bgcolor="#9DCDFD">

<td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td>

</tr>

</table>

<br><br><br><br><br><br>

<table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75">

<tr bgcolor="#FFFFFF">

<td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>&nbsp;&nbsp;Application error occurred during request processing.</b></font></td>

</tr>

<tr bgcolor="#FFFFFF">

<td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>&nbsp;&nbsp;Details:</b></font></td>

<td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>&nbsp;&nbsp;Error [javax.servlet.ServletException: REQID not found].<br><b>

Exception id: [00145EFA3A84007400000083000017900004398AE2FDFC14]</b></pre></font></td>

</tr>

</body>

</html>

Former Member
0 Kudos

Hi

if i understand you correctly in R/3 i have to change

registered program id from

LCRSAPRFC_XID to LCRSAPRFC_KRUSTY

even so for SLDSAPAPI

and

hostname and gateway must be hostname of SAP R/3

where can i find the hostname and gateway settings for R/3?

regards

nisarkhan_n
Active Contributor
0 Kudos

if i have understood properly...this is what you have done.....

TC: SLDAPICUST

Alias Name:SAP_CONFIG

Prim: Checked

HostName: sideshow-mel.escapo.local (XI HOST NAME)

Port: 50000

Username: PIAPPLUSER

Pwd: (cross check the PWD once)

SLDCHECK will also work fine when RFC Dest LCRSAPRFC, SAPSLDAPI

Now in RFC Dest LCRSAPRFC: (TCP/IP)

Registred Server Program: Checked

Program ID: LCRSAPRFC_XID ( this Program ID should be created in Visual Admin JCO with name LCRSAPRFC_XID)

Gateway Options:

Host: sideshow-mel.escapo.local

gateway: sapgw00

if you have done this setttings, and if JCO is created with the name LCRSAPRFC_XID it will work.

similary create for the SAPSLDAPI....

tell me are these things you have done?

Former Member
0 Kudos

yes i have done this like you said

in the oss note you can find the printscreens of it

but it won't wor yet

nisarkhan_n
Active Contributor
0 Kudos

Can u cross check with the basis that these JCO Entries exists

LCRSAPRFC_XID

SAPSLDAPI_XID

also are you able to open the SLD from SXMB_IFR with the PIAPPLUSER and PWD you mentioned in the SLDAPICUST.

Your steps are fine.... i think the JCO entries are problem..kindly confirm with the basis team about the name it should match

nisarkhan_n
Active Contributor
0 Kudos

SLDCHECK will work only when the RFC dest LCRSAPRFC, SAPSLDAPI are working fine.

nisarkhan_n
Active Contributor
0 Kudos

IN XI

RFC dest : INTEGRATION_DIRECTORY_HMI (Connection H)

when you test this result "500 Internal Server Error" this means it is fine....ignore this error.

Former Member
0 Kudos

Hi,

I cannot connect to the SLD with transaction sxmb_ifr, the window the enter login and pwd doesn't appear

Think this is a installation problem ?

Regards

Gwen

nisarkhan_n
Active Contributor
0 Kudos

can you open this in your IE

http://sideshow-mel.escapo.local:50000/rep/start/index.jsp

sideshow-mel.escapo.local ==XI Host

Former Member
0 Kudos

Hi

yes i can open it but he connect me with the following user : PISUPER

regards

nisarkhan_n
Active Contributor
0 Kudos

how about with the PIAPPLUSER.....

are you not able to open IB from SXMB_IFR? if No then the problem is with the Installation.

and about the RFC Till your basis gives you the confirmation on JCO entries created, this problem cannot be fixed.

Shabarish_Nair
Active Contributor
0 Kudos

Is it the proxy connectivity?

in that case ref: /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies