cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding exectuing BAPI of IDES(4.6 C) using Webdynpro Application

Former Member
0 Kudos

Hi All,

My requiremnt is to execute BAPI of IDES(4.6 C) system using webdynpro application. For this, I have created technical system(Web AS ABAP)in SLD for the above mentioned IDES system. I have created the JCO destination settings for the MODELDATA & METADATA applications in Content Admin of WebAS JAVA.

When I tried to ping the destination, it's giving me failed message and when I tried to test, it is giving me error that SAP Gateway Failed.

Can any one help me in this process.

Thanks in advance.

Regards,

Maria

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Maria,

There are so many entries in "SERVICES" file.

Make following entry in your Services file under windows/system32/drivers/etc folder.

sapms<SID> 3600/tcp

where SID is your SAP R/3 system's 3 letter System ID.

Insert this entry at the end of the file and then press enter for one blank line.

if still it give error then change port to 3601/tcp and try.

And each time when you change entry services file, Restart your J2EE server.

Regards,

Bhavik

Former Member
0 Kudos

Hi Maria,

I got it what is the problem.

As you said you have made entry in services file but i think its not proper.

Make following entry in your Services file in windows/system32/drivers/etc folder.

sapms<SID> 3600/tcp

where SID is your SAP R/3 system's 3 letter System ID.

if still it give erro then change port to 3601/tcp and try.

And each time when you change services file, Restart your J2EE server.

If it won't work then let me know.

Bhavik

Former Member
0 Kudos

Hello Dev,

I haven't changed any entries in service file, they are existing by default.

Here is the system landscape:

1. SAP WebAS JAVA System

2. SAP R/3 IDES(4.6C) System

Please tell me where i have to enter the entry sapms<SID>(is it in WebAS system???).

Thanks once again.

Regards,

Maria.

Former Member
0 Kudos

Hi Maria,

At a time of testing JCO connections, whether it is giving success messege or any error messege?

If error messege then provide whole error messege. And have you checked that PUBLIC logon group is created at SAP R/3 side.

Regards,

Bhavik

Former Member
0 Kudos

Hello Dev,

When i tested the JCO connection it's giving the following error.

<b> com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=ctswas7 SYSNR=11 GWHOST=ctswas7 GWSERV=sapgw11 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR service '?' unknown TIME Tue May 24 17:22:46 2005 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -3 COUNTER 1</b>

I also checked the Logon group in IDES system. It is PUBLIC only.

Please let me know if you have solution.

Thanks in advance.

---Maria

Former Member
0 Kudos

Hi,

Can i connect to the ITS system on IDES(4.6C)system. If yes, Please let me know the settings in ITS server as well as in SLD.

Thanks ........

Regards,

Maria.

Former Member
0 Kudos

Hi,

Go to windows/sysetem32/etc on your server machine.

Find services file and check that you have the following entry there:

sapms<systemname> 3600/tcp

where 3600 is your message server port

P.S. Don't forget the new line

Hope it helps.

Victor

Former Member
0 Kudos

Hi,

Go to transaction RZ70 and check if the values displayed here for the gateway server matches the values you had given in your sld server settings

Regards

Bharathwaj

Former Member
0 Kudos

Hello Bharthwaj,

Transaction RZ70 won't be there in IDES(4.6C) version. I tried checking the gateway service through SMGW but there is no active entries in that.

Thanks again.

Regards,

Maria

Former Member
0 Kudos

Hi Maria,

Check your Data Supplier Bridge settings.Check if u r server is up. Check if you can directly logon using SAP GUI. IN system 32 there is a file called host where you have to specify your R/3 systems IP address .And there is a file called services where you have to add the message server port .Check them all

And go thru this

Hope this was helpful

Regards

Bharathwaj

Former Member
0 Kudos

Hello Bharathwaj,

I have checked the following,

1. DSB settings

<b>Server : Name of my WebASJAVA Server

Service : sapgw00</b>

2.Server

<b> Server is up</b>

3.Direct Logon to SAP GUI

<b>

Yes, it is working properly.</b>

4. About services and hosts files in etc directory

<b> They were set properly.</b>

Please let me know if you have any other solution.

Thanks....

Maria