Lock when using ARFC2

Hi,
Let me explain you a scenario in 7.0. I have a summary listing screen and when you click on a link on the summary table, it navigates to the details page.
When you navigate to the details screen, create a new Jco client and we execute one RFC using it , RFC is coded to add a lock entry against the table and user id.
when we move out of the details screen, we have to delete the lock entry.
the lock entry will automatically gets deleted when the Jco session(by which the lock is created) is released. So in order to do that, we release the session when you exit from the details screen.
also  we keep the Jco client session until we exit the details screen as we have an option to share the Jco Client between the RFC calls. we use the same Jco client for all the RFC calls until we exit.
But in 7.3 we do not have that option to share the Jco Client . So is there any way to keep the lock active until we exit from the details screen.
I could find similar topics in the below discussions. But those are unanswered
http://scn.sap.com/thread/1843581
http://scn.sap.com/message/6812304#6812304
Thanks

I completely agree!
I originally had the 4 digit PIN set on my iPhone which, while sometimes annoying to have to enter, was not overly difficult to enter especially when walking along with only one thumb free to push the 4 digits. Now that I have exchange going my whole phone is locked with an alpha numeric and special chr passcode which means I have to use the keyboard.
Now I cannot enter the code without stopping and carefully typing the full password. There should be an option to get into most apps with a simple 4 digit passcode (with a nice large number entry pad) and just have anything associated with exchange (eg. mail, calendar, contacts) locked with the full passcode (requiring a full keypad and careful typing).
I really need a quick way to unlock the phone and make a quick call without having to enter our cryptic exchange passcodes all the time.

