JCO Timeout for SAP Business Connector 4.7

Environment :
  Windows 2000, SAP Business Connector (BC) 4.7
General Description :
  SAP BC is used to invoke BAPI's in the SAP R/3 system.
Issue :
  Some BAPI's are taking some time to return response depending on user load. Need to provide a timeout for RFC calls invoked by SAP BC using JCO.
  Following is the entry in the rfc trace log file when BC starts up ...
000000  -
  2005-05-12 11:07:20 EDT
000001  [B2B-SAP.0011.0001] [JNI-LAYER] RFC.nativeSetTraceLevel()                with rc = RFC_OK   leave, [SUCCESS]
000002  [B2B-SAP.0002.0022] Log level set to 10
000003  [B2B-SAP.0002.0025] Registered SAP package trace with core trace
000004  [B2B-SAP.0002.0014] Starting SAP services
000005  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.setProperty(jco.jdsr.comp_name, SAP BC server0023 5555)
000006  [B2B-SAP.0003.0001] Loading native libraries
000007  [B2B-SAP.0003.0002] JCO version: 2.1.4 (2004-10-20) sapjcorfc 2.1.4 (2004-10-20)
000008  [B2B-SAP.0003.0004] jRFCLibrary info: 2.1.4 (2004-10-20)(C:\sapbc47\Server\packages\SAP\code\libs\sapjcorfc.dll)
000009  [B2B-SAP.0003.0003] RfcLibrary version:
This RFC library belongs to the SAP R/3 Release *** 640,0,41  *** MT-SL
Versions of SAP internal libraries:
  dptr:    2
  ni  :   37
  cpic:    3
  rfc :    3
00000A  [B2B-SAP.0011.0001] MiddlewareRFC.setProperty(jco.middleware.wait_for_request_time, 1)
00000B  [B2B-SAP.0002.0016] Loaded SAP server configurations
00000C  [B2B-SAP.0002.0015] SAP services started
00000D  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.setAbapDebug(false), current state false
00000E  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.setTrace(true), current state false
00000F  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.setAbapDebug(false), current state false
000010  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Pool.setMaxWaitTime(30000)
000011  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Pool.setConnectionTimeout(600000)
000012  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Pool.setTimeoutCheckPeriod(30000) on pool SERVER-300&USER_RFC&300&EN
000013  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.PoolManager.addPool:
      name = SERVER-300&USER_RFC&300&EN,
      connection = USER_RFC|300|EN|AS=[11.12.7.296|00|]G0|,
      pool_size = 10,
      max_wait_time = 30000,
      pooled_connection_timeout = 600000,
      timeout_check_period = 30000
000014  [B2B-SAP.0005.0003] Pool changed: SERVER-300&USER_RFC&300&EN containing 0 connection(s)
007E72  [B2B-SAP.0006.0001] Executing invoke for ZBAPI_TEST_Service on SERVER-300
007E73  [B2B-SAP.0011.0001] [JAV-LAYER] JCO.Client.execute (ZBAPI_TEST_Service) on handle [2]
Questions :
   1) Is there a SAP BC configuration parameter for RFC execution timeout ??
   2) Any other way of enforcing the RFC time out ??
   3) If there is a way to set timeout on JCO.Client.execute method ??
I really appreciate your help !!

I have tried changes the connection timeout value but if doesnot affect the time RFC. Following is from SAP BC adapter  guide ..
Delay (minutes) until an unused connection to a SAP
System is timed out (default: 5)
I think I need similar setting as that for RFC connection !!

