Windows Services- SAP

I have a console application written in Dot Net which gets data from SAP and does some processing. It was felt we convert the console application to a service to reduce the complexity in procedure. Therefore i'd like to know how to specify the RFC destination parameters in the Service written in C#.Net. In which event of the service to i read the windows service. Good you give me an idea about the events in the Service such as onStart,onStop,onContinue.
Thank you.

> We had shutdown the SAP, Oracle and their services for full offline
> backup. Today we tried to start SAP but the SAP Windows
> service SCS01 (SAPGD1_01) not getting started and the JC00 (SAPGD1_00)
> is not showing in the services list.
Anything in the event log before the shutdown/restart of the machine?
Markus

Similar Messages

  • Upgrade SM 7.0 to EhP1 - Windows service SAP SID _ inst.no does not start

    Hi gurus,
    I have to upgrade our Solution manager 7.0 (Windows 2003 32-bit, NW 7.0 SP15, Kernel SP185, non-unicode) to the latest SP of EhP1. I downloaded the upgrade and update guides and followed them.
    1. Updated to SPAM 700 SP38.
    2. Stopped the server and updated the Kernel to 32-bit non-unicode 7.01 SP69.
    3. I tried to start the services SAPOSCOL and SAP<SID>_00 and both did not started sayin the application is broken and needs reinstall.
    4. I downgraded to Kernel 23-bit non-unicode 7.01 SP55 and tried again - the service SAPOSCOL started but the service SAP<SID>_00 did not.
    5. I downgraded  to Kernel 23-bit non-unicode 7.01 SP15 and tried again - the same as with SP55.
    6. I restored the original Kernel and the server started normally.
    The update guide says I first should update SPAM and the Kernel and after that run SAINT to import the EhP1 components selected in MOPZ.
    I found a suggestion to run SAINT import before the Kernel upgrade - should I do it?
    How can I resolve the problem?
    Thanks everyone!
    Petar

    Thank you Paul!
    I finally found [another thread|How to Upgrade kernel 7.0 to 7.01; with similar problem solved by SAP note 684106. It solved my problem too.
    I will try to continue update from the current state but will have in mind if something goes wrong your advice. I will write later for the results.
    Regards,
    Petar

  • Services in SAP management console and related window services and process

    hai
    can u please any one of you can send me the services in SAP management console and related window services(in adminstrator/services) and process in task manager.
    thanks in advance.
    Naga Laxmi

    Hi Naga,
    Please refer to this article for the processes relevant to the Java Instance:
    http://help.sap.com/saphelp_nw04/helpdata/en/62/1bf03eae11e16be10000000a114084/frameset.htm
    Except the processes of the Java instance you can find several processes of the IGS server and the ABAP disp+work processes.
    You can easily find the relevant services by their SAP prefix.
    Hope this helps.
    Best Regards
    Vyara

  • SAP Web Dispatcher does not start as windows service

    Hi,
    I have successfully installed and configured SAP Web Dispatcher. When I start the web dispatcher from command prompt, it works fine. I created a windows service for web dispatcher using the command
    ntscmgr install sapwebdisp -b "c:\program files\sap\sapwebdisp\sapwebdisp.exe"
    -p "service pf=sapwebdisp.pfl -cleanup -auto_restart"
    The command successfully created sapwebdisp service. The service also starts fine, but web dispatcher does not get started.
    Any ideas experts?

    Hi,
    Ok. Few suggestions.
    1. Can you review the SAP note:
    552286  Troubleshooting for the SAP Web Dispatcher
    2. When you said: "web dispatcher does not get started ", what error you got ? Can you be more details here ?
    3. Please check the trace file dev_webdisp" that generated in the work directory. If the log entries is not abvious, increase the trace level to 2 or 3, and reproduce and re-check the trace file.
    4. What is the output of the command "sapwebdisp -v"
    5. How about sapwebdisp.pfl ? Are those settings correct ?
    Hope this helps.
    Regards,
    Vincent

  • SAP- Windows services.

    I have a console application written in Dot Net which gets data from SAP and does some processing. It was felt we convert the console application to a service to reduce the complexity in procedure. Therefore i'd like to know how to specify the RFC destination parameters in the Service written in C#.Net. In which event of the service to i read the windows service. Good you give me an idea about the events in the Service such as onStart,onStop,onContinue.
    Thank you.

    > We had shutdown the SAP, Oracle and their services for full offline
    > backup. Today we tried to start SAP but the SAP Windows
    > service SCS01 (SAPGD1_01) not getting started and the JC00 (SAPGD1_00)
    > is not showing in the services list.
    Anything in the event log before the shutdown/restart of the machine?
    Markus

  • SAP necessary windows services

    Hi,
    I wanna know what windows services are absolutly necessary for SAP. We are following a security guide for SAP Systems. It says is good to disable all windows services which are not used (telnet, messenger, wia...)
    The most of our systems are Win 2003 server.
    Anybody has a complete list of these services???
    Thanks for all.

    You will find everything you need in this paper from Microsoft:
    [Microsoft SAP Security Whitepaper|http://download.microsoft.com/download/9/b/c/9bc6f196-f17b-49d9-af55-946f279951ce/SAPHardeningandPatchManagementGuideforWindowsServer.doc#_Toc119473546|http://download.microsoft.com/download/9/b/c/9bc6f196-f17b-49d9-af55-946f279951ce/SAPHardeningandPatchManagementGuideforWindowsServer.doc#_Toc119473546]
    There is also a lot more information available on the Microsoft-SAP partneship site:
    [Microsoft-SAP Customer Information Center|http://www.microsoft.com/isv/sap/default.aspx|http://www.microsoft.com/isv/sap/default.aspx]
    and the subdirectory of htis site:
    [Microsoft-SAP Technical Guidance|http://www.microsoft.com/isv/sap/technology/platform/winserver.aspx|http://www.microsoft.com/isv/sap/technology/platform/winserver.aspx]

  • Install of WAS 6.40 java on windows no windows services created

    We are trying to install a NW04 SR1 WAS on windows. The latest Install Master CD download now requires Oracle 10. The Oracle 10 install is the first part of the install process. The Note number 949116  says to use the procedure for the Oracle install in the NW 2004s SR1 install guide.
    We have followed these instructions and after running the Oracle installer via sapserver.cmd we get a successful completion with 0 byte error file.
    We are installing over Remote Desktop as a user who is a member of the local Admin group.
    But the only windows service created is iSQL.
    I tried using both mstsc & mstsc /console but the services are still not created.
    Has anyone had the same problem?
    Regards
    Chris

    Thanks for your help Gopal
    The documentation is very bad on this process so for anyone who is following the the upgrade of R/3 internet sales from J2EE Engine 6.20.
    Use the following;
    6.20/6.40 based products Installation Master (Edition Sept. 2006) Number 51032143
    Download IGS, SCS, Crypto Lib & SAP:J2EE-CD:640SR1:J2EE-CD::
    Download Oracle 10, 5 files rebuild cd by clicking on the.exe file
    Install Oracle 10 (Don't expect to see an operational RDBMS i.e no services)
    Install NW04s SR1 java via Install Master SAPInst
    Install CRM Component ISA R/3 via Install Master SAPInst
    Hope this helps
    Regards
    Chris

  • Call RFC from DELPHI Windows Services Program

    Hi all,
    Are there any way to call RFC from DELPHI Windows Services Program?
    Best regards.
    Munur EBCIOGLU

    Hi again Bhagat,
    1. Yes, it's included on 7.4 ABAP Stack (SAP NetWeaver 7.4 SP8 - Optimized for SAP HANA, Cloud and Mobile - Service Release 2 available now!). In a recent customer, SAP licences GW by user but there are other license model like session licensing: https://store.sap.com/sap/cp/ui/resources/store/html/SolutionDetails.html?pid=0000009470&catID=&pcntry=US&sap-language=EN&_cp_id=id-1385059687642-0
    2. You could install as an AddOn on your 7.3 system, there are many options depending on your desired infrastructure: SAP Gateway deployment options in a nutshell For example our customer have deployed Central Hub Gateway in a standalone stack ABAP to act as an standalone oData bridge between ABAP/nonAbap systems.
    3. You could deploy SAPUI5 apps in 7.x, Java Web Servers or HTTP Web Servers. You must consider your SSO scenario:
    - SSO Logon Tickets. You will need to configurate SSO Logon Tickets between SAP NW Portal & SAP NW Gateway & your backend (ECC, etc). In order to pass SAP session cookie you will need setup SAP Web Dispacther and access portal & gateway throught SAP WD with the same domain.
    - SAML2 Tickets. This scenario lets you provide portal & gateway on different domains enabling SSO. You could configure SAP NW Portal as an Identity Provider and other systems must trust SAP Portal as IdP.
    Cheers

  • Error while trying to load Crystal report via Windows service

    Hi,
    I am trying to generate PDF file using crystal reports. I have developed a console application which works absolutely fine, however when I converted the code to work as windows service (wcf hosted in Windows service), this below error I see from stack trace:
    Load report failed.
    at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
    at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
    at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
    at AtDataWindowsService.GetData.generatePDF(DataTable dt)
    The code used is:
    CrystalDecisions.Shared.ExportFormatType exportFormat;
    ReportDocument reportObj = new ReportDocument();
    exportFormat = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat;
    //Load the Crystal Report
    reportObj.Load("CrystalReport.rpt");
    reportObj.SetDataSource(dt);
    What might be going wrong here?

    Hello,
    Thank you for your post.
    Based on your description, I am afraid that the issue is out of support of VS General Question forum which mainly discusses
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    I suggest that you can consult your issue directly on SAP Crystal Reports:
    http://scn.sap.com/community/crystal-reports/content?filterID=content~objecttype~objecttype[thread]
      for better solution and support.
    Best regards,
    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.

  • RFC call from a Windows Service

    Hi All,
    I have created a simple windows service which is making an RFC call to R/3 system. This is not working. Whereas the same piece of code written in a windows application projects(exe) works properly. Does anyone had similer issues working with Windows services ? Is it a known issue of RFC calls from windows service ???
    Thanks & Regards
    Ganesh Datta

    Hi Juergen,
    After I put the debug statements I figured out that connection to R/3 system is unsuccessful.
    I am using the SAP .Net Connector 2.0. I wrote a windows service which is manually started. Withing my service I am using Single sign on to connect .This is what was causing the problem. If I disable Single sign on and supply userID and password then connection is successful and also subsequent RFC calls.
    I guess within windows service Single sign on does not work.
    Thanks for your reply
    Best Regards
    Ganesh Datta

  • Not able to OBIEE11gAnalytics after AdminSe is converted as windows service

    Hi all,
    I recentry intalled obiee1g. All is working fine. However, I followed
    http://gerardnico.com/wiki/dat/obiee/windows_service_11g to obiee11g Admin service as windows service. I made it successfully.
    My service name: My service name: beasvc bifoundation_domain_AdminServer
    I am able to start this service via windows service. However I am not able to connect to Analytics or any other service after this service is created. I am not sure what is going on.
    Can you please help me?
    Thank you
    Raja

    Hi Krishna,
       Once you install NW04S,you can login using j2ee_admin user,but as you said that you are getting Authentication error.You can Activate Emergency user to login.
    Follow this link  <a href="http://help.sap.com/saphelp_nw04/helpdata/en/3a/4a0640d7b28f5ce10000000a155106/content.htm">Activating Emergency User</a>
    Let me know if you have any issues further
    Please Assign points if Helpful
    Regards
    Rani A

  • Creatting RFC  Server as a windows service

    Hi,
    How to create RFC server as a windows service using sap.net connector.Please send me the sample code.

    hi, I don't know which problem do you meet.
    As I know, there is a console RFC server sample in the SAP dotnet connector install directory, you can have a reference.
    And I thinks as a dotnet developer, it is not a problem to convert a console application to a windows service.
    Especially using VS.net, it is single to develop a windows service. You can search a sample in MSDN.
    Hope it is useful

  • Startsap as a windows service

    Hi there,
    I would like to put the startsap and stopsap as a windows service, how can I do that?
    Regards,
    Walde

    Hi here an example for a bat ( you can insert in startup ) or cmd to add as a windows service so you don't need to logon to server.
    where d: is the disk of your USR dir
    R3T is the SID
    nr is system number
    SAPDIAHOST  is the hostaname of your machine.
    to install as a service you can use NTSCMGR command
    @echo off
    d:
    cd \usr\sap\r3t\sys\exe\run
    startsap name=R3T nr=00 SAPDIAHOST=saptest
    pls reward if this help you.
    Antonio Voce.
    Edited by: Antonio Voce on May 29, 2008 3:27 PM

  • RFCEXEC running as a windows service

    Hello,
       Is it possible to run rfcexec.exe from the RFC SDK as a Windows service (other than being launched by srvany.exe, for example) ? Thanks in advance for your input.
    Peter DOUGHERTY

    If you have Visual studio installed, create a windows service project with all the parameters, see the following example:
    Shell (rfcexec.exe -a  XXXXXX  -g xxxxx -x sapgw01)
    Compile it as exe file.
    use SAP provided ntscmgr program to register this as a windows service.
    This is working great in my environment.
    Thanks,

  • Weblogic Startup Class does not run as Windows Service

    If you know the answer, plase send me an email at [email protected]
    I'm running a weblogic startup class that starts a Thread. I need to
    run a batch program that should be running as long as WebLogic is
    running (to process new orders).
    It works fine when I run WebLogic (5.1 SP8) from a script, but causes
    problem when I'm running it as a Windows Service. It calls the
    startup class, however, the startup class never spawns the Thread
    class.
    Following is excerpts from different components:
    =============================================================
    *** weblogic.properties ***
    weblogic.system.startupClass.pdfCreatorStart=WebLogicStartupPdfCreator
    *** WebLogicStartupPdfCreator.java ***
    public class WebLogicStartupPdfCreator implements T3StartupDef {
    public String startup(String name, Hashtable args) throws
    Exception {
    Thread t = new ProductionPdfBatchRunner();
    t.start();
    return "success";
    *** ProductionPdfBatchRunner.java ***
    public class ProductionPdfBatchRunner extends Thread {
    public void run() {
    try {
    //work being done here
    this.sleep(30000);
    catch (InterruptedException ie) {               
    catch(Exception e) {
    e.printStackTrace();
    =============================================================
    Thanks for any help

    Hi,
    Ok. Few suggestions.
    1. Can you review the SAP note:
    552286  Troubleshooting for the SAP Web Dispatcher
    2. When you said: "web dispatcher does not get started ", what error you got ? Can you be more details here ?
    3. Please check the trace file dev_webdisp" that generated in the work directory. If the log entries is not abvious, increase the trace level to 2 or 3, and reproduce and re-check the trace file.
    4. What is the output of the command "sapwebdisp -v"
    5. How about sapwebdisp.pfl ? Are those settings correct ?
    Hope this helps.
    Regards,
    Vincent

Maybe you are looking for

  • Finding the path

    How do you find out the user's path settings on Solaris. It seems like it should be a System.getProperty() type of solution, but can't seem to figure out a way to do it.

  • Red Light in Earphone Jack

    I was using my Macbook Pro with my Headphones plugged in. When I unplugged them I got a red light that appeared to be in the Earphone Jack. When I tried turning the volume up without the headphones plugged in it would give me a circle with a dash thr

  • Veritas Volume manager 4.0 with Sun StorEdge 3310 D

    I am running into a problem. The vxconfigd deamon always dump core when rebooting. Our environment is listed below. OS environemt.      SunOS server1 5.8 Generic_117350-43 sun4u sparc SUNW,Sun-Fire-V240 Software installed.      Sun Cluster 3.0      V

  • Event-Driven Programming

    Hello Everyone, I am new to this forum and also new to event-driven programming. Anyways, I am doing a small exercise to get myself familiar with event-driven programming. In particular, the program responds to keys entered on a keyboard. The exercis

  • Can i move pictures from my icloud to mac book?

    I have a ton of pictures on icloud.  Can they be moved to a Mac Book?