Similar Messages

  • Locking when using a component as an object in the application scope...

    I have a component that I am building right now that hold
    application settings that are stored in a database table. The
    settings are maintained in a structure "variables.settings" within
    the component and can only be accessed by get and set methods. I
    use the following to create the instance of the object:
    <cfset application.settings =
    createObject("settings","component").init() />
    Now when getting a setting I do not think locking is needed
    as its just reading the value and I am not really concerned with a
    race condition...
    But when using the set method which will update the value of
    the setting.... should I be locking that as technically the object
    is in a shared variable scope? Or is it safe because its within the
    cfc/object?
    If locking is needed, would I need to lock when using the set
    method? or can I just build the lock into the set method so that
    its always there?

    To disagree with craigkaminsky, I think you only need to lock
    if you are
    concerned about race conditions and what could happen during
    a 'dirty
    read' and|or conflicting writes.
    A lot of developers have an old impression of ColdFusion that
    one *must*
    lock all shared scope variable access to maintain a stable
    application.
    This dates from the ColdFusion 4.5 days where there where
    bugs in
    ColdFusion that could cause memory leaks and eventual
    application
    instability if one did not lock shared scope reads and
    writes. This has
    long been fixed, but the advice persists.
    So now it is only a matter of your data and what would happen
    if one
    user read an old value while it was in the process of being
    updated by
    another user. Or could two users be updating the same value
    at the same
    time and cause conflict. If either of those two statements
    are true,
    then yes you should use locking as required by your
    application.
    But if they are both false and it does not matter that user A
    might get
    the old value microseconds before user B changes it. Or there
    is no
    concern with user A changing it once and user B changing it
    again to
    something different moments later without knowing the user A
    has already
    changed it. Then locking is probably unnecessary.
    There can be a cost to over locking shared variable writes
    and|or reads.
    Every time one creates a lock, one is single threading some
    portion of
    ones code. Depending on how the locking is done, this single
    threading
    may only apply to individual users or it may apply to every
    single user
    on the entire server. Either way, too much of this in the
    wrong places
    can create a significant bottle necks in ones application if
    too many
    user requests start piling up waiting for their turn through
    the locked
    block of code.

  • Shutter locks when using the camera in AV mode.

    EOS Rebel T3i - Shutter locks when using the camera in AV mode.  It actually freezes up when in this mode...no it's not just allowing more light in through the shutter but rather locking in the open position.  How can I resolve this? Thank you.

    Does it do this in bright sunlight at the lowest f/number?
    How do you know the shutter is locked open?
    Does it do this on multiple lenses?
    How long does the phenomenon last, and how do you stop it?
    Do you end up with an image? Is it totally overexposed and motion blurred?
    Positive it is not mirror lockup?
    Scott
    Canon 6D, Canon T3i, EF 70-200mm L f/2.8 IS mk2; EF 24-105 f/4 L; EF-S 17-55mm f/2.8 IS; EF 85mm f/1.8; Sigma 35mm f/1.4 "Art"; EF 1.4x extender mk. 3; 3x Phottix Mitros+ speedlites
    Why do so many people say "fer-tographer"? Do they take "fertographs"?

  • Hide passcode lock when using projector

    Is it possible to hide the passcode lock when using a projector? I'm a teacher so when my ipad locks and I want to unlock it the whole class can see my passcode unless I unplug it first!
    Thanks

    Many projectors have a button or option to 'black' the screen, which keeps the projector on, just in some way doesn't show any light, making it easy to show something else on the same screen. See if yours has the option, and if so, press it, put your code in, then press it again.

  • Releasing locks when using "Navigate Pushbutton" in Web Interface Builder

    Hi
    I am creating a basic BPS application in Web Interface Builder for manual data entry into a Cube.
    I have a requirement for a user to navigate away from the data entry screen to a "Start Screen".  To do this, I am using the "Navigate Pushbutton" component.
    When the user navigates away from the data entry screen, I want the locks to be released.  I have attempted to do this using the "End Command" attribute of the Navigate Pushbutton to "True".  According to the Help for this attribute, the following should happen:
    " When this property has the value TRUE, the page context will be lost when you press the pushbutton (and all locks are deleted)."
    However, when I look at the locks in SM12, I can see that the locks remain, even after the user has clicked on the Navigate Button.
    Therefore, it would appear that the "End Command" attribute does not release the locks when it is set to True.
    (By the way, I have also tried setting it to false, but the same issue occurs).
    Has anyone got any advice on how I can solve this?
    (We are running BW 3.1).
    Thanks in advance for any thoughts.

    Hi,
    You are correct this is standard functionality that should work. Please post the solution proposed by SAP.
    As a stop gap you can look at this topic
    User Lock BPS Web interface
    thanks

  • Crash/lock when use special symbol palette in iDVD 6

    I tried to use the special symbol palette to try to insert special language characters in the comments on a picture in a slide show. On choosing special symbols from the menu line (Edit) all seemed to be fine until I tried to choose another category of symbol from the palette.
    At that point the symbol palette goes blank or only part of the information is visible and I can not close or move it. Often iDVD also locks and I have to force the application to quit.
    After that, the blank symbol palette keeps popping open (then closing) when working with other applications. Cold restarts do not cure the problem. Only solution I have found to stop the annoying pop up of the palette is to delete the file in user preference (com.apple.CharPaletteServer.plist)
    I try to do the same operation again with the same results. Do not know if this is a new problem or long standing since I had never used the palette before with iDVD. I can clear the created problem with the hanging palette, but the palette is esentially unusable. Character palette seems to be ok when using it from the international keyboard menu.
    (The reason to try to use the palette was I could not paste names in a language that do not use Mac's standard diacriticals. Why is there no font menu choice or ability to paste a name from another application that has font menus?)

    Wow-totally missed that-sorry. I guess i assumed that you didn't do that because that is about the only thing that I know of to fix it.
    I guess you could try Validating fonts
    http://docs.info.apple.com/article.html?path=FontBook/2.0/en/fb1003.html
    I'm out of ideas...but, I am certain that others will show up that have other ideas though.
    Sue

  • XControl always locked when used in class -- possible bug?

    Hi,
    This is not dissimilar to this question. However, I think that the issue is slightly different and possibly a bug. If do the following:
    create a project,
    create an XControl,
    create a class,
    add an instance of the XControl to a class method
    you should see that the XControl is locked all of the time. This only occurs when the XControl is used with a class. If the XControl is placed on a VI, in a project library or not, the XControl will only be locked when the VI which is using it is open (i.e., in memory and the XControl is running).
    This may be expected behaviour due to the way classes are loaded; however, as a user I find it unexpected -- is it a bug?
    Regards,
    Steve.
    Solved!
    Go to Solution.

    Unlike normal libraries (.lvlib), classes always load all their member VIs into memory when the class is loaded into memory.  So if one of those VIs uses an XControl, then it will become locked as soon as you load the owning class into memory, even if the VI is not open.  You might be able to get around this by right-clicking the XControl in the project and selecting "Unlock Library for Editing".  This will temporarily break any VIs that call the XControl until you are done editing it.
    Chris M

  • Unwanted Database Lock when using CAF BO method 'update'

    Hi all
    We are using the Composite Application Framework (CAF), and Business Objects (BOs) to save data on the database. A service call is using a BO ‘Update’ method as follows:
    _location.debugT("Test debug line 4");
    getBOSalesDataService().update(salesData);
    _location.debugT("Test debug line 5");
    The same method is then called by another service, while the first service is still active. It does not error, but it waits until the first service has timed out. You can see this from the following screenshot:
    I think this is because the first service sets a lock on the SQL database. This is not an explicitly coded lock, but a database lock. I’ve tried using the following statement:
    getBOSalesDataService().unlock(salesData.getKey(), IBusinessObjectNodeServiceBase.MODE_WRITE);
    It doesn’t work. I think this because the lock was not created by a ‘lock’ statement. Are there any other statements I can use to commit
    all database updates? If it was ABAP, I would use a ‘COMMIT WORK’, is there a Java / CAF equivalent?
    I have spoken to our Basis consultants, they have shown me Solution Manager where we can actually see the locks happening. Session ID 53
    is the first update, 54 is the second.
    Thanks
    Iwan

    For updates you actually need a lock to avoid inconsistencies.
    the lock should automatically be released when the JTA transaction is completed - in the case of CMP EJBs when the first service is finished...

  • Bookmarks not working (locked) when using same Windows Profile on multiple machines

    My bookmarks are not working. I am using the same profile folder on two different machines (Desktop and Notebook) as I use the same Windows profile on both machines. The common profile folder is located on a third machine on our company network. Once I connect both machines to the network the bookmarks on one machine become unusuable as the other machine locks the bookmarks file. How can I manually unlock the bookmarks file places.sqlite? Renaming it and restarting FF does not help.

    Hi Sir,
    Please apply the following Group Policy Setting for user and computer configuration, then to see if the issue persists.
    Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limits.
    - Set time limit for disconnected sessions - 1 minute
    Policies\Administrative Templates\Windows Components\ Remote Desktop Services \Remote Desktop Session Host\Session Time Limits.
    - Terminate session when time limits are reached - Enabled
    Policies \Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Connections
    - Restrict Remote Desktop Services users to a single remote session - Enabled
    On the Connection broker applied the below user configuration
    Policies\Administrative Templates\Windows Components\Terminal Services\ Remote Desktop Services \Session Time Limits.
    - Set time limit for logoff of RemoteApp sessions - Immediately
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • Screen locks when using earphones

    [Topic title updated by moderator to be more descriptive. Original topic title was: "skype"]
    I'm using Note 2 for skype. When I'm using my earphones to skype, my phone always lock the screen. I can still hear my friends my phone is lock. Everytime i unlock it, it will lock right away. So is my phone the problem or skype ?

    I have the same problem with my sony experia Z1 compact. plus even if i do not have the earphones skype is locking the screen from time to time it's really annoying as I can not send pictures or messages because it is still locking the screen. 

  • Illustrator CS3 Windows - Freezes/Crashes/locks when using open dialog.

    I have looked all over the internet for a solution like this and tried all sorts of possible combinations and none worked.
    So I set about tracking it down one afternoon. It only took me 4 hours to find the issue.
    I think it's when the Version Cue preferences gets corrupted.
    SOLUTION:
    Close Illustrator. If it's crashed used task manager to stop the application.
    Navigate to: C:\Documents and Settings\username\Application Data\Adobe\ and remove the workflow directory completely.
    Restart Illustrator and the workflow directory will be recreated and now you can open your files with a dialogue as you would normally expect to.
    Good Luck

    The video card is opening the Save dialog offscreen, outside the visible desktop area.
    Select Alt+ Spacebar, choose move and then use the arrow keys to move the dialog box back on screen and resize it so it fits and opens in the correct position.

  • Illustrator CS3 grays out and locks when using Save or Save As

    In the past few days everytime I try to save an existing or new file with Save or Save As i see the save dialog box flash and then the whole program locks and grays out. The only way to close is to do a control-alt-delete. This happens for new files and existing files. I tried renaming the preference file so it would create a new one and that didn't work. I have cleaned out the temp files and I have plently of memory and RAM so that is not the issue either. We can't seem to find our CDs to do another install so are there any other ideas someone can give? this is also happening with my Photoshop CS3 and my InDesign CS3. I think it may have something to do with a microsoft update... thats the only thing that has changed on my PC in the last week. Oh and i also did a virus scan, nothing. thanks

    The video card is opening the Save dialog offscreen, outside the visible desktop area.
    Select Alt+ Spacebar, choose move and then use the arrow keys to move the dialog box back on screen and resize it so it fits and opens in the correct position.

  • My apple ID is constantly being locked when using my iPhone4

    In the past month or two, my apple ID has been locked every single time ive tried to download anything from the app store. I have to go in, reset it via email, then verify my billing information. EVERY TIME..... I keep changing my password. What the **** is going on!?!?!

    I believe that you will have to enter a credit card now anyway, even if you want to download free apps. There is a very specific way in which an iTunes account has to be created if you don't want to use a credit card.
    Create iTunes Store account without credit card - Support - Apple
    You don't have to use the credit card after you fully set up the account and get it to work, Apple will put a $1 hold on the account that is used only to verify that the card is valid. The charge will be removed.
    After you enter the credit card you should be able to delete it and select None by changing your payment information.
    Settings>iTunes and App Stores>Apple ID
    Tap your ID
    Tap View Apple ID
    Enter your password
    Go to Payment Information in the popup window to make changes
    Select None.

  • When using HDMI to HDMI cable the Master Sound Control is locked.

    master sound control is locked when using HDMI to HDMI using an HDTV for the display.
    Although itunes sound control works.  Why is the Master Control locked?

    cpfamilia wrote:
    Hello,
    I am new to OS X and i have tried to adjust the sound when plugged to the secondary monitor through HDMI which of course didn't work.
    I have been using windows and a linux for years now, and everything works seamless.
    I believe that this could be easily solved by Apple as long as their are willing to do it. Having a virtual device for sound control is not that difficult.
    All the bests
    There are two ways to 'solve' this.
    Alter the volume before sending the digital signal down the HDMI connection, this means the signal is no longer exactly as it was originally. Apple's current (apparent) view is that this should be done at the end i.e. playback device not at the originating (Mac) end so as to minimise the number of devices making changes to the signal. Basically 'volume' is the amplitude of a an analogue wave form. (Where else do you think the term 'amp' comes from.)
    Not to alter the volume of the signal at the Mac end but instead to send a signal down the HDMI cable to tell the end i.e. playback device to alter the volume, this uses a standard called CEC (Consumer Electronics Control), unfortunately at the moment no Macs support this standard - it has to be supported at a hardware level so a simple Apple software upgrade to implement this is not possible. I have previously logged an official enhancement request for this with Apple - the more people who do this the more likely it is to be added, since now all Macs include HDMI it might happen at some point.
    As an addendum to option 2 above, see http://www.pulse-eight.com/store/products/104-usb-hdmi-cec-adapter.aspx this would however require software support in whatever application is being used. XBMC for Mac does support it.

  • Parallel sequence Hang when using Select string in CallBacks

    Hi,
    I have posted a problem yesterday explainig that my custom interface in C# was Hanging/Locked when using parallel executions. 
    => My application works fine when i run the sequences sequentially.
    So i have followed my investigations and i found the origin of the problem.
    In my application i use a special process model with 2 callbacks : 
    ProcessModelPreStep
    ProcessModelPostStep
    In these callbacks i had to look for a special step. So i write something like :
    SELECT RunState.Caller.Step.StepType.Name
    CASE "XXXXX"
    End
    CASE "YYYY"
    End
    End
    I do replace this syntax by :
    IF StrComp( RunState.Caller.Step.StepType.Name , "XXXXX" ) == 0
    End
    IF StrComp( RunState.Caller.Step.StepType.Name , "YYYY" ) == 0
    End
    And then the application hangs no more !!!! 
    This problem can be viewed directly with TestStand using a parallel processModel containing the callbacks with the select ....
    Here are 2 files which can reproduce the problem easily ...
    Manu.net
    Manu.net
    Attachments:
    ParallelModelWithCallBacks.seq ‏53 KB
    Wait10Time1Second.seq ‏7 KB

    Manu.net -
    From your sequence files, it looks like you're using TestStand 2010. I believe you might be running into Known Issue 276979 which was fixed in TestStand 2010 SP1.
    Hope this helps.
    Manooch H.
    National Instruments

Maybe you are looking for

  • Is there a way to password lock specific files I put on the playbook?

    is there a way to password lock specific files I put on the playbook - both media & non-media files/folders? ideally if a file is password locked, it can also be made hidden? thanks.

  • Installing MS Vista through Boot Camp

    Hi All..I'm new here but I figured the best place to ask this question would be here on the website. I'm installed Vista today on my Macbook, the installtion went through and completed, but when I try to run Windows I get a Windows Boot Manager error

  • Mac - help files not opening

    Somehow, the help files are not opening anymore. It opens the help viewer, but it is blank. I see the help files in the DW8 folder. How to reconnect? (The Flash, FW, and Contribute help works) Thanks so much, Hope

  • How to Change layout in MIRO screen?

    Hi, I need to change the MIRO screen layout. But i understand that it is not possible from MM. Can anyone guide me where can i do this change? it will be a great help if anyone guide me on this. Thanks Sunil

  • Ultraline series 3 9100 em router default username and password?

    I need to change some of the settings and well I cant log in to the Wireless Broadband Router Management Console. Any Ideas? Ive used the admin/password1 combo. It does not work Solved! Go to Solution.