Who Make a connection from WebDynpro to SAP R/3

Hi All
    Pls...Can any one explain me the settings for making connection
    From WebDynopro to SAP R/3 ???
Regards
Prasad K

Hi
Go thru the links,
Web Dynpro - Problem with (SLD) JCO Connection
JCO , Web Dynpro & SLD connection
and for details read,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c
Regards
Srinivasan T

Similar Messages

  • How to establish a connection from java to SAP Netwevare server

    Hi All,
    As per my requirement i need to create a connection from Java to SAP Netwevaer Server inorder to access the docs from KM. PLZ provide some sample code
    (I know how to connect from java to SAP R/3 syatem using JCo connector).
    Can anybody help me.
    ADV Thanks

    Look
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/6615ea90-0201-0010-be81-e7a300fdf212
    /people/rohit.radhakrishnan/blog/2005/05/27/uploading-files-to-km-repository-using-webdynpro-apis

  • Connection from DP to SAP PI 7.11 via SOAP/https failed

    Hello Guys,
    we have a problem with connection from DP to SAP PI via SOAP/https.
    DP send a request and get a timeout. timeout is 2 or 3 minutes.
    DP and SAP PI authentificated with certificates.
    Our Problems:
    DP get now failure code
    in commnication channel monitoring in RWB from SAP PI I see no entry, no error
    in java default trace I see no error.
    What could be the Problem? What must we configure for https communication via SOAP Adapter?
    Which Log get me some information?
    Thanks and regards
    Martin

    Hi Neetesh,
    I have check all, but it resolved not my problem.
    I will describe my scenario again:
    scenario:
    syncronous request from system A over DataPower ->SAP PI to SAP system.
    communication DataPower to PI: SOAP over https
    DataPower located in other network zone.
    port is activated in firewall.
    called URL from DataPower:
    https://<host>:5<instance number>01/XISOAPAdapter/MessageServlet?
    channel=:<business system>:<interface>
    Problem:
    authentication looks like ok. No error in ICM Trace, in default java
    trace login from DataPower IP-adress ok.
    but no message is to see in the communication channel.
    no message in the adapter engine, no message in the integration engine
    DataPower get a timeout. (Timeout 2  minutes)
    we find no error, but also no message
    What could be the error? And where find I some information in SAP PI.
    Thanks and regards
    Martin

  • Can't make a connection from JDeveloper 10g (9.0.5.0) to WebLogic 8.1

    I can't make a connection from JDeveloper 10g (9.0.5.0.0) to WebLogic 8.1
    When I click "Test connection" JDeveloper 10g writes the following:
    Cannot instantiate class: weblogic.jndi.WLInitialContextFactory
    Have somebody ever established a connection from JDeveloper 10g (9.0.5.0) to WebLogic 8.1? How to do this?

    It connects successfully now. Thank you for the information.
    But it does nothing when I try to deploy my J2EE application.
    I right-click on Resources -> application.deploy, choose "Deploy to" -> my connection. It starts to do something obscure.
    Then I go to the WebLogic console and it shows that there is no my application.

  • How do i make http connection  from an applet to  a servlet

    i am not able to make a http connection from the applet to servlet
    my code for servlet is as follows
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class newDatabaseServlet extends HttpServlet {
    //      Connection con;
    // Statement stmt;
         public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
              resp.setContentType("text/content");
              System.out.println("megha");
              String mthd[] = req.getParameterValues("event");
              System.out.println(mthd.length);
              System.out.println(mthd);
              System.out.println(req.getQueryString());
              // System.out.println("megha");
    PrintWriter fw = new PrintWriter(new FileOutputStream(new File("e:/JRun/servers/default/default-app/mycontent.txt")));
    String s = "this text comes from servlet";
    fw.print(s);
    fw.flush();
              if(mthd[0].equalsIgnoreCase("callEditor")) {
                   openEditor(req,resp);
    public void openEditor(HttpServletRequest req, HttpServletResponse resp) {
         /* try {
              Class.forName("oracle.jdbc.driver.OracleDriver");
         con = DriverManager.getConnection("jdbc:oracle:thin:@pc6:1521:oradba","test","test");
         catch(Exception e) {
              e.printStackTrace();
              try {
                   resp.sendRedirect("/RunApp1.html");
              catch(IOException e) {
                   e.printStackTrace();
    /*try {
         Class.forName("oracle.jdbc.driver.OracleDriver");
    con = DriverManager.getConnection("jdbc:oracle:thin:@pc6:1521:oradba","test","test");
         catch(Exception e) {
         e.printStackTrace();
         resp.setContentType("text/html");
         PrintWriter output = resp.getWriter();
         try {
    stmt = con.createStatement();
    String strContent = "select * from edTable where newsid = 2";
    ResultSet rs = stmt.executeQuery(strContent);
    if(rs.next()) {
                   String newsText = rs.getString(2);
    /* StringBuffer buf = new StringBuffer();
                   buf.append("<B>servlet</B>");
                   try {
                   resp.sendRedirect("RunApp");
              catch(IOException e) {
                   e.printStackTrace();
    //               output.println(buf.toString());
    //          output.close();
    my code for applet is
    import javax.swing.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    import java.awt.*;
    import javax.swing.text.*;
    import javax.swing.text.html.*;
    public class EdApplet extends JApplet {
    public void init() {
         Container c;
         c = getContentPane();
    JPanel but = new JPanel();
    c.add(but,BorderLayout.NORTH);
    final JEditorPane je = new JEditorPane();
    JScrollPane jsp = new JScrollPane(je);
    HTMLEditorKit ht = new HTMLEditorKit();
    je.setEditorKit(ht);
    je.setEditable(true);
    HTMLDocument mdoc = (HTMLDocument)ht.createDefaultDocument();
    StyleSheet mcontext =mdoc.getStyleSheet();
    je.setDocument(mdoc);
    c.add(jsp,BorderLayout.CENTER);
    JPanel bot = new JPanel();
    c.add(bot,BorderLayout.SOUTH);
    JButton save = new JButton("save");
    but.add(save);
    String str = getInitialText();
         je.setText(str);
         String servletUrl="http://pc7:8100/servlet/newDatabaseServlet";
    try{
                   URL servletURL = new URL(servletUrl);
                   URLConnection servletConnection = servletURL.openConnection();
              servletConnection.setRequestProperty("event","saveText");
              servletConnection.setDoOutput(true);
              servletConnection.setUseCaches(false);
         catch(Exception e) {
    //          je.setText(e.printStackTrace());
         ActionListener lst = new ActionListener() {
              public void actionPerformed(ActionEvent ae) {
                   String save = je.getText();
                   saveText(save,je);
         save.addActionListener(lst);
    //je.setText("<B>this</B>");
    //URLConnection servletConnection = null;
    /* try {
              String servletUrl="http://pc7:8100/servlet/newDatabaseServlet";
              URL myUrl = new URL(servletUrl);
              servletConnection = myUrl.openConnection();
              servletConnection.setDoOutput(true);
              servletConnection.setUseCaches(false);
         /*     BufferedReader br = new BufferedReader(new InputStreamReader(servletConnection.getInputStream()));
    String t = br.readLine();
    je.setText(t);
         catch(Exception e) {
              e.printStackTrace();
    /* ActionListener lst = new ActionListener() {
              public void actionPerformed(ActionEvent ae) {
                   BufferedReader br = new BufferedReader(new InputStreamReader(servletConnection.getInputStream()));
                   String t = br.readLine();
    je.setText(t);
    click.addActionListener(lst);
    /*void String changeText(UrlConnection con) {
    BufferedReader br = new BufferedReader(new InputStreamReader(con.getInputStream));
    String t = br.readLine();
    return t;
    public String getInitialText()
         //String me = null;
         URLConnection textConnection = null;
         StringBuffer sb = new StringBuffer();
         try {
                   String textUrl="http://pc7:8100/mycontent.txt";
                   URL myUrl = new URL(textUrl);
                   textConnection = myUrl.openConnection();
                   textConnection.setDoInput(true);
                   textConnection.setUseCaches(false);
                   BufferedReader br = new BufferedReader(new InputStreamReader(textConnection.getInputStream()));
                   // me = (String)servletConnection.getContent();
                   String s = null;
                   while((s = br.readLine())!=null) {
                        sb.append(s);
              catch(Exception e) {
                             e.printStackTrace();
                   return sb.toString();
         public void saveText(String saveStr,JEditorPane je) {
              //String saveStr = je.getText();
              //String servletUrl="http://pc7:8100/servlet/newDatabaseServlet?event='saveText'&newsid='2'";
              //String servletGet="http://pc7:8100/servlet/newDatabaseServlet";
              String servletUrl="http://pc7:8100/servlet/newDatabaseServlet";
              //String servletUrl = servletGet + "?"
              //     + URLEncoder.encode("event") + "="
         // + URLEncoder.encode("saveText");
    //     je.setText(servletUrl);
              try {
              URL servletURL = new URL(servletUrl);
              URLConnection servletConnection = servletURL.openConnection();
         //     servletConnection.setRequestProperty("event","saveText");
         servletConnection.setRequestProperty(
         "User-Agent","Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
              //System.out.println("from applet");
              servletConnection.setDoOutput(true);
              servletConnection.setUseCaches(false);
              //Propertiew prop = new Properties();
         //     prop.put("event","saveText");
              PrintStream out = new PrintStream(servletConnection.getOutputStream());
    out.println("event");
    out.close();
         catch(IOException e) {
              je.setText(e.toString());
    kindly tell me what is the error
    what is the best method of doing this
    thanking u in anticipation
    megha sood

    omg O_o
    We cannot debug your code, but:
    Did you try the servlet directly from your browser? Does it work?
    Best regards from Germany,
    r.v.

  • Unable to make SSL connection from Proxy Server to Directory Server

    I have recently installed Directory Proxy Server 5.2 Patch 3 on Solaris 9 server. Backend directories are Sun Directory Server 5.2sp3 using Thawte signed certificates.
    I can't get the Proxy Server to make a successful SSL connection to the Directory Servers. The proxy server can make the non-ssl connection without problem. When the Proxy Server attempts the SSL connection it gives SEC_ERROR_UNTRUSTED_ISSUER error. The SSL certificates on the Directory Servers are signed by Thawte and have just recently been updated. The certificate for the Proxy Server is also signed by Thawte. The CA certificate is loaded in both the Proxy Server and the Directory Server.
    I also have an iPlanet Directory Access Router (iDAR) 5.0 Server that is our current production server that serves these same directories and I haven't had a problem with SSL connection with it. So, the certificates are good.
    I've encluded an exerpt from the Proxy Server log below for one of SSL connection attempts.
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [STAT/CONN]    [   560
    307] Connection from secured listen port. New connection is on socket 37.
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [STAT/CONN]    [   560
    305] Number of open connections is 1.
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [STAT/CONN]    [   171
    211] [client(         152.3.100.30,  37)] Accepting connection via dukenet-group
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   302
    023] Failure with CERT_VerifyCertNow (checking signature, usage: "certUsageSSLSe
    rver").
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   302
    023] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   385
    729] Rejected certificate on socket 38
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   385
    729] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   385
    728] Certificate rejected on socket 38
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   385
    728] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   385
    721] Read on socket 38 failed.
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   385
    721] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION]    [   301
    006] Unexpected error on socket 38. (Error: -8172).
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   171
    002] [client(         152.3.100.30,  37)] [server(  152.3.101.110+  636,  38)] L
    ost connection to server, trying to failover to another
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   302
    023] Failure with CERT_VerifyCertNow (checking signature, usage: "certUsageSSLSe
    rver").
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   302
    023] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   385
    729] Rejected certificate on socket 38
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   385
    729] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   385
    728] Certificate rejected on socket 38
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   385
    728] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION]    [   385
    717] ber_flush unexpected error on socket 38
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION]    [   385
    717] SEC_ERROR_BASE + 20, NSPR error: -8172 (0xffffe014). Native errno is: 11
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION]    [   385
    717] ber_flush unexpected error on socket 38
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION]    [   385
    717] NSPR error: -5938 (0xffffe8ce). Native errno is: 11
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   385
    721] Read on socket 38 failed.
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   385
    721] NSPR error: -5938 (0xffffe8ce). Native errno is: 11
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION]    [   301
    006] Unexpected error on socket 38. (Error: -5938).
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [NOTICE]       [   171
    002] [client(         152.3.100.30,  37)] [server(    152.3.232.3+  636,  38)] L
    ost connection to server, trying to failover to another
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION]    [   385
    717] ber_flush unexpected error on socket 38
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION]    [   385
    717] NSPR error: -5938 (0xffffe8ce). Native errno is: 11
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [EXCEPTION]    [   190
    102] [client(         152.3.100.30,  37)] Rejecting request The server is tempor
    arily busy
    Aug 30 2005 16:12:12 king.oit.duke.edu SunONEDPS[ 17471]: [OP/CONN]      [   170
    904] [client(         152.3.100.30,  37)] [server(  152.3.101.110+  636,  38)] C
    onnection unbound by client

    No, that was on 5.1. For 6.0, my classpath has just:
    %JAVA_HOME%\lib\tools.jar;%WL_HOME%\lib\weblogic_sp.jar;%WL_HOME%\lib\weblogic.jar;
    %CLASSPATH%
    This works fine.

  • How to pass thr document from Webdynpro into SAP R/3?

    HI Gurus,
    I have a requirement to offer a Document uploading option through Java webdynpro screen.
    I have referred the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    which has the steps till uploading the document into Webdynpro
    Now my requirement is to pass the document into SAP R/3? is there any RFC for that?
    Please ad

    Refer Oliveri's solution in [this|Re: How to upload file from Web Dynpro into R/3 (BAPI_DOCUMENT_CREATE2); thread.

  • How to pass the document from Webdynpro to SAP R/3?

    HI Gurus,
    I have a requirement to offer a Document uploading option through Java webdynpro screen.
    I have referred the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    which has the steps till uploading the document into Webdynpro
    Now my requirement is to pass the document into SAP R/3? is there any RFC for that?
    Thanks in Advance,
    Dharani

    Hi,
    The documents are uploaded from WDJ to Portal Server  / Portal Content Directory / Some Shared Drive .
    So that they can also be programmed such a way that they can be fetched whenever needed .
    The requirement is interesting but before you take step think how far it is feasible .
    Regards,
    Srini

  • Transfert data from Webdynpro to SAP R/3

    Hi all,
    Here is my need and my problem :
    - I have retrieved from R/3 some data from an InfoType
    - Those data are retrieved in Webdynpro and displayed in a table.
    - I' like to allow the user to modify a data in the portal then click on a "Change data" button
    - All data modified should be stored in the same infotype than  the data I retrieved.
    I have replace the cells I want modify in my table with an "Input field". Their are well bind and the data incoming are well displayed.
    I have some part of coding but in an example I found but the data are stored in a table and not in an Infotype so that's not exactly the same.
    Does anyone has an idea? A documentation link?
    Thank you in advance.
    Regards
    Matthieu

    Matthieu,
    I believe, you maintained a context node (table node say Vn_Table) and attributes within to bind to the display table on the screen and not bound the display table direcly to the Model Node(say Mn_<YourModelName>.
    If you want to retain both the new date and the old date for every entry in the table so that you later apply the comparision between them and then display the appropriate on the screen on click of Change Button, then better maintain two atributes say Va_AttrOld and Va_AttrDsp of same datatype date under the table node(Vn_Table) bound to the display table on the screen.
    Bind the input field for date in the table with the Va_AttrDsp attribute only under Table Node. So, what so ever changes you make on the screen will be retained in this Va_AttrDsp. Now, when you execute the Bapi to get the table populated for the first time set both the attributes of the table with the value of date coming from the Model Node. So, the first time input field will display the old date.
    On Action of Change button, apply comparision and if Old Value need not to be updated then overwrite the Va_AttrNew with Va_AttrOld value else do not change.
    This way you will never lose the old date.
    All the best.
    Regards,
    Tushar Sinha

  • SAP connectivity from Java to SAP 4.0

    Hi All,
    I am tried to send an IDOC(whose basic type, extension are known) to SAP system(ECC 6.0) using the SAP JCo API 3.0 and all works well.
    Now I used the same piece of code to connect to SAP 4.0 system but the following basic line of code has ran into a IDOCRUNTIMEEXCEPTIION
    doc = iDocFactory.createIDocDocument(iDocRepository, iDocType, iDocCymType);
    com.sap.conn.idoc.IDocRuntimeException: Unable to get metadata for MATMAS03 with extension YES2P_IEXT_MATMAS03: Function module "IDOCTYPE_READ_COMPLETE" not found.
    at com.sap.conn.idoc.jco.rt.SAPRepository.queryRootSegmentMetaData40(SAPRepository.java:1330)
    at com.sap.conn.idoc.jco.rt.SAPRepository.queryRootSegmentMetaData(SAPRepository.java:1122)
    at com.sap.conn.idoc.jco.rt.SAPRepository.getRootSegmentMetaData(SAPRepository.java:886)
    at com.sap.conn.idoc.rt.DefaultIDocDocument.<init>(DefaultIDocDocument.java:119)
    at com.sap.conn.idoc.rt.DefaultIDocDocument.<init>(DefaultIDocDocument.java:57)
    at com.sap.conn.idoc.jco.rt.JCoIDocDocument.<init>(JCoIDocDocument.java:58)
    at com.sap.conn.idoc.jco.rt.JCoIDocRuntime.createIDocDocument(JCoIDocRuntime.java:143)
    at com.sap.conn.idoc.jco.rt.JCoIDocRuntime.createIDocDocument(JCoIDocRuntime.java:32)
    at com.sap.conn.idoc.rt.DefaultIDocRuntime.createIDocDocument(DefaultIDocRuntime.java:228)
    at com.sap.conn.idoc.rt.DefaultIDocRuntime.createIDocDocument(DefaultIDocRuntime.java:24)
    at mxsapconnectorcore.actions.SendIDocToSap.executeAction(SendIDocToSap.java:76)
    at mxsapconnectorcore.actions.SendIDocToSap.executeAction(SendIDocToSap.java:38)
    at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57)
    at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457)
    at hC.b(SourceFile:207)
    at com.mendix.core.Core.execute(SourceFile:226)
    at ll.a(SourceFile:69)
    at mv.a(SourceFile:72)
    at mu.a(SourceFile:151)
    at mu.executeAction(SourceFile:98)
    at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:57)
    at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:457)
    at hC.b(SourceFile:207)
    at com.mendix.core.Core.execute(SourceFile:304)
    at com.mendix.core.Core.execute(SourceFile:280)
    at mxsapconnectorcore.actions.IDocOutputQueue.run(IDocOutputQueue.java:116)
    at java.lang.Thread.run(Unknown Source)
    Caused by: com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: Function module "IDOCTYPE_READ_COMPLETE" not found. (raised by system D10|hslsid10)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:677)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.execute(MiddlewareJavaRfc.java:1830)
    at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:1120)
    at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:953)
    at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:936)
    at com.sap.conn.jco.rt.ConnectionManager.internalExecute(ConnectionManager.java:411)
    at com.sap.conn.idoc.jco.rt.SAPRepository$ConnectionProvider.execute(SAPRepository.java:1722)
    at com.sap.conn.idoc.jco.rt.SAPRepository$ConnectionProvider.access$100(SAPRepository.java:1671)
    at com.sap.conn.idoc.jco.rt.SAPRepository.queryRootSegmentMetaData40(SAPRepository.java:1256)
    ... 26 more
    Caused by: RfcException: [D10|hslsid10]
        message: Function module "IDOCTYPE_READ_COMPLETE" not found.
        Return code: RFC_SYS_EXCEPTION(3)
        error group: 104
        key: RFC_ERROR_SYSTEM_FAILURE
    Exception raised by D10|hslsid10
    at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:2038)
    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.execute(MiddlewareJavaRfc.java:1778)
    ... 33 more
    Caused by: com.sap.conn.rfc.exceptions.RfcGetException: Function module "IDOCTYPE_READ_COMPLETE" not found.
    at com.sap.conn.rfc.engine.RfcImp.ab_rfcerror(RfcImp.java:1148)
    at com.sap.conn.rfc.engine.RfcGet.ab_rfcget(RfcGet.java:120)
    at com.sap.conn.rfc.engine.RfcRcv.ab_rfcreceive(RfcRcv.java:33)
    at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:1980)
    ... 34 more
    Now my question is how do I create an IDOC(a blank one) using this API for 4.0 system which doesnt seem to have this function module OR does anyone know other method create IDOC using SAP JCo3.
    Please comment. Thanks in advance

    We are also still looking for an answer for this issue. The server in our case is running SAP 4.0 package 17 and the function (IDOCTYPE_COMPLETE_READ) only gets added in package 42. However the JCo connector page states it supports R/3 3.1 and newer, so is this a bug or is there an alternative function we could use?

  • Can I make a connection from Apple TV to HD television other than HDMI?

    Question:
    With only 2 HDMI ports on my HD TV, and the apparent need for 3 -1 for a Blu-Ray DVD player, 1 for connection to Apple TV, and one to connect to HD cable modem, I feel stuck.
    What do I have to do, how much will i be giving up?
    Is getting a cable box with two HDMI connectors the solution?
    Or other equipment?
    Tthanks,

    Paulrichard wrote:
    With only 2 HDMI ports on my HD TV, and the apparent need for 3 -1 for a Blu-Ray DVD player, 1 for connection to Apple TV, and one to connect to HD cable modem, I feel stuck.
    Cable modems do not have HDMI ports and do not connect to tvs.  Maybe you mean a cable set-top box?

  • Designer Connection from SAP R3

    Today it is possible to have connection from Designer to SAP R3, if possible I can send documentation about this issue is very important to our company know of their viability.
    I appreciate your help.
    Greetings

    Hi Ingo;
    We have SAP R/3 system running on Oracle Database. What I would like to ask is, is it possible to connect directly to the oracle to build a universe using R/3 tables in Oracle?
    Thanks in advance
    Dogus

  • Error while connecting for Java to SAP

    Hi All,
    I am encountering the following error while connecting from Java to SAP through JCO:
    RFC_ERROR_LOGON_FAILURE: You are not authorized to logon to the target system
    I have checked the connection string and everything appears to be fine.
    Please let me know what the problem is.
    Regards,
    Rupesh.

    Hi rupesh,
    See this thread:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f3f93ee7-0c01-0010-2593-d7c28b5377c2
    Regards, Suresh KB

  • Problem in connecting to database from webdynpro for java

    Hi
    I have a problem in connecting to database from webdynpro application
    I am using oracle 10 express edition as database and was able to connect to database from a java application.But  was unable to connect from a webdynpro for java.
    <b>I guess webdynpro for java uses open sql instead of vendor sql(I looked in the visual admin ,DB is using open sql) so unable to connect to database.Am i right.?</b>
    Do i need to make any settings in the visual admin to make it work?
    How to solve this problem.Please give me pointers
    Thanks
    Bala

    Hi,
    For connecting to Oracle, either you can use the normal JDBC connectivty code directly which is given below :
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    In case you want to fetch data through ejbs, these are the steps to be followed :
    1) Open the J2EE perspective
    2) Create an EJB Module project
    3) Right click on ejbModule, create a new EJB (select your EJB type)
    4) While creating the ejb itself, you can add business methods by clicking ‘Next’ in the UI. Another option is after creating the ejb, write the method in the bean, then select the method from ejb-jar.xml -> <bean name> ->method. Right click and select ‘propogate to local & remote’.
    5) Double click on ejb-j2ee-engine.xml. select your bean and specify a Jndi name for eg: “MyJndi”.
    6) Right click on the EJB project and add ‘classes12.zip’ file (provided by Oracle) to it’s build path. (under libraries tab). Also check the same file under ‘Order & Export’.
    7) Create an Enterprise Application project.
    8) Right click on the EJB module project and select add to EAR project, then select the created EAR project.
    9) Right click on the EJB project, select ‘Build EJB Archive’
    10) Right click on the EAR project, select ‘Build Application Archive’
    11) Open the WebDynpro perspective, open a new project, right click on the project ->properties. Do the following configurations :-
    • Java Build path - select the EJB project from ‘projects’ , check the selected project under ‘Order & Export’
    • Project references – select the EAR project
    • WebDynpro references – select ‘sharing references’ tab, click add & make an entry as : <vendor>/<EAR project name without .ear extension>
    You can find the vendor name under ‘application-j2ee-engine.xml’ file of the EAR project. By default it is ‘sap.com’. So if my EAR project’s name is ABC, my entry would look like ‘sap.com/ABC’
    12) Now the configurations are over and the EJB can be invoked by writing the client code inside the webdynpro component. Like:
    InitialContext context = new InitialContext();
    Object obj = context.lookup("MyJndi");
    MyEJBHome home = MyEJBHome)PortableRemoteObject.narrow(obj,MyEJBHome.class);
    MyEJB mybean = home.create();
    int a = 0;
    a= mybean.add(10,15);
    wdContext.currentContextElement().setSum(a);
    where ‘MyEJB’ is my EJB name and ‘MyJndi’ is my JNDI name
    To connect to Oracle , you can write the usual Java code (given below) as a business methos of the ejb (similar to add() method in the example). And access it like mybean.<businessMethodName>().
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    Extracted from Re: Webdynpro and Oracle
    http://help.sap.com/saphelp_webas630/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/frameset.htm
    May be of use to understand the VA Conf /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    Regards
    Ayyapparaj

  • SAP MDM Connection with WebDynpro Java

    Hi,
    I am working with SAP WebDynpro Java (UI) and SAP MDM (Database). I had added the respective jars-
    a) I want to test whether I am able to make a connection to the MDM server. Let me know input parameters (sample source code required) which I need to pass from SAP WebDynpro Java (UI) to make a successful connection to MDM (DB). Please let me know this in details.
    b) After making connection to MDM, I need to write a query where I need to pass Lot No1 & Lot No2 from WebDynpro Java (UI) & check in a MDM table numbers of records existing and later display  the corresponding records details  (sample source code required) in the screen.
    Your inputs will be highly appreciated.
    Thanks.

    Anmol,
    Depending on what version of WAS you are on...you might have WDJ components available that you can use. Just to offer a different view on your question.
    Otherwise follow the links above or the following link to get sample code.
    Read MDM ItemDetail Record in WDJ
    You should get lots of sample code on SDN.
    Thanks,
    Praveen.

Maybe you are looking for