Method to Creat and Test an RFC

Hey Experts,
is there a method to create and test an RFC?
(HTTP-connection to ext. Server)
Thanks for help.

I have a java system which is connected to the sap i have configured it in sm59.then created a function module<rfc_function module> which is RFC enabled give some import data which will return some values.in the main program i called the <rfc_function module> by syntax
call function <rfc_function module> destination <dest>.
export
rfc_fm-import = <values>
import
rfc_fm-return = <return values>.
if sy-subrc = 0.
write: "rfc is there".
else
write:'connection failed'.
endif.
there is a simple way to check connect click on the connection test in sm59 of the RFC destination
hope that u got an idea.

Similar Messages

  • How to Create and Test a Zone of Type F1-APP-URL

    Hi,
    I would like to how to create and test a Zone of Type F1-APP-URL?
    What all is required to setup an ADF application based URL in F1-APP-URL, what to configure and what are the basics or definite steps required to have a Zone of Type F1-APP-URL up and running in the application? Any Sample ADF components to be created?
    Please kindly let me know. Any test or dummy URL existing already which is based on ADF?

    Refer to Doc. Id 1515146.1 on the support site. Although for the moment it refers to a MWM example and may not be much of a help but it'd give a basic idea as to how it should be done.

  • How  to create and test HTTP connection for proxy

    HI
    Can anybody help me by providing step by step guide for how to create a HTTP connection for inbound abap proxy?
    How i will get sure that connection is working properly?
    Thanks
    Debraj

    Hi Debraj,
       You should be able to do that in SM59 of the XI Box.
    Create the connection under "HTTP Connections to R/3 System".
    Provide the Target Host IP Address.Service Number and Path Prefix.
    Select the logon procedure as SAP Standard.
    SSL Inactive.
    Provide Logon details.
    Regards,
    Ravi

  • Help me  with the following prgram of creating and testing obects

    I am knew to java and i did this program of creating two circle and finding their areas,the compiler gives me an error which says "Hit uncaught exception java.lang.Exception"I need this program to compute area of circular region where there are two circles one inside the other. Please help me.
    public class TestCircle{
    public static void main(String[]args)
    Circle x = new Circle();
    System.out.println("The area of circle with radius"+x.getRadius1() +"is"+x.findArea1());
    Circle y = new Circle();
    System.out.println("The area of circle with radius"+y.getRadius2() +"is"+x.findArea2());
    class Circle{
    private double radius1;
    private double radius2;
    private final double PI;
    public Circle(){
    radius1 = 5.0;
    radius2 = 2.0;
    PI = 3.14;
    public Circle(double r1,double r2,final double P){
    radius1 = r1;
    radius2 = r2;
    PI = P;
    public double getRadius1(){
    return radius1;
    public double getRadius2(){
    return radius2;
    public double findArea1(){
    return radius1*radius1*PI;
    public double findArea2(){
    return radius2*radius2*PI;
    }

    I try compile it and start it, and it is working. Can you send the compiler error. (end maybe also version of the javac. I'm using j2se 1.4.0)

  • Seperate volume (or another method) for doing and testing a website in

    Hello,
    I'm making a web site and want to test it on my computer. Because some of the urls are absolute: "/" for example the links aren't working. What can I do to not change these links but have the site browsable on my computer? Some kind of imitation volume possibly? Or something else. What's best? How can I do it?
    Thanks,
    John.

    Yes I think you've understood me. I've got a collection of various html pages that have links like /images/picture.png and when these collection of files go on a web server an images folder will be in its home directory therefore /images/picture.png will access correctly, but in a folder on my desktop for example an html link of /images/picture.png does not access picture.png in the images folder in the folder on my desktop, and I was wondering if there was a way to get html links in their present form to work while on my computer.
    Thanks very much for your suggested sollution. It doesn't make full sense to me, but not to worry -- I've decided it's not worth it. Not solving this is something I can live with. I thought there might be a fairly simple solution, but if not, no serious problem.
    Thanks,
    John.

  • Creating and Testing a Hashtable

    Hi guys I need to craete a program that organizes a RegistrarRecord
    of students of a certain institution.The program should do the follwing:
    (i)The program should create Hashtable in order to organize the Academic record of the whole institution
    (ii)The program should cast the studentrecord to fit in Academic Record
    (iii)A student number should be used as a Hashkey to get the Student's record
    (iv)The program must have two classes public one RegistrarRecord and the other which is not public known as AcademicRecord
    (v)The student's courses should differ by faculties in that institution

    Just for the laugh maybe you could show us what you've done already! Did you have to type that from a paper copy or did you get it from your lecturer electronically? If you had to type it yourself I hope your fingers are not too sore!

  • Overriding the method EntityImpl.create() and setting attribute values?

    Hello,
    I need to set a date to '01/01/2001' if field dateto is left blank when user is inserting a new record.
    How to you do that please ?

    The easiest way would be to set the date as default in the EO. The date then is visible when you create a new row. If the use overwrites it you get the new date, if he leafs hte date untouched you get the default date.
    Timo

  • How to install OLAP Intelligence and Test

    Hi,
    IN XIR2,  I want to work on OLAP Intelligence. I have uploaded the Key.
    Please advise me How to enable OLAP Intelligence and hwo to work.
    I have not found any OLAP Connection section in CMC.
    Developer sent a OLAP report, and uploaded to BO Environment. now it is showing connection filed..
    Please steps to fallow, enable the OLAP Intelligence in currently running BOXIR2 Env, and how to test whetehr OLAP is working or not.
    Thanks,
    Srinivas

    Hi,
    OLAP Intelligence does not manage its connections in the CMC. You can create an OLAP Intelligence connection by going to InfoView and clicking on the New menu. You should see two OLAP Intelligence related items. One called 'OLAP Intelligence Report' and another called 'OLAP Intelligence Connection'.
    In order to use OLAP Intelligence through InfoView you need to have your third party OLAP connectivity components installed in the same maching as the web application server that is hosting InfoView. To test which connectivity you have installed and set up correctly you can click on the 'OLAP Intelligence Connection' option under the New button described above. One the new connection page you should see a drop down list of available OLAP providers. You will always see connectivity options for Hyperion Essbase and IBM DB2 OLAP regardless of whether you have set this connectivity up. If you don't see a connection for Microsoft Analysis Services you will need to install the Analysis Services client connectivity on your web application server machine. If you don't see SAP BW connectivity you need to install something like the SAP GUI that will place librfc32.dll on the path and you will have to install the Business Objects SAP Integration kit.
    If you see your connectivity available, you can test whether you can reach the OLAP server by creating a connection. Use the same OLAP server pointed to by the report that you uploaded.
    If you are able to creat and test succesfully a connection, can you post what error message you were seeing when you tried to access the published file?
    Reuben

  • Automate DBAdapter creation and testing using ANT

    I am using SOA suite 10.1.3.1.
    I would like to automate creation and testing of DBAdapter and I know that we have some ANT task to create and test connection pool and datasource like
    createJDBCConnectionPool
    createManagedDataSource
    testConnectionPool
    testDataSource
    etc...
    but I fail to found ANT task for DBAdapter.
    It would be grateful if someone can tell if it exists or not.

    sure, it's my pleasure.
    Before running the code, please read the following document first. They talked about how to use JMX to control the AS. Basically, you will need the admin client library to do the job as Oracle don't use JRMP, so you need the library to provide the underlaying protocol(i.e. ORMI).
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28950/adminclient.htm#CHDGIAEI
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28952/mbeans.htm#CIHCCAFJ
    here comes the sample code
    String url = "service:jmx:ormi:///opmn://<host>:<opmn reuqest port>/<OC4J instance for BPEL>";
    String login = "<username>";
    String pass = "<password>";
    String mbeanName = "oc4j:j2eeType=JCAConnectionDefinition,name=javax.resource.cci.ConnectionFactory,ResourceAdapter=Database Adapter,ResourceAdapterModule=DbAdapter,J2EEApplication=default,J2EEServer=standalone";
    String opName = "addConnectionFactory";
    // connection setup
    JMXServiceURL serviceURL = new JMXServiceURL(url);
    Hashtable credentials = new Hashtable();
    credentials.put("login", login);
    credentials.put("password", pass);
    Hashtable env = new Hashtable();
    env.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES, "oracle.oc4j.admin.jmx.remote");
    env.put(JMXConnector.CREDENTIALS, credentials);
    JMXConnector jmxCon = JMXConnectorFactory.newJMXConnector(serviceURL, env);
    jmxCon.connect();
    MBeanServerConnection mbServer = jmxCon.getMBeanServerConnection();
    // prepare parameters for the invocation
    Object[] param = new Object[4];
    param[0] = "<JNDI name of the DbAdapter>";
    Map temp;
    param[1] = temp = new HashMap();
    temp.put("defaultNChar", Boolean.FALSE);
    temp.put("platformClassName", "oracle.toplink.platform.database.Oracle9Platform");
    temp.put("sequencePreallocationSize", new Integer(50));
    temp.put("usesBatchWriting", Boolean.TRUE);
    temp.put("usesNativeSequencing", Boolean.TRUE);
    temp.put("xADataSourceName", "<dataSource name>"); // assume that the dataSource is created somewhere else
    param[2] = new Integer(1); // 1 for private connection pool
    param[3] = ""; // connection pool name, not useful for private pool
    // prepare signature of the operation which we would like to invoke
    String[] signature = new String[4];
    signature[0] = "java.lang.String";
    signature[1] = "java.util.Map";
    signature[2] = "java.lang.Integer";
    signature[3] = "java.lang.String";
    ObjectName beanName = new ObjectName(mbeanName);
    mbServer.invoke(beanName, opName, param, signature);

  • How to configure and test a workflow in CRM 5.0

    Hi All,
    As I am new to workflows it will be great if any of you shared a guide where I can create and test a workflow in CRM 5.0 tcode PPOMW.
    Thanks for all your help in advance.
    Best regards,
    Divya

    This might help:
    http://help.sap.com/saphelp_crm50/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/frameset.htm
    http://help.sap.com/saphelp_crm50/helpdata/en/cc/d40b37da4de72fe10000009b38f889/content.htm
    Regards,
    Kaushal

  • How to create, deploy and test JSP program in Netweaver developer studio?

    Hi Experts,
       I am trying to integrate a JSP program with SAP function module (RFC) via XI using Java proxy. I am using Netweaver Developer studio for Java programming.
      Can somebody send me the steps or user guide on how to create, deploy and test JSP program in Netweaver developer studio?
      I will be greatful to you.
    Please help!
    Thanks
    Gopal

    Hi Gopal,
    Which version of NetWeaver are you using?
    Here the links for --
    SAP NetWeaver CE 7.1
    [Developing JSP Pages|http://help.sap.com/saphelp_nwce10/helpdata/en/f7/f7bc3d8af79633e10000000a11405a/frameset.htm]
    [Deploying Applications|http://help.sap.com/saphelp_nwce10/helpdata/en/3c/52413e7bcd561ee10000000a114084/frameset.htm]
    NetWeaver 7.0 (2004s) and 2004
    [Developing JSP Pages|http://help.sap.com/saphelp_nw70/helpdata/en/f7/f7bc3d8af79633e10000000a11405a/frameset.htm]
    [Deploying EARs|http://help.sap.com/saphelp_nw70/helpdata/en/f0/122abf61d4974eaea6b5d9c314cff1/frameset.htm]
    Testing is very straightforward - just access the web application by its alias,
    e.g. http://<host>:<post>/<context-root>/myJSP.jsp
    HTH!
    \-- Vladimir

  • Creating a test in PDF: Is it possible to create Right and Wrong answer fields in PDF?

    Very new to this.  I may be way off, but Im trying to create a test for some students to do in class.  Is it possible to create fields that turn green when right and red when wrong?  Also can you have a field that accumulates the right answers to give a score?

    Sure you can, with a bit of JavaScript. What sort of fields will you be using and what part of the field do you want to be green or red?

  • How to creating file with APD (tcode rsanwb) with Key and Test characterist

    Hi everybody!
    I'm creating an APD with RSANBW. Data Source is a query and Data Target a File. I want display Key and Test for everyone of query characteristics. I've revised properties of characteristics into the query rows and check "key and test", however the file only contains key values.
    Some help will be very appreciated,
    Regards,
    Sebastian.

    Hi Sebastian
    the data  the query pulls is from the cube/DSO, which stores only the key.
    the query pulls the text from the master data tables for diplay purpose only. For APD purpose the query only supplies what is avaialable in the infoprovider.
    To have key and text in the target file you neeed to use transformation type routine in the APD or create an infoprovider that stores both text and key as separate fields in it and use that for the APD, with or without a query.
    Good luck,
    vijay

  • Guidence regarding creating  a test data and running any function module

    hi pals,
       can you plz tell me how to create a test data, commit and run any function module, in details(step wise) ??

    Hi yawmark,
    I appologise for including a poor code example ealier on, i had to come up with something quick. I will however, visit the sugeted sites you mentioned, thank you.
    I did however, create a simple class that compiles and can be used to set, return, reset and print a few details about a person. I hope that is of better use than my previous example. here it is:
    public class SimplePerson {
        int age = 0;
        String firstName = "";
        String lastName = "";
        /** Creates a new instance of SimplePerson */
        public SimplePerson() {
        /** Sets the age of this person */
        private void setAge(int takeAge){
            age = takeAge;
        /** Returns the age of this person */
        private int getAge(){
            return age;
        /** Sets the First Name of this person */
        private void setFirstName(String takeName){
            firstName = takeName;
        /** Returns the First Name of this person */
        private String getFirstName(){
            return firstName;
        /** Sets the Last Name of this person */
        private void setLastName(String takeName){
            firstName = takeName;
        /** Returns the Last Name of this person */
        private String getLastName(){
            return firstName;
        /** Resets the details of this person back to back to
         *  the default form.
        private void resetAll(){
            age = 0;
            firstName = "";
            lastName = "";
        /** Prints all the details this person has */
        private void printAll(){
            System.out.println("Age: " +Integer.toString(age)
                    + "\n First Name: " + firstName
                    + "\n Last Name: " + lastName );
    }Cheers mate

  • Need a tool to create Development and Test instance of a Production db

    I am very new to Oracle and have previously worked with SQL Server 2005/8 only.
    My current company only has one instance of the Oracle database (which is production) and until now, all development and testing used to take place on the same instance (what a mess!!).
    Anyways, we have now decided to create a development and test on a separate physical machine. We are on Oracle 11g on Windows 2008 Server.
    In SQL Server, it used to be fairly simple, just take a full backup of the database and restore it on another box with SQL Server and we had a new instance of the same database.
    Can someone point out a simple technique to create these development and test instance in Oracle. Essentially, we want to clone the database. Are there any tools available that can make this task simple.
    Thanks.

    Welcome the the forums !
    I believe this question is better suited to the "Database - General" forum (General Database Discussions but here is my take.
    You will first need to clone the Oracle binaries (ORACLE_HOME) - see MOS Doc 1154613.1 (Master Note For Cloning Oracle Database Server ORACLE_HOME's Using the Oracle Universal Installer (OUI))
    Then clone the database - see MOS Doc 458450.1 (Steps to Manually Clone a Database)
    HTH
    Srini

Maybe you are looking for

  • Java Server pages and STRUTS.

    HI all, i m displaying a list in the list box using html tag in the jsp page. the problem is if the size of the text is bigger than listbox it doesnot show the full text. is there is any other HTML:tag to make the full text visible.

  • Headphone jack appears dead, how to know for sure?

    hi, i've done the obvious and really don't want to order a new system board this newer imac 20' with a dead headphone out jack. was working and now not. its hardware related i think as i booted up on another OS install on an external and same goes th

  • [disappeared]After update, scroll function changed. Want the old paradigm back.

    Laptop: Dell Inspiron 1545 OS: Kubuntu 13.04 Firefox: 24 Mozilla Firefox for Ubuntu canonical 1.0 What I have now: I press the arrow keys on the laptop (these are dedicated arrow keys, not multifunction keys), and the whole screen slams to the bottom

  • OUTGOING PAYMENT APPROVAL ERROR

    Hi All I m facing one issue while approving out going payment My user trying to open document for approval but system giving error No matching record found 'Docs, for Confirmation' (OWDD) ODBC 2028 Thanks Ricky

  • I need a telephone number to talk to someone about my account

    I need a telephone number to talk to someone about my account