cancel
Showing results for 
Search instead for 
Did you mean: 

Remote Function Call (RFC)_For WWI Generation Server

Former Member
0 Kudos

Dear Experts,

I have tried creating an RFC for the WWI Generation Server and received an error message upon testing its connection by clicking the "connection test" button. I have obtained the details from my saprfc.ini file and i believe this is the instruction found in the cookbook. Can anyone please share what tcode, screen or navigation should i use or do to get the correct information of the following fields in creating RFC:

1. Program ID

2. Gateway Host

3. Gateway service

Thank you so much in advance.

Kind regards,

Mark

Accepted Solutions (0)

Answers (2)

Answers (2)

dhinsap
Active Participant
0 Kudos

Hi Mark,

The main cause of the error is that the WWI server isn't running in the background.

Logon to the local admin account and start the WWI server. Then logon back in your user account and check. The server will be up and running.

If u need still further information regarding the gateway, contact your BASIS team, they will maintain the gateway and the service.

The prog id is usually:

Prog Id: BP_EH_WWI

GWHOST=SEASRV**.********.com

GWSERV=sapgw00

GWHOST: Enter the application server under which your generation server should be registered. The complete router string with applica-tion server must be entered, for example: GWHOST=/H/sapgate/H/hstd01.

You determine the application server and router string by selecting your system in the SAP Logon window and then choosing Properties.

GWSERV: Enter the name of the gateway service that is available on the GWHOST.

You determine the gateway service by selecting your system in the SAP Logon and then choosing Properties. The name is made up of sapgw and the system number, for example: GWSERV=sapgw02 Note the upper and lower case letters.

Award me If it works for you or let me know if u face any problem.

Regards

Dhinesh

Former Member
0 Kudos

Dear Dhinesh,

What do you mean by this "Logon to the local admin account and start the WWI server. Then logon back in your user account and check"? You mean logging in in SAP? Please enlighten me more. Maybe a further detailed steps would be helpful. Thank you!

Kind regards,

Mark

dhinsap
Active Participant
0 Kudos

Dear Mark,

The WWI server is installed under the local admin account.Its like this. Ask your system administrator to create a local admin account with all priveleges. Install the WWIexe package and it will ask for your RFC destination.  Follow the documentation as mentioned in 850 SAP Best practice document.

http://www.google.co.in/url?sa=t&rct=j&q=850%20sap%20best%20practice&source=web&cd=1&sqi=2&ved=0CC8Q...

The trial version of the wwi server will last for 10 days.

This will help you.

Regards

Dhinesh

Former Member
0 Kudos

Dear Dhinesh,

Unfortunately i tried to create WWI Generation Server and EH&S Management Server and both encountered same error. I tried to not populating the Gateway host and Gateway service of both RFC's as I believe this set up is also allowed provided only one application server is used (found in the comment column of the word file on the link you provided). Anyway the goal as of the moment is to test if the connection will be successful or not. I have noticed that on the error message, BP_CH_WWI and BP_CH_EHS_MANSRV are not registered (Please see below screenshots).

Just to highlight that I havent got any license key mentioned on the file and Ive been testing WWI early of February.

Please extend any help that you can provide. Thank you!

Kind regards,

Mark

dhinsap
Active Participant
0 Kudos

Dear Mark,

I too faced the same error earlier before i solved it. Now you have to install the same exe file after the license has been expired ( valid for 10 days only) or get a license from SAP (no charges i believe) by sending a mail to them and you can use this license for 'n' number of sytems and is valid for the whole company.

follow the steps as below:

Create 3 RFC's in SM59 tcode using TCP/IP connection type

1: RFC destination: BP_EH_EHS_MANSRV

Connection type: T

Description: BP EH: RFC destination to EHSM management serverEHSM

under technical settings tab

=Select Registered server program

program id: BP_EH_EHS_MANSRV

Start type of External program : Default gateway value

gateway options

Gateway Host: SEASRV05.wipro.com

Gateway service: sapgw00

2. RFC destination: BP_EH_WWI

Connection type: T

under technical settings tab

=Select Registered server program

program id: BP_EH_WWI

Start type of External program : Default gateway value

gateway options

Gateway Host: SEASRV05.wipro.com

Gateway service: sapgw00

3. RFC destination: WWI_GENSERVER_SYN_DEST

Connection type: T

under technical settings tab

= Start on application server

Start type of External program : Default gateway value

gateway options

Gateway Host:(leave it blank)

Gateway service: (leave it blank)

Install the wwi server package 30( u can get it from SAP market place).

