RTA, JCo & Connectors
Hello All,
What is the difference between a JCO, RTA and a connector (in RAR config TAB). Please do let me know the same with relevance to the following scenario:
I have two SAP Development systems, whom I need to connect to one GRC DEV system (with RAR and CUP). In this case, what will be the RTAs, JCOs and connector (in RAR config TAB).
I am facing a lot of issues understanding this is I am a non-basis person but usually encounter these terms while doing the SAP GRC implementation as a security consultant. Kindly help me knowing these a bit better.
Tx.
Amitra
Hello Sunny,
Thanks for answering. It clears a lot now. Can you please confirm based on the reply you just sent, if my assumptions to the scenario as under are are correct:
*Scenario:* i have 2 SAP systems, say DE1 and DE2, which are development systems, with no HR installed on either.
*ASSUMPTIONS:*
Now, if I need to connect both of them to my GRC server, I would:
1. Install VirsaNH on both DE1 & DE2, which are the backend systems.
2. Create 2 JCO connections - one each for DE1 & DE2. These JCOs will be created from RAR tool. These two JCOs are in itself, a type of connectors.
Are the assumptions based on point 1 & 2 mentioned above correct?
Tx.
Amitra.
Edited by: ApnaMitra on Apr 14, 2011 3:35 PM
Similar Messages
-
I would like to know if SAP has certified the JCo connector version 2.1.8 for connecting with R/3 4.6c systems. The JCo connector is used by an iWay connector in an Oracle application server version 10.1.2.
Can anyone comment on this? Thanks!Hello Philip,
the offical supported release by JCo 2.1.8 are listed on the given link above:
https://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000463654&
-> "Supports R/3 3.1I and higher (and other SAP Components that have BAPIs or RFMs)."
So this is a SAP product/technology we support always the highest version number. Have a look at SAP note 549268 under the chapter "Solution Support Strategy for SAP JCo" for official support statements.
Of course i cannot comment on the support level of the other vendors which are using this technology. If you want you can open a support call at SAP to get a more specific answer to your question.
Hope this information is useful for you,
Juergen -
Hi,
Can anyone explain functionlity of JCO Connector ?
Can we use java code in abap ?
In which editor ?
Bye,
Satya.Hi Satyanarayana,
<b>SAP Java Connector - Excample 1: Simple RFC call
Scenario
We will call the RFC function module ZNAS_HIE1_GET_MEMBER_FARM.that returns members that have owned a farm. Input to the function is a farm number, and output is a table of members that have owned the farm and Owner number (Sequence number of owners).
Class testJCO is excuted and calls class GetMemberFarm method GetMemberFarmFromSap. Input parameters to GetMemberFarm are Farm and Owner number.
GetMemberFarmFromSap executes RFC ZNAS_HIE1_GET_MEMBER_FARM, that returns a table of members that have owned the farm from the input parameters.
GetMemberFarmFromSap loops through the table and finds the member where ZZCHCODE (Owner numer), is equal owner number from the input-parameters. and returns the member.
Code
Class testJCO
public class testJco
public static void main(String[] args)
GetMemberFarm testGetMemberFarm = new GetMemberFarm();
String memberFarm= testGetMemberFarm.GetMemberFarmFromSap("0111020155","02");
System.out.println("Memberfarm: " + memberFarm);
Class GetMemberFram
import com.sap.mw.jco.*; //The JCO
public class GetMemberFarm {
public String GetMemberFarmFromSap(String farm, String OwnerNumber)
{ String zzmemb ="";
String memberFarm = "";
JCO.Repository mRepository;
JCO.Client mConnection = null;
JCO.Function myFunction = null;
//Create Connection to SAP
try
mConnection = JCO.createClient("800", //SAP client
"HFR", //User ID
"vimmer3", //Password
"EN", //Language
"53.205.22.71", //Host
"03"); //System
mConnection.connect();
System.out.println("Connection OK");
catch (Exception ex)
System.out.println(ex);
// Create function and parameters
try
//Create repository
mRepository = new JCO.Repository( "GetMember", mConnection );
//Get a function template from the repository
IFunctionTemplate ftemplate = mRepository.getFunctionTemplate("ZNAS_HIE1_GET_MEMBER_FARM");
//Create function
myFunction = new JCO.Function(ftemplate);
System.out.println("Function created");
//Set import parameter
JCO.Field zzfarm = myFunction.getImportParameterList().getField("ZZFARM");
zzfarm.setValue(farm);
System.out.println("Parameters ok");
catch (Exception ex)
System.out.println(ex);
// Execute function
try
mConnection.execute(myFunction);
System.out.println("RFC Call OK");
catch (Exception ex)
{ System.out.println(ex); //Exception from function
// Handle return table GT_HIERARCHY
// Loop over the table and find the record that
// has ZZCHCODE = OwnerNumber from the
// method parameters, and return Member for the
// record
JCO.Table gt_HIERARCHY = null;
try
gt_HIERARCHY=myFunction.getTableParameterList().getTable("GT_HIERARCHY");
//Loop thhrough table and return the member that has
// changecode (ZZCHCODE) = 02
for (int i = 0; i < gt_HIERARCHY.getNumRows(); i++)
{ gt_HIERARCHY.setRow(i);
String zzchcode = gt_HIERARCHY.getString("ZZCHCODE");
if (zzchcode.equals(OwnerNumber))
zzmemb = gt_HIERARCHY.getString("ZZMEMB");
catch (Exception ex)
{ System.out.println(ex);
// Disconnect from SAP
try
mConnection.disconnect();
System.out.println("Disconnected from SAP");
catch (Exception ex)
System.out.println(ex);
return zzmemb;
} //public class GetMemberFarm
Example: 2
SAP Java Connector - Example 3: Create Salesorder
This example shows how to make a sales order using the SAP java Connector and BAPI_SALESORDER_CREATEFROMDAT2. First the ABAP code for using the BAPI is shown, and next the Java implementation is shown.
ABAP Example
REPORT z_bapi_create_sales_order_test .
Order header:
- Order type: OR Important you must use the german code TA
- Sales org: 1000
- Distrb. chan.: 10
- Division: 00
- Sold to party: 1032
- Ship to party: 1032
- Purch order: DG-19970626-3
Order item:
- Material: P-100
- Qty: 1
DATA:
Order partners
li_order_partners TYPE STANDARD TABLE OF bapiparnr,
l_order_partners LIKE bapiparnr,
Structures for order header
l_order_header_in LIKE bapisdhd1,
l_order_header_inx LIKE bapisdhd1x,
Tables for order items
li_order_items_in TYPE STANDARD TABLE OF bapisditm,
l_order_items_in LIKE bapisditm,
li_order_items_inx TYPE STANDARD TABLE OF bapisditmx,
l_order_items_inx LIKE bapisditmx,
Return table from bapi call
li_return TYPE STANDARD TABLE OF bapiret2,
l_return TYPE bapiret2,
Sales document number
l_vbeln LIKE bapivbeln-vbeln,
Error flag
l_errflag(1) TYPE c.
START-OF-SELECTION.
Build partner information
CLEAR l_order_partners.
l_order_partners-partn_role = 'AG'. "Remember German codes !
l_order_partners-partn_numb = '0000001032'.
APPEND l_order_partners TO li_order_partners.
Build order header
Update flag
l_order_header_inx-updateflag = 'I'.
Sales document type
l_order_header_in-doc_type = 'TA'. "Remember German codes !
l_order_header_inx-doc_type = 'X'.
Sales organization
l_order_header_in-sales_org = '1000'.
l_order_header_inx-sales_org = 'X'.
Distribution channel
l_order_header_in-distr_chan = '10'.
l_order_header_inx-distr_chan = 'X'.
Division
l_order_header_in-division = '00'.
l_order_header_inx-division = 'X'.
Purchase order
l_order_header_in-purch_no_c = 'DG-19970626-300'.
l_order_header_inx-purch_no_c = 'X'.
Build order item(s) - Only 1 is used in this example
l_order_items_in-itm_number = '10'.
l_order_items_inx-itm_number = '10'.
l_order_items_in-material = 'P-100'.
l_order_items_inx-material = 'X'.
l_order_items_in-comp_quant = '1.000'.
l_order_items_inx-comp_quant = 'X'.
APPEND l_order_items_in TO li_order_items_in.
l_order_items_inx-updateflag = 'I'.
APPEND l_order_items_inx TO li_order_items_inx.
CALL Bapi
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = l_order_header_in
order_header_inx = l_order_header_inx
testrun = 'X'
IMPORTING
salesdocument = l_vbeln
TABLES
return = li_return
order_items_in = li_order_items_in
order_items_inx = li_order_items_inx
order_partners = li_order_partners.
END-OF-SELECTION.
Check and write Return table
CLEAR l_errflag.
WRITE: / 'Sales dcoument: ', l_vbeln.
LOOP AT li_return INTO l_return.
WRITE: / l_return-type, l_return-message(50).
IF l_return-type = 'E'.
l_errflag = 'X'.
ENDIF.
ENDLOOP.
No errors - Commit
IF l_errflag IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.</b>
Good Luck and thanks
AK -
Problems creating JCO connector
We are having some problems when attempting to follow the steps indicated in the Post-Installation Slide Deck of RAR version 5.3. In step 4 (Create JCO Connectors) we are not able to create a new JCO connector associated with the given models in the WebDynpro Content Administrator. The "create" button displayed next to each model is disabled and the status indicated is "Status Unknown" (gray color).
When we test the SLD connection it is pointing to the default URL, while a different URL was specified during installation given an SLD already existed previous to SAP GRC installation.
Any ideas of where we need to be looking in order to fix this?Hi Pablo,
This happens because your SLD bridge is not configured correctly ,
Please follow the steps as under :
Login to Visual Administrator.
Expand Navigation menu under J2EE Server Name ,
Expand Services List
Click On SLD Data Suppllier
Click On http settings tab
Enter Host name and port number , user name /password for your system connection.
Click Save.
Click on CIM Client Generation settings tabs
Enter host name port , user account details you entered in http settings tab .
Click Save.
Click Supplier ( data transfer)icon on top of pane to transfer data information you have entered in sld supplier.
A pop up window appears " trigger SLD data transfer" )
Click = yes.
A pop-up with appear indicating transfer successful.
If this window does not appear , then SLD needs to be configured properly,
launch http://<hostname>:<portnumber>/sld
Click on Administration > Initial setup
Fill in values for :
Object server name :Name of computer <SPACE> 1
E.g AG500900A 1
Gate way host : Name of computer as above.
gateway port : portnumber as used in URL .
Import software catalog check box = OK
Import SLD objects
(close to 95791 objects need to get imported , wait for sometime till they are imported )
After importing is done , refresh once.
This should resolve, however if you still face it then setup technical system at
http://<hostname>:<portnumber>/sld
HOME > Techinical systems .
Click new technical system
Select webas ABAP
the details need to be fetched from SAP R/3 system for which JCO is to be created.
thnks -
Reg JCO Connector download and advice
HI friends...
using service user name i can downlaod the JCO connector ?
my doubt is shall i use the same JCO connector in some other server (Other customer) for installation purpose ?
and also JCO connector downlaod in market place is free of cost for customer or chargable ?
regards
devaYou Can download From service.sap.com/connectors
For more details Pls chk the HELPhttp://help.sap.com/saphelp_nw04/Helpdata/EN/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
Kanagaraja L -
MII 12.1: SSO with JCO Connector
Ok so I'm trying to setup MII 12.1.5 Build 87 to pass SSO ticket through JCO connector onto the respective SAP System.
MII is getting the ticket because it logs in automatically. So that's covered.
The checkbox for use of "SSO" in System Connection Editor is checked
The checkbox for AutoBind in the XacuteConnector is checked
Transaction property of "MYSAPSSO2" has been created and mapped to SAPSSO2Ticket property of JCO action
Now is all this supposed to override the system and user alias in the configuration of the JCO block?
What am i missing here that it's not working?
One thing I haven't tried yet is to export the MII TicketKeystore - SAPLogonTicketKeypair - cert , certificate and import it into the respective R/3 system....will try now since it just came to mind.
Anyone have any thoughts because i'm hitting a dead end here...Alin here is the solution...
You are right to have these steps...
The checkbox for use of "SSO" in System Connection Editor is checked
The checkbox for AutoBind in the XacuteConnector is checked
Transaction property of "MYSAPSSO2" has been created and mapped to SAPSSO2Ticket property of JCO action
But you also need...
Create a transaction property called MYSAPSSO2 and assign a value of SAPSSO2Ticket
Open your existing JCO Action block --> Configure Links --> Incoming --> <JCO Action Name> -->
Assign SAPUserName a value of "$MYSAPSSO2$"
and
Assign SAPSSO2Ticket a value of Transaction.MYSAPSSO2
Start and Stop SAPMMC and test the SSO
Also, there were some talks of SAP and MII servers having the same timezone, but I tested it with the same and without the same timezone and it appears to work either way. -
CC 5.2 JCo connectors not visible in CC
We have installed Compliance Calibrator 5.2 on our NW04S system, which already had Access Enforcer 5.2 installed. We have created and successfuly tested our JCo connectors in NW. Our SLD connector is tested successfully.
When we try to create a connector from within CC, we get nothing in the drop-down for JCO Destination. If we try to search for a connector name in AE, we get nothing.
We have verified that our CC user account is OK in SAP, and has the CC Administrator role in SAP.
We have verified that the SLD account is not expired or locked.
Any help will be appreciated.
Thanks!Jennifer,
I would suggest you try this also.,
VIRSAR3_01_MODEL
VIRSAR3_01_METADATA
And I believe you have defined your SLD data supplier in the SLD.
Thanks.
Regards,
Muthu Kumaran KG -
Error when connect to SAP with JCo Connector on linux
Dear all,
Please, i need help. i was tray to connect to SAP with SAP JCo on linux ubuntu, but i have an error.
this is the error :
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM GWHOST=myhost, GWSERV=sapgw00, ASHOST=myhost, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR hostname 'avatar-bumi' unknown
TIME Thu Feb 14 15:25:48 2008
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -2
MODULE niuxi_mt.c
LINE 388
DETAIL NiPGetHostByName2: hostname 'avatar-bumi' not found
SYSTEM CALL gethostbyname_r
ERRNO 110
ERRNO TEXT Connection timed out
COUNT
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeConnect(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.connect(MiddlewareRFC.java:1125)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3138)
at sapjco.Main.main(Main.java:34)
Exception in thread "main" com.sap.mw.jco.JCO$Exception: (121) JCO_ERROR_NULL_HANDLE: Invalid rfc_handle = NULL encountered
at com.sap.mw.jco.rfc.MiddlewareRFC.nativeGetAttributes(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.getAttributes(MiddlewareRFC.java:1233)
at com.sap.mw.jco.JCO$Client.getAttributesInternal(JCO.java:2940)
at com.sap.mw.jco.JCO$Client.getAttributes(JCO.java:2994)
at sapjco.Main.main(Main.java:38)
How to resolve this error....
Regards,
Lisa
Edited by: Lisa Yanti on Feb 14, 2008 9:35 AMI was resolve this error by my self.
We can handle this error with registering our current IP and host name on /etc/hosts.
example:
content of /etc/hosts:
127.0.0.1 localhost
127.0.1.1 myhost.workgroup
The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
added the ip and host name to be like this configuration
127.0.0.1 localhost
127.0.1.1 myhost.workgroup
172.20.17.74 myhost
The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts -
JCO Connector Value Converstion.
Hi,
We have developed a Function Module by using BAPI . And the Java People are calling that function Module and Sending the Data for MIGO Transaction. When they are sending Quantity field has been declared as String in JAVA . In SAP when are Collecting from JAVA we declared our field as data type ERFMG means QUANTITY with 3 Decimal Places . But It is giving the error like Maintan Serial Numbers for total quantity.
How can we resolve this problem .. ?
How can we convert that string data to Quantity in the SAP ?
Bye,
Satya.Hi,
We have developed a Function Module by using BAPI . And the Java People are calling that function Module and Sending the Data for MIGO Transaction. When they are sending Quantity field has been declared as String in JAVA . In SAP when are Collecting from JAVA we declared our field as data type ERFMG means QUANTITY with 3 Decimal Places . But It is giving the error like Maintan Serial Numbers for total quantity.
How can we resolve this problem .. ?
How can we convert that string data to Quantity in the SAP ?
Bye,
Satya. -
Which RTA to select VIRSAR3 and VIRSAXSR3.
Apart from basic definitin of these RTAS. What is the Difference between VIRSAR3_01and VIRSAXSR3_01.
I installed GRC AC 5.3 .I want to connect different backend systems like ECC6.0,BI,SCM,SRM.I am not doing analysis on HR SYSTEM.
what are the RTAS? ( whether VIRSAR3 series /VIRSAXSR series ) i need to select in JCO connectors to have good performance and connection.
do we need to install this RTAS at backend of each systems like in ECC6,BI,SCM,SRM.?If so what is the procedure to do?
Please suggest me in this.
THANKS,
JOSEPH.Hi Jospeh
Can you please tell what is your back end system? as surpreet said, if your back end system have sap_hr install both virsahr and virsanh.
In the sap GRC AC 5.3 installation guide page 25 you will understand which is the correct jco you have to select according to your back end system
An SAP GRC Risk Analysis and Remediation 5.3
RTA to an SAP_HR backend
use following JCOs
VIRSAHR_MODEL & VIRSAHR_METADATA
VIRSAHR_01_MODEL & VIRSAHR_01_METADATA
VIRSAHR_02_MODEL & VIRSAHR_02_METADATA
An SAP GRC Risk Analysis and Remediation 5.3
RTA to a non-HR SAP backend
use following Jcos
VIRSAR3_01_MODEL & VIRSAR3_01_METADATA
VIRSAR3_02_MODEL & VIRSAR3_02_METADATA
VIRSAR3_03_MODEL & VIRSAR3_03_METADATA
An SAP GRC Risk Analysis and Remediation 5.3
Real Time Agent (RTA).
use following Jcos
VIRSAXSR3_01_MODEL & VIRSAXSR3_01_METADATA
VIRSAXSR3_02_MODEL & VIRSAXSR3_02_METADATA
VIRSAXSR3_15_MODEL & VIRSAXSR3_15_METADATA
I hope your doubts regarding Jcos are over now. -
Access Control- Maximum number of RTA systems to connect to Access Control
Hi,
Is there a limit to the maximum number of RTA systems that can be connected to the GRC Access Control server ?
Thanks And Regards.
andg.Dear Andg and Himadama,
The most recent SAP GRC Access Control 5.3 Installation Guide, published September, 2009, references the break-down of JCo connector information in Section 5. Post-Installation Configuration:
5.1.1 Creating JCo Connections to Backend Systems:
http://www.service.sap.com/
http://service.sap.com/swdc
http://help.sap.com
http://service.sap.com/bestpractices
http://www.sap.com/bestpractices
Perhaps this excerpt may clarify the utilization options for SAP JCo connections in GRC Access Control 5.3 as of SP09.
Thank you,
Shiela
Edited by: Shiela Maria Mangravito on Apr 1, 2010 1:50 PM -
Problem in Connectors in GRC AC 5.3
Hello all,
While we are creating the connector in RAR the JCo destinations are not visible. In the drop down list of JCo destinations we are able to see the Value as <Host Name>_<null>_<Client Number> For Eg: GRRDEV_NULL_200 i am not able to see the JCo destinations which we activated in Java content administration
We have installed the latest patch SP18 and using the HR Module also.
What could be the cause?
Activated: JCo Destinations
VIRSAHR_MODEL & VIRSAHR_METADATA
VIRSAHR_01_MODEL & VIRSAHR_01_METADATA
*VIRSAHR_02_MODEL & VIRSAHR_02_METADATA *
Thanks in Advance.
Regards,
Kumar RayuduHello Kumar,
Yes, you can use "VIRSAXSR3_01_METADATA" and "VIRSAXSR3_01_MODEL JCo destinations for HR backend. As mentioned by our friends in this thread it doesn't matter what kind of backend you use. You can still use these JC0 destinations.
With these JCo(Adaptive RFC connection) destinations, maximum number of system one can connect are 15. If you have more than 15 systems it is recomended to use SAP JCO connector type for RAR.
SAP JCo connector doesn't have any limitation like JCo(Adaptive RFC).
Hope this answers your question.
Best Regards,
Sirish Gullapalli.
Edited by: Sirish Gullapalli on Jul 28, 2009 12:03 AM -
JCO - Connection reset by peer - after 5 minute timeout
Hello
We're using SUP with the JCO Connector. This has been working flawlessly since project inception. Now, after switching to a new data center (Windows Server 2008 Server Enterprise Edition, SP2 on VMWare) we're observing a mysterious behavior with timeouts of idle connections. I hope someone in this forum knows what this might be.
JCO connections originate from SUP servers. When such connections are idle for more than 5 minutes they get disconnected from SAP -- this is in agreement with SAP timeout parameter of 300 seconds.
On our new systems we noticed that requests sent 5min+ (after timeout) show following error:
Thread-8 [22:08:55:343]: [JNI-LAYER] RFC.nativeExecute() before RfcCallReceive(2,"Z_U_ONEMOBILE_SWO_SEARCH",0000000010CDC850,0000000000000000,0000000010C81530,000000000C79CA88)
Thread-8 [22:08:55:344]: [JNI-LAYER] RFC.nativeExecute() after RfcCallReceive(2,"Z_U_ONEMOBILE_SWO_SEARCH",0000000010CDC850,0000000000000000,0000000010C81530,000000000C79CA88) = RFC_SYS_EXCEPTION
Thread-8 [22:08:55:344]: [JAV-LAYER] JCO.Client.execute (Z_U_ONEMOBILE_SWO_SEARCH) threw a NON-ABAP exception: com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: CPIC-CALL: 'CMRCV : rc=20
ERROR connection to partner '---removed!---:3299'
broken
TIME Fri Feb 11 18:08:55 201
RELEASE 710
COMPONENT NI (network interface)
VERSION 39
RC -6
MODULE nixxi.cpp
LINE 4448
DETAIL NiIWrite: P=161.88.23.170:3299; L=0.0.0.0:49730
SYSTEM CALL WSASend
ERRNO 10054
ERRNO TEXT WSAECONNRESET: Connection reset by peer
COUNTER 3
Thread-8 [22:08:55:344]: [JNI-LAYER] RFC.nativeDisconnect() enter, [SUCCESS]
Thread-8 [22:08:55:344]: [JNI-LAYER] RFC.nativeDisconnect() before RfcClose(2)
Thread-8 [22:08:55:344]: [JNI-LAYER] RFC.nativeDisconnect() after RfcClose(2)
Thread-8 [22:08:55:344]: [JNI-LAYER] RFC.nativeDisconnect() with rc = RFC_OK leave, [SUCCESS]
Our suspicion is that the JCO client doesn't notice the fact that it gets disconnected. We used Network Monitor 3.4 to look at network traffic. Indeed, after 5 minutes the client gets a single frame (with reset flag) and no acknowledgement goes back.
What could this be?
We use
JCO 2.1.8 AMD 64-bit (contains librfc 6.40) and
JCO 2.1.9 AMD 64-bit (contains librfc 6.40) but replaced this with librfc 7.10 (after seeing Note 825494). Behavior was exactly the same. We did confirm in jco/rfc trace that those versions were actually used.
Any ideas?
Thanks and regards
Edited by: B. Gottipati on Feb 14, 2011 9:17 PMHello
We're using SUP with the JCO Connector. This has been working flawlessly since project inception. Now, after switching to a new data center (Windows Server 2008 Server Enterprise Edition, SP2 on VMWare) we're observing a mysterious behavior with timeouts of idle connections. I hope someone in this forum knows what this might be.
JCO connections originate from SUP servers. When such connections are idle for more than 5 minutes they get disconnected from SAP -- this is in agreement with SAP timeout parameter of 300 seconds.
On our new systems we noticed that requests sent 5min+ (after timeout) show following error:
Thread-8 [22:08:55:343]: [JNI-LAYER] RFC.nativeExecute() before RfcCallReceive(2,"Z_U_ONEMOBILE_SWO_SEARCH",0000000010CDC850,0000000000000000,0000000010C81530,000000000C79CA88)
Thread-8 [22:08:55:344]: [JNI-LAYER] RFC.nativeExecute() after RfcCallReceive(2,"Z_U_ONEMOBILE_SWO_SEARCH",0000000010CDC850,0000000000000000,0000000010C81530,000000000C79CA88) = RFC_SYS_EXCEPTION
Thread-8 [22:08:55:344]: [JAV-LAYER] JCO.Client.execute (Z_U_ONEMOBILE_SWO_SEARCH) threw a NON-ABAP exception: com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: CPIC-CALL: 'CMRCV : rc=20
ERROR connection to partner '---removed!---:3299'
broken
TIME Fri Feb 11 18:08:55 201
RELEASE 710
COMPONENT NI (network interface)
VERSION 39
RC -6
MODULE nixxi.cpp
LINE 4448
DETAIL NiIWrite: P=161.88.23.170:3299; L=0.0.0.0:49730
SYSTEM CALL WSASend
ERRNO 10054
ERRNO TEXT WSAECONNRESET: Connection reset by peer
COUNTER 3
Thread-8 [22:08:55:344]: [JNI-LAYER] RFC.nativeDisconnect() enter, [SUCCESS]
Thread-8 [22:08:55:344]: [JNI-LAYER] RFC.nativeDisconnect() before RfcClose(2)
Thread-8 [22:08:55:344]: [JNI-LAYER] RFC.nativeDisconnect() after RfcClose(2)
Thread-8 [22:08:55:344]: [JNI-LAYER] RFC.nativeDisconnect() with rc = RFC_OK leave, [SUCCESS]
Our suspicion is that the JCO client doesn't notice the fact that it gets disconnected. We used Network Monitor 3.4 to look at network traffic. Indeed, after 5 minutes the client gets a single frame (with reset flag) and no acknowledgement goes back.
What could this be?
We use
JCO 2.1.8 AMD 64-bit (contains librfc 6.40) and
JCO 2.1.9 AMD 64-bit (contains librfc 6.40) but replaced this with librfc 7.10 (after seeing Note 825494). Behavior was exactly the same. We did confirm in jco/rfc trace that those versions were actually used.
Any ideas?
Thanks and regards
Edited by: B. Gottipati on Feb 14, 2011 9:17 PM -
Hi I have two questions:
1) I'm using a third party connector (JCo based) which is able to expose RFC/BAPIs into Web Services. (I know I could do this with SAP directly as well on ECC 5.0 and up, but for now let's say I have to use the JCo connector). If I write a custom RFC and want it to be called through that JCo connector, what are the steps that I need to go through to properly configure the custom RFC? Is there any documentation written for that?
2) In some other scenarios I need to call standard SAP web services. Some web services are transactional and commit/rollback needs to be called explicitly. What is the best practice for that? Do I need to make a custom RFC from the standard one, and add commit into it, and then expose it as a web service? Anyway for me to call that web service and commit in one connection?
Thanks much in advance,
YeHi Ye
just have a look on these links may be useful ...
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8798be90-0201-0010-d093-85f728778d37
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c63bca90-0201-0010-59ae-e0db32750209
Properties for an AS ABAP Data Source... user must have authorizations to use RFC, and to create, Refer to the SAP Java connector documentation for details
http://help.sap.com/saphelp_nw04s/helpdata/en/84/10594aecd3e1408845e66c432b955e/frameset.htm
Regards
Abhishek -
Hello Experts,
Is the following process correct for creating connectors for GRC AC 5.3:
1. JCO connector (Meta & Model) is created for a system say P6E and client 100
2. Using this, a system connector P6E100 is created in RAR
3. A JCO destination is created with this name i.e., P6E100
4. Now the system connectors are created for all other three components CUP, SPM, ERM with same JCO destination.i.e., P6E100.
Is this process correct?
Thanks
RamHi Ram,
Yeah this is exactly what we've done and it works.
Best regards.
Maybe you are looking for
-
What does it do when I actually need it?
I guess the only stupid questions are those that don't get asked, but I suspect this one may run close! What exactly will the value of Time Capsule or any other external back up connected to Time Machine be if my hard drive fails? I imagine I'll nee
-
Contacts - how to get faces icon to appear so that I can select photos from iPhoto?
In Contacts when I try to edit and select a persons photo all I can select from is buttons labelled Defaults, Recents, and Camera. I have heard there should be a Faces button which would allow me to select photos from iPhoto. In iPhoto I have appli
-
Can data transfer from SAP4.7 version to ECC6.0?
Hello ABAPers, I want to know is it possible to transfer the data from 4.7version to ECC6.0. I want to transfer the Data of a table which is there in ECC6,0 to SAP4.7. I am following the steps given in http://www.**************
-
HT1692 Syncing calendar between laptop and iPad mini
I can't sync my calendar between my laptop and iPad mini. I don't want to use iCloud, especially as when I tried it, all my entries were duplicated, which took up the whole calendar. Other apps will sync, but the calendars refuse. What can I do?
-
DAQ Assistant doesn't start under normal user previlege
I just installed LabVIEW 7.1 and DAQmx 7.3. I found that the DAQ assistant did not start (the wizard window did not show up) under normal user previlege. However, if I change the user previlege to administrator, it works fine. Any idea what is happen