UI5 Ressource Locking

hi folks,
i know this theme has been discussed but not really a outcome (for me ?). as s4/hana has a lot UI's with fiori i'm wondering what would be best practice to enqueue logical objects like:
Example Change customer:
User A views a customer master data via a sapgui transaction 
User B edits via a FioriApp the master data of the customer of User A (as stateless the is i guess no lock on the logical object ?)
In the meantime user A switches to edit mode, changing data.(as not locked with enqeue he can switch, or will he get automatically not saved but edited data and how??)
Then User B saves changed data (should there be a call to the enqueue , and what then? as it is during a save-operation - error message to user, or reflecting with new data)
is there a built-in support for locking/sharing logical objects.
any idea what is the solution for such typical use-cases?
with sapgui or webdynpro or any stateful application , these are not really problems, but with stateless apps.
or do we have to handle conflice-documents and how (i hope not ?!)
best  regards,
oliver

This is really good question and yes with SAP S/4 HANA delivering most of the UI in the form of Fiori based application, there will be need to support the scenario you mentioned with proper architecture.
earlier very good discussion happened in this thread how can i lock objects with an oData Service
combination of optimistic lock concept + push notification etc can solve the problem to certain extent.
But also if you see this picture [Reference - http://hana.sap.com/content/dam/website/saphana/en_us/S4%20HANA/Final_Launch_S4HANA_Plattner.pdf], I am not very much clear with the point highlighted which talks about No locking,parallelism for throughput.
Not sure if this to-be design will solve the problem statement.
Regards,
Chandra
Message was edited by: Chandrashekhar Mahajan

Similar Messages

  • Locking access to serial ports

    I have two instruments on serial ports, and two independant VIs to control them. One VI may be running, or both, at any one time. The VIs may be running under LabView, or executables.
    I would like some simple and elegant way of ensuring that when I run the second VI, it cannot access whichever port is being used by the first VI. I have experimented with using the VISA Lock Async.vi, which should do exactly that. However, it seems to be possible to have two VIs lock access to the same port, without generating an error. I can only assume that the "lock" is for the application (LabView), not the VIs.
    I have looked at the synchronisation functions for a solution, but I can't see any reasonable way of using them. Semaphores are ok if you want to control access to a single port, but not the undefined list of ports that may be available on any given machine.
    I could use a global array variable containing a list of ports in use. Not very elegant though...

    CDancer a écrit:
    Thanks, guys, but I don't think you have understood my problem. Read the first sentence - 2 completely independant VIs, and 2 or more ports...
    I have written a program today using the globals option, which works very well. There should be a better way though.
    Chris
    ViLabWorks a écrit:
    It isn't exactly clear to me why this is about one port. How much does one serial port cost versus programming time? Or even if it is about 4 serial ports the same applies. For me there is no question, doing something perhaps difficult versus spending next to nothing to solve the problem.
    Well...
    Sometimes you need to access the same equipement from different places in your application, or from different applications...
    Usually I simply set/read a global "busy" boolean.
    One problem I would like to adress is the automatic detection of specific serial hardware. How is it possible to find the port on which some equipment has been connected ? Of course, a solution would be to try to connect to this equipment by sending a command and waiting for the proper answer. However, before doing that, you need to detect the available ports (VISA Find Ressource), then scan each port after setting the proper baud rate, byte length, parity, etc..., then close the port to make it available to another application. Unfortunately, within LabVIEW, this procedure may interfere with other vis already connected to other serial equipments, with impredictable results.
    Apart the solution proposed in my first post, I don't know a way of deciding if a port is already in use. May be I missed something ?
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Locking objects across RFC calls

    Hi All,
    I am developing a business application using SAP UI5 and the NetWeaver Service Gateway in an embedded scenario. I have RFCs build for the backend interaction. As per my knowledge, each RFC is considered as a separate transaction and the user is logged on and off as the RFC is processed. This removes the lock on the object that I need to be sustained till the next RFC call. Unlocking the object exposes it to possible editing by other users which is not desirable.
    From what I have studied from this community, there are, by and large, two solutions
    1. Custom Lock Table
    2. Checking if the status of the object  is the same during the second RFC call, and going ahead only if it was unchanged.
    However, I am looking for more credible solution to this problem and would like to know how someone who experienced this issue have handled it.
    Thanks in advance,
    Neelesh

    Hi Jacob
    S_RFC and S_SERVICE This two authorization is nedded while calling RFC module from R3.
    first of all test the module in R3. create a role using PFCG assign the tcode. su53 (authorization check) and also assign the S_RFC and S_SERVICE to role.
    now test the RFC function module with this role in R3.
    if u give any warning/error due to authorization. imediate run tcode su53 in same session or new session
    i.e /nsu53 or /osu53.
    look which authorization is missing for a object.
    assign the relevant object and authorization to role.
    any query revert back.
    regards,
    kaushal

  • VISA Shared resources by lock CVI functions

    Hello,
    Attach to the post : http://forums.ni.com/t5/LabWindows-CVI/VISA-Shared-resources/m-p/1000856#M43685
    I use LabWindows/CVI 2013 SP2.
    I have a share VISA problem : 2 functions VISA (Read and Write), on the same ressource.
    I want to protect the access to the ressource VISA with the lock functions.
    Like they propose and also the "ThreadLockTimeout" NI example.
    So only at the beginning of the software, I do step 1 : cmtStatus = CmtNewLock ("", 0, &LockHandleRS), add before that, to a free handle in case of...
    Only at the end, step 4 : cmtStatus = CmtDiscardLock (LockHandleRS), add to a "LockHandleRS = 0".
    In each read and the write VISA function (20 ms < time < 100 ms, timeOut =2 s),
    I try to use different methodes, without success :
    - to lock (step 2) :
         1) cmtStatus = CmtGetLock (LockHandleRS)
         2) cmtStatus = CmtTryToGetLock (LockHandleRS, &lock), add to a while loop (for timeOut)
         3) cmtStatus = CmtGetLockEx (LockHandleRS, 0, timeOut, &lock)
         4) and even, statusRS = viLock (portVISA, VI_EXCLUSIVE_LOCK, timeOut, VI_NULL, VI_NULL)
    - the VISA read/write function :
         "viWrite" for the ask, following by a "viRead" for the answer
         (VISA read function (# measure) : for only an acknowledge echo traitment and read data reponse)
         (VISA write function (# order) : for only an acknowledge echo traitment)
    - to unlock (if lock successfull) (step 3)
         1)2)3) cmtStatus = CmtReleaseLock (LockHandleRS)
         4) statusRS = viUnlock (portVISA)
    I display every wrong "cmtStatus" and "statusRS", but nothing appears.
    The VISA read function is called following an "EveryNCallback" DAQmx function (every 0.5 s).
    The VISA write function is called punctually, by an operator action throught various interfaces.
    If I use only the periodic VISA read function, no problem on lock/unlock.
    N.B. : Lock function (step 2) take only # 100 µs (for case 2) : at the 1rst iteration).
    N.B. : I use the same external lock/unlock functions for the VISA read/write.
    But nearly at every VISA write asking (3 on 5), I can display 2 consecutive successfull locks function (VISA read and write) ???
    N.B. : same time (100 µs).
    Following, of course, to 2 unlock functions (step 3).
    And every time, the echo of the VISA read function is treat by the VISA write function.
    And the echo of the VISA read traitment is truncked.
    So for me, I treat it like 2 VISA errors (read/write).
    ======================================
    I try to improve the NI example to show my problem.
    I hope that I do not make so much big mistakes, which would cancel the interest of this example.
    Into this small code lines, I can reproduce my problem (by quick applies on F1 button).
    I do not implimente all the fonctions I try.
    Into a bigger one, it is very easy to reproduce (even with the other functions).
    N.B. : In my final application, the thead n°1, look like more to a CVICALLBACK, than a thread with a while loop inside.
    But the problem still the same.
    Thanks a lot for consideration.
    Certified LabWindows/CVI DEVELOPER (2004)
    LabVIEW since 5.01 | LabWindows/CVI since 4.01
    Attachments:
    ThreadLockTimeout.7z ‏127 KB

    Hello,
    With NI France support, we improve to the NI example again.
    We show, with adding timing, that the example can display the message in a wrong sense (with a  software slowing down, at this moment, why ???) (see Explication°1.png).
    If we display the message before the release (//#define M2), we can not reproduce the double lock (and release),
    but also any software slowing down.
    So this example can not be use to help me to resolve my application lock trouble.
    It is not representative of my problem, which is always in progress.
    Certified LabWindows/CVI DEVELOPER (2004)
    LabVIEW since 5.01 | LabWindows/CVI since 4.01
    Attachments:
    ThreadLockTimeout n°2.7z ‏289 KB

  • MSI Forum Lock Ups

    Hey guys wondering where i have been the last couple of days??...no, you guessed wrong i was not with my girlfriend (well at least no during daytime :D )
    I was trying to LOGIN IN THE F*****G FORUM :O  ?(
    Markoul
    p.s. At least it seems now we are going to have Avatars and also we have got the old forum back  :P

    Hi,
    First of all thanks to all for the help, and CJLittle...LMAO !  My car is a Scooby and a nice blue paint job !  Believe it or not they assured me all this would work.. I bought it in one package and even questioned it.  Also to be fair up until then they had always been very good... shows they have no zero about 3200XP 200 fsbetc...  When I went back with the power supply and told them they changed it out and let me off on the extra money it should have been.
    The crashes are as follows :-
    [list=1]
    Locks up after random amounts of time in games, sometimes dont even get to load it up at all, other times I can play 2 hours.  When the games lock up usually there is a high pitch squeal and can only get out of it by reset or power off.
    I cannot install Zone Alarm Pro or Agnitum Outpost are 2 anyway (there are others) these just come up with the installer screen and hangs there, I have to go to Task Manager to close them down, unlike the lock up in games.
    The cooler is the Coolermaster Jet... and the temperature is more than acceptable (right now is 44 C) so I cannot see that at all being a factor.
    leds are on on the d bracket when it locks, I did not know of this function and will check it out. Thanks for that tip.[/list=1]
    Question from me: would the 2700 RAM cause these lockups ?  I would have thought it would just not work at all ?  If this is possible then I will go and change out the RAM as tuning it down to 166 (if it is possible) does not appeal to me !  But yes it may show what the problem is.
    Thanks again, will see what happens...

  • Bit locker Mutliple Drives Mutliple OS's

    I have a laptop with two hard drive in it.  The primary has Windows 7 Enterprise and is a member of the corporate domain.  The secondary has Server 2008 R2 and is a member of the lab domain.  There is no trust or association between domain. 
    The laptop does the Windows multi-boot off the primary drive.  I want to enable bit locker to secure the drives.
    If the two windows environments were exclusively separate, setting up bit locker on each drive independently would be pretty straight forward, but when I'm in one OS, I will frequently need to get files and data from the other drive (and no, making each
    drive big enough to hold all it's own data is not an option, plus the synchronization headache).  Both drives will need to be bit locked to their respective OS, but the other drive will need to be accessible.
    And not to make things too easy, the secondary drive, which i put in an optical drive bay carrier, routinely gets pulled (not while the system is running, of course) out and popped into a USB case to be used as a library transfer drive. 
    So....
    the Windows 7 drive needs to be natively bit locked.  and be accessible when running Windows 2008 from the second drive.
    the Windows 2008 R2 drive needs to be natively bit locked, and be accessible when running Windows 7 from the first drive, and be accessible when run as a stand-alone USB drive on another system.
    I would appreciate any wisdom you can share to make this all work.  And please presume that i know next to nothing about installing and running bit locker, because that's pretty much true.
    Let me know if you need more information about my configuration.
    Thanks

    Hi,
    "and be accessible when run as a stand-alone USB drive on another system."
    Firstly, if you enable bitlocker for one drive, it will be encrypted always until you decrypt it. Thus after you insert it to any system, it need to enter the credential to access it.
    And then, if you want to access one drive in another computer, you need to get the shared permission. After you' re granted the sufficient permission, you could access it no matter if it's encrypted. Of course, another computer must be started.
    Karen Hu
    TechNet Community Support

  • FORMAT WINDOWS 7(64) BY MISTAKEN NOW HOW I RECOVER ERASED DATA WHICH I HAD LOCKED DRIVE BY BIT LOCKER

    i'm using windows 7 (64 bit) but experiment to install mac on my PC (i 5-4 GB ddr 3-500sata sea gate).by mistaken its format my whole hard drive which is 500 GB sea gate sata.after this i'm confused and install windows 8.1 and then again i had install windows
    7 (64 bit) now after 2 time partition erased i'm trying to recover my data 50 percent data but which drive i had locked with windows 7 bit locker it cant recover any thing I've remember its password.
    any one help me to get back my data from this locked drive ?
      

    RB
    If the drive was both formatted and bit locked you cannot recover your data.
    Wanikiya and Dyami--Team Zigzag

  • USB 6009 lock-ups?

    Hello,
    I'm having a strange problem with my newly aquired USB 6009. I've written an app to read the temperature from a temperature controller using the 6009 and that all works fine. However, the problem comes when I port this code into another application. The code is intended to run in a parallel loop to the main execution loop, to continuously read the temperature whilst other data is captured and process (all done in the main loop). Both applications run quite happily when separate. When I bring them together the applications sometimes, but not all the time, refuse to quit and just lock up. I have no idea what is happening as it is not a case of one loop remaining running (I've tried separate stop buttons) and they will run together quite happily. The problem only comes when I hit the button that terminates the main loop (this also triggers the other loop to stop - I'm sure this bit works as I've used the same method in another vi).
    The main loop should, in theory, just close. The loop with the USB reads (using DAQmx Base) will stop and then clear the task (DAQmx Base Clear I think). Sometimes the DAQmx Base Clear runs and the program stops fine, other times it runs and the program locks, other times it locks as soon as I hit the quit button.
    Any thoughts as I'm completely stumped on this one? Like I say, apart from the one button triggering both loops to terminate there is no link between the two loops.
    My only thought is it could be a USB issue as the PC also has a USB keyboard and mouse. I know from my home experience, when for instance plugging in my camera, it can cause the USB to lock if, say, my USB modem is running.

    See the thread
    http://forums.ni.com/ni/board/message?board.id=250&message.id=13722
    John Weeks
    WaveMetrics, Inc.
    Phone (503) 620-3001
    Fax (503) 620-6754
    www.wavemetrics.com

  • Hot Synch Lock-Ups

    I have a Palm Z22, when I hotsynch with outlook, all goes just fine untill I reach expenses, then it locks up on CitiesDb.  It used to lock up on a different Db.   Why is this, can I skip it, how can I make it stop.  I have to end the task on the PC and reset the handheld everytime (Lucklily it is after it is giving me what I need with Synching calendar, tasks, and contacts
    Post relates to: Palm Z22

    scooter_95126, please don't double-post the same message.  I've combined both posts into one here.
    Thanks!
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • K9N Platinum lock ups

    Hi Guys, I am building a new pc and I am having lots of problems.  The main one being the pc will lock up after a few mins of being on.  I have read it could be a memory problem, but I am not sure. 
    The System is....
    CPU: AMD X2 Dual Core AM2 Athlon 64 3800
    Ram: OCZ 1GB Kit (2x512MB) 240Pin PC2-6400 800MHz Dual Channel GX XTC Gold
    Power supply: Enermax 535Watt Power Supply ATX12V & EPS12V for EEB, CEB 
    Video Card: XFX 7900GT PCI-E 256MB DDR3 DUAL DVI
    and the K9N motherboard. 
    Is the Ram an issue?  Would I be better off exchanging the ram for something else?  Could anyone reccomend ram that will work with this board?
    Thanks a lot for your help guys.
     

    Thanks for the suggestion, unfortunately I have just tried that but its still locking up.
    I have had a look in the bios to set all the memory settings manually, though I am not sure what I set to what.  Apparently the corsair ram has 5-5-5-15 timings but I do not know what these relate to in the bios. 
    I guess the CAS#Latency(TCL) should be set to 5 then I'm not sure what to do.  The options I have are
    Min RAS# Active Time(TRAS)    With the option of 5CLK to 18 CLK (This is set to 15 as mentioned above by Kakarocht)
    RAS# Percharge Time(TRP)      With the option of 3CLK to 6CLK (I guess this is one I should set to 5, currently at Auto)
    RAS#to CAS#Delay(TRCD)       With the option of 3CLK to 6CLK (I guess this is one I should set to 5, currently at Auto)
    ROW to ROW Delay(TRRD)       With the option of 2T to 5T (I guess this is one I should set to 5, currently at Auto)
    ROW Cycle Time(TRC)             With the option of 11T to 24T (Currently set at Auto)
    There is also
    Bank interleaving  which is enabled
    CMD-ADDR Timing Mode which is set to 2T
    Software Memory Hole which is Enabled
    Sorry to be a pain and keep asking all these questions, but this is really confusing me.
    Thanks yet again

  • USB CAUSING LOCK-UPS

    Hi,
      30-40% of the time when I use my front usb it will cause Win XP to lock up and I have to hit the reset button.  Has anyone else experienced this and also any remedies?  It happens with my scanner, gamepad and ipaq.  Setup=Win XP prof w/ service pack 1, KT3ultra2, AMD 1600xp, power supply is 400 watts.  
    Thanx

    Hi Maesus,
      I have AMI bios version 3.31a.  I can't find the usb version on XP (I only know how to get to it on Win 98SE).  It's the one that came with Win XP.  If it matters, the VIA driver I'm using is v4.42.  Lastly the USB connectors are the ones built into the front panel of my case.  I wired it up according to the manual.  
      Again, the unusual thing is when it doesn't lock-up everything works fine.
    Thanx again for your help

  • Pages '08 lock ups

    A couple months ago, I started having issues with Pages '08. It would lock up while I was typing, or even something as simple as scrolling the page down. All I would get was the little rainbow wheel and a locked up document. At first I thought it was just the one file I was working on, but now it happens all the time. It locks up so bad sometimes that it forces a restart of the computer. No other programs are having this issue. Should i just reinstall Pages '08 from the disc or what. Cause this has made my main wordprocessing program completely useless. I'm on Mac OSX 10.5.8

    Update:
    Well I think I got it figured out. For some reason, the spell checker was causing the problem. I've always had it set to "Check spelling as you type", but for some reason that is now causing Pages to lock up. So my work around is to simply turn off the "Check Spelling as you type" option, and now there are no more lock ups.

  • WAP321 intermittent lock-ups

    Have been trying to work through an ongoing lock-up issue on a pair fo WAP321's.  Have read many of the prior threads and have tried to get some feedback from data from either the switch or the AP's to help figure out where the problem may be, but am at a loss.
    Set-up:
    - 2 x WAP321 running v1.0.2.3 connected to a Cisco 2960S-24PS-L (PoE)
    - 2 SSID's each on a different VLAN, both VLANs are tagged.
    - WAP's are no longer clustered.
    Problem:
    Everyday, anywhere from 4-12hrs, the AP's crash.   They either reboot successfully or lock-up 50% of the time.  In a lock-up, the ethernet ports on the 2960 show a device phsyically connected and powered-up there is no layer 2 nor 3 activity (i.e. the AP's are completely unresponsive).  And there are no PoE events at the time of the crash/reboot.
    The AP's are remote to me and the location is not in use everyday so I have not been able to determine if both AP lock-up everytime at exactly the same time but from the past 24hrs of continuous monitoring (pings) they tend to crash within 30min of each other, but not at the exact same time.   They are no longer clustered as I initally thought that might have been the issue.
    AP use is quite light and they lock-up at anytime of the day (i.e. not just during business hours)
    The problem is resolved by rebooting the AP's by shut/no shutting their respective PoE ports.  They are ceiling mounted and there is no way for staff onsite to have a look at them to see what lights are on or off.
    I have not reset the units to factory defaults and re-loaded the firmware.  This is something I would prefer to do onsite as just getting the two VLAN's into the units was a painful 2hr operation (VLAN settings wouldn't stick, couldn't make changes to the VLAN admin page no matter what browser or pc I used, had to reboot each time I made a change, sometimes it would save, sometimes it wouldn't, AP wouldn't accept a new VLAN, then it would etc etc...what should have taken 10 minutes took 2+ hrs.   Based on that experience alone I will never sell these again and will stick to the higher end Cisco WAPs that I'm used to).
    Beyond rebuilding these units and hoping that somehow magically fixes things has anyone encountered any issues with the WAP321's locking-up due to some kind of incompatibility at the network layer?   Or having them locking-up in general operation?  Any thoughts?  I wish I had error messages or log messages of some type to go on but there's ntohing unfortunately.
    Message was edited by: MICHAEL CORDIEZ

    Hi Michael, thank you for using our forum, my name is Johnnatan I am part of the Small business Support community. Thank you for all your specific detail about your issue, that was really clear to me, I will advise you install the last firmware 1.0.3.4, you can download it at link bellow:
    http://software.cisco.com/download/release.html?mdfid=284152656&softwareid=282463166&release=1.0.1.10
    Try to create a backup of your configuration and then upgrade the firmware, after that perform a factory reset and upload your configuration.Let me know if that worked for you.
    Greetings,
    Johnnatan Rodriguez Miranda.
    Cisco Network Support Engineer.
    “Please rate useful posts so other users can benefit from it”
    Greetings, 
    Johnnatan Rodriguez Miranda.
    Cisco Network Support Engineer.

  • K7N2 Delta lock ups

    Hi there,
    I've got a MSI k7N2 Delta sitting in my PC atm. But with a nasty problem. I have to keep the cpu sitting in it (AMD Barton 3000) underclocked for me to use my PC for more then 40 mins at a time. After that time, it just freezes, and the sound card (not system speaker) emits a nasty high pitched sound. Using a more intensive game, i.e. planetside speeds up the process, somethimes running for a mere 5 mins. To use the pc atm, the cpu is clocked at 1.4Ghz, instead of the over 2ghz it should be at.
    Any suggestions anyone?
    Specs:
    K7N2 Delta
    AMD Barton 3000+
    512Mb Kingston DDR (on compatibilty list)
    ATI Radeon 7500
    SB! 128
    Antec 400Watt PSU

    ok, after some more testing (man i love CS  ) it still locks up, but it took longer initially. It now just freezes, with no beeeep from the sound card. It may be temperature related though, as after the intial freeze, it will now only take a few minutes before it does it again. Straight after it freezes I'm getting temperature of around 50 on all monitors.
    Ill whip out that TV card and give it a whirl now
    p.s. case fans, i think one is in the wrong way, is the spinny side supposed to facing in the case, or out the case? cheers

  • Terca 9100 lock ups

    Hi!
    I recently got my hands on a second hand tecra 9100. I got it free since the previous owner complained about random lock ups or freezes. As i've testaed the laptop myself i experienced this aswell. It can freeze just about anytime but i've never had it running flawlessly for more than 20 minutes i recon. Sometimes it also refuses to start up. I do not know if this is a lock up in the initial startup sequence.
    Anyway it will lock up even in bios and i have dissassembled it and put it back together, replaced the RTC battery (with a non rechargable) and removed any hardware not crucial for useage (i.e WiFi card, extra RAm modules, modem card).
    I'm clueless, anyone got any idea of what to try next?
    Regards Simon

    I think you cant fix it by yourself
    In your case the ASP should check the notebook and if necessary replace the faulty part/device.

Maybe you are looking for

  • Why can't I set a specific folder or album to save Screenshots only?

    I'm tired of having my "real pictures" and my "screenshots" all mixed up in one big list. I want to be able to choose a specific folder. Most of my screenshots are payment confirmation numbers or other personal information, and when other people want

  • What's holding me back? ram?

    I can only hit stable at 3.45Ghz (15*230) to run 1:1 and anything higher, memetest got errors. Tried increased to ddr 2.8v, loosen timming at 2.5-4-4-8 but no luck. When running test 5 got tons of errors. I didn't try prime95 since memetest didn't pa

  • Inactive Items - How?

    HI, We have a number of items that have been created which need to be deactivated due to being created by mistake or with errors and replaced with another item. Is there a process that we can deactivate these items so they are unavailable for selecti

  • Opening EAC\Recipients\Goups- error: Your request couldn't be completed. Please try again in a few minutes.

    1)  This error only occurs when accessing the tab or doing a refresh on the data. 2)  Entering Search criteria does show groups. 3)  In management shell, get-distributiongroup returns all groups successfully. 4)  get-rolegroupmember "organization man

  • HT204088 Unable to redeem my card or acces my account.

    Unable to redeem card or access my iTunes account... Just downloaded the newest version of iTunes and now I cannot do these things...