Check the setings from WWI COOKBOOK step by step, follow SAP notes if required. U will see the server up ad running. But make sure that the wwi server is installed in the local admin account.

The SAPRFC.INI file needs to be maintained as below

[General]

Tlevel=5

Cols=200

Lines=400

Delay=20

/* this entry points to TCP/IP-Destination WWI_GENPC1 */

[BP_EH_WWI]

DEST=BP_EH_WWI

PROGID=BP_EH_WWI

TYPE=R

GWHOST=SEASRV05.wipro.com

GWSERV=sapgw00

PROGRAM=wwirfcsvU.exe

/* this entry points to TCP/IP-Destination WWI_GENPC2 */

[BP_EH_WWI]

DEST=BP_EH_WWI

PROGID=BP_EH_WWI

TYPE=R

GWHOST=SEASRV05.wipro.com

GWSERV=sapgw00

PROGRAM=wwirfcsvU.exe

/* this entry points to TCP/IP-Destination WWI_GENPC3 */

[BP_EH_WWI]

DEST=BP_EH_WWI

PROGID=BP_EH_WWI

TYPE=R

GWHOST=SEASRV05.wipro.com

GWSERV=sapgw00

PROGRAM=wwirfcsvU.exe

/* this entry points to TCP/IP-Destination WWI_GENPC4 */

;[PC4]

DEST=WWI_GENPC4

PROGID=WWI_GENPC4

TYPE=R

GWHOST=

GWSERV=

/* this entry points to TCP/IP-Destination WWI_GENPC5 */

;[PC5]

DEST=WWI_GENPC5

PROGID=WWI_GENPC5

TYPE=R

GWHOST=

GWSERV=

/* this entry points to TCP/IP-Destination WWI_GENPC6 */

;[PC6]

DEST=WWI_GENPC6

PROGID=WWI_GENPC6

TYPE=R

GWHOST=

GWSERV=

/* this entry points to TCP/IP-Destination WWI_GENPC7 */

;[PC7]

DEST=WWI_GENPC7

PROGID=WWI_GENPC7

TYPE=R

GWHOST=

GWSERV=

/* this entry points to TCP/IP-Destination WWI_GENPC8 */

;[PC8]

DEST=WWI_GENPC8

PROGID=WWI_GENPC8

TYPE=R

GWHOST=

GWSERV=

/* this entry points to TCP/IP-Destination WWI_GENPC9 */

;[PC9]

DEST=WWI_GENPC9

PROGID=WWI_GENPC9

TYPE=R

GWHOST=

GWSERV=

/*==================================================================*/

/* The following is a sample entry for the EH&S Management Service  */

/* with TYPE=R                                                      */

/* Be sure to enter an appropriate GWHOST and GWSERV for each       */

/* destination. The GWHOST is the Application-Server which          */

/* is set in the corresponding TCP/IP-Destination entry             */

/* (transaction SM59) in R/3.                                       */

/* GWSERV is the service which is responsible for the connection    */

/* between R/3 and ehsManSrv.exe. This entry is usually set to      */

/* sapgw<sid>, where sid is the system-Id of your R/3-System.       */

/*                                                                  */

/* The flag MANAGED indicates that this is a destination for        */

/* EH&S Management Service                                          */

/*==================================================================*/

/* this entry points to TCP/IP-Destination EHS_MANSRV */

[BP_EH_EHS_MANSRV]

DEST=BP_EH_EHS_MANSRV

PROGID=BP_EH_EHS_MANSRV

TYPE=R

GWHOST=SEASRV05.wipro.com

GWSERV=sapgw00

MANAGED=1

PROGRAM=wwirfcsvU.exe

[BP_EH_WWI_ID5_01]

DEST=BP_EH_WWI_ID5_01

TYPE=R

PROGID=BP_EH_WWI

GWHOST=SEASRV05.wipro.com

GWSERV=sapgw00

RFC_TRACE=0

PROGRAM=wwirfcsvU.exe

Regards

Dhinesh

Former Member
0 Kudos

Thanks Dhinesh for the helpful inputs. May I know if it also applies if i use the latest version (7.30)?

Kind regards,

Mark

dhinsap
Active Participant
0 Kudos

Yes it also applies to the sapgui version 7.3.

Regards

Dhinesh

dhinsap
Active Participant
0 Kudos

Dear Mark,

After you run the connection test in SM59 provided you maintained the TCP/IP settings correctly as i gave before, the test should run fine.I have provided the screenshots below.

Ping me if u need further help reg any settings as I happened to face the same problem like you do.

