cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Connection error in SM59 for SAP J2EE

Former Member
0 Kudos

Hi All,

i am getting the following error description while testing the connection for

SAP J2EE ...

Connection Test SAPJ2EE

Connection Type TCP/IP Connection

Logon Connection Error

Error Details Error when opening an RFC connection

Error Details ERROR: program sapfallback not registered

Error Details LOCATION: SAP-Gateway on host filip / sapgw00

Error Details DETAIL: TP sapfallback not registered

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 1483

Error Details MODULE: gwr3cpic.c

Error Details LINE: 1694

Error Details RETURN CODE: 679

Error Details SUBRC: 0

Error Details RELEASE: 700

Error Details TIME: Tue Mar 31 02:44:35 2009

Error Details VERSION: 2

Help me resolve this

Regards,

Mahesh.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

sapfallback is not registered on your application, please check the below things.

1. RFC created should have checked the radio button 'registered server program' in SM59.

2. check if some restart or instance is down on Java instance.

3. Check in SMGW if program is sapfallback visible here. Goto-> Logged On Clients, here you should be able to see sapfallback entry.

PS: if you try to register the server program manually from any of your OS, it will last only for that user session, mean if you logoff the registration will also get terminated so this would be a temporary solution for you.

Former Member
0 Kudos

Kindly give Same Program ID in Communication Channel and RFC Destination.

Activate the Communication Channel

Now Check Test Connection in RFC Destination.

it wiil surely works ...

Reward Point if useful

Former Member
0 Kudos

Hi All,

i have a similar issue in our SCM 5.0 dev server [abap+java]

I have logged on to visual admin, JCO RFC, but could not find option to create a new RFC or register the program 'sapfallback'.

Also in TCP/IP type RFC destinations in SM59, i could not find anything for J2EE engine.

Please advice.

-Shyamsundar G C

Former Member
0 Kudos

Hello, Sujoy.

To create new destination you should fill all fields as described in Note 684841 and press button "Set". If you already have configured any other destinations, please preliminarily uncheck selected destination by pressing Ctrl-key and click left mouse button at currently selected destination, else you will change this existing destination but not create new destination.

ajjunit84
Active Participant
0 Kudos

Hi All ,

Working on release NW 2004s and checked the note number mentioned earlier 684841.

Have created the the JCO RFC provider and now SAPJEE rfc is working fine.

However , my issue is originally related to SLD .RFC SAPSLDAPI_SID which should be a registered server program and using its on Gateway is failing.

Return Code is 679

Error message is "Program Id is not registered"

Any inputs pls.

Regards

Ajay

Former Member
0 Kudos

Hi,

Please follow this steps:

Creating RFC Destinations in the ABAP and Java Environment

You need to create the following RFC destinations in transaction SM59 (ABAP) and the Visual Administrator (Java):

u2022 AI_RUNTIME_JCOSERVER

u2022 AI_DIRECTORY_JCOSERVER

u2022 LCRSAPRFC

u2022 SAPSLDAPI

Depending on your client settings, it may be necessary to be logged on your SAP Exchange Infrastructure host as SAP system user with the authorization to maintain customizing tables and to release transport orders. Note, that user "SAP*" or "DDIC" does not have these authorizations.

Maintaining the RFC Connections (Transaction SM59)

1. Log on to your SAP Exchange Infrastructure central instance host.

2. Call transaction SM59.

3. Choose Create.

4. Enter at least the following:

RFC destination: AI_RUNTIME_JCOSERVER

Connection type: T

Description: <your description>

5. Choose ENTER

6. Choose the tab Technical settings and do the following:

a. Select Registered Server Program

b. In the Program ID field, enter: AI_RUNTIME_<SID> where <SID> is the SAP system ID of your Integration Server host. Use uppercase letters only.

c. Enter Gateway host and Gateway service of your Integration Server host. To find out the required parameters:

a. On the Integration Server host, call transaction SMGW

b. Choose Goto u2192 Parameters u2192 Display (see entries for gateway hostname and gateway service)

7. Choose tab Special Options and select the flag Unicode in the box Character Width in Target System.

8. Save your settings.

9. Repeat the steps 3 u2013 8 for the remaining destinations:

Destination

Values

AI_DIRECTORY_JCOSERVER

Program ID: AI_DIRECTORY_<SID>, where <SID> is the SAP system ID of your SAP XI host

LCRSAPRFC

Program ID: LCRSAPRFC_<SID>, where <SID> is the SAP system ID of your SAP XI host.

SAPSLDAPI

Program ID: SAPSLDAPI_<SID>, where <SID> is the SAP system ID of your SAP XI host.

10. Leave the transaction SM59 open for later tests.

J2EE Configuration for the Destinations (Visual Administrator)

1. On your SAP Exchange Infrastructure central instance host, start the J2EE Engine administration tool.

2. Choose Cluster u2192 Server u2192 Services u2192 JCo RFC Provider

3. In the section RFC destination, enter exactly the same program ID and gateway options for AI_RUNTIME_JCOSERVER that you used in the step Maintaining the RFC connection above. Additionally, set the number of processes to 10.

4. In the section Repository, do the following:

a. Enter the parameter for the SAP XI host: Application Server, System Number, Client and Language.

b. For User and Password maintain the login parameters for the user SAPJSF.

c. Select the flag Unicode.

6. Choose Set.

7. Repeat the steps 3 u2013 6 for the remaining destinations:

Destination

Values

AI_DIRECTORY_JCOSERVER

u2022 Corresponding values from SM59

u2022 Number of processes: 10

LCRSAPRFC

u2022 Corresponding values from SM59

u2022 Number of processes: 3

SAPSLDAPI

u2022 Corresponding values from SM59

u2022 Number of processes: 3

Testing the RFC Destination

After you have maintained all RFC destinations in both the ABAP and Java environment, you can check all the connections above as follows:

1. Call transaction SM59 again.

2. Open your RFC destination.

3. Choose Test Connection. No error should be displayed.

This will solve your problem.

Thanks

Laxmi Bhushan

ajjunit84
Active Participant
0 Kudos

Hi Laxmi,

Thanks for the quick response.

I understand that for SLD we need to create SAPSLDAP and LCRSAPRFC ,but the other two you have mentioned are new one.

Actually i am not configuring SLD on PI system. I am actually configuring Local SLD on ERP 6.0 .

So im creatign two RFC and providing the gateway host of the local system and strucking with the error.

Regards

Ajay

Edited by: Ajay Sandal on Jul 24, 2009 12:47 PM

Former Member
0 Kudos

the program id u r providing is not registered in j2ee engine.. check that u provide exactly the program Id as defined in J2ee ,, id name is case sensitive check that too...

also in sm59 u should have "registered server program" radio button selected.. gateway host and gateway

service should be correct...

-------

there can also be the case that program id sapfallback is not defined in the sap j2ee engine...

to check this goto visual admin-->JCo RFC Provided Service , there create the prgram id

as described in the sap note 684841 this should solve your query...

... check all these and do update us with results..

regards

Zahid

Edited by: Zahid Murtaza on Jun 26, 2008 6:35 AM

Former Member
0 Kudos

Hi,

Refer

Check the below doc for trouble shooting Precalcu .server.

https://websmp104.sap-ag.de/~sapidb/012003146900000085752006E/HowtoInformationBroadcasting.pdf

Thanks

Swarup