JCO -SAP

Dear experts,
I have been trying to procure JCO java package.I need to use BAPI calls in order to communicate to R/3.
However,the link i found asks for an authenticated userid and password or i can download only if i am a customer.
Can any one help me in this regards.
Plz send it to my mail id :[email protected] if possible.
Thanx a lot in advance.

Hi aditya,
i don't know why do you want to procure the JCO Package.i had called the BAPI from my WebDynpro programm using the JCO.
i think you need to create one JCO Connection through WebDynpro Content Administrator and use the same JCO Connection in your application to communicate to R/3.

Similar Messages

  • Java JCo SAP XI RFC SAP R/3 6.C ... Unicode issue

    Hello,
    My scenario is very simple. I'd like to connect a Java program to a SAP R/3 (MDMP) for RFC calls (in both direction), using SAP XI (some of the RFC calls will redirected to some other systems). I use SAP JCo v2.1.8 and tried with Java 1.4.2_09 and Java 6.0.
    It works well when the Java program is calling a function module, but when SAP R/3 is doing it, the returned texts looks like: S#A#P# #J#C#o# #v#2#.#1#.#8# #(#2#0#0#6#-#1#2#-#1#1#)# (the text should be SAP JCo v2.1.8).
    It looks like an issue with Unicode. Although I didn't check the Unicode checkbox in the RFC sender adapter (the RFC receiver one doesn't offer the possibility to specify unicode or not).
    Do anyone have a solution ? Is it a code in the Java program or something to set in SAP XI / SAP R/3 ?
    Thanks in advance for your help.

    This is a workaround solution. In the case of this prototype it is ok, but the final plan is to migrate a web based application. It was directly connected to one SAP R/3, but now we would like to connect it to SAP XI because a few RFC calls will be re-directed to some other systems, but the majority of them will we'll still be sent to the SAP R/3. We don't want to make development on this part for cost reason (and time). Plus on some text there are the "#" character that is legitimate.

  • Related to jsp, jco,sap

    can u help me
    just having a resume form in jsp and "i want to save input value in the sap table using jco tool" ???

    Why don't you just use xMII to do this via the BLS JCo actions?

  • Difference between sap jco & sap jra

    Hi
    What is difference between sap jco and sap jra , when to use  sap jco and sap jra
    Thanks
    Jagannadha Rao

    SAP Jco - http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/content.htm
    to get an idea about SAP JCo have a look into this thread. It is a good read abt SAP Jco and Java Proxies.
    Re: Difference between SAP JCO and Java Proxies
    Abt JRA , i guess SAP JRA uses SAP JCo for the calls made from its framework. Not sure about it though.
    http://help.sap.com/saphelp_nw04/helpdata/en/12/5b84429069de54e10000000a155106/content.htm

  • What wrong with JCO and SAP

    I add all necessary class for JCO in my package but it returns error.
    =========================================
    28 มิ.ย. 2550 16:09:31 org.apache.axis.utils.JavaUtils isAttachmentSupported
    WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
    AxisFault
    faultCode: Server.generalException
    faultSubcode:
    <b>faultString: java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO; nested exception is:
         java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO</b> faultActor:
    faultNode:
    faultDetail:
         hostname:tagdvtrat1
    java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO; nested exception is:
         java.lang.NoClassDefFoundError: com/sap/mw/jco/JCO
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)>>
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at com.pda.IssueBAPISoapBindingStub.doIssue201(IssueBAPISoapBindingStub.java:144)
         at com.pda.testWS.main(testWS.java:14)

    Hi Pornthep,
    this is not the fault of JCO/SAP. There are jar files/classes missing in the classpath. If you are using Axis2 there are some good samples on how to deploy the web service using environmental variables (keywords AXIS2_HOME, ant and maven build file). This may help you to avoid missing libraries. In case you are using Axis1 you can adapt most of the deployment procedure.
    Hope that this may help you.
    Best regards
    Frieder

  • User Name and Password for JCO RFC call to BAPI

    Hi all,
    What I think I know:
    --We do NOT have Single Sign On configured so don't tell me to use SSO please - I agree, but...
    --We have a requirement to do a goods receipt which prints labels for the handling units 
    .....The printer to which the labels are directed depends on the user who is running the transaction
    What I think this means
    --We will need to specify a user name and password in the RFC call so the label will go to the correct printer
    --I cannot use the IllumnLoginPassword (or whatever its name is) for the password
    --I need to prompt the user for their password a second time after they login to our MII app
    The problem
    --I will need to store the password somewhere for the duration of the session
    ......In session variable that has been encryted
    .............I didn't see an encryption action block so I could create my own
    ......In the database using database column encryption
    .............A little bit of a pain, but not too bad
    Any corrections, alternatives, ideas .... ???
    Thanks,
    --Amy Smith
    --Haworth

    Thanks for the attention guys.  A little clarification.
    1.  I have been assuming that I cannot use the IllumnLoginPassword for the JCO SAP password in the action block.  If this is NOT true, then it solves my whole problem.
    2.  It would not work to prompt a shop floor person for their password every time they do an operation completion.  Well, at least
    if I don't want to not get lynched! 
    3.  I am planning on prompting people every time they log on for their ECC password and retaining it somewhere secure while they are logged on (and longer if they skip the logoff step.)
    4.  I have been focusing on how/where to retain the password, but also need a way to encrypt it during transmission.  Jeremy said the applet/BLS would at least encode it for me.  That is good.
    --Amy Smith
    --Haworth
    Edited by: Amy Smith on Feb 18, 2010 1:30 PM

  • Notes on JCO,RFC and ARFC?

    Hi,
    I need information regarding JCO,RFC,ARFC.
    wht the main use of  this?
    Reply ASAP.
    Regards
    kiran

    hi,
    JCO
    SAP Java Connector (SAP JCo) is a middleware component that enables the development of SAP-compatible components and applications in Java. SAP JCo supports communication with the SAP Server in both directions: inbound calls (Java calls ABAP) and outbound calls (ABAP calls Java).
    SAP JCo can be implemented with Desktop applications and with Web server applications.
    SAP JCo is used as an integrated component in the following applications:
    ●     SAP Business Connector, for communication with external Java applications
    ●     in the Application Server, for connecting the integrated J2EE server with the ABAP environment.
    SAP JCo can also be implemented as a standalone component, for example to establish communication with the SAP system for individual online (web) applications.
    RFC
    Communication between applications of different systems in the SAP environment includes connections between SAP systems as well as between SAP systems and non-SAP systems. Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. The RFC calls a function to be executed in a remote system.
    ARFC
    Asynchronous remote function calls (aRFCs) are similar to transactional RFCs, in that the user does not have to wait for their completion before continuing the calling dialog. There are three characteristics, however, that distinguish asynchronous RFCs from transactional RFCs:
    When the caller starts an asynchronous RFC, the called server must be available to accept the request.
    The parameters of asynchronous RFCs are not logged to the database, but sent directly to the server.
    Asynchronous RFCs allow the user to carry on an interactive dialog with the remote system.
    The calling program can receive results from the asynchronous RFC.
    regards,
    Kris

  • Diff in SAP ECC 6.0 and Netweaver

    Hi Experts,
    I am working as SAP ABAP Consultant.
    I am new to SAP Netweaver with JAVA. I want to Learn SAP with JAVA also.
    Can any one tell me whether the SAP 6.0 is used for SAP NetWeaver developement with java
    or it needs some more than SAP ECC 6.0 for ABAP.
    Which java is used mostly in SAP?
    How to start learn JAVA for SAP?
    Awaiting helpful reply
    Thanks In  advance,
    Dhanu

    Hi Dhananjay,
    The SAP NetWeaver Application Server (SAP NetWeaver AS) defines the runtime environment both for Java- and ABAP-based applications in SAP NetWeaver. We refer to the Java-related parts of the server as SAP NetWeaver AS Java. The main part of SAP NetWeaver AS Java is the SAP J2EE Engine, a complete runtime system that can host applications in compliance with the J2EE 1.3 standard.
    The SAP J2EE Engine supports all the techniques that became popularized by J2EE - JavaServer Pages, servlets, Enterprise JavaBeans (EJBs), etc. - so that applications can be ported with minimal effort to SAP NetWeaver AS Java. However, SAP NetWeaver AS Java offers additional functionality on top of what is required in the J2EE 1.3 standard.
    Where should I store database tables of my combined ABAP/Java system?
    The important information here is: Please keep the database storage of your Java- and ABAP-based components separate:
    ABAP components access database tables stored in the “ABAP” database schema.
    Java components access database data stored in the “Java” database schema.
    Best, there is one database instance keeping both ABAP and Java schemas, namely the database instance that is already pre-configured during the SAP Web AS installation.
    Can my Java program modify data in the ABAP database schema?
    The important constraint is: In general, Java components do not access tables stored in the ABAP schema directly, via persistence APIs (for example, JDBC). Analogously, ABAP components cannot manipulate data in the Java schema.
    Don’t worry: Of course, Java components can read or modify data in the ABAP schema. But rather than accessing table data directly, they are intended to go around: In the Java code, you apply the application-level APIs (like SAP Java Resource Adapter API, web services, Adaptive RFC for Web Dynpro UIs) and ask the ABAP component to do the work on the database.
    Can I integrate Java and ABAP components in the scope of an application?
    Of course, you can combine Java and ABAP components in your systems. There are several technologies enabling reliable data exchange between them, like SAP Java Connector (SAP JCo), SAP Java Resource Adapter (SAP JRA), web services, and SAP Exchange Infrastructure (SAP XI) to name some.
    The below link helps u in understanding the connectors of java and sap.
    [http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/content.htm]
    Using the SAP Java Connector
    SAP’s new Java middleware, the SAP Java Connector (JCO) allows customers and partners to easily build SAP-enabled components in Java. JCO supports both inbound (Java calls ABAP) and outbound (ABAP calls Java) calls in desktop and server applications.
    In this Sample Program we connect to SAP and call two BAPIs.
    Import statements: Any program using JCO should contain the following import statement:
    import com.sap.mw.jco.*;
    Otherwise, you have to fully qualify each class and interface which is very inconvenient.
    Connecting to SAP
    JCO.Client mConnection;
    A connection (or session) with SAP is handled by class JCO.Client
    try {
    mConnection =
    JCO.createClient("400", // SAP client
    "c3026902", // userid
    "********", // password
    "EN", // language
    "iwdf5020", // host name
    "00"); // system number
    mConnection.connect();
    catch (Exception ex) {
    ex.printStackTrace();
    System.exit(1);
    "A Client object is created via a call to createClient(). You can use a specific application server (as in the above code) or a server group (load balancing)." REFER the JCO Javadoc for the overloaded createClient() method for the latter possibility.
    "The Client class's connect () method tries to log on to SAP. If that fails for any reason, an exception is thrown. If the call succeeds, we can now stay connected for as long as we like. When we are done, we can call disconnect () to explicitly log off."
    Thankyou
    Regards.

  • Callig RFC from Non SAP System

    Hi,
    I would like to know how can I call a RFC enabled Function Module from a non SAP system, I know of Webservices, SAP API, SAP jco etc but to download all this connectors (SAP jco Sap .net etc) you require SAP service ID logon, i do not have it, with reference to Web services i cannot use it since the client is not interested ...
    1) in short i do not have SAP service user id ... what are the other options for calling  SAP RFC using an application say java even if i can use any middleware to connect the java apllication and sap rfc it is fine.
    2) The SAP services is 4.7 and they do not use EP, Netweaver Developent Studio etc ... simple plain SAP System ... also what setting has to be done at the server side ...
    regards
    Santosh

    Check this link . Might solve your problem.
    http://www.sapnet.ru/viewtopic.php?t=832

  • About JCO and XI

    Hello,
    I heard some people talking about end of support for JCO..I was wondering if some of you can confirm or not ? Is there any documents/roadmap about this ?
    Those guys were saying that with the promotion of SAP XI and therefore JRA, java proxies and so on..SAP would stop JCO...
    Thanks in advance for your answers !

    Dear Eric,
    JCO :
    SAP Java Connector (SAP JCo) is a middleware component that enables the development of SAP-compatible components and applications in Java. SAP JCo supports communication with the SAP Server in both directions: inbound calls (Java calls ABAP) and outbound calls (ABAP calls Java).
    JRA :
    SAP Java Resource Adapter (SAP JRA) is a J2EE -compatible connector for SAP systems. It enables the integration of SAP systems with J2EE application servers.
    This will help you to understand more
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/b55a4201301453e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5caa85b11d6b28500508b5d5211/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/frameset.htm
    Regards
    Agasthuri Doss

  • Logon exit for jco rfc call

    Hi. There is a external system to access our SAP rfc function by jco. I want to limit the jco access must be come from a certain ip.
    I found user exit SUSR0001 and can limit GUI logon. But it is no effect on jco logons. Is there another user exit for jco logon or others way to limit jco logon? Please give me some help. Thanks.

    Thanks for the attention guys.  A little clarification.
    1.  I have been assuming that I cannot use the IllumnLoginPassword for the JCO SAP password in the action block.  If this is NOT true, then it solves my whole problem.
    2.  It would not work to prompt a shop floor person for their password every time they do an operation completion.  Well, at least
    if I don't want to not get lynched! 
    3.  I am planning on prompting people every time they log on for their ECC password and retaining it somewhere secure while they are logged on (and longer if they skip the logoff step.)
    4.  I have been focusing on how/where to retain the password, but also need a way to encrypt it during transmission.  Jeremy said the applet/BLS would at least encode it for me.  That is good.
    --Amy Smith
    --Haworth
    Edited by: Amy Smith on Feb 18, 2010 1:30 PM

  • GIS integration with mySAP ERP 2004 Jco version?

    Hi guys,
    Which version of JCO connector will connects the mySAP ERP 2004? while integrating GIS integration with mySAP ERP 2004 .
    Thanks in advance
    Regards
    Rgdasari

    Hi Rgdasari,
    SAP always recommends to use the most recent release of the frontend components, including the connectors. Hence you should get the most recent release of JCo - SAP JCo Release 2.1.6.
    You can download it from http://service.sap.com/connectors - you will need to provide your SAP Service Marketplace User/Pass.
    Regards,
    Mustafa.

  • EP6 / SAP 4.6B IDES connection and usage?

    Hi,  I have recently installed SAP R/3 4.6B IDES and just wondering what development I can do using EP6 SP9 sneak preview with SAP IDES? 
    Can anyone please let me know how to create system landscape  for SAP IDES in EP6 portal?  I'm currently using the default user DDIC, how can is create a client copy of DDIC as a different user?
    I assume SAP IDES is very similiar to the SAP R/3 realtime systems, so please let me know from your experience what all developments I can do using EP6 with SAP IDES?
    Thanks
    Siva

    Hi Raj, thanks for your reply.  I think the development you have mentioned is more of a R/3 developement, if I'm not wrong.  I'm new to SAP EP6 Portal development and I'm using EP6 sneak preview SP9, and also doing some development in EP5. 
    Your example says based on R/3 user profile, we can map it to EP?  Could you please tell me if ESS and MSS packages are installed with SAP R/3 IDES installation? 
    I'm interested in more of retrieving data from IDES and displaying it in EP using JCo, SAP Connector architecture, BAPI calls, SAP Transaction iView, ESS, MSS and any more development?  Any help url I appreciate.
    Thanks
    Siva

  • Problem creating JCo rfcs

    Hi,
    I want to create JCo rfcs in systems.
    But confused between these functionalities :
    1> JCo rfc prvider : This is present in Visual Admin and is used to register J2EE engine as rfc destination.
    2> Maintain JCo connection : This is present in content admin in WebDynpro tool. Here we can provide details.
    Whats the difference between two and which is to be used when?
    Thanks

    Hi,
    JCo RFC Provider Service:
    The RFC is an SAP interface protocol, which simplifies the programming of communication processes between systems. The RFCs enable you to call and execute predefined functions in a remote system, or in the same system. The RFCs manage the communication process, parameter transfer, and error handling.
    In the J2EE Engine the RFC functions are implemented by the JCo RFC Provider service, which is used for processing ABAP to Java requests. A feature is provided for receiving calls from the SAP systems u2013 this is done by registering the J2EE Engine as a RFC destination.
    The JCo RFC Provider Service processes calls from the SAP systems. It dispatches the calls to a stateless session bean, which is registered in the J2EE Engine naming system. By naming convention the JNDI name used is identical to the name of the SAP function module.
    Technically, the service is based on the JCo (SAP Java Connector).
    Please refer the sap help link:
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/content.htm
    What is JCo connection and use please refer the following URL:
    http://wiki.sdn.sap.com/wiki/display/Java/JCO+Connection

  • AE 5.2 Defining SAP Connectors

    Hello,
    Can someone identify to me the process in defining NEW SAP connectors for Access Enforcer 5.2?
    I have been configuring AE and have the process working for creating new users where the user receives the email identifying their password and the system they have been defined to once the provisioning is completed
    The SAP BASIS group who performed the installation have defined the connections as "VIRSAR3_01_MODEL and VIRSAR3_02_MODEL", for the DEV and PRD systems respectively.
    Our production system is known to users as SAPPRD and I would like to create a SAP connector that shows that as the name rather than "VIRSAR3_02_MODEL"
    I have tried to use the Define Connectors from the AE customization panel but have not had success in saving the definitions.
    I am thinking that the VIRSAR3_02_MODEL name may be a default used during installation and there may be more than just going to the AE Define Connector panel to add additional connectors or name them differently.
    Appreciate if someone can identify the proper steps I need to take; I would think the SAP BASIS group will need to be involved. This is somewhat new to them also.
    Thanks
    Jerry Synoga
    [email protected]

    Hello Listeners,
    I have researched this issue with our BASIS group and we have now become more familiar with the AE Connectors;
    The ones that I have been given are what is defined with the NetWeaver  installation and are defaulted to the VIRSAR3_01_MODEL and VIRSAR3_02_MODEL; these then become available in the AE Configuration process for defining SAP Connectors; these are the JCO connectors and will work if used for AE provisioning of NEW / Change users
    It is recommended by SAP that for this type of connection you should use a non-JCO connector which should be defined using the AE Configuration> Connector> Define SAP process; when I tried to do this and change the "name" of the connector, I would receive the ACTION FAILED message; the system log identified the error as a Duplicate Key (too bad the AE message was not that informative);
    we discovered that the Key setting was made up of the "short description" field of the Define Connector process; since I only changed the 'name" field, I was hitting the duplicate key error; one would have thought that the 'name" field, which would always be unique, would comprise of the key;
    The JCO connectors should be used according to SAP for communication between tools such as AE and CC ( Access Enforcer communicating with Compliance Calibrator; this is something I plan on getting to in the near future
    Conclusion is that if you need to change the JCO connector names to something other than the defaults, you can do this if you have access to the NETWEAVER ADMINISTRATION functions;
    The non-JCO SAP connector can be defined for communication between AE and the SAP backbends system; remember that the 'short description" field should be unique among all the connectors - JCO and non-JCO
    With this knowledge I have successfully completed the connector definitions and now have a better understanding of this process
    Hope this lengthy explanation helps others
    Thank You
    Jerry Synoga
    jerry,.[email protected]

Maybe you are looking for

  • F110 Payment program for Singapore Bank DBS

    Hello SAP Experts, Has anyone created Payment Medium Format IDEALu2122 We are banking with DBS (Singapore) and we need to create: 1) Payment file for DBS in Format IDEALu2122 2) SAP interface with DBS Any help would be most appreciated. Many thanks M

  • Default field in QM info Record

    Hi All, Is it possible to keep the field as default every time while creating a new QM info record? field is Inspection control - No Inspection. Regards, Anil

  • FormDataIntegrationClient.importData() deletes layout information

    Hi, I have a pdf document in which every field that has changed is marked in red. I extract XML from it, change one field and import the data into the same pdf document. After that all fields that were red before are not anymore. Code example: inPdfD

  • How do i fix this error and install adobe reader?

    The error is : Windows installer does not permit updating managed advertising products. At least one feature of the product must be installed before updating the update.

  • GPO Restrict All Drives policy throwing error when saving/opening in Office 2013

    We're running Windows 8.1 x86 and have a GPO that, among other things, restricts access to all drives. In all Office applications, when a user clicks File > Save As > Computer > Browse (or any recent folders like 'Desktop', 'Documents' etc.) it throw