Similar Messages

  • Any supports for SAP Business connector

    Hello!
    Has anyone knowledge in following areas:
    - Has the SAP Business connector still any supports?
    - What is the procedure to connect Lotus Notes and ERP 2005 (Do we need RFC-connects or RFC/BAPI?)
    - Which support package stack and which kernel version are mandatory for Source Release 4.6c?
    Thank you!
    regards
    Axel

    Hi,
    Fisrt of all pls don't cross post the same question(s) over different forums.
    The BC is still part of NW04s:
    http://help.sap.com/saphelp_nw70/helpdata/en/6f/1bd5c2a85b11d6b28500508b5d5211/frameset.htm
    You don't specfy what you want to do with Notes, so here are some links:
    http://help.sap.com/saphelp_nw70/helpdata/en/28/b7341c0f3e7a4494227dfaa130e520/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/e0/1059d2674d9f43907169400ac6618a/frameset.htm
    Eddy
    PS. Which type of SDN Ubergeek/BPX suit are <a href="/people/eddy.declercq/blog/2007/05/14/which-type-of-sdn-ubergeekbpx-suit-are-you">you</a>?
    Deadline: June 15th

  • JCo IDoc: SAP Business Connector required?

    On my searching for the error IDOC_ERROR_METADATA_UNAVAILABLE i have found this thread:
    BC 4.7 -IDOC_ERROR_METADATA_UNAVAILABLE
    "As of SAP BC 4.7 the SAP Adapter (the piece dealing with the SAP system(s)) uses the new SAP IDoc Java API which uses other function modules to retrieve the definition data of the IDocs.
    You need new permissions in the SAP system, especially
    S_IDOCDEFT:EDI_TCD=WE30,ACTVT=03,EDI_CIM=,EDI_DOC=
    S_CTS_ADMI:CTS_ADMFCT=TABL"
    Does JCo Idoc require the Business Connector installed to execute the JCoIDoc.createDocument() method? I guess not, but i can not see other reasons for the error message. If i read it correctly, the BC needs the permissions in SAP, but the JCoIdoc library does not depend on the BC.
    Mike

    No, it is not required.  At my company we use a third party software to handle all faxes.  Really it is setup SAP as an output device, so it is just like printing to a printer.  THe only differences is we need to have a header page in the sapscript which gives all of the details of the fax to the third party software.  This software then strips off this first page and faxes the rest of the pages.
    It is called RightFax and it runs on a separate server.
    Regards,
    Rich Heilman

  • Is SAP Business connector required for faxing of scripts....

    Hi,
    Do we need to have SAP Business connector if we want to fax the script or form ?
    Regards,
    Rajesh

    No, it is not required.  At my company we use a third party software to handle all faxes.  Really it is setup SAP as an output device, so it is just like printing to a printer.  THe only differences is we need to have a header page in the sapscript which gives all of the details of the fax to the third party software.  This software then strips off this first page and faxes the rest of the pages.
    It is called RightFax and it runs on a separate server.
    Regards,
    Rich Heilman

  • SAP Business Connector in xMII 12.0

    Hi,
        Can somebody help me out about SAP business connector action in transaction? and How to send one XML or Message from SAP xMII 12.0 to SAP ERP system?
    Thanks,
    Madhavi

    Hi Madhavi,
    Business Connector is a fairly old middleware technology provided by SAP which can be used to integrate SAP ERP to other applications. It is largely superseded by SAP XI/PI (which provides better, more robust & scalable middleware and A2A integration functionality). MII can connect to XI/PI via its SOAP or HTTP post actions, or via the SAP XI action block for business logic transactions (released via SDN for MII 11.5, and part of the MII 12.0 core product).
    For direct connections to ERP systems (e.g. for RFC calls), use the JCo action blocks in MII 11.5, and the JRA actions in v. 12.0.
    Hope this helps,
    Sascha

  • Flat File Transfer from SAP R/3 4.7 to SAP Business Connector 4.8

    Hi Experts,
    I have a requirement of transferring a flat file from my R/3 SAP 4.7 Box Application Server to the Business Connector 4.8 Box. I am new to SAP Business Connector and I am not to sure whether FTP works if I use a shell script in SAP R/3. Also, is there any way Business Connector Box can pull the file from R/3 Application Server and store the file in the Business Connector Server.
    Any help will be appreciated!!!
    Regards,
    Subhhrangsu

    Hi,
    There are many ways thru which you can pass document to SAP BC:
    You can HTTP, FTP, Email document to SAP BC.
    SAP BC has predefined services for all of them.
    For FTP document to SAP BC:
    1 Initiate an FTP session on SAP BC Serveru2019s FTP listening port ( this can be found out from SAP BC administrator or from SAP BC homepage).
    2 Point to the directory that contains the service to which you want to pass the XML
    document.
    Example cd \ns\Purchasing\SubmitOrder
    3 Copy the XML document to this directory using the following command:
    put XMLDoc.xml
    Where XMLDoc.xml is the name of the file that you want to pass to SAP BC Server.
    Example put PurchaseOrder.xml
    Above code can be written in a batch file and you can schedule it to run at interval of minutes.
    You can write java client program as well to upload file and map it to String variable of Flow service of SAP BC.
    As Micheal said, you can look at sapbc/Developer/doc folder to look for more options.
    Best Regards,
    Divyesh

  • HTTP POST /  SAP Business Connector 4.6

    I'have written my message in forum XI which is better location for this subject.
    Message was edited by: Vincent BLOHORN

    Hi Ganimede,
    I'm not sure if 4.6 is (should be) but 4.8 is definitely UC compatible.
    Please follow these links:
    [Connectors @ SAP overview page|http://service.sap.com/connectors]
    [SAP Business Connector (SAP BC) Documentation|http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000719330]
    Regards,
    Martin Fuchs
    SAP AG

  • Finding message in SAP Business Connector with IDoc number

    Hi Experts,
    Since there is no separate forum for Business Connector, posing my question here.
    Does anyone have idea how we can find a message in SAP Business Connector if we know the source IDoc number, the same way we use IDX5 in PI.
    Thanks,
    Dhawal

    AFAIK there is no simple way.  What I usually do is compare timestamps. The Idoc is usually processed on the B.C. within the same minute.
    We only have up to 10 Idocs within one minute and I do not have to search every day. So it works for me.

  • Download of SAP Business Connector 4.7 or 4.8

    Hi!
    I would like to know how to download the SAP BC 4.8 besides the link bellow:
    http://www.service.sap.com/sbc-download
    Thank you very much!
    regards
    Thom

    Try the following:
    http://service.sap.com/connectors
    -->  SAP Business Connector
    --> Tools & Services
    --> Download SAP BC Release 4.7
    Is that what you were searching for?
    Markus

  • Old version of SAP Business Connector (4.6)

    Hi,
    where can I download old versions of SAP Business Connector?
    in BC section ([http://service.sap.com/sbc-download|http://service.sap.com/sbc-download]) there are only 4.7 and 4.8 installation package and upload.
    thanks
    Damiano

    What is the reason for staying on 4.6 ?
    Did you develop many complicated packages and are afraid they wont work anymore in 4.7. That should not be the case.
    By the way, if someone answers your question, you are encouraged to give the points to that person and not just mark the question as answered but I will answer your questions about BC anyway, if needed.
    CSY

  • WebMethods Integration Server Vs.  SAP Business Connector 4.7 (BC)

    Hi All
           We have to integrate non SAP systems and SAP systems for that we have 2 options
    1)   SAP Business Connector 4.7 (BC)
    2)   webMethods Integration Server
           which one will be better option for this kind of POC by considering all the issues like interaction with SAP RFC or IDocs, performance, load balancing, salability, maintenance, etc.
         please tell us pro's and cons of both to decide upon which is better option.
         Thanks in Advance
    Thanks
    Ninad

    It is the same product, with different branding.
    The only thing is that SAP consider the SAP BC end-of-maintenance, and suggest to use XI.
    Regards,
    Sandro

  • Corefix 7 in SAP Business Connector 4.7

    Hi,
    We are currently using sap business connector version 4.7.we have 2 systems production and test,where in our production system is at Corefix 5 and test system is at Corefix 6.
    I need to know what are the patches and fixes provided by Corefix 7 in business connector,also a comparison with other corefixes.
    Thanks in advance!!
    Regards,
    Ramya

    Hi Ramaya,
    I am currently working on BC 4.7.
    I have established one HTTP to IDoc scenario.
    I want to know more about XSLT mappings in BC.
    What is it's structure?
    How we can use it in this scenario?
    Can you please help me?
    Waiting for your reply.

  • How to HTTP POST data to SAP Business Connector

    Hello,
    I would like to transfer data from a client with HTTP POST to SAP Business Connector. SAP BC acts as server. In SAP BC I created a Java service containing the code:
    IDataCursor idatacursor = pipeline.getCursor();
    idatacursor.first("node");
    Object obj1 = idatacursor.getValue();
    System.out.println(obj1.toString()); //for test
    But how can I access the data that was sent with HTTP POST in my service?
    Thank you
    Piotr Dudzik

    Hi,
    quite easy:
    StringBuffer buffer = new StringBuffer();
    String resultString = null;
    String xmlString = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"+
            "<biztalk_1 xmlns=\"urn:biztalk-org:biztalk:biztalk_1\">"+
            "<header>"+
            "<delivery>"+
            "<to>"+
    "<address>urn:sap-com:logical-system:XXX</address>"+
            "</to>"+
            "<from>"+
    "<address>urn:sap-com:logical-system:YYY</address>"+
            "</from>"+
            "</delivery>"+
            "</header>"+
            "<body>"+
            "<doc:Z_RFC_CALL_NAME> xmlns:doc=\"urn:sap-com:document:sap:rfc:functions\" xmlns=\"\">"+
            ... [PARAMETERS]
            "</doc:Z_RFC_CALL_NAME>"+
            "</body>"+
            "</biztalk_1>";
            try {
                URL url = new URL(SCHEMA, this.host, Integer.parseInt(PORT), FILE);
                HttpURLConnection connection = (HttpURLConnection)url.openConnection();
                initConnection(connection);
                OutputStream out = connection.getOutputStream();
                out.write(xmlString.getBytes());
                out.close();
                InputStream reader = connection.getInputStream();
                char ch;
                while((ch = (char)reader.read()) != -1 && ch != 0xFFFF)
                    buffer.append(ch);
                resultString = buffer.toString();
                if (this.getXMLEntry(resultString, "E_STATUS").equals("E")) { // ERROR
                    System.out.println("errormessage: "+this.getXMLEntry(resultString, "E_EMSG"));
                } else {
                    // ok, is supose this is an S (success), parse the stuff
                reader.close();
            catch (Exception e){
                e.printStackTrace();
                System.out.println(e);

  • PI 7 to SAP Business Connector Connectivity

    Dear Gurus,
    I have to connect our ECC 6.0 System to another ECC 6.0 System using B2B scenario. For B2B purposes we are using PI 7 while the other party is using SAP Business Connector (SAP BC) as it's front-end-tool for ERP-to-ERP connectivity. I am a Basis Consultant and I have been given the task of doing this connectivity. I have never worked on any business connector. Can anyone guide me in this? We do not have any PI Consultant
    Also advice what infrastructure will be needed to complete this connectivity
    Request you all gurus to kindly advise asap
    Best Regards

    Well, a PI consultant would be a better choice as you will have to learn some basics before you can implement your project. PI is not an easy system as business connector and it requires deeper skills and expertise on the tool, but with some effort, certainly you can do it yourself.
    I do not have any experience on the administration of a dispatcher, so I cannot guide you on that subject. But after achieving the connectivity between the two dispatchers, the rest is the PI development task.
    It seems that your scenario is not really a hard one. Play around with the tools(in PI) and try sample scenarios to get used to it. Here are some for your convenience:
    And the PI (formerly called XI) library that covers almost everything is here:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm
    With the help of the documentation and the sample scenario blogs, you will be able to develop your scenario. But gathering the required skill will take about a month or so, depending on your performance.
    After learning the basics, you also need to work on monitoring, alert definitions, going live pratice etc. also which you can also find examples in the blogs. Furthermore, if the messages exchanged are to be changed before reaching the ERP on the PI side, you will also need some mapping practice. Here are two blogs which will teach you graphical mapping in PI:
    /people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    A B2B scenario can be partly auto-configured after definition of relevant integration scenario in the Integration Builder so it might be a good idea to learn it. I'm assuming you don't need any business processes(which automates A2A and B2B processes, for example a full order-to-cash scenario involving many systems and communications with business logic), so you will mostly need configuration instead of development. You also won't need any ABAP or Java skills in your case.
    The content on SDN about PI is pretty rich so I don't think you will be short on examples and instructions. Just search when you need something, almost every aspect is covered by now.
    Hope these are useful, feel free to ask anything you may need.
    Regards,
    Gökhan

  • To run a java service in SAP business connector.

    Hi,
    I have created one java service in SAP business connector.When i run it, i get the error as " Service 'rfctest:validatedata' is not operational. To run this service, first recompile the Java source."
    I have set the "path" variable,still i am getting the same error.
    What should i do to solve this problem?

    Hello,
    when you call a BAPI from an external system via Business Connector, you will send a bXML document to BC (for example via HTTP). Refer to the SapbcSAPAdapterGuide for how to do that in detail, its good explained (see 4-25 and 7-3) there.
    The explanation about sender/receiver is not correct. sender and receiver are the logical system names of the SAP backend system and the external system (check in transaction SALE of the SAP system).
    Just send such document to BC, it will create the routing rule automatically. Then complete the routing rule (see 7-2) and activate it.
    CSY

Maybe you are looking for

  • Windows 8.1 installation problem

    i want to update my windows 8 to 8.1 but when i try to update it...its saying that ''setup couldn't start properly. Please reboot your PC and try running windows 8.1 setup again'' plz help me....:(

  • JTextPane and Copy and paste

    Hi All, I have a JTextPane inside applet and It doesn't seem to copy anything outside the applet. Is there any way to copy and paste the content outside the applet ??

  • I am using oracle application server

    i have decoompressed the oc4j.jar file its saying following errors........ D:\>cd oracle D:\Oracle>cd j2ee D:\Oracle\j2ee>cd home D:\Oracle\j2ee\home>java -jar oc4j.jar 06/07/28 17:28:23 WARNING: EJBContainer.postInit Error generating wrappers for f

  • Mail shuts down after creating POP account

    Every time I set up my POP mail account using Mail version 2.1.3 on my iMac running OS X version 10.4.11 it shuts down when I try to get mail. After that it shuts down when I open it. I have to go in and delete the account immediately for it to remai

  • ITunes is crashing my iMac when updating my iPod

    The last two days anytime I sync my iPod (60 gig video) with my iTunes on my G5 iMac near the end of the syncing cycle the computer will simply stop and the screen will dim and a screen saying that I need to restart my computer by holding down the po