Batch / script file to start /stop sap server

Hi,
   I would like to start/stop SAP server using batch file (in windows). I need this, whenever we have to shutdown the server and restart of the server, so that SAP will automatically shutdown and restart using batch files while server restart cases? If anyone knows, please let me know. Thanks,
Regards,
Sundar.

target of the 700 sapstartsrv improvement was to deliver identical functionality on all SAP platforms. As the DCOM programing model is only available on Windows platforms sapstartsrv.exe was enhanced by the WEB-Service interface and is available now on Unix too.
The DCOM SAPControl interface of sapstartsrv.exe is still existing, but only on Windows. Here you can use VB Script or any other programming language able to handle DCOM objects to write your own programs / scripts to interact with the SAPControl.
sapcontrol.exe is a command line program available since 700 which enables you control over nearly all functions of the sapstart service.
Even it has the same name as the DCOM interface it' something completly different.
regards
  Peter
PS: sapcontrol syntax
usage: sapcontrol [
                   -prot GSOAP_HTTP| http using gsoap build in sockets (default)
                         NI_HTTP|    http using SAP NI sockets (prefer Unix domain sockets)
                         NI_HTTPS|   https using SAP NI sockets (prefer Unix domain sockets)
                         WINHTTP|    http using Windows winhttp
                         WINHTTPS|   https using Windows winhttp
                         PIPE        Windows named pipes
                   [-user <user> <password>] OS user and password for Webservice authentication
                   [-repeat <N> <D>]         Repeat Webmethod call <N> times (-1=forever) with <D> sec delay
                    -format list|            List output format (default)
                            script           Script output format
                   [-host <hostname>]        Host to connect to (default: localhost)
                   -nr <instance nr.>        SAP Instance number to connect to
                   -function <Webmethod> [parameter list]
Webmethods: Start
            Stop [softtimeout sec]
            Shutdown
            RestartInstance [softtimeout sec]
            StopService
            StartService <SID>
            RestartService
            ParameterValue [<parameter>]
            GetStartProfile
            GetTraceFile
            GetAlertTree
            GetAlerts
            GetEnvironment
            GetVersionInfo
            GetQueueStatistic
            GetProcessList
            GetInstanceProperties
            ListDeveloperTraces
            ReadDeveloperTrace <filename> <filesize>
            ListLogFiles
            ReadLogFile <filename> [<filter> [<language> [<maxentries> [<cookie>]]]]
            AnalyseLogFiles [<severity 0-2>] [<maxentries>] [<starttime YYYY MM DD HH:MM:SS> <endtime YYYY MM DD HH:MM:S
S>]
            OSExecute <command> <async> <timeout> <protocolfile>
            SendSignal <pid> <signal>
            GetSystemInstanceList
            StartSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [<waittimeout sec>]]
            StopSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [[<waittimeout sec>] [softtimeout sec]]]
            RestartSystem [ALL|SCS|DIALOG|ABAP|J2EE|LEVEL <level> [[<waittimeout sec>] [softtimeout sec]]]
            AccessCheck <function>
            ABAPReadSyslog
            ABAPReadRawSyslog
            ABAPGetWPTable
            J2EEControlProcess <processname> <function>
            J2EEGetProcessList
            J2EEGetThreadList
            J2EEGetSessionList
            J2EEGetCacheStatistic
            J2EEGetApplicationAliasList
            J2EEGetVMGCHistory
            J2EEGetVMHeapInfo
            StartWait <timeout sec> <delay sec>
            StopWait <timeout sec> <delay sec>
            WaitforStarted <timeout sec> <delay sec>
            WaitforStopped <timeout sec> <delay sec>
Exitcode: 0: Last Webmethod call successfull
          1: Last Webmethod call failed, invalid parameter
          2: StartWait, StopWait, WaitforStarted, WaitforStopped timed out
          3: GetProcessList succeeded, all processes running correctly
          4: GetProcessList succeeded, all processes stopped
Security: Trusted connects without user and password check are possible through
          Unix domain socket or Windows named pipes. Protected webmethods like
          Start or Stop require a trusted connection or OS user and password
          authentication.

