Re: [Pysaprfc-users] Need some help for writing a simple SAP interface using pysap
Brought to you by:
klvon
From: vivek k. g. <gup...@re...> - 2006-08-09 08:13:43
|
Thanks again for the help. In my case I think that going with the option 2 = will be the only option I will have. Also, do I need SAPGUI for my SAP clie= nt script to run properly? I will be presenting this demo app on this comin= g friday to the client. I have to add some GUI for the app, which I will be= doing in wxPython. I will inform you the outcome of the demo. I hope that = I will be able to work in Python again ;) . Thanks again for your timely h= elp and suggestions.=0A=0AThanks and regards,=0AVivek Kumar=0A=0AKlavdij Vo= ncina wrote:=0A> Hello,=0A>=0A> AFAIK you don't need SAPGUI installed for t= he RFC server to work - only librfc32.dll.=0A> And for invoking the server = app you have two options (either one should be configured via sm59):=0A> 1.= SAP system starts your app when needed and stops it after execution. In th= is case your app has to be installed either on application server (the host= machine of SAP system), frontend (local computer from which the function w= as called, has to have SAP GUI installed and running) or from explicit host= . The later is probably the only option in your scenario as you don't have = SAP GUI installed and probably don't have access to SAP host. Unfortunately= starting server app on explicit host requires rsh (remote shell) which is = not available on stock Windows. I believe there are some implementations of= rsh for Windows (both commercial and shareware), but I'd advise against it= as rsh presents possible security threat.=0A> 2. Run app as "registered se= rver". In this case app must be started in advance with certain command lin= e parameters. This are -a<program name> -g<hostname or IP of SAP server> -x= <gateway>. <gateway> is either sapgwXX or 33XX, where XX is system number. = <program name> is a short text of your choice, something like my_computer.= my_server. The same name has to be entered in SM59 in order to register you= r app with SAP. You can then invoke your function(s) from any computer conn= ected to SAP.=0A> Apart from that you don't need further settings.=0A>=0A> = Best regards,=0A> Klavdij=0A> =0A |