Fm to find RFC connection
Hi All,
Is there any Available FM which can find rfc connection which is calling from .net connector?
Regards,
Moderator message: please do not open multiple threads for the same or similar issue.
Edited by: Thomas Zloch on Jan 13, 2011 12:06 PM
Hi Sridhar,
If u have access to SM59 transaction then u can check and test the connection there it self.
If u don't have access then check the table RFCDES where all RFC destinatios defined for your system is stored.
Thanks,
Vinod.
Similar Messages
-
How to find rfc connection exist between R/3 and APO ?
Hi all,
i wanted to find out...
rfc connection exist between R/3 and APO ?
kindly help in this regard..
Thanks
JoshiHi Sridhar,
If u have access to SM59 transaction then u can check and test the connection there it self.
If u don't have access then check the table RFCDES where all RFC destinatios defined for your system is stored.
Thanks,
Vinod. -
RFC Connection error in SM59 for SAP J2EE
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.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 -
RFC Connection Error during Web AS ABAP Database Instance
I keep getting RFC Connection error installing the database instance. The following are the pertinent logs:
INFO 2007-05-09 20:10:04
Working directory changed to C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\MSS\UC\DB.
INFO 2007-05-09 20:10:04
Output of C:\usr\sap\X22\SYS\exe\run\r3trans.exe -u 1 -i "C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\MSS\UC\DB\mssprocs640.dat" is written to the logfile r3trans.exe.log.
INFO 2007-05-09 20:10:22
Execution of the command "C:\usr\sap\X22\SYS\exe\run\r3trans.exe -u 1 -i "C:\Program Files\sapinst_instdir\NW04\SYSTEM\ABAP\MSS\UC\DB\mssprocs640.dat"" finished with return code 0. Output: This is C:\usr\sap\X22\SYS\exe\run\r3trans.exe version 6.13 (release 640 - 03.06.05 - 17:04:00).unicode enabled versionC:\usr\sap\X22\SYS\exe\run\r3trans.exe finished (0000).
INFO 2007-05-09 20:12:23
RFC parameter CLIENT set to value 000.
INFO 2007-05-09 20:12:23
RFC parameter USER set to value DDIC.
INFO 2007-05-09 20:12:23
RFC parameter LCHECK set to value 1.
INFO 2007-05-09 20:12:23
RFC parameter PCS set to value 1.
INFO 2007-05-09 20:12:23
RFC parameter LANG set to value EN.
INFO 2007-05-09 20:12:23
RFC parameter ASHOST set to value cix22.
INFO 2007-05-09 20:12:23
RFC parameter SYSNR set to value 00.
INFO 2007-05-09 20:12:23
RFC connection information checked successfully.
ERROR 2007-05-09 20:12:24
FRF-00007 Unable to open RFC connection.
I tried the following fixes spread across different threads in this Expert Forums:
1. Someone said network problem. I rebooted, restarted the install and even redo it.
2. Another suggestion was to use caps on the password. Didnt work.
3. One suggestion was to update the keydb.xml file. However, I could find such property name:
search for the table t_SAPComponent_SAPSystemLogon_SHARED
then look for <fld name="pPW">, <properties>,
<property name ="GUIENG_USER_INPUT" and set the value
"GUINEG_TRUE" to "GUIENG_FALSE".
4. I even used the ddic password 19920706 which is supposed to be the default.
5. Restarted the instance and applied all the fixes above.
Does anyone know what is going on base on the logs above? Thanks.try moving all your install disk onto local file system then rerun the install. That might work....
-
RFC Connection error - Invalid length. Check parameters.
Hi Forum, Good Morning!
My ABAP Program will run in BACK Ground Job Processing(SM37) to download data to Presentation server( Local PC Directory). So I have created a RFC destination type TCP/IP to use 'RFC_REMOTE_FILE' function module in my ABAP Program.
When I am trying to test RFC connection It is giving following error.
ERROR Invalid length. Check parameters
LOCATION SAP- Server dsapp05_R3D_10 on host dsapp05 (wp 2)
COMPONENT CPIC
COUNTER 14
MODULE
LINE
RETURN CODE 240
SUBRC 0
RELEASE 640
TIME Mon Dec 11 10:08:05 2006
I did following procedure before I test RFC destination..
I have created RFC Destination : BJRFC
Technical Settings: Selected Registered Server Program radio button
Program ID: BJACCESS
Gateway host : 172.22.149.199
gateway Service: sapdp10
In my local machine Copied SAPRFC.INI file from the TEXT folder to the BIN Folder.
Then open the SAPRFC.INI file in BIN folder and Register a RFC server program at a SAP Gateway.
DEST=R3D_R
TYPE=R
PROGID=BJACCESS.rfcexec
GWHOST=172.22.149.199
GWSERV=sapdp10
RFC_TRACE=0
DEST=R3D_R
TYPE=R
PROGID=BJACCESS.trfcexec
GWHOST=172.22.149.199
GWSERV=sapdp10
RFC_TRACE=0
Then entered below command in dos prompt.
C:\Program Files\SAP\FrontEnd\SAPgui\rfcsdk\bin>rfcexec -aBJACCESS 172.22.149.199 xsapdp10.
so how do i proceed in this kind of case.
any help please.
Thanks in advance.Hi,
Just you check whether your program is registered or not.
If it is registered then you can find in SMGW transaction and go to
GOTO - Logged on clients
in that you will be able to see your program name if it registers succesfully.
you have typed rfcexec -aBJACCESS 172.22.149.199 xsapdp10
in this way.
In this you have misseg 'g' in front of your sap ip.
Thanks&Regards
Rajehs Balusu -
RFC connection error in recording eCATT from Solman
Hello,
I am trying to record eCATT from Solution Manager into our DEV box. I have set-up the RFC connection and tested them.
When trying to recording I got the following message:
"RFC error ThControl: illegal sap_dext call !!!/ connection"
Any suggestion?
Thank you.Hi
Did you ever find any solution for this, as I am receiving same error even though seems that all settings are in place?
Thanks! -
I trace data On Instance DEV_W0 the had Error as below
A *** ERROR => RFC ======> connection closed (no data)
Please Kindly verify the cuase and recommend in this issue .
Edited by: SoeyTH on Dec 6, 2010 3:38 PMYou need to proivde more logs to find what caused.
Is you SAP up? -
RFC Connection From SAP to Iseries server
Hi,
I wish you can help me wtih this issue.
We are running ECC 6.0 on iseries v5r3m0.
We are trying to connect to an other non-SAP V5r1M0 system. We are using OSS note 146624 for this purpose.
Our first problem is that we cannot copy pgm files to a V5R1 system from V5R3 system. This can be solved with manual extraction kernel.
However our problem is that we are getting an "SQL Error 0" short dump when we start abap report. What ever the entry in DBCON table is we get this short dump.
Did anyone configured RFC connection to a non-SAP Iseries system? What methos should we use?
Best RegardsHello Volker,
it is some time ago, you posted the original message here. I have a follow on question and I hope you can help.
Apart from the redbook I can't find any documentation about rfc with iseries and that gives some examples but no real explanation about what you are supost to do
I followed the rfc example "ILE RPG evoked from ABAP" and I can get it to work, as long as I ask for only one parameter from the ABAP.
Do you know how to get multiple parameters from ABAP? Just repeating the RfcGetData with different parameters doesn't work. The ABAP will cancel with "no data to receive" on the second parameter.
Also do you know how to create a rfc-trace for these requests?
Best Regards.
Richard la Croix -
Deprecated API and RFC connection issues in PI 7.1
Hi all,
I am new to this Forum..
I am working in File to Proxy scenario where i am using UDF to implemnt few functions.
But i am getting the following Error :
Source text of object Message Mapping: MM_FILE_10_943 | urn://fiat.com/mm/if_10_943 has syntax errors:
Function sendMonitor, Line 14:
cannot find symbol symbol : class CallRFCManager location: class com.sap.xi.tf._MM_FILE_10_943_ CallRFCManager rfc=new CallRFCManager(); ^
Function sendMonitor, Line 14:
cannot find symbol symbol : class CallRFCManager location: class com.sap.xi.tf._MM_FILE_10_943_ CallRFCManager rfc=new CallRFCManager(); ^
Function sendMonitor, Line 17:
cannot find symbol symbol : variable Constants location: class com.sap.xi.tf._MM_FILE_10_943_ if(rfc.connect(Constants.XISYSTEM)){ ^ Note: /disk2/sap/TX0/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map9c6141de40a611e0ad290000003d38da/source/com/sap/xi/tf/_MM_FILE_10_943_.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /disk2/sap/TX0/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map9c6141de40a611e0ad290000003d38da/source/com/sap/xi/tf/_MM_FILE_10_943_.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 errors
The code i am using is:
//write your code here
// INPUT: activate ; id; descrizione
AbstractTrace trace;
String messID;
java.util.Map map;
trace = container.getTrace();
map = container.getTransformationParameters();
messID = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
CallRFCManager rfc=new CallRFCManager();
if (a.equals("true")){
if(rfc.connect(Constants.XISYSTEM)){
try{
rfc.traceMonitor(messID,b,c);
trace.addInfo("Ok trace monitor");
rfc.disconnect();
} catch (Exception ex) {
trace.addInfo("Errore in sendMonitor CAUSA:" + ex.getMessage());
rfc.disconnect();
}else{
trace.addInfo("Errore in sendMonitor CAUSA: errore sulla connessione ad XI");
return a;
Pleasae help me ....what is the reason for this ???Hi ,
the package com.fiat.sapiens.udf.* is saved in the IA_JAVA.zip file.
I imported it in the imported archive and added this jar in the import tab of function library
i also added ti in the archive used tab in function.
But still it is showing this Error.
under IA_JAVA.zip i have testJCO.java which has the folowing code:
package com.fiat.sapiens.xi.udf;
// Referenced classes of package com.fiat.sapiens.xi.udf:
// CallRFCManager
public class TestJCO
public TestJCO()
public static void main(String args[])
System.setProperty("SAPSYSTEMNAME", "DX0");
CallRFCManager rfc = new CallRFCManager();
rfc.connect("XI");
try
rfc.schedNR("10", "20", "30", "40", "50", "60");
catch(Exception e1)
e1.printStackTrace();
if(rfc.connect())
rfc.connect();
try
String a = rfc.checkRARCRE("ZZ");
System.out.println(a);
catch(Exception e)
e.printStackTrace();
System.out.println(""); -
Hi There,
Please can someone tell me how to specify a variable in the path prefix of an External HTTP (RFC) connection in transaction SM59?
For example if my path prefix is /invoke/test/example?input=XYZ; how do I replace "XYZ" with a variable so that I can pass in any value after "=" ?
Thanks,
BrendonHi,
This is SAP Business one system administration forum. Please find correct forum and repost above discussion to get quick assistance.
Please close this thread here with helpful answer.
Thanks & Regards,
Nagarajan -
Errror in RFC connection between SCM ABAP stack and JAVA Stack
Hi All
we have installed SCM Abap stack and SCM java stack on same system within single database.when i create rfc connection AI_RUNTIME_JCOSERVER from SCM Java stack to SCM Abap Stack its working fine,but when i am configuring same from SCM Abap to SCM Java using SM59 its giving error.
Error Details Error when opening an RFC connection
Error Details ERROR: failed to open file G:\usr\sap\SCD\DVEBMGS00\data\sideinfo.DAT
Error Details LOCATION: SAP-Gateway on host OPS20SCD1.Octal.pet / sapgw00
Error Details CALL: fopen
Error Details COMPONENT: SAP-GW-LIB (ReadSideInfo)
Error Details COUNTER: 1854
Error Details ERROR NUMBER: 2
Error Details ERROR TEXT: ENOENT: No such file or directory OR: The system cannot find the fi*
Error Details MODULE: gwxxside.c
Error Details LINE: 274
Error Details RETURN CODE: 451
Error Details SUBRC: 0
Error Details RELEASE: 701
Is it compulsory to create RFC connection between abap and java installed on the same system.
plese suggest.
Regardsto configure acceptance of the ABAP (integrated ITS / WebGUI) saplogonticket on the java stack, just log into the java stack (http://FQDN:50xxx/nwa) and select configuration THe last item in the list is Trusted System... click.
on the ensuing page, click on the add trusted system button --> by querying trusted sytem.
Enter the required data on the page:
system type: ABAP
host name: FQDN
System Nr: your instance number
client (of the productive client)
and a username and pw with superuser priveliges in the system (SAP_ALL/SAP_NEW, etc).
the click next
On the final screen, click finish.
You have now SSO setup between the ABAP and Java stacks. To configure SSO to accept java saplogontickets on ABAP see:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2b0310d6-0801-0010-3185-b2371a280372
This should resolve your question. -
Clarification on RFC connections for MM-SUS set up in SRM
Hi All,
I am stuck with replication of vendor from R/3 to SUS. I have made the RFC connections as mentioned below
R/3 Side: R/3 to XI - Type 3
SUS Side: SUS to R/3 - Type 3
SUS to XI (LCRSAPRFC) - Type T
SUS to XI (SAPSLDAPI) - Type T
SUS to XI - Type H
XI Side: XI to R/3 - Type 3
XI to SUS (LCRSAPRFC) - Type T
XI to SUS (SAPSLDAPI) - Type T
Can you please confirm whether these connections are sufficient for MM-SUS set up.
Thanks in advance!
Regards,
Ram
Edited by: Ram K on Sep 21, 2008 10:16 AMHi Ram,
Vendor Master data R/3 to SRM
1.Find the vendor group in SRM
TC= PPOMV_BBP
Ex:- VG Id= 50000041
2.TC= BBPGETVD in SRM
Give the following parameters
System(R/3), Vendor no in R/3, Pur. Org, Object ID:50000041
Then click on start transfer.
3.TC= SLG1 Check the Q if have strucked
4.Check the vendor no in SRM System use TC= PPOMV_BBP
Note:-
R/3 & SRM number range shoul be same
R/3 internal/External No. range equal to SRM External number, Then only replicated
If u need more details pls contact to my Id bvnvrao yahoo.com.
I will forward screen shot document.
I think it will help.
WR
Rao -
Configuring RFC connections for load balancing.
Hi ,
We have the following landscape for our systems.
The database is installed on z/os , db2 (mainframe). The central services( SCS and ASCS) are also on the mainframe. So the message server is on mainframe.
The CI is on AIX and The DI is on AIX.
We have Logon groups configured and load balancing Configured and is RFC enabled.
1) When we connect to SAP using the SAPGUI and the portal connection is made to either CI or DI depending upon the best response times. Now recently we are running the mercury load testing, all the users are connecting to DI. Why are the users connecting to DI even though we have load balancing?
2) I have a system with SID BP0, with one CI and one DI. The logon group is BP0 and the message server name is cyrix. Now I have other another system EP0. I have created a RFC connection from EP0 to BP0. In SM59 I have selected the load balancing option, and provide the message server name, SID and logon group name. The connection does not work. If I connect directly to the CI or DI the connection works. Please tell me how can I configure load balancing for RFC connections.
Thanks
Manmath.Dear 917996,
There are two types of load balancing:
- Client-side load balancing (setting up the tnsnames.ora on client side). More information here (http://ggsig.blogspot.co.uk/2012/04/client-side-
load-balancing-in-oracle.html). Very good video produced my friend Igor Melnikov is here (http://www.dsvolk.ru/oracle/racdd4d/demos/video/loadbalance/client/clientloadbalance_viewlet_swf.html)
-Server-side load balancing (remote_listener and setting service parameter clb_goal). Very good Igor Melnikov's video is here (http://www.dsvolk.ru/oracle/racdd4d/demos/video/loadbalance/server/serverloadbalance_viewlet_swf.html).
I have read about client side and server side load balancing. By editing tnsnames.ora I have enabled client side load balancing which is suppose to select listeners at random. then why does it only go to second node?Could you please show your tnsnames.ora on client?
Please can anyone help me to configure server side load balancing with SCAN. I have read many many post but couldn't find a clear answer.Based on your output (remote_listener string cmbtrnrac-scan:1521) you have already configured the server side load balancing.
SQL> show parameter listener
NAME TYPE VALUE
listener_networks string
local_listener string (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=10.1
7.67.214)(PORT=1521))))
remote_listener string cmbtrnrac-scan:1521How many SCANs do you use? Do you use DNS?
regards,
Gennady -
Created logical port via soamanagern, RFC connection missing
Hi,
I automaticly created a new logical port using a WSDL to use a Web Service in ABAP.
When I looked for the RFC connection (sm59) to maintain a user in the Logon & Security tab, I could not find the RFC Connection. Neither was a HTTP connection stated in the Administrativ Information of the logical port, as it is usual.
Am I missing something?
Thanks very much.Andreas,
Sorry for the late reply. I do not get any error, the problem I have is that after the creation of the logical port through SOAMANAGER, I don´t see any RFC connection in SM59. I got information in other post I wrote, that I wont get that RFC connection because the auto creation of the RFC connection when a logical port is created has been discontinued in newer versions.
Now I have to check if there is something wrong with my network because I can not consume the webservice I need.
Thanks for your help. -
Create RFC connection in RSA1 for BW from client 302 to ECC 101 and 151
Hi Friends,
I have to create rfc connection in BI.
I have one client in BI ie302 and two cliwnt in Dev ie101 and 151.
Now I have one connection which is working fine ie 302 to 101.
NO my requirment is to create another connecitons ie 302 to 151.
Kindly sugest if it is feasible and is there any specific settings for the same.
I tried but at a time only one connection is working fine.
Thanls in advance.
regards
JiggiHi,
Can you check if there is any other user ID specified in "BW user for ALE".
To check, Go to transaction RSA1 --> Settings --> Global Settings.
If you find a different user id there, then specify the correct BW user id there.
Please refer to OSS Note 410952 for details.
Hope this solves your problem!!
Regards,
Raj.
Edited by: Raj on Aug 14, 2009 8:15 PM
Edited by: Raj on Aug 14, 2009 8:16 PM
Maybe you are looking for
-
How to achieve New Window requirement from One Web Template?
Hi Experts, I've a WebTemplate contains 2 Graphs. Each graph have one Zoom Button. My requirement is, When I click the Zoom button that corresponding Grpah should display in a New Window. I've finished all the above requirements. Since, I have One Ma
-
App Updates with 1st gen iPod Touch running v2.1 OS
Hello all, I got notification from the app store that I have a couple of updates and when I went to install the updates, it said that they are all ready installed and wouldn't give me the option to install. I have rebooted my 'Pod but that didn't hel
-
is there any way that I can use a blue and white G3 to fill with hard drives and then some way plug it into my G5 to use as an external hard drive?
-
I have restored my iphone 5 for the second time today, and it keeps crushing after 1hour of having completely restored it through iTunes. What am I supposed to do? I deleted some apps I had recently installed, even changed the background refresh. Wha
-
I am on latest V2 code line and have a question on Validation Execution. I have an entity object that has an attribute named 'ServiceUri'. I have an attribute level method validator defined against it to validate the URI. In the attribute validator V