Similar Messages

  • Batch file to Start / stop Import server

    Hi,
    I would like to know any approach or example to make a batch file to start and stop Import/Syndication server in MDM.
    Appreciate a small sample for better understanding to start with.
    Thanks,
    Reo

    Hi Reo,
    the proper way to handle the Import Server is not to start it and restart it with a batch. This was the way the Import Manager Batch worked -> to execute an import one time.
    You can define an time interval in the ini file how often the import should be executed.
    If you want to use the Import Server anyway:
    Write a little batch file which executes a DOS service start tool like "ntscmgr.exe". With that you can start and stop a service. If you want this to happen at a certain time of the day, just schedule the batch file under your operating system.
    I hope that helps.
    Best regards
    Nicolas

  • Can not  start/stop fullfilment server after fresh install

    Can not start/stop fullfilment server after fresh install
    Product: e-business suite (11.5.9)
    Platform: Win XP 5.1 (SP2)
    We have performed a new installation of ebusiness suite in our windows platform.
    Installtion went with out any problem.
    But we can not start/stop the fullfilment server. While trying to start/stop the server we are getting follwing error message:
    c:\oracle11i\prodcomn\admin\scripts\PROD_03274019ih\jtffmctl.cmd start
    script returned:
    C:\oracle11i\prodcomn\admin\scripts\PROD_03274019ih>echo off
    You are running jtffmctl.cmd
    Mon 13/09/2004
    01:46 PM
    "Starting Fulfillment Server for "PROD" on port "9300" ...\n"
    "Error returned while running OUI"
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    Class not found: oracle.apps.jtf.fm.engine.processor.Processor
    Please let us know how to fix this issue.
    Regards, Kunal

    edit the jtffmctl.cmd and make sure that it point to the correct java path, alse try to use java 1.4.1

  • I fail to start the sap server with error:Operating system call recv failed

    I fail to start the sap server in SAP R3 Management Console and the message in the syslog was :
    R/3 Basis System: Operating system call           recv failed (error no. 10053)
    Is there any one could tell me how to resolve the problem or give me some advice?I will appreciate him/her very much.Thank you.

    trc file: "dev_disp", trc level: 1, release: "620"
    Sun May 07 13:14:30 2000
    kernel runs with dp version 3(ext=1) (@(#) DPLIB-INT-VERSION-3)
    length of sys_adm_ext is 304 bytes
    systemid   560 (PC with Windows NT)
    relno      6200
    patchlevel 0
    patchno    674
    intno      20020600
    pid        3628
    ***LOG Q00=> DpSapEnvInit, DPStart (00 3628) [dpxxdisp.c   978]
         shared lib "dw_xml.dll" version 674 successfully loaded
         shared lib "dw_xtc.dll" version 674 successfully loaded
         shared lib "dw_stl.dll" version 674 successfully loaded
    Sun May 07 13:14:32 2000
    WARNING => DpNetCheck: NiAddrToHostCanon() took 2 seconds
    Sun May 07 13:14:37 2000
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3212]
    MtxInit: -2 0 0
    DpShMCreate: sizeof(wp_adm)          12784     (752)
    DpShMCreate: sizeof(tm_adm)          1690816     (8412)
    DpShMCreate: sizeof(wp_ca_adm)     18000     (60)
    DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    DpShMCreate: sizeof(comm_adm)     192000     (384)
    DpShMCreate: sizeof(wall_adm)     (22440/34344/56/100)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 001E0040, size: 1977824)
    DpShMCreate: allocated sys_adm at 001E0040
    DpShMCreate: allocated wp_adm at 001E0560
    DpShMCreate: allocated tm_adm_list at 001E3750
    DpShMCreate: allocated tm_adm at 001E3778
    DpShMCreate: allocated wp_ca_adm at 00380438
    DpShMCreate: allocated appc_ca_adm at 00384A88
    DpShMCreate: allocated comm_adm_list at 003861F8
    DpShMCreate: allocated comm_adm at 00386210
    DpShMCreate: allocated ca_info at 003B5010
    DpShMCreate: allocated wall_adm at 003B5018
    MBUF state OFF
    Sun May 07 13:14:38 2000
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation std
    <EsNT> Memory Reset enabled as NT default
    <EsNT> EsIUnamFileMapInit: Initialize the memory 2458 MB
    <ES> 2457 blocks reserved for free list.
    ES initialized.
    ***LOG Q0K=> DpMsAttach, mscon ( db01) [dpxxdisp.c   9115]
    CCMS: Initalizing shared memory of size 20000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6200, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   941]
    DpMsgAdmin: Set patchno for this platform to 674
    Release check o.K.
    Sun May 07 13:15:18 2000
    ERROR => W2 (pid 4776) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W2
    Sun May 07 13:15:38 2000
    ERROR => W5 (pid 4548) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W5
    ERROR => W8 (pid 4592) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W8
    ERROR => W9 (pid 4584) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W9
    ERROR => W12 (pid 4676) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W12
    ERROR => W13 (pid 4272) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W13
    my types changed after wp death/restart 0xbf --> 0xb7
    Sun May 07 13:15:58 2000
    ERROR => W4 (pid 4888) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W4
    ERROR => W6 (pid 4788) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W6
    ERROR => W15 (pid 4596) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W15
    Sun May 07 13:16:18 2000
    ERROR => W1 (pid 4892) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W1
    ERROR => W3 (pid 4904) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W3
    ERROR => W7 (pid 4000) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W7
    ERROR => W10 (pid 4864) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W10
    my types changed after wp death/restart 0xb7 --> 0xb5
    Sun May 07 13:16:38 2000
    ERROR => W0 (pid 4900) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W0
    ERROR => W11 (pid 4500) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W11
    ERROR => W14 (pid 4636) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W14
    ERROR => W16 (pid 3532) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W16
    my types changed after wp death/restart 0xb5 --> 0x80
    DP_FATAL_ERROR => DpEnvCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    DpModState: change server state from STARTING to SHUTDOWN
    Sun May 07 13:16:42 2000
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9341]
    MBUF state OFF
    MBUF component DOWN
    ***LOG Q05=> DpHalt, DPStop ( 3628) [dpxxdisp.c   7883]

  • Any JAVA Api to start/stop dhcp server?

    Hello,
    Does JAVA has any API to start/stop DHCP server.
    thanks,
    shimsha

    http://edocs.bea.com/wls/docs81/deployment/tools.html#998698
    That is the API you need to what the weblogic.Deployer tool does.
    Sam
    Amir wrote:
    Hi
    Does anyone knows if weblogic 8.1 provides set of apis to start and stop J2EE
    applications programmatically?
    I know weblogic deployer provides the means to start and stop the J2EE applications
    through scripts. What I want to know if the apis for the scripts are exposed to
    be used within java code.
    Thanks

  • Command to start the SAP Server in AIX Machine

    What is the command to start the SAP Server in Unix Environment

    Hi Balaji,
    To start sap you just type startsap on the command prompt... are you getting any specific errors?
    Also read,
    http://help.sap.com/saphelp_nw04s/helpdata/en/70/b38937809c8f71e10000009b38f842/frameset.htm
    Regards
    Juan

  • Starting the sap server using startsap program .

    Hi ,
    platform AS400 R3/DB2
    For manually starting the sap server using startsap program .
    startsap sid(c44) instance(44) profile('/usr/sap/c44/sys/profile/what profile?)
    I want to clear my doubt in  the above command, which profile can be given for the above startsap command?
    please help.
    Regards
    Hany.

    Hany,
    Is there more than one instance of SAP running on this server? Usually a 'startsap' or "startsap R3" - if the db is started already - will work.
    Otherwise, you'll want to use the instance profile of what your attempting to start. Remember there are 3 profiles in the folder - Default, start, and instance.
    Try to start with the instance profile.
    -Tim

  • Starting/stopping mobile server

    Hi
    This is a two part question dealing with the starting and stopping of mobile server...
    To start the mobile server via win cmd line, I use java -jar oc4j.jar. How should I stop the server in this scenario? I have been using cntr-C in the dos window, I'm hoping there's a better way, but I haven't found any mention of it in the docs.
    Secondly, when I install the windows service to start/stop mobile server, I am not able to login to the mobile server's administrative console - does anyone know the reason for this?
    Thanks,
    Tim

    In recent windows xp systems there is a command line tool named "kill" or something like that, to kill the process like unix systems (kill pid).
    Also, killing the java process with ctrl/alt/suppr or using tools like process explorer (sysinternals) can achieve this.
    For the second problem, also check if you have installed the repository in a back-end database (SYSTEM's password needed while installing mobile server). If you did not install the repository in back-end database this could also be the problem, I think.

  • Starting/Stopping Application Server Forms and Reports

    Hello,
    Are there any scripts (like dbstart and dbshut for Oracle DB) for starting and stopping "Application Server Forms and Reports". If not, any special suggestions?
    I must automatically start this application on Unix. I know that during starting some steps must be performedy by the root user (export DISPLAY env variable and issue the "xhost +" command) and later the oracle user must do some things( export ORACLE_HOME and DISPLAY and issue the "opmnctl startall" command). Does anybody have scripts like that?
    Regards,
    Tim

    If you're on 10.1.2, there is a script (requires an X Windows session). It's called runstartupconsole.sh, but you've got to update the install type to Portal in the ias.properties file if I remember right. It looks cool, but a shell script works better.
    Here is a shell script that does some of those things. You still need to run xhost+ after running a display if you're using something that requires a DISPLAY to start. Someone may have a better one, but this one works.
    We actually use one that starts all the different components individually except for Reports in rc scripts. That is the only thing we have that needs a Display set to start. So then xhost + is run & at the same time, the Unix sysadmin runs a script that start Reports from opmn.
    I hope this is useful.
    Cordially,
    Steve
    #!/bin/sh
    # =======================
    # Collect Global Variables
    # =======================
    # Collect server specific install location
    export ORACLE_BASE=/u01/app/oracle
    export MIDDLE_TIER_ORACLE_HOME=$ORACLE_BASE/product/ias/101202_EE/mt_maxportal_02
    export INFRASTRUCTURE_ORACLE_HOME=$ORACLE_BASE/product/ias/101202_EE/if_maxportal_02
    export SID=orcl
    # Collect current PATH and LD_LIBRARY_PATH for reuse
    export OLD_PATH=$PATH
    export OLD_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
    # Unset variables that can cause problems starting or stopping
    unset CLASSPATH
    case "$1" in
    start)
    # =======================
    # Start Infrastructure
    # =======================
    # Set environment to start infrastructure components
    export ORACLE_SID=$SID
    export ORACLE_HOME=$INFRASTRUCTURE_ORACLE_HOME
    export LD_LIBRARY_PATH=$OLD_LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$OLD_PATH
    # Start Infrastructure Database Listener
    echo -n "Starting Infrastructure Database Listener: "
    $ORACLE_HOME/bin/lsnrctl start
    echo "OK"
    # Start Infrastructure Database
    echo -n "Starting Infrastructure Database: "
    $ORACLE_HOME/bin/dbstart
    echo "OK"
    # Start Infrastructure OPMN managed components
    echo -n "Starting Infrastructure OPMN Managed Components: "
    $ORACLE_HOME/opmn/bin/opmnctl startall
    echo "OK"
    # =======================
    # Start Middle Tier
    # =======================
    # Change environment for middle tier
    unset ORACLE_SID
    export ORACLE_HOME=$MIDDLE_TIER_ORACLE_HOME
    export LD_LIBRARY_PATH=$OLD_LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$OLD_PATH
    # Start Middle Tier OPMN managed components
    echo -n "Starting Middle Tier OPMN Managed Components: "
    $ORACLE_HOME/opmn/bin/opmnctl startall
    echo "OK"
    # Start Application Server Control
    echo -n "Starting Application Server Control: "
    $ORACLE_HOME/bin/emctl startifdown iasconsole
    echo "OK"
    stop)
    # =======================
    # Stop Middle Tier
    # =======================
    # Set environment for middle tier
    unset ORACLE_SID
    export ORACLE_HOME=$MIDDLE_TIER_ORACLE_HOME
    export LD_LIBRARY_PATH=$OLD_LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$OLD_PATH
    # Stop Application Server Control
    echo -n "Stopping Application Server Control: "
    $ORACLE_HOME/bin/emctl stop iasconsole
    echo "OK"
    # Stop Middle Tier OPMN managed components
    echo -n "Stopping Middle Tier OPMN managed components: "
    $ORACLE_HOME/opmn/bin/opmnctl stopall
    echo "OK"
    # =======================
    # Stop Infrastructure
    # =======================
    # Set environment to start infrastructure components
    export ORACLE_SID=$SID
    export ORACLE_HOME=$INFRASTRUCTURE_ORACLE_HOME
    export LD_LIBRARY_PATH=$OLD_LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$OLD_PATH
    # Stop Infrastructure OPMN managed components
    echo -n "Stopping Infrastructure OPMN managed components: "
    $ORACLE_HOME/opmn/bin/opmnctl stopall
    echo "OK"
    # Stop Infrastructure Database
    echo -n "Stopping Infrastructure Database: "
    $ORACLE_HOME/bin/dbshut
    echo "OK"
    # Stop Infrastructure Database Listener
    echo -n "Stopping Infrastrucutre Database Listener: "
    $ORACLE_HOME/bin/lsnrctl stop
    echo "OK"
    reload|restart)
         $0 stop
    $0 start
    echo "Usage: `basename $0` start|stop|restart|reload"
    exit 1
    esac
    exit 0

  • How to Start/Stop from Server Manager

    Hello,
    I am trying to figure out how to start/stop/restart my coldfusion servers from server manager.  I have seen the instruction at this link:
    http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSfd7453be0f56bba4-2a6b48f122a6582c7f-7ff e.html
    However it mentions "place the jrunappstartup.war file under the directory <CF_Home>/runtime/servers/admin"
    I do not know where to get this file from.  Please help!
    I am running ColdFusion standalone.
    Any help is much appreciated,
    Thanks,
    David

    An update to eariler posting. Configure CF9 Enterprise multiserver.
    Likewise unable to find jrunappstartup.war file mentioned.
    If I follow the instructions and try configure the SM Start Stop Details the Start Stop Restart
    does not become an highlighted option.
    Here are a couple screen cuts for interested readers-
    Start Stop Details (are these correct Jrun items to fill in?):
    Unable to restart from SM:
    Regards, Carl.

  • How to start/stop report server?

    Dear memebers,
    when i restart my machine the report don't run. and give the following errro: frm-41213 unbale to connect to the report server.
    how to start/stop the report server?
    i have installed the DS 10g.
    Thanks
    Muhammad Nadeem
    [email protected]

    I try to find same solution from three month , i think first you intsall report server
    and check that if in server/conf folder rep_<hostname> file is there than your report is running with in process method in that you are not able to run report with report server , if you get solution than please give me the same

  • How to start & stop SAP J2EE services.

    Hello,
    Can anyone tell me the steps how to Start and Stop SAP J2EE operations and how to troubleshoot the problems when the Java doesn't come-up.
    Regards,
    Murali

    Hi,
    In windows,
    go to SAP management console,Right click on the SID and then <b>start all tasks</b>
    similarly to stop,Right click,
    <b>stop all tasks</b>
    If it is linux machine,
    switch to SIDadm user,by giving the command <b>su sidadm</b>
    ex:if SID is J2E,then it will be <b>j2eadm</b>.and then it is <b>startsap</b> or <b>stopsap</b>.
    For troubleshooting,
    1.go to /usr/sap/SID/JCxx/j2ee/cluster/server0/log
    look for <b>defaulttrace.trc file.</b>
    you can get to know the errors here and find teh root cause of it.
    2.you can also look for <b>devp_trace</b> in SAPmanagement console.
    3.Before doing all this,first check if <b>JAVA_HOME,path</b> and <b>LD_LIBRARY_PATH</b> is set properly and proper JDK is taken.
    4.check id <b>DB is up and running.</b>
    reward points if helpful
    Message was edited by:
            usha rani

  • Unable to Start/Stop Directory server from console

    We have two Directory Server 5.2 installations with both running as masters with replication between them. One of them was installed with the admin server and the other without. On the one that was installed without the admin server we added it afterwards.
    We now find that on the one that had the admin server installed after the directory server that we cannot start/stop the directory server from the server console nor can we view or access backups or logs from the console. The system does however create the log and backup files and we can start/stop it from the command line.
    I read in a post somewhere that the admin server can be created with a different user from the directory server or with the same username but a different domain and wondered if that was the problem but have looked through the configuration files on both machines and haven't managed to spot a discrepancy.
    Does anyone have any ideas where and what to check?
    Thanks in advance.
    Peter

    Ah, I wouldn't have recognized this scenario if you didn't report the scrozzled user name. The "access denied" error happens for the simple reason that 'IAyjcJlYKL' is not a valid user in your domain. Fancy that. If you look in your config.xml for the "node-manager-username" element, you may find the value is encrypted, and probably is 'IAyjcJlYKL'.
    It might be best if you filed a support case for this. I can make some guesses about what you should do, but it's just a guess. In any case, if you try fixing something, make a backup of the file first.
    The two things you can try doing are (backup the files and shut down everything first):
    * Edit the nm_password.properties file, replacing the one "hashed" line with two lines, setting the "username" property and the "password" property, both in cleartext. When the nodemanager starts up, it will replace those two lines with the "hashed" value.
    * Edit the config.xml file, replacing the values in the "node-manager-username" and "node-manager-password-encrypted" elements with their cleartext versions.
    Then start up the nodemanager and server.
    I'm familiar with this because I saw this happen, and I'm trying to remember the strange thing we had to do. I worked this out with BEA support a while ago. If it helps, my case number was #796710.

  • How to read XML file kept on NON-SAP server using the Http URL ?

    Dear Experts,
    I am working on CRM2007 web UI. I need to read a XML file placed on a shared server location by a third party program. Then process that XML file into CRM and create a quotation using the data extracted from the file.
    All i have with me is the http URL that points to the location of the file.
    I am supposed to read the file , create quotation and at later point of time i would be asked to update the quotation and then generated new XML representing updated quotation and replace the XML file on shared server location with this new updated XML file.
    I know how to extract data from XML file into ABAP but i have no clue as to how to access the file on some other server using the http url i have and how to read it ?
    I searched on the forum and i found the codes for reading XML file that is located either on client machine OR on the Application server wheareas my file is on some other than sap application server.
    Please help me as its an urgent issue .
    Points will be rewarded for sure.
    Please help.
    Thanks in advance,
    Suchita.
    p.s. : the http url to the file location is like -->
    http://SomeServerDomain/SomeDirectory/file.xml

    hi,
    interesting task.
    to request the file by a http call you need to create an if_http_client object.
    More info is [here|http://help.sap.com/saphelp_nwmobile71/helpdata/en/e5/4d350bc11411d4ad310000e83539c3/frameset.htm]
    to parse the file you either have to work with the ixml packages ([info|http://help.sap.com/saphelp_nwmobile71/helpdata/en/47/b5413acdb62f70e10000000a114084/content.htm]) or you use an XSLT transformation ([info|http://help.sap.com/saphelp_nwmobile71/helpdata/en/a8/824c3c66177414e10000000a114084/content.htm]).
    uploading the final file isn't so easy. if you only have http, you should write a server script to allow uploading of the new file and copying it into the place of the old file. but you definitely need the script.
    now it's your take. depending on how experienced you are in ABAP and networking this might turn out to be easy or pretty complicated.
    have fun,
    anton

  • Start/Stop SAP Hana on SAP Hana Studio - Authentication Method

    Hi dear SAP Hana Colleagues !
    For security reasons, the Security Team is disabling the password authentication of SAP OS Users (<sid>adm). The password will be setted up as "locked" in the /etc/passwd file, to block "intearactive logins".
    As we know and as discribed in the section 2.2 of "SAP Hana Administrator's Guide", to stop/start SAP Hana Systems by SAP Hana Studio, we need to provide the "user/password" data to execute these actions, and this will not be possible if the password has remaining as "locked" in the OS.
    Are there another way to authenticate the <sid>adm user from SAP Hana Studio to execute the stop/start of SAP Hana System ?
    I'll wait your answers.
    Best regards,
    Rodrigo A. Botelho

    Rodrigo,
    esse espaço é de HANA em Portugues.
    Por favor, refaça a pergunta em Português e/ou pergunte no espaço de HANA em inglês:
    SAP HANA and In-Memory Computing
    Vou bloquear essa thread agora.
    Abs,
    Henrique.

Maybe you are looking for

  • Connection to a monitor via VGA - Is it possible??...

    Hey all, As the title says im thinking of hooking my phone up to my monitor at work but it only has VGA input. All i can see is VGA to...  ive tried one of the below but no joy. http://cgi.ebay.co.uk/VGA-TV-RCA-S-VIDEO-ADAPTER-CONVERTER-CABLE-LAPTOP-

  • Embed Lightroom Slideshow in Activerain Blog

    I've been trying (in vain) to embed a Lightroom slideshow into my activerain blog here: http://activerain.com/blogsview/658980/Homes-Near-Peterson-and The slideshow should be in that big blank white space near the bottom of the post. I'm hosting the

  • Interactive forms in SAP CRM 5.0

    Hello all, we want to use Adobe Interactive Forms instead of SmartForms for the printing scenarios in SAP CRM 5.0 In the Chapter "Output Determination" the SAP Help says: "You design the forms for your output using the graphical tool Smart Forms." ht

  • How can I attach photos to Mail as a thumbnail?

    When I attach photos or PDF documents containing photos, to a mail message, the whole photo appears as part of the message. This provides problems at the recipient end as it can take a long time for the mail message to fully open. What I want is to b

  • Is Camera Raw a reduced product in PSE7?

    I have installed Camera Raw V5.6.0.148 into PSE7 and I notice that there are tabs missing which appear in other Adobe photoshop products. For example, the Lens tab and the Curve tab do not show up in Camera Raw. Is this by design or did I install the