External program communication

Hi all,
For a SAP project I need to establish an connection to an existing Delphi program (Delphi 7), send and receive data in various formats.
After searching the web for info ( I am new to ABAP programming ) I could not find very much info on how to realize this.
I believe that I need to write a RFC-server to handle the RFC's from SAP.
I found the site: http://www.bapi.is-here.de/ which is recommended by a couple of people, but this site only provides the components and examples for connecting to SAP from a Delphi application (or am I missing something?).
An other site I found was http://www.shareit.com/programs.html?productid=192748&language=English where it is possible to obtain components to write external client- as well as server apllications. With the trial version components, I succeeded to write a server which connects to SAP, receives a function call with parameters and returns some parameters.
Before we purchase the licence for the components I would like to know if this is the way to go, or if there is an other way to realise this.
Greetings Fred.

Hi Sam,
It would be great if you could post the code, I believe that (including me) there will be a lot of people who are interested.
@Rob: I can not find the path you specified in the menu when I display the function module. Does it matter which version I am using? I am using SAPBasis 6.2 and SAP version 4.7. If I can find this RFC-interface generate function it would help me a lot.
The answers until now are about connecting from an external application (in my case written in Delphi) and using an interface to use an SAP function. This is an functionality we also want to use and I thank you for that.
But the RFC-server I mentioned in my question is to be written in Delphi and I want to connect from SAP to my Delphi server application and use an function inside my Delphi application.
I was already succesfull with that with the trial-components I mentioned in my question, but I want to know if there is an other way to realise this. The components create some sort of wrapper to communicate with the RFC-library (written in the c-language) which is in the RFCSDK.
I found quite a collection of ActiveX components in the RFCSDK as well, but I do not believe they will allow me to communicate from SAP to Delphi.
I have installed SAPLogon components and SAPFunctions components and am able to (I repeat myself) call an function in the SAP system, but not the other way around.
When I connect to the SAP system with the ActiveX comps I can see the connection in the Gateway Monitor as an active connection and as an connected client.
My other server application (with trial comps) is not visible as an active connection, but only as an connected client. This client connection has an register status WAITING in contrast to the ActiveX connection which has no register info at all.
Can anyone explain these differences to me?
Thanx,
Fred