After a lot of settings, I made it happen and its working fine.

Regards

Dhinesh

Former Member
0 Kudos

Dear Dhinesh,

Right now im still trying to follow the instructions you provided and hopefully resolves the error. I'll get back to you to grant your points if needed. Thanks for your help.

Kind regards,

Mark

dhinsap
Active Participant
0 Kudos

Dear Mark,

Were you able to run the generation PC and verify the test results of RFC. Please update..

Regards

Dhinesh

Former Member
0 Kudos

Dear Dhinesh,

Really appreciate your help on this on. I'm still trying to test as I have done the steps already and my rfc isnt working. Here are the steps ive made.

1. Created a new local with Administrator profile.

2. i have installed WWI generation server and Management Service using the created new local. Perhaps i chose the incorrect installer here.

Really stuck in here. I tried asking our BAsis and cant resolve it and now im looking for a solution by my own. If it would be fine with you, kindly add me on ym. My address is jaguardrives@yahoo.com.

Kind regards,

Mark

Former Member
0 Kudos

I have accessed tcode SMGW. On the screen i selected Go To and clicked Remote Gateways and the below item appeared:

Does this mean that i can use the above info for the following RFC fields in SM59:

Gateway host - pnxdev

Gateway service - sapgw00

dhinsap
Active Participant
0 Kudos

Dear Mark,

Hope u r proceeding correctly. Request you to open the WWI cookbook and follow each step.

Your gateway host should be as pnxdev.wipro.com ( if ur company domain is Wipro - check ur email domain).

As shown in the picture, u can use that data in RFC. It is actually maintaining an interface with SAP application server and the WWI server.

Following wwi cookbook will solve ur issue and u need to have patience before u work with that. If SAP note is to be followed inbetween, please work it through.

Regards

Dhinesh

Former Member
0 Kudos

Dear Dhinesh,

What icon should i run for the WWI generation server? I have installed it in my local admin account but i could find how to run/activate it. Please advise.

Kind regards,

Mark

dhinsap
Active Participant
0 Kudos

dear Mark,

when you goto txn CGSADM, u will find the nodes similar to the below screen. Click on the icon which is marked with a square at the top below Display Server Services. This will enable us to create multiple generation servers. Maintain the RFC details.

After u have done this. Goto the WWI folder in c:. U will find a file called SVCADMIN.EXE.

Double click and choose CONTROL AND CONFIGURE SERVICES OPTION else choose Install a service.

ON THE POPUP, ENTER THE DETAILS AS BELOW

HOST = TRVWKS48 (LOCAL SYSTEM NO) where the Wwi server is installed.

NAME: BP_EH_WWI_ID5_01 (NAME OF THE WWI SERVER)

DISPLAY NAME: WWI SERVER OR WWI GENERATION SERVER

EXECUTABLE PATH: -D BP_EH_WWI_ID5_01 –T3

Run service in Local system must be unchecked

User:     .\localadmin

Password: password (can be anything)

On the service attributes tab, choose Automatically as start type and Own process as Service attributes. Ignore the service dependencies as this will appear after the service is installed.

On the Event logging tab,  the following must be checked. Do not enter anything in message files.

Use windows event logging

Application logfile

Supported event types:

Information, warning, Error.

Ignore other check boxes. Maintain the message files as below

C:\wwi\wwisvc.exe

C:\wwi\win32svc.dll

MAKE SURE THAT THE TEMPLATES WWI, WWILAYT AND WWIDISPL LAYOUT ARE AVAILABLE ON THE STANDARD TEMPLATE PATH AND ON WWI FOLDER.

IF NOT COPY THE ABOVE LAYOUT FROM WWI FOLDER AND PLACE IT IN THE STANDARD TEMPLATE PATH.

STANDARD TEMPLATE PATH: C:\Program Files\Microsoft Office\Templates\1033

Regards

Dhinesh


Former Member
0 Kudos

Dear Dhinesh,

Very helpful but unfortunately no info coming out using tcode CGSADM.

Kind regards,

Mark

dhinsap
Active Participant
0 Kudos

MArk,

Please share some screens to clear the issue.

Rgds

Dhinesh

Former Member
0 Kudos

Hi Dinesh !

I am also following the same problem. This is how i proceeded,

1. Created a OS level user with "log on as service"

2. Logged on as Administrator & executed wwi setup and installed all the options such as

     i. Information Syestem / Labelling workstation

     ii. Install Generation server

     iii. Install GLM print Tool

     iv. Workstation for Editing Report Templates

     v. WWI File Server Installation

     but in this order ii -> iii -> i -> iv -> v

