Not allow more than one person to change program

Hi All,
My requirement is that i want to change details of purchase order in module pool programming. I dont want more than one prson to change the same purchase order at the same time. Can someone tell me how can i achive this.
Regards
Shilpa

Hi Shilpa,
Is this a Z module pool or you are talking about the standard.
If it is Z module pool create a new lock object of type exclusive or look out for standard lock object for purchase order in SE11.
after generating the custome lock object SAP would generate 2 function modules 1) Enqueue_<lock object name> (Request lock) 2) Dequeue_<lock object name>(Release lock).
call these lock FM'S in your module pool likely in the PBO call the Enqueue FM and process your transaction and finally by the end of the transaction call the Dequeue FM to release the lock locked.
I believe you can try with the lock object 'EMEKKOE'
Hope this helps you.
Thanks and Regards,
Ranjith Nambiar

Similar Messages

  • Should not allow more than one attendance or absence code on any given day

    Hi Hr Experts ,
    I need to use customer enhancement in my program.
    CATS should not allow more than one attendance or absence code on any given day. requirement is
    that each day will be either a full attendance or full absence and there will not be any mixture.
    Function/Program: u2022
         EXIT_SAPLCATS_006: CATS: Validate Entire Time Sheet
    transaction code CAT2.
    how to code the same?

    hai,
    check the Time constraint class for absence/attendance types.
    Regards,
    Chiran Reddy.

  • jsp:useBean, oc4j does not allow more than one???

    Hi,
    I have a jsp in which i access a bean class.In the same jsp i have another included jsp in which i use one more bean class.The error i get is: "Tag attempted to define a bean which already exists:2nd bean id". Does oc4j not support more than one bean class?Can anybody suggest where i am going wrong?

    Hi Shilpa,
    Is this a Z module pool or you are talking about the standard.
    If it is Z module pool create a new lock object of type exclusive or look out for standard lock object for purchase order in SE11.
    after generating the custome lock object SAP would generate 2 function modules 1) Enqueue_<lock object name> (Request lock) 2) Dequeue_<lock object name>(Release lock).
    call these lock FM'S in your module pool likely in the PBO call the Enqueue FM and process your transaction and finally by the end of the transaction call the Dequeue FM to release the lock locked.
    I believe you can try with the lock object 'EMEKKOE'
    Hope this helps you.
    Thanks and Regards,
    Ranjith Nambiar

  • Best way to not allow more than one user on page.

    Do not want another user editing a record on a page when another user is on that page.  Any ideas on the approach I should use?

    Please provide more information. What you describe is the normal, default situation anyway.
    A thousand of us have opened a page. Our browsers each caches a copy of the page. So, in normal circumstances, one is not really on the page. If the 1001st client were to open the page and edit the record, we wouldn't be aware of the change till we refresh or revisit the page.

  • More than one person making changes - wait or alternative?

    Hello all,
    We are currently using ical to keep track of events in the company, and publishing this information so that colleagues (who work on different locations) can keep up to date.
    What we really need, however, is for them to be able to make changes in the calanders published centrally, and vise versa.
    It seems Ical is unable to facilitate this, which brings me to the following questions:
    Are there any indications this feature will be available in the (foreseeable) future?
    Are there alternatives? Which software has Ical's capabilities but also allows multiple users to access and alter calendars?
    I am getting desperate, so I hope someone has some good advice!
    Lianne.

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • HD-DVD created with DVDSP will not use more than one subtitle track

    I have made an HD-DVD with DVD Studio Pro 4.1.2, and added 4 subtitle tracks. When I play the dvd on a Toshiba A1, Apples DVD player and in the emulator I can change the subtitle track in the way that I can see the country code is changing, but no matter what it will only show me the subtitles from the first subtitle track. If I try to change the subtitle track using the remote, I can only turn the first subtitle track on and of, not switch between the different subtitle tracks. I'm a skilled dvd author, and have had several other authors look into the project finding no errors in my programming, so could this be a bug in DVD SP? Does it not allow more than one subtitle track?

    Could be a bug in DVDSP. Also could be a bug in the players firmware. DVDSP never really made it has a fully functional HD DVD authoring tool.

  • HT1277 I have OS X 10.9.2 and have downloaded maverick. If I am sending an email message to one person, options for addresses  from my address book show up. However if I want to send it to more than one person, the address options for the others do not sh

    I have OS X 10.9.2. and have downloaded Maverick. If I am sending an email message to one person, options for addresses from my Address Book appear. However if I want to send it to more than one person, the potential addresses for the other persons do not show. Can you please help?

    Install ClamXav and run a scan with that. It should pick up any trojans.   
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • In which IT To Date is not allowed & not having more than one record

    Hi all,
    Could you please tell me "In which IT To Date is not allowed & not having more than one record ?"
    Thanks in advance
    Regards,
    Asiya

    Hi,
    Just go through IT0003 and see if it fulfills the requirements or not.
    Param

  • Will not send text to more than one person

    All of a sudden my phone will not send text message if it is going to more than one person.  Plus it would not send a video that I received in a text message.  In the past I could send a text message to more than one person and could send videos.  Any ideas?

    Are you retaining copies of sent texts? My coworker had over 500 messages
    in a sent text folder.
    Geoff
    Private info removed as required by the Terms of Service.
    Message was edited by: Admin Moderator

  • Can more than one person change a published calendar

    Say you want to publish a calendar for a group and want to give access to everyone to make changes but also want those updates to be reflected on everyones ical within the group, is this possible?

    Greetings and welcome.
    At present, no, you can't have more than one person edit a published calendar. But with the release of OS X 10.5 you can, if you get the server version. At least that's what the latest word is.

  • Outlook (ex Hotmail) on iPhone refuses to send e-mail to more than one person

    Hi,
    I have two questions today...
    When I try to send an e-mail to more than one person from my @outlook.com address on my iPhone it fails everytime and a message pops up that it could not connect to the server. Sending e-mails to one person at a time works perfectly. I think this is a Microsoft issue as I had to verify that I was "human" before I could send a test e-mail to more than one person while logged into the Outlook website on my PC. I never had problems like this on my old Gmail and Ymail accounts. Any ideas how to fix this?
    Alternatively, I can use my @icloud.com e-mail address, but this leads to my second question. Apple states that I cannot use my iCloud e-mail address as my Apple ID. I do however not want to keep two mailboxes. Can any e-mails Apple send me (eg. receipts for purchases, etc) be sent to my iCloud address? I'll can then just keep the other e-mail address just for the Apple ID but do not have to monitor it. It this can be done please advise where I can change this.
    Any advice will be greatly appreciated.

    Some style rules that Firefox handles well on the screen can cause this problem. Many email sites have a print button which simplifies the message format and removes navigation elements, etc., and Firefox generally handles print-formatted pages better. If your email site doesn't have print-formatted pages or those do not print, a "hack" is to select the text you want to print and then choose the Selection option in the print dialog.
    To hide email addresses from recipients, you need to place them in the BCC field. What do you put in the TO field in that case? You can use your own address.

  • IT 0105 subtype 0001. Assign one System user to more than one person?

    Hello, Gurus!
    We are maitaining Hr master data (infotype 0105 - Communication, subtype 0001 - System User name). We have two person: person A and person B. Person A have communication with system user C. When we communicate person B with same system user C, we gettin error:
    "ID/number already used for person A".
    The time constraint is set to 3 (Record may include gaps, can exist more than once"
    Is it possible to assign one system user more than one person?
    This condition is checked by FM CHECK_USRID. We assume, what the result of this checking can be changed from "Error" to "Alert", if we will change one record in table T77S0:
    Current value:
    GRPID=MAIL
    SEMID=SAPSY
    GSVAL=0001
    Table record after modification:
    GRPID=MAIL
    SEMID=SAPSY
    GSVAL=0002 (or any digital value, which is iffer from "0001"
    Should we expect negative consequences of similar modification?
    Please, advice.

    Thanks for explanation.
    But there is a little moment, that I can not understand ((
    We check PAI module of CHECK_USRID (include MP010530, screen 2000) and find folowing fragment of ABAP code:
      CALL FUNCTION 'RH_GET_HR_USER_SUBTY'                       "YRAK040203
           EXPORTING                                                     "YRAK040203
                 mandt                 = sy-mandt                     "YRAK040203
            IMPORTING                                                     "YRAK040203
                 hr_subty              = hr_subty                         "YRAK040203
            EXCEPTIONS                                                    "YRAK040203
               SUBTYPE_NOT_AVAILABLE = 1                                "YRAK040203
                 OTHERS                = 0.                               "YRAK040203
        IF p0105-usrty = hr_subty.                                        "YRAK040203
        MESSAGE E900 WITH  PA0105-PERNR.                           "YRAk028906
          MESSAGE e900 WITH object_found double.                     "YRABEWERBER
        ELSE.                                                                  "YRAK040203
        message W900 with pa0105-pernr.                                 "YRAK040203
          MESSAGE w900 WITH object_found double.                     "YRABEWERBER
        ENDIF.                                                                 "YRAK040203
    where p0105-usrty=0001 and hr_subty is equivalent field GSVAL=0001 in table T77S0. In other terms, when we are
    maitain subtype 0001, the first condition (marked bold) is always executed.
    For what the "else" condition is used, if it never be executed? If we will change value GSVAL from 0001 to 0002, theoretically, we will get "warning" instead "error", because p0105-usrty = hr_subty=false and code MESSAGE w900 WITH object_found double will be executed.
    Any ideas?
    Regards.

  • Hiring more than one person to the same position.....

    Hello, experts,
    Am surprised to see that I cud hire another person for the same position which was already occupied 100%. I understand that a position may be filled by more than one person, totalin to 100%. In this case, though one person occupies the position to 100% full, am still able to hire. Could anybody help me with this as to why is it so.
    thank you,
    Sarita.

    Hello sarita,
    The problem is coming from the setting of the relationship A008 in table V_T777ZVK, which is set to 2 instead of 3.It is not recommanded to change the standard setting as it can cause issues, which can be critical, refer to note 396103 for mor information on the consequences.
    If you want to have warning message in PA40 when assigning position to make sure only one person is assign to one position, you can do the following:
    If the 100 % check is set to 'W' in T77VA you get a warning message
    telling you that the A008 relationships of P xxxxxxxx exceed working
    hours by xxx % Message no. 5A 321
    You should set this flag to 'W' for example when there are two persons who should be assigned to the same position, i. e. when they are working part time.
    If the 100 % check is set to 'E' in T77VA you will get an error message telling you that A008 relationships of S xxxxxxxx exceed 100 % by 100.00 % Message no. 5A 323
    To get this error message please make sure, that you have maintained both entries in table T77VA (relationship characters):
    Best Regards,
    Deepak.

  • HT201077 Can more than one person upload photos to the shared Photo Stream?

    Is there any way that more than one person can stream their photo on the same Photo Stream Album?

    That's just the way it is right now.  But if you would like to see this changed you can tell Apple here: http://www.apple.com/feedback/icloud.html.

  • How do I use AE to allow more than one device with my cable modem?

    I connected by AE to my cable modem at my house in Japan and it works fine on "bridge mode," but only for one device at a time (this laptop, but not my iPod Touch, or vice versa). As soon as I connect a new device, it will kick the other one off. It seems that my cable modem here will only allow one device. Is there a way that I can use my Airport Extreme to allow more than one device and not have to pay the Internet provider extra for multiple IP addresses? How do I go about this? Do I select "share a public IP address" or do I select "distribute a range of IP addresses?" I tried these options but obviously wasn't doing it correctly, because then I lost the connection for everything... Thanks!

    It would be best if you "hard reset" the Airport Extreme to clear out the old and conflicting settings and then reconfigure it again.
    Hold in the reset button until you see the amber light begin to blink more quickly. Keep holding for another 3-4 seconds when you see this and then release the reset button. That will get the Extreme back to the original starting point.
    After you have powered the modem back up after the full reset, you will need to reconfigure the AirPort Extreme again. If you are using he guided setup in AirPort Utility, you will choose the option to "create a wireless network" during the setup.
    If you are using the Manual Setup, the Wireless Mode will be "Create a wireless network" and the setting for Connection Sharing would be "Share a public IP address". Adjusting the Connection Sharing setting would be the last thing that you do before you click Update to save settings.
    Here, I am assuming that you have a simple cable modem (it will have only one ethernet port), correct?

Maybe you are looking for