Similar Messages

  • Visual studio community with external program - license

    Hello. I have a question about using Visual Studio Community. Are the license allows to use Visual Studio community to only write (and testing) an application/game and then building it using external program for example Eclipse or Xcode for commercial purposes?
    I create for Android/IOS systems, and working in small 2 persons team.
    Sorry for my English, thanks.

    Can you give me an email from Microsoft licensing specialist?
    @ Metoby,
    Sorry for that I also have no email of the license memebers.
    In addition, you know that this forum is to discuss the English language issue, so I provide the license call for the English support.
    If you want to use other language, one idea is that you could post this issue to your local country if it also have the MSDN site.
    Maybe this link would be helpful for you:
    http://www.microsoft.com/licensing/existing-customers/activation-centers.aspx
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I execute an external program from within a button's event handler?

    I am using Tomcat ApacheTomcat 6.0.16 with Netbeans 6.1 (with the latest JDK/J2EE)
    I need to execute external programs from an event handler for a button on a JSF page (the program is compiled, and extremely fast compared both to plain java and especially stored procedures written in SQL).
    I tried what I'd do in a standalone program (as shown in the appended code), but it didn't work. Instead I received text saying the program couldn't be found. This error message comes even if I try the Windows command "dir". I thought with 'dir' I'd at least get the contents of the current working directory. :-(
    I can probably get by with cgi on Apache's httpd server (or, I understand tomcat supports cgi, but I have yet to get that to work either), but whatever I do I need to be able to do it from within the button's event handler. And if I resort to cgi, I must be able to maintain session jumping from one server to the other and back.
    So, then, how can I do this?
    Thanks
    Ted
    NB: The programs that I need to run do NOT take input from the user. Rather, my code in the web application processes user selections from selection controls, and a couple field controls, sanitizes the inoputs and places clean, safe data in a MySQL database, and then the external program I need to run gets safe data from the database, does some heavy duty number crunching, and puts the output data into the database. They are well insulated from mischeif.
    NB: In the following array_function_test.pl was placed in the same folder as the web application's jsp pages, (and I'd tried WEB-INF - with the same result), and I DID see the file in the application's war file.
            try {
                java.lang.ProcessBuilder pn = new java.lang.ProcessBuilder("array_function_test.pl");
                //pn.directory(new java.io.File("K:\\work"));
                java.lang.Process pr = pn.start();
                java.io.BufferedInputStream bis = (java.io.BufferedInputStream)pr.getInputStream();
                String tmp = new String("");
                byte b[] = new byte[1000];
                int i = 0;
                while (i != -1) {
                    bis.read(b);
                    tmp += new String(b);
                getSelectionsDisplayTextArea().setText(getSelectionsDisplayTextArea().getText() + "\n\n" + tmp);
            } catch (java.io.IOException ex) {
                getSelectionsDisplayTextArea().setText(getSelectionsDisplayTextArea().getText() + "\n\n" + ex.getMessage());
            }

    Hi Fonsi!
    One way to execute an external program is to use the System Exec.vi. You find it in the functions pallet under Communication.
    /Thomas

  • How Can I execute an external program from my vi?

    Hi guys,
    I want to execute a external program to use it when i called with a bottom. I want push a bottom and execute the program, like acess direct icon or so.
    Any help?.

    Hi Fonsi!
    One way to execute an external program is to use the System Exec.vi. You find it in the functions pallet under Communication.
    /Thomas

  • External Program Registration

    Hi,
    We are trying to connect the seibal system with SAP system. We have
    created a rfc for external program registration but found that it is
    not working..We are using the below programs but not working
    rfcexec.exe -a BAPIRcvr -g V3R3SERVER3 -x sapgw00
    Here: V3R3SERVER3 = Host Name of the SEIBEL System
    All required ports are open. Pl do the needful.
    Regards,
    Souren

    Hi Markus,
    Thanks for your quick response.
    I done Gateway registration of RFC server program. And i can get data from remote system and update into internal tables.
    But my problem is rfcexec returning to the command prompt when system failure or communication failure occurs.
    As your post said windows service can run the command prompt keep running with command line program.
    So i want to create a windows service to run the command prompt to keep on running systematically not manual.
    Can you tell me how to create a service.
    Note:
    I tried the following link for the Gateway Registration and communication.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2&overridelayout=true

  • Calling external programs using labview

    I have a LV program running to collect and display data, but also need to call an external program while doing this. I have a menu set up where one button launches my system control .vi, one launches my data display .vi, but there is another feature that is handled by a program a co-worker has written. Is there a way that whenever a button is pressed, LV can launch an external .exe file? Basically, I just need LV to call the executeable... the program that is called will be terminated by the user.
    Jim

    Try function palette -> Communication -> System Exec.vi
    George Zou
    http://gtoolbox.yeah.net
    George Zou
    http://webspace.webring.com/people/og/gtoolbox

  • Excel tables for database usage in external programs such as game engines?

    Hello!
    Where can I find more information about using Excel tables for database usage in external programs such as game engines? Do I have to use SQL, CSV or XML?
    Thank you!

    Hi,
    As far as I know, Excel is a good way to use as database file. Whether it is a personal list of phone numbers, a contact list for members of an organization or team, or a collection of coins, cards, or books, an Excel database file makes it easy to
    enter, store, and find specific information.
    You could choose Excel,SQL,Access, CSV or XML as database according to your goal.
    Here are some articles to introduce "How to use Excel table as database":
    http://chandoo.org/wp/2012/04/02/using-excel-as-your-database/
    http://spreadsheets.about.com/od/datamanagementinexcel/ss/excel_database.htm
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support

  • System exec, How I say to open one file and make operation in external program?

    Hi,
    I got called an external program with the system exec.vi, but i would like the program open the file saved in the other window, i can get the file path, but how Can I put the file path in the external program and the program open the file and I tell (in this case compile), since i open one file code c and only i must to open and say to the program 'compile' and then close external program.
    Any help?. Thanks.
    Attachments:
    system_exec.GIF ‏8 KB

    Hi Fonsi,
    System Exec.vi will allow you to run commands like launching a program easily but it is difficult and many times not possible to execute commands within an application.
    A better way maybe to approach this though ActiveX. Please look at the following example that uses ActiveX to communicate with Excel.
    Writing Rows to Excel 97 and Excel 2000 Using ActiveX
    If you are not familiar to ActiveX and LabVIEW, please read the document below:
    ActiveX and LabVIEW
    I hope this
    helps.
    Sincerely,
    Feroz
    National Instruments

  • How can I display files in external program like Word?

    Using NetBeans 6.5, IE7, Windows XP
    I have not had any luck attempting to get a PDF file to display in a separate browser window,
    so I thought I might try to combine that with a new issue.
    I have 3 file types - jpg, rtf and pdf that should be able to be displayed in external programs like Word or Adobe.
    Is there a way to start an external application and pass the file name from a backing bean?
    The files would be located on the server in a directory that is mapped to the client and the applications (Word, etc.) would reside on the client.
    Can this be done from within the confines of a JSF application?
    Thanks

    I was kind of hoping that someone could point me to an example of how to do this.
    I've tried the servlet approach, but can't seem to get the file to display in a separate browser window.
    That is why I thought about maybe launching a separate application, if that is possible.

  • How can an add-on like Firesheep access and execute an external program like Winpcap? Is that a security flaw in Firefox?

    I have been reading about the Firesheep add-on that allows the user to hijack sessions of users on the network by stealing the cookie. I understand that to prevent any application from stealing the cookie, the cookie should not be passed by the site without SSL. However, my understanding of how Firesheep works is that it interfaces with Winpcap (a network sniffer). So my question is "How can an add-on execute an external program or operating system command like Winpcap?" Can any add-on do this and should I be extremely afraid of downloading any add-on because of the potential that it could have complete access to my system?

    Hi Scott-L.
    You asked a very good question and it turns out you're right.
    However, one must be aware that download an Addon on another website that Mozilla may be dangerous. Indeed, the Addons found on the Addon Center are checked (roughly).
    In addition, Firefox includes a blacklist that blocks addons identified as malicious.
    More information here: [http://www.computerworld.com/s/article/9193420/Mozilla_No_kill_switch_for_Firesheep_add_on?taxonomyId=17&pageNumber=1]

  • How do I call an external program

    From within my Java program I want to execute an
    external program and dump the output into a string
    or array of strings. In perl this is trivial $a=`dir`.
    How do I do it in Java?
    Thanx,
    Art.

    with Runtime
                try {
                        Process p = Runtime.getRuntime().exec("cmd.exe /c dir");
                        BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
                        String str = "";
                        while((str = in.readLine()) != null)
                            //do what you want to with input
                        in.close();
                    catch(Exception e)
                        e.printStackTrace();
    [/code[                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • When I call an external program from Labview, how can I embed the interface into the front panel?

    I'm running Labiew 6i for Linux. I'm using a system exec.vi to call an external program to do image manipulation (since there is no IMAQ for linux). How can I embed the user interface of the external program into the front panel of Labview?

    As far as I know, the only way to embed other GUIs in LabView is an ActiveX in a container.
    As long as you are using Linux, try to place (moving them on the desktop ) the two windows linked (like those 3 of WinAmp).

  • How can I run an external program without quitting Firefox?

    I want to run an external program from within Firefox, much as Outlook express is run from the email button. How do I set this up?
    Firefox doesn't import my Bookmarks from the listed html file. Any cure for this?

    I don't want to run the mail program, I want to run another program.
    Maxthon allows me to do this using External Tools. Does Firefox allow me to run other programs without leaving Firefox?
    2. Firefox allows me to load an html file which contains my bookmarks, but it doesn't load the bookmarks file. is there a solution?

  • How can I run an external program from a PLSQL procedure?

    Is there a package to run an external program from PLSQL? or is there another way to do that?
    thanks.

    here there is an example about how a PL/SQL procedure can
    work with an external C program.
    http://download-east.oracle.com/docs/cd/A87860_01/doc/appdev.817/a76936/dbms_pi2.htm#1003384
    Apart from that you have Java Stored Procedures option
    to carry out your task.
    Java Stored Procedures Developer's Guide Contents / Search / Index / PDF
    http://download-east.oracle.com/docs/cd/B10501_01/java.920/a96659.pdf
    Joel P�rez

  • Returning Error Status back from Form to external program

    Question,
    I am trying to run a form essentially from the command line. I need to programatically catch any error codes that might have occured in the form by an external program. I can find nothing about returning errors back from the form or how to display it.
    Any assistance is appreciated.
    Andy Hendrickson
    null

    Hello Andreas,
    Ah, sorry, there was so much talk about user decisions that I assumed you were using a standard decision task.
    Still, I would be extra careful of changing the way workflow usually works because you have an unknown target audience that are based on the standard.
    The standard SAP philosophy is quite simple: cancel/F3 or do nothing and it stays reserved. If you do not want it reserved, you need to perform an action. This is based on a majority of processes: in most cases when you execute a work item you will also be the one who is going to completed it. Replacing it is the lesser used of the two alternatives, therefore it is the only one that requires an action on the part of the user.
    Again, this is intended as constructive input. Strange quirks and unusual behaviour tend to add a black mark to software if they do not make things easier to use. In many environments users are not even aware of the reserve/replace business, so there you would be adding an additional layer of complexity.
    Personally I would find an exit popup annoying as a regular workflow user - regular decisions can be approved with one click, or I can back out with a single click if I need to make a phone call or look up some info before approving - but with this new-fangled thing I've got an extra button to click and an extra thing to think about. This is especially the case in a payment approval scenario where you may have users in some departments who may approve hundreds of payments each week.
    My suggestion would be to leave it like that. By all means put an option into the user decision to put it back or to 'un-reserve' it (and loop round if the user chooses it). That way you are adding value and not clicks.
    Cheers,
    Mike

Maybe you are looking for

  • My Imac story

    I just thought I would post this today if for anything just to vent my frustrations…. I purchased my Imac 24 ( mid 07 ) July 2, 2008 for $1,503.98 brand new in the box, I was so happy when FedX showed up at my door , this was my very first new Mac af

  • Arabic numbers issue in XML Report

    Dear Experts, I have one arabic xml report, when i ran the report it showing english numbers, instead of arabic numbers.But in the output i should get arabic numbers. Please find the attachment of xml template and output. could any one help me on thi

  • Creation of new Material Type - Asset

    Dear Friends, Here as per my client requirement, i have to define new material type for Asset Material. For this definition i need following info - 1) Views to be selected. 2) Which Price control indicator is to be set for the ASEET     Material Type

  • Acrobat X Pro - PDFMAKER Office COM  in Access 2010

    Hi, I have Office 2013 and Access 2010 installed on my computer. I cannot get the PDFMAKER plugin to work with Access 2010. I tried to manually register the DLL and enabling the plugin. Is this becuase I have MS Office 2013 installed alongside Access

  • How to pass parameter to webtemplate

    hi, i have a requiremnet in this way. i have two i views in first iview i have all the states in india. when i user clicks on ka-karnataka i want to filter the analysis item showing all the districts in karnataka this analysis item is in the web temp