Need code for Logoff the screen

Hi,
i have requirement to close the sap application when then user is invalid. when a invalid user logs into the system, i need to show an  error message and logoff the system

Moderator message - duplicate thread locked
Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
Rob

Similar Messages

  • Need Code for FM for extracting the fields in view!

    Hi,
    can any one here pls give me the sample code for the function module, extracting all the fields in view ?
    Thanks,
    Ravi

    No No,
    I need to append two more fields other than the fields existing in View.and for that i need to create FM as per the requirement. they do not want view in the data source definition any more.
    now i want a sample code for Building the FM code
    Hope i am clear this time
    Thanks,
    Ravi

  • Need code for restarting my system

    hello every body i need code for restarting system
    this code does not work
    try {
    Runtime.getRuntime().exec("shutdown -s -t01") // stop
    }catch(...
    or
    try {
    Runtime.getRuntime().exec("shutdown -r -t01") // reboot
    }catch(...
    or
    try {
    Runtime.getRuntime().exec("shutdown -l -t01") // logout
    }catch(...

    write a jni function that calls this method : ExitWindowsEx()
    check the documentation

  • Need code for ITC502

    I need code for gpib to ITC 502.
    Need to set temperature and threshold,
    thankx

    The instruction manual for this instrument is available from Oxford
    Instruments at no charge- they sent me a copy by email as a PDF file. I
    don't have it to hand at the moment so can't dig out the relevant info but
    it would be worth having the full manual, I think. There's a bit more to a
    decent driver than simply setting the temperature, and I'm not sure what you
    mean by "threshold".
    "mdeleon" wrote in message
    news:[email protected]..
    > I need code for gpib to ITC 502.
    > Need to set temperature and threshold,
    > thankx

  • Need code for padding (spacing) 5 navigation links in my #topnavbar internal style

    need code for padding (spacing) 5 navigation links in my #topnavbar internal style

    I'm new at this and the below code is regarding the navigation bar and links
    I started using a template to create the first html page and made copies of it to create the other four.
    All the links work but I wanted to space them apart further.
    They look basically like this horizontally: Home About Us Photo Gallery Services Contact Us
    #topnavbar {
    text-align:center;
    #topnavbar a:link a:visited{
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 100%;
    font-weight: bold;
    color: #039;
    text-decoration: none;
    margin: 0 25px:
    #topnavbar a:hover a:active {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 100%;
    font-weight: bold;
    color: #039;
    text-decoration: none;
          <div id="topnavbar">
          <nav>
          <p><a href="index.html">Home</a>  
             <a href="aboutus.html">About Us</a>  
             <a href="photogallery.html">Photo Gallery</a>
             <a href="services.html">Services</a>
             <a href="contactus.html">Contact Us</a></p>  
          </nav>
           </div>

  • What is the transaction code for see the Web Services available in SAP

    Hi
    I came to know that SAP has provided its own webservices... I need some information on that... If any one has documentation on that can u please send it to me... My ID is <b>[email protected]</b>.
    What is the trasaction code for see the web services available in SAP.... Can any one help.. Please its  urgent
    Best Regards
    Ravi Shankar B
    Message was edited by:
            RaviShankar B

    Hi,
    you can find Web Services (Enterprise Services) in the Enterprise Services Workplace (ES Workplace). The ES Workplace allows you to explore, test, and use enterprise services to make enterprise SOA tangible. Here, you will find all of the currently productized enterprise services by SAP.
    Best Regards,
    Boris Mueller
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/esa/esapreview">ES Workplace at SDN</a>
    <a href="http://esapreview.sap.com:82/socoview(bD1kZSZjPTgwMCZkPW1pbg==)/flddisplay.asp">ES Workplace</a>

  • Code for displaying the word doc file from servlet as response.

    Hi can any provide me code for displaying the word document form servlet as response.
    here i have file from file it should ale to read them and display it.
    i have written code but the proble here is in displaying.it ios as not showing as word.can any one help me here
    vijay

    Are we talking of HTTP?
    If yes, you'll need to provide an appropriate content-type and use the binary output stream.
    IE does not trust the content-type header but relies upon the file name, so set it too.
    response.setHeader( "Content-Disposition", "attachment; filename=" etc. Edited by: BIJ001 on Oct 22, 2007 10:10 AM

  • T.code for check the Total SRS

    pls tell me t.code for match the SRS (stock requitions slip)from store  or production ?
    Thanks
    Rekha Sharma

    U can check in MB25 or in MB51.

  • Wanted to update the software now available, but it is asking for a pass code. As far as I remember in didn't put in any pass code , how do I settle this issue . Earlier updates were asking Apple ID but pass code for updating the new soft ware not known.

    Wanted to update the software now available, but it is asking for a pass code. As far as I remember in didn't put in any pass code , how do I settle this issue . Earlier updates were asking Apple ID but pass code for updating the new soft ware not known.

    Hello Kewal,
    Thank you for the details of the issue you are experiencing when trying to perform an update.  I recommend trying to update using iTunes, and as always, it is a good idea to make a backup first. 
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    Update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht4623
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Transaction code for checking the capacity of  a job

    Hi,
      Can anybody tell me if there is a transaction code for viewing the capacity of Job.
    Thanks and regards,
    Avinash.S

    Hi Avinash,
    I am not geeting what you want normally CM01 for w/c vise Load you can use.
    Pls elaborate yr problem a little bit.
    Umesh

  • When i go to the app store to update the one app that needs to be updated, the screen is blank.  It used to list all the apps that need updating and have a button called update all.  Now nothing.  Just a blank screen.

    when i go to the app store to update the one app that needs to be updated, the screen is blank.  It used to list all the apps that need updating and have a button called update all.  Now nothing.  Just a blank screen.  How can I fix this?

    There's been a problem with this all day.  Seems to be a server problem  -  wait a day and try again, or use itunes on the computer to update, that works.

  • Need code for sales order create report using bapi's

    need code for sales order create report using bapi's

    Hi,
    Go through below link
    http://www.saptechies.com/bapi_salesorder_createfromdat2/
    <b>Reward points if it helps,</b>
    Satish

  • How can we write the code for opening the command prompt and closing the

    how can we write the code in java for opening the command prompt and closing the cmd prompt from eclipse (cmd prompt should close when click on the turminate button in eclipse)

    rakeshsikha wrote:
    how can we write the code for opening the command prompt and closing theBy typing in Eclipse (which you seemingly have)?

  • T-Code for changing the default Exchange Rate reference for creating PO?

    Dear All,
           Can somebody kindly give me the T-Code for changing the default
    Exchange Rate reference for creating PO? Is there a Step by Step
    procedure before changing the default exchange rate?
    Thank you in advance.
    Regards,
    Gopesh

    Hi
    There is not such Tcode to change the default exchange rate from the PO.
    If you want you can confugure the exchange rate in the following path in the IMG,
    SPRO>MM>LIV>Incoming Invoice>Configure How Exchange Rate Differences Are Treated
    Hope it helps you.
    Cheers
    Umakanth

  • T.Code for checking the total value of a material

    Hi Experts,
      Can anybody tel me the T.code for checking the total value of a material which is procured in a specified period?
    Thanks in advance
    Channa

    Refer Tcode ME80FN click on Change Veiw & select Purchase Order History with this you can get PO-GRN-INVOICE Qty & Value details
    Last button on Application tool Bar it is in line of filter, total etc icons
    Also check below reports :
    MC$G - PURCHIS: Material PurchVal Selection
    MC$0 - PURCHIS: PurchGrp PurchVal Selection
    MC$< - PURCHIS: MatGrp PurchVal Selection
    MC$4 - PURCHIS: Vendor PurchVal Selection

Maybe you are looking for

  • What is the best way to archive and store old mail using Apple Mail?

    Hi, I have a number of older emails that I would like to archive and store for potential future access. Even though I have mails from earlier Lotus Notes accounts and Microsoft Office accounts, I am referring in this case only to apple mail data that

  • Error while deploying in OC4J Enterprise Manager

    Hello. I´ve got a problem deploying EAR and WAR files on my AS10g (904) via web enterprise manager. The following is a german orginal error output: Installation nicht erfolgreich: Plug-In-Fehler beim Lesen von verwalteten Dokumenten. Root-Ursache: Ex

  • 'the connection was interrupted'

    I very often get this: 'The connection was interrupted Connection to the server was restored during the download page. The site may temporarily be down or busy. Please try again in a moment. If you can not open any page at all, check your computer ne

  • Forte M / ORACLE 8.1.5 upgrade

    Hi, We plan to upgrade to Forte Release M and ORACLE release 8.1.5. We have the technical note information. We also would like to find out whether any of you have experienced with this upgrade. Appreciate any information that you can share with us. T

  • Multible Returns in a Macro

    Hi, I´m dealing with some stereoscopic footage, and I´m trying to create some macros for stereoscopic compositing. The functionality is done, but I can´t figure out, how to make a macro with two outputs (left and right image). Shake only allows one r