Want any suggestion or code

hi all,
Please suggest a way or give me some code which will prevent another user from accesing my work unfortunately i share the same user name & password with some people and i cant get a new user name & password as it is some license problem.
i willbe highly grateful if any body could provide me with a solution if u have any code plz let me know.

Hi,
Checkt his sample code which I got from SDN once.
PROGRAM ZHIDE NO STANDARD PAGE HEADING.
This program hides any ABAP's source code and protects it with a
password in this source code.  So the first candidate to be hidden
should be ZHIDE itself.
After hiding, you can still run the abap (the load version is intact)
but it cannot be displayed, edited, traced, transported or generated.
If the ABAP is not hidden, the program hides it, if it is hidden, it
unhides it.
To execute this program, change the user name and password in this
source code first.
SELECTION-SCREEN BEGIN OF BLOCK BLOCK.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(8) PWD.
SELECTION-SCREEN POSITION 35.
PARAMETERS: PASSWORD(8) MODIF ID AAA.
SELECTION-SCREEN END OF LINE.
PARAMETERS: PROGRAM(8).
SELECTION-SCREEN END OF BLOCK BLOCK.
AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF SCREEN-GROUP1 = 'AAA'.
      SCREEN-INVISIBLE = '1'.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.
INITIALIZATION.
  PWD = 'PASSWORD'.
START-OF-SELECTION.
  TABLES: TRDIR.
User name and passsword check
  IF SY-UNAME <> 'SAP' OR PASSWORD <> 'PASSWORD'.
    WRITE: / 'Wrong password'.
    EXIT.
  ENDIF.
SAP owned?
  IF NOT PROGRAM CP 'Z' AND NOT PROGRAM CP 'Y'.
    WRITE: / 'Do not hide original SAP programs!'.
    EXIT.
  ENDIF.
Exists?
  SELECT SINGLE * FROM TRDIR WHERE NAME = PROGRAM.
  IF SY-SUBRC <> 0.
    WRITE: / 'Program does not exists!'.
    EXIT.
  ENDIF.
Does it have a current generated version?
  DATA: F1 TYPE D, F3 TYPE D.
  DATA: F2 TYPE T, F4 TYPE T.
  EXEC SQL.
  SELECT UDAT, UTIME, SDAT, STIME INTO :F1, :F2, :F3, :F4 FROM D010LINF
                       WHERE PROG = :PROGRAM
  ENDEXEC.
  IF F1 < F3 OR ( F1 = F3 AND F2 < F4 ).
    WRITE: / 'The program has no recent generated version!'.
    EXIT.
  ENDIF.
Compose a new program name
  DATA: NEW_NAME(8), I TYPE I, J TYPE I.
  NEW_NAME = PROGRAM.
  DO 8 TIMES.
    I = SY-INDEX - 1.
    NEW_NAME+I(1) = '_'.
Search for acceptable program name variations
    J = 0.
    SELECT * FROM TRDIR WHERE NAME LIKE NEW_NAME.
      J = J + 1.
    ENDSELECT.
    IF J = 1.
      EXIT.
    ENDIF.
    NEW_NAME = PROGRAM.
  ENDDO.
Cannot generate appropriate program name
  IF J > 1.
    WRITE: / 'Cannot generate appropriate program name'.
    EXIT.
  ENDIF.
Check if it is already in d010s (already hidden)
  DATA: F5(8).
  EXEC SQL.
    SELECT PROG INTO :F5 FROM D010S WHERE PROG = :NEW_NAME
  ENDEXEC.
  IF F5 IS INITIAL.
There is no such hidden program, hide it
    EXEC SQL.
      UPDATE D010S SET PROG = :NEW_NAME WHERE PROG = :PROGRAM
    ENDEXEC.
  ELSE.
There is already a hidden program there, unhide it
    EXEC SQL.
      UPDATE D010S SET PROG = :PROGRAM WHERE PROG = :NEW_NAME
    ENDEXEC.
  ENDIF.
end of program

Similar Messages

  • Please, I don't want any suggestions from the awesome bar! Using the tools menu does not stop it...

    I don't want any suggestions! I have set the control through the Options many time to nothing but it always comes back with a new session. Please can I stop it completely!

    If you do not keep changes after a restart or otherwise have problems with preferences, see:
    *http://kb.mozillazine.org/Preferences_not_saved

  • TS1292 i have an itunes card that when scratching off for the code some of the numbers rubbed off.  This was a gift so i really dont want to ask for a receipt.  Any suggestions?

    i have an itunes card that when scratching off for the code some of the numbers rubbed off.  This was a gift so i really dont want to ask for a receipt.  Any suggestions?

    Click here and ask the iTunes Store staff for assistance. Supply them with as much of the code as you can.
    (97364)

  • I want to writte C# code for 503 Service Unavailable error to web application page immediate close connection any page loaded

    Here is a ticket regarding our current client web application (  Image data add, edit , delete in folder with form data in MSSQL Database) that using code c#, web form, ajax, VS2008, MSSQL Server2008 , it appears that there is an error where the HTTP
    503 error occurs. 
    . Below is a conversation with Host Server support assistant.Can you take a look at it? 
    Ben (support) - Hi 
    Customer - We're having an issue with our windows host 
    Ben (support) - What's the issue? 
    Customer - 503 errors 
    Ben (support) - I am not getting any 503 errors on your site, is there a specific url to duplicate the error? 
    Customer - no, it comes and goes without any change Customer - could you have access to any logs ? 
    Ben (support) - Error logs are only available on Linux shared hosting, however with this error it may be related to you reaching your concurrent connections 
    Ben (support) - You can review more about this at the link \ 
    Customer - probably yes - how can we troubleshoot ? 
    Ben (support) - http://support.godaddy.com/help/article/3206/how-many-visitors-can-view-my-site-at-once 
    Ben (support) - This is something you need to review your code and databases to make sure they are closing the connections in a timely manner 
    Customer - we're low traffic, this is an image DB to show our product details to our customers 
    Customer - ahhhh, so we could have straying sessions ? 
    Ben (support) - Correct Customer - any way you could check if it's the case ? 
    Customer - because it was working previously 
    Ben (support) - We already know that's the case as you stated the 503 errors don't happen all the time if it were issue on the server the the 503 would stay. 
    Customer - so our 2/3 max concurrent users can max out the 200 sessions 
    Customer - correct ? 
    Customer - is there a timeout ? 
    Ben (support) - no that's not a time out concurrent connections are a little different then sessions and or connections. Lets say for an example you have 5 images on your site and 5 7 users come to your site this is not 7 concurrent connections but 35. They
    do close after awhile hence why the 503 error comes and goes. You can have these connections close sooner using code but this is something you have to research using your favorite search engine 
    Customer - thank you so much 
    Customer - I'm surprised that this just started a few weeks ago when we haven't changed anything for months 
    Customer - any changes from your side ? lowering of the value maybe ? 
    Customer - I'm trying to understand what I can report as a significant change 
    Ben (support) - We haven't touched that limit in years 
    Ben (support) - This could just be more users to your site than normal or even more images 
    Customer - I was thinking that could be it indeed 
    Customer - so I need to research how to quickly close connections when not needed 
    Ben (support) - Correctly 
    Ben (support) - correct 
    Customer - thanks !! 
    Ben (support) - Your welcome 
     Analysis : 
     The link provided tells us : All Plesk accounts are limited to 200 simultaneous visitors. 
     From what Ben (support) says and a little extra research, if those aren't visitors but connections then it's quite easy to max out, especially if the connections aren't closed when finished using. I'd suggest forwarding this to Kasem to see what he thinks. 
    Cheers, 
    Customer

    Hi Md,
    Thank you for posting in the MSDN forum.
    >>
    I want to writte C# code for 503 Service Unavailable error to web application page immediate close connection any page loaded.
    Since
    Visual Studio General Forum which discuss VS IDE issue, I am afraid that you post the issue in an incorrect forum.
    To help you find the correct forum, would you mind letting us know more information about this issue? Which kind of web app you develop using C# language? Is it an ASP.NET Web Application?
    If yes, I suggest you could post the issue directly on
    ASP.NET forum, it would better support your issue.
    Thanks for your understanding.
    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.

  • I just updated my 3gs to the latest iOS 5 update and now I am unable to text certain numbers.  I keep getting the error code 1121611611 invalid number, even though the number I have in my contacts is a 10 digit number.  Any suggestions on fixing this?

    I just updated my 3gs to the latest iOS 5 update and now I am unable to text certain numbers.  I keep getting the error code 1121611611 invalid number, even though the number I have in my contacts is a 10 digit number.  Any suggestions on fixing this?

    PhotogYogi wrote:
    I Have the same issue on a brand new iPad mini 2. My battery is only lasting up to 5 hours. I went on chat with Apple last night and they said my battery is fine and its a Safari issue. I'm literally losing 1% every 3-4 minutes. I tried recalibrating my battery, signing out of iCloud, shutting off all locations, turning off background app refresh, restoring network settings, restoring all, and finally restoring from iTunes with no luck. This is just awful. I got this iPad so I could use it on my long flight for a trip I have coming up, and unfortunately, it's not going to last that long, plus I'm concerned about how many times i will be recharging my battery because of this since battery's do have a life cycle dependent on the number of charges. This is frustrating and needs to be fixed ASAP and addressed by Apple.
    By the way, Apple told me to bring my device to the Apple Store because it's still under warranty. That's great and all, but I'm going to waste my time if there is no fix for this issue.
    Ok so you want Apple to address the problem, but yet you don't want to take it to them just in case they can't fix it? What if they can fix it? Complaining here certainly won't fix it.

  • I'm getting an error code 9 when trying to restore apple tv 2 thru iTunes any suggestions?

    I'm getting an error code 9 when trying to restore apple tv 2 thru iTunes any suggestions?  the error comes up when itunes tries to verify the update.  I hook the apple tv back to tv and says I need to connect to itunes.  the original problem was the power went out and the apple tv light kept blinking.  I tried restarting it but would not work.  Any Suggetstions?  Thank you.

    Try again tomorrow.  All Apple servers are undergoing a huge number of hits.  I think tomorrow or even the next day, all upgrade and activation servers will be in better shape.
    Any time millions of people want to do exactly the same thing online, there's always trouble, LOL.

  • Third-party widget not displaying properly (c/p code set to 700px width, shows up as narrow mobile width)... any suggestions?

    My client is wanting to update the Store page on his website to an integrated BandPage widget. He set the width to 700px on their site, but when I copy/pasted the code into Muse & publish, it only displays as a narrow mobile version (hidden sample link: http://www.griffinanthony.com/storewidget). We contacted BandPage to make sure everything's set correctly on their end; they've assured us it is. We can't figure out why it's not working in Muse -- should be as simple as the many other widgets we placed throughout his site?!
    Here's the code BandPage generated: <script async src="//www.bandpage.com/extensionsdk"></script><div class="bp-extension" data-bandpage-bid="453666329342337024"></div>
    ..set to a grid layout (attach'd).
    Any suggestions would be appreciated. Thx!

    FYI - I figured out a way around this by dragging out the border handles of the placed code; it automatically jumped to the width it was meant to be (attach'd). Hope this tip helps others in case they're faced with a similar dilemma.

  • I've just upgraded to IOS 7.0 on my iPhone 5 and the calendar is horrible!  I want to be able to see the who day at a glance not a few hours.  Does anyone have any suggestions?

    What's happened to the calendar in IOS 7.0?  I would like to be able to see the whole day at a glance not just a few hours.  Any suggestions?

    I know what it looks like and what it does.  I need to be able to see the whole day!  A few hours is not helpful for knowing whats ahead.  I don't want to scroll I just want to be able to look at a glance.  Does anyone have any helpful suggestions.

  • Trying to sync iPod with library, but receive this message, "The iPod is synced with another itunes library.  Do you want to erase this ipod and sync with this itunes library".  I do not want to erase my iPod... Any suggestions??  Please help!!

    Trying to sync ipod with itunes library, but I keep getting this message, "  The ipod is synced with another itunes library.  Do you want to erase this ipod and sync with this i tunes library?" 
    I do not want to erase my ipod!!!  Any suggestions?? please help!

    Another way. You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive (works the same with an SD card) into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
    Using The iPad Camera Connection Kit
    http://support.apple.com/kb/HT4101
     Cheers, Tom

  • I just got a new iPad air and also own an iPhone 5. I'm receiving most of my text messages on the iPhone, but some but not all are also showing up on my iPad. I don't want them on my iPad, any suggestions on how to get them to stop showing up n my iPad?

    I just got a new iPad air and also own an iPhone 5. I'm receiving most of my text messages on the iPhone, but some are now also showing up on my iPad. I don't want them on my iPad, any suggestions on how to get them to stop showing up n my iPad?

    Go to settings>messages>send and receive at>you can be reached by iMessages at> Uncheck your phone number and you can select your Apple ID emal address if you want to use that for messages.

  • HT1551 I ordered a rental movie on my computer and want to watch it on my 1st generation apple TV and it is not showing up there...any suggestions?

    I ordered a rental movie on my computer and want to watch it on my 1st generation apple TV and it is not showing up there...any suggestions?

    I had same problem last night with a movie rental not showing up under the 'Rented' tab in iTunes/Movies on my iMac: as I had no other rentals, there was no 'Rented' tab at all.
    In iTunes 11, the Downloads icon only appears next to the Search bar while there is an active download. Once any  downloads are finished, the icon disappears.  I had no icon so I had to assume the downloading had finished (in the previous UI you could check download progress even after they had finished).
    My movie rental did, however, show up under 'Rented Movies' under the 'Movies' tab in iTunes/Devices/(select any i/device) so I knew it was somewhere in my iTunes.  Yet, we couldn't access it via Apple TV.
    I fiddle around for a bit, restarting iTunes, restarting the iMac, to no avail.  Then I did a little housekeeping and moved a different movie I'd imported awhile ago, from the 'Home Videos' tab under iTunes/Movies.  Under File/Get Info, the 'Media Kind' was incorrectly set to 'Home Video' so I changed it to 'Movie'.  Thus the file was moved over into the Movies tab.  Hey Presto!  The Rented tab suddenly showed up, and there was my rented movie!
    This is the second time a movie rental did not show up after downloading.  Unfortunately my husband initiated the download so we figured he must've messed up somehow as he's not as familiar with iTunes as me.  Hence we opted to download the movie under a different iTunes account, which worked the second time with no problem.  Needless to say the invoice for the original download had no problem in finding us, hence we were effectively being charged twice for the same movie!  We have to contact apple support (such a hassle) but hopefully they will understand the issue (that's the difficult bit) and they are usually good at refunding when they finally accept the customer is genuine in their claim.
    In case anyone is tempted to critique my method, we download rentals through iTune on our computer as we had too many problems trying to rent via Apple TV.  Often the movie was not available to watch for many hours after it was rented, even though we'd start 'download' halfway through the day and sit down at night to watch it!  We have also had problems with movies that kept stopping during viewing because it wasn't streaming fast enough.  We'd give some time and come back to viewing, only to encounter the same.  One time we gave gave up and tried again the next evening, only to find the movie expired.  There is meant to be 48 hours after you've started viewing to resume watching a movie.  Apple's only response to this was to advise we needed a broadband internet connection to stream the movie - this was despite me already telling them we have broadband.
    Anyway, I hope this helps anyone experiencing similar issues with movie downloads.

  • When I attempt to connect to iCloud I get the error message: Apple id's email address cannot be verified.  There is nothing wrong with my apple id and I do not want to change it.Any suggestions?

    When I attempt to connect to iCloud I get the error message: Apple id's email address cannot be verified.  There is nothing wrong with my apple id and I do not want to change it.Any suggestions?

    Debi....
    Try "resetting" your Apple ID password >  Apple - My Apple

  • I live in Italy and opened my itunes account with an Italian credit card. I want to access only English itunes and Apple said I need to open separate accounts. Any suggestions?

    I live in Italy but am Australian and opened my itunes account with my Italian credit card and address, but that does not let me access itunes in any English country which is what I had wanted. Apple tell me I need to open separate accounts, complete with address and tel. Yesterday they told me I could do that with an itunes prepaid card but on the Aust itunes store the card was considered invalid (obviously because it is in Euro) Any suggestions? I am sure I am not the only person living in another country who needs access to itunes in their mother tongue......how backward is Apple!

    To be able to download content from another country's store you need a valid billing address in that country, and be in that country when buying from it.
    Apple can only sell content where the content provider's grant them licenses to do so, so if the music etc that you want to buy isn't available in the Italian store then it's because the provider's aren't letting Apple sell it there. Do you have access to other music purchase download sites which have the content that you want ?

  • HT5113 "Invalid code error" and "can't connect to the iTunes Store." Any suggestions?

    I keep getting an "invalid code error" when trying to preview a course with the enroll code. When I click on the link to the course, I get an error that says "can't connect to the iTunes Store." Any suggestions?
    I tried previewing a test course I made about a year ago. I was able to request access to the course, went into Course Manager and approved it, but hours later it still says awaiting approval on my iPad.
    Any ideas as to what could be going on, aside from a cruel April Fool's joke?
    Thanks.
    David

    How about trying to sign out of your account on the iPad, restart the iPad, sign back into the account and then try again?
    Settings>Store>Apple ID - tap on your ID and sign out - restart - go back - sign in.
    Other than going through the support article - if you haven't already done so - the only other thing I can think of is to reset/reboot the iPad. That can clear the memory and it does help solve a lot of "hinky" issues.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • HT1918 I have 2 Apple ID's, how do I delete the old one as its interferring with my new account and the music I have already purchased through ITunes does not want to play.  Any suggestions?

    I have 2 Apple ID's, how do I delete the old one as its interferring with my new account and the music I have already purchased through ITunes does not want to play.  Any suggestions?

    Why would you create a new account?
    All purchases will be tied to the account from which they were purchased.
    You will have to authorize your computer for all the accounts from which music is purchased.

Maybe you are looking for

  • How do I set up my iPhone to show message alerts on my locked screen only for messages sent by my contacts?

    iPhone now is able to show you messages received even though the screen is locked. This is time efficient. But I do not want to see messages on the locked screen from people who are not in my contacts list. I tried going to settings>notifications>mes

  • Laptop will not boot up.

    Installed recovery disk. Logo screen comes up momentarily. Tried F2 and F12, takes me to screen that says "the last attempt to resume the system from its previous location failed. Attempt to resume again? use arrow keys to highlight your choice. Cont

  • Recording from a stereo

    How do I set up a voice memo recorder to record from my stereo? It should be possible (as the manual on the voice memo recorder briefly notes, and Apple confirms), by switching the button behind the microphone from "mic" to "line." But so far I've on

  • 4:3 DVD footage in 16:9 canvas choppy when compressed played back on plasma

    I have a small 9 min job where I'm using a VOB file from a DVD (4:3) and placing it in a 16:9 canvas with pillars on either side. Built in FCP, output in Compressor, and burned to disc in DVD Pro. After following the usual steps I take when working w

  • ElGato's eyeTV 250?

    Hi everyone, I am looking for a way transfer my VHS tapes onto DVDs. I also want to record from TV if possible. I have been suggested to try eyeTV 250 by Apple. I am looking for good video quality. Can anyone who has used it provide me with some feed