Restrict program access ( only three user at a time)

Hi
I want to restrict the program only two users at a time ( with out using authorization object ).
Thanks & Regards,
K.Gunasekar.

Just an idea:
create a table with one column to store the userid. Each time the program ist started, you execute a SELECT COUNT( * ) on that table and EXIT from your program as soon as the table contains more that 2 entries. In case the table does not contain more than two entries, you can proceed after adding the SY-UNAME to that table. At the end of the prgram you have to delete SY-UNAME from that table.

Similar Messages

  • Concurrent program to be submitted y only one user at a time

    Hi
    I have an issue with one of my reports. The report is using temporary tables, those will under go insertion and deletion while the report is running. So, to make sure that two or more concurrent requests submitted for same report, will not conflict, I want to make my concurrent request to be submitted by only one user at a time.
    How can I do that?
    Any help is appreciated.
    Thanks
    BalaKrishna

    The "run alone" box should not be checked. This indicates that this program can only run when no others are running. Pl see MOS Doc 1078462.6 (Custom SQL Concurrent Program Returns NO MANAGER Error). This option should typically not be used.
    To be able to achieve what you need, set the incompatibility (as you have done) and then bounce the concurrent managers for the setting to take effect. Pl see these MOS Docs
    436186.1 - Cannot Make Concurrent Programs Incompatible With Itself
    142944.1 - How to Make a Concurrent Program Incompatible with Itself
    HTH
    Srini

  • 1. Does not start automatically  2. Only ONE user at a time

    When I plug the IPOD it should start iTunes automatically (I have the box checked) but it does not. Never has done that. I have the latest 7.1 version.
    Another pain in the rear is that only one user at a time can run iTunes. That stinks. If another user has it open you MUST log off, stop them, log on. They ought to make this work for all users as other windows pro rams do. If it is doing NOTHING with the library then I ought to be able to use it.

    That may be true but it is a real pain since when it happens the only way to recover is to terminate all of the iTunes modules with task manager and start it manually. It also leaves the IPOD in a state that says do not disconnect. You can disconnect since nothing is really happening but there is no excuse for this not to start much faster. When you have multiple users it is a real pain. It ought to be able to either end when finished or better yet allow multiple users simultaneously updating from different libraries.
    I guess i will just have to get in the habit of treating it as a single user and start and stop it every time I need it and be suer not to let it run. Not nice because that means waiting for larger Podcast downloads instead of having there ready for me when I sign on my computer.

  • Page should be accessed by one user at a time

    Hi friends,
    I have a new requirement where webpage should be accessed by one user at a time.Suppose if one user is using the page ,the other user should not be having the privilage to access tht page.NOw how to go about..If possibel pls help me with the code..
    Thanks in advance..
    Waiting for ur suggestion.

    Finally i am using a method..
    <script language="JavaScript">
      window.onbeforeunload = confirmExit;
      function confirmExit()
          document.LoginForm.action="next.php";
          document.LoginForm.submit();
        return "Are you want to exit this page?";
        return false;
    </script>
    </HEAD>
    <BODY onbeforeunload="confirmExit()">
    <form name="LoginForm">
    </form>
    </body>
    </html>I am using onbeforeunload ,so when ever the page is refreshed or user tries to move from the page i call function from tht i go to a page where i do file creation . when ever user access the page, simultaneously other users wiil be detained access for tht page..
    But the problem i am facing here is..whenever the user tries to change focus from the page a pop up comes up saying do u want to continue or not..if user press cancel actually the control has to remain in the same page but still the control is passed to the different page...
    pls advice on this..

  • Only one user at the time can execute VE01 (due to blockage of VEIAV)

    Hi,
    As I understand it only one user at the time can execute VE01 (or MEIS for arrivals). If someone is already executing the VE01 transaction the error-message "Table VEIAV is blocked by user XX" appears. It does not matter if one tries to execute it for different legal entities - no parallel processing seems to be possible.
    This is a huge limitation for a global concern with many entities operating in the same SAP instance. Does anyone recognize this problem and are there any ways to get around it? It does not make sense that dispatches (VE01) and arrivals (MEIS) cannot be executed for several organizational units at the same time in parallel?
    Thanks in advance,
    Mats Hansson

    yes I know this problem.
    One should not maintain much thru this transaction.
    for me it is not more than an emergency transaction, as it is not really more than table maintenance thru SM30
    You should investigate what entries/changes the users have to make.
    Limit these manual entries by having better data in the system, so that SAP can itself create the entries for this table.
    Organize more, less users , maybe just one per company who shall maintain VEFU manually.
    Train them to prepare their entries before they start using VEFU.
    Explain that they should leave VEFU as soon as possible as the block other users.
    assign maintenance windows to the users.

  • Is there a way have a file only accessable by only one user at a time

    Here's the question...
    I want to set up a file so that it can only be accessed by only one person at a time - is there any way to do this?

    Turn off fast user switching and autologin, making all users log off before other users can use the machine.

  • Only one user at a time allowed to open MS Access database on a Mac share

    I have an issue trying to open a Microsoft Access database from our Mac OS X Server running on XServe.
    The MS Access file is stored on a Share Point on the XServe. Windows XP clients open the database. The problem is that it will only allow one user at a time to open the file. The has previously been operating fine when it was stored on a Windows server.
    The Group's permissions for this Share Point allow Read & Write.
    Any thoughts would be much appreciated.

    I think you're being misled a bit by the interface: the checkbox labelled "Strict locking" doesn't just allow strict locking, it requires it (and thus disallows byte-range locking). That is, with strict locking enabled, any client that tries to lock any part of the file actually locks the entire file. Access normally depends on byte-range locking to allow different clients to share the database (as long as they aren't trying to modify the same part of it at the same time), but with strict locking the first client locks all others out.

  • Only one user at a time can log in per client

    Server: 10.6.2
    Client: 10.5.8
    The share point on the server is the default of /Users. Home directories are configured as /Network/Severs/hostname/Users/username. In the "Home" tab of each user, the home directory shows up as "afp://hostname/Users", which is the default when creating a user.
    On a given client, only one user can log in at a time. If the first user switches to the login screen without logging out (fast user switching), when the second user attempts to log in, they get an error "You are unable to log in to account "xxxx" at this time."
    Looking in the secure.log, the error appears to be "file busy":
    Mar 7 12:13:39 G4-MDD authorizationhost[677]: ERROR | -[HomeDirMounter mountNetworkHomeWithURL:attributes:dirPath:username:] | PremountHomeDirectoryWithAuthentication( url=afp://Mini.local/Users, homedir=/Network/Servers/Mini.local/Users/xxxxxx, name=xxxxxx ) returned 16
    The server's /Users directory is mounted. It appears to be trying to automount another copy, rather than use the existing mount.
    How do I resolve this so multiple users can be logged in at one time? Surely I don't have to create a share point for each user?

    I'm glad to hear I'm not the only one encountering this problem, although the fact that this problem has apparently existed for some time is mind boggling to me. The idea that there is some data corruption issue here is not a valid concern. We did this all the time on Linux in my previous life. There is no need to unmount the mounted directory, at least in the default case. The mount point is /Users. Home directories on the server are /Users/fred and /Users/sally. Automounter mounts /Users at the mount point /Network/Servers/serverhostname/Users. Fred is logged in and can access /Users/fred. Now Sally wants to log in. /Users is already mounted. There is no reason to unmount/remount /Users. OS X can see it is already mounted. Just log Sally in - she already has full access to her files.
    If Fred and Sally reside on different servers, then there would be different mount points /Network/Servers/hostname/Users - again no conflict in the mount points.
    The only solution I can see right now is a separate share point for each user, which is unacceptable. That might work for my two users. It's hardly scalable from a maintenance standpoint.
    I do have the problem of fred logging out and sally not being able to get in right away, but that period is probably less than a minute. Wait a minute, then sally can log in.

  • Only one user at a time

    I'm looking for help.
    I have two user accounts on my iMac. Both have their own iTunes library file but these both reference to a shared store of music files (to avoid duplicates). I would now like to move this shared music to an external HDD attached to my TC.
    My problem is this. If user 1 first accesses the external HDD then when user 2 tries to do so there is a little red icon on the folder and permission is denied. If I disconnect all users from the TC and then retry with user 2 the problem is reversed. It seems to me that only one user account is allowed to access a TC external HDD at a time. Is there any way around this?
    In case anybody asks, my reason for moving the files is that I am hoping to buy a Sonos music system, which can read iTunes music from the TC as though it were an NAS, even if the computer is off.

    I think you're being misled a bit by the interface: the checkbox labelled "Strict locking" doesn't just allow strict locking, it requires it (and thus disallows byte-range locking). That is, with strict locking enabled, any client that tries to lock any part of the file actually locks the entire file. Access normally depends on byte-range locking to allow different clients to share the database (as long as they aren't trying to modify the same part of it at the same time), but with strict locking the first client locks all others out.

  • Restricted/View Access Only - User

    Hi,
    I have a need to create a user account on our ASA (8.x code) device but only allow them read access; particularly, view the overall config and interface statistics.
    I have tested with an account, but my attempts at setting the privilege level seem to be ineffective at restricting accesss. How might I accomplish this task?
    thanks,
    Jim

    Jim, you should get it working after reference this thread.
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Security&topic=Firewalling&topicID=.ee6e1fa&fromOutline=true&CommCmd=MB?cmd=display_location&location=.2cc2c575/4
    If still have issues let us know.
    B.regards

  • Restrict telnet access for specific users on ios router

    aaa new-model
    aaa authentication login default local
    username aaa password aaa
    username bbb password bbb
    user aaa should have ssh and telnet access.
    user bbb  is only used for vpn authentication, i dont want him to access router via ssh or telnet ,even in user exec mode.
    i also can not  apply access-class on vty lines because i am loging in device from different places ,and dont know exact ranges of ip address to create access-list
    radius and tacacs is not option for me
    what can be done in order to restrict user bbb from ssh and telnet access ?

    OK. I did not clearly remember the OP description of aaa and bbb. So for bbb to only have VPN access try
    User bbb password bbb privilege 0
    HTH
    Rick
    Sent from Cisco Technical Support iPhone App

  • Restrict Outlook Access Only To Domain Joined PCs?

    We have contractors that use their employers laptops to access various LAN resources on our network such as access to shared network drives, printers, Remote Desktop and access to our Intranet sites.  They have mailboxes on our Exchange servers and
    we would like their mailbox access to be restricted to EAS and OWA, not Outlook unless they are using one of our domain-joined computers.  
    The main reason for this is to restrict these users from downloading their mailbox contents into into a personal folder.  We can create PST restrictions on our domain-joined PCs via group policy, but these policies would not apply to computers not joined
    to our domain.
    Of course we would also like to prevent Outlook access to their mail from their home PCs that they may have installed Outlook on, but we still need seamless remote access to Outlook on domain-joined laptops used remotely.
    How can this be done?

    PS -- Andy are you going to MEC ?
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
    I will be there will bells on!
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • Z Programs accessed by a user

    Hi All,
    How can i see find out info about the users who have accessed (not changed ) the Z (ABAP) programs in the past one month.

    Hi Kumar,
    As already most replies have stated:
    Use transaction <b><u>STAT</u></b>. This is the correct transaction. But it is also very tricky. If you need to collect a full month, the best way is to run the related program in the background (btw. Not RSSTAT21, because this is the popup screen for the parameters).
    You can use the following parameters to fill:
    User            [*           ]
    Transaction     [*   ]
    Programma       [Z*      ]
    Task type       [*]
    W.Process.....  [* ]
    Start date      [03.05.2005]
    Start time      [00:00:00]
    End date        [03.06.2005]
    End time        [24:00:00]
    Number of recs  [10000     ]
    Leave the rest empty
    You must see, that the parameter Number of recs MUST be filled (otherwise your default user amount will be used).
    When using a small amount, with the buttons on the report screen you can collect next pages.
    The here proposed settings will take an long time to process. If not on a fast system, you should use report <b><u>RSSTAT20</u></b> in the back-ground. But keep in mind, that you need to use the 'EXPORT' construction in RSSTAT21 to place the parameters in memory.
    Therefore you probably need to write your own routine.
    Hope this will help you.
    Regards,
    Rob.

  • MS Office Program Accessibility from Different Users

    I have OS 10.8.4 and am running MS Word 12.3.6. I can access all the MS programs just fine with my user account. My wife and son can no longer access the MS programs with their user accounts. Every time they try to open any MS program they get the registration program. We try to register and it tells us we don't have to do that but it will still not open the programs. Anyone?
    Thank you.

    Have you contacted Microsoft? They have help forums at http://www.microsoft.com/mac

  • MRU - trying to restrict UPDATE to only certain users - everyone INSERT

    Application Express 2.2.1.00.04
    I’m looking for a solution to a problem. I have a region that is a multi-row SQL Query (Updateable). Everything works as expected. Now, I’d like to restrict the ability to update ANY rows based upon an authorization scheme.
    I want everyone accessing my application to be able to insert rows (WORKS FINE).
    I only want certain authorized people to be able to update existing rows (CAN’T GET THIS TO WORK).
    Anyone have any ideas?
    Thanks, Mike

    Hi Mike,
    I think you have two possibilities:
    1) Create a page validation with some similar code:
    DECLARE
        vHasUpdatePriv BOOLEAN := apex_util.public_check_authorization('MY_AUTHORIZATION_SCHEME');
        vExists NUMBER;
    BEGIN
        FOR ii IN 1 .. Apex_Application.g_f01.COUNT
        LOOP
            IF [check if record has changed by comparing against MD5 checksum]
              AND Apex_Application.g_f01(ii) IS NOT NULL -- I assume f01 stores the PK
              AND NOT vHasUpdatePriv
            THEN
                RAISE_APPLICATION_ERROR(-20123, 'You try to update, but you don''t have update privileges!');
            END IF;
        END LOOP;
    END;Or if you don't want to care how to check if a record has changed, take a look at http://inside-apex.blogspot.com/2006/12/plug-play-tabular-form-handling.html
    With that library the code would look like:
    DECLARE
        vHasUpdatePriv BOOLEAN := apex_util.public_check_authorization('MY_AUTHORIZATION_SCHEME');
        vExists NUMBER;
    BEGIN
        FOR ii IN 1 .. ApexLib_TabForm.getRowCount
        LOOP
            IF    ApexLib_TabForm.hasRowChanged(ii)
              AND ApexLib_TabForm.NV('YOUR_PK_COLUMN') IS NOT NULL
              AND NOT vHasUpdatePriv
            THEN
                ApexLib_Error.raiseError
                  ( pError => 'You try to update, but you don''t have update privileges!'
            END IF;
        END LOOP;
    END;2) You could write your own MRU process, which does the same as above, but additionally you also have to check for lost-update-detection, ...
    Hope that gives you a direction
    Patrick

Maybe you are looking for

  • Floating VI front panel

    I have question regarding keeping a specific VI front panel always "On Top" of any other front panels(Sort of like toolbar pallete floats over the "main" window in LabVIEW). I can set the front panel properties to be a dialog (ModaL) but then I don't

  • My iPhone 5 got problem when connect with lighting cable, this will keep pop up message "this accessory may not be supported"

    My iPhone 5 got problem when connect with lighting cable, this will keep pop up message "this accessory may not be supported", I can't charge or sync at all. I tried plug and unplug many time, still can't detect/charge my iPhone5, but sometime will '

  • Attachments in SOAP adapter

    Hi, I am working on SOAP adapter and in the adapter there is an option called "keep attachments".Can you please let me know what this is.Does it mean we can send any file attachements like pdf,.txt etc?Not sure how the webservice can hold the file an

  • Custom Field & "Solved" post

    I inadvertently posted this to the iPhone group - sorry for the second posting... I am trying to create a Custom field in address book on a group of contacts. Is this possible or does each one need to be changed individually. Also, I can't seem to ma

  • External Sample Editor Broken

    "To transfer audio edited in the external sample editor back to Logic Pro Save the file in the external sample editor, then switch back to Logic Pro. The edited audio will be updated in the Audio Bin and Arrange area, if regions based on the audio fi