3. Set up Generation server & Management server as MS windows service using svcadmin.

But when we monitor the server using CGSADM, I get this error,

when cg5z was executed, i get the following error msg.

when the RFC connection was tested, i get the following error,

RFC Test 1.jpg

When i run svcadmin -> Control & Configure services - > EH&S Administration Management Server - > Start, i get this error,

similarly for WWI Generation server,

If you have faced similar kind of error when you have installed can you provide some guidance ?

dhinsap
Active Participant
0 Kudos

Dear Subhash,

check whether U have maintained RFC's properly and it is running.If u find errors, check with your basis team to know if there is any kernel updation and patch updates. Make sure u install the latest patch.

Follow WWI cookbook for RFC maintenance. Without RFC working, ur EHS admin server will not work properly. without EHS admin server, generation server cannot be installed. Check through the blogs in this forum , where I have posted sufficient information. Now Mark is able to make the server running and up with this information.

Regards

Dhinesh

Former Member
0 Kudos

Hi Dinesh !

Yes, as you said am facing pbm in RFC connection. I have maintained the DMS settings as you have mentioned in thread 3395183). Can you provide some more info on RFC.?

I am describing how i did the installation.

1.IDES server is there and another local PC (with frontent) is there.

2.WWI is installed in the local PC by following the instructions in the cookbook(creating Local user with all administrative privilege and wwiuser with "log on as service")

3. Though RFC destinations are not working, proceeded further to install generation server.

4.Executed the step "Installation of WWI with EH&S Management Server". For the GW host, earlier we maintained the IDES server name without the router string (I posted the output in Image 4 of my previous reply). Now we maintained the value with router string. For GWServ, entered sapgw followed by the instance number from the logon page and maintained other values as mentioned in cookbook.

Now when i start the service, it is running,

But when i execute the cgsadm, i still get the same error, ""No EH&S management server is currently logged on at the SAP gateway".

Here are the RFC Destinations i used,

Management server,

DEST=EHS_MGMT_ID3

PROGID=EHS_MGMT_ID3

TYPE=R

GWHOST=/H/***.**.***.**/H/IDES

GWSERV=sapgw01

MANAGED=1

PROGRAM=wwirfcsvU.exe

WWI Generation server,

DEST=GENPC_ID3_800_1

PROGID=GENPC_ID3_800_1

TYPE=R

GWHOST=/H/***.**.***.**/H/IDES

GWSERV=sapgw01

MANAGED=1

PROGRAM=wwirfcsvU.exe

Synchronous server,

DEST=GENPC_ID3_800_SYNC1

PROGID=GENPC_ID3_800_SYNC1

TYPE=

GWHOST=

GWSERV=

Former Member
0 Kudos

Hi Dinesh..!

The EHS Management server has to be installed in the SAP system server or in any local pc with front end..?

dhinsap
Active Participant
0 Kudos

Dear Subhash,

The EHS managament server can be installed 2 ways. It require a separate dedicated server or as a local installation. The GWServ must be entered as a fully qualified string such as seasrv04.hp.com. Check what kind of server r u using is it a linux based or windows serv er. U need to install the latest patch. check with ur basis team. ensure taht the RFC are working fine with help from basis team. without these, nothing will work

The parameter managed=1 should not be maintained for all destinations. It indicates that a particular destination will acts as the management server.

The generation server can be installed only when the ehs mgmnt server is running ok.

Check my blogs in this forum with screenshots for more details.

Cookbook will give u precise information.

Regards

Dhinesh

Former Member
0 Kudos

Hi Dinesh..!

Thank you for showing the path & guidance u provided. Now I installed EHS Management server & successfully running generation server as service...!

The RFC problem i faced is due to the fact that two application servers are in one sap system. Trying to apply the sap note for that. Meanwhile installed it on the sap system server itself, instead of doing it in local pc with front end. I am able to give print from both PC...!

Now exploring different System landscape...!

Former Member
0 Kudos

HI Mark,

you can find these fields in the transaction CGSADM.

you must have proper authorization to access the same.

Reagards

kamal

Former Member
0 Kudos

Dear Kamal,

Thanks for sharing your knowledge. I was prompted with the below message upon accessing the said tcode. Do you have any idea what should be done in relation to this popping message?

Kind regards,

Mark

Former Member
0 Kudos

HI Mark,

could be couple of reasons for this message. you can check the note - 1143158.

you may get solution.

Regards

kamal