Updating a table in a single screen without changing the table vie

Hi,
I have a master - detail table base on 2 VOs attached to 2 EO. This 2 Vos are linked via ViewLink by ID;
What I want to achieve is to place a messageTextInput field in detailTable->tableActions region. After the button in this region is pressed this filed should hold summary of "Payments"-columnvalues from detail table ( i have checkboxes in detailed table and it should calculate only selected rows). This field I created is attached to transient attribute SumPayment in MasterVO.
As now, after click of the button the controler call invokeMethod and in AM i do fallowing steps:
1. I get the instance od MasterVO and DetailVO
2. I iterate on every Row in MasterVO and get MasterID
3. Inside i filtered DetailVO where MasterID is the same (MasterVO and DetailVo is linked by MasterID)
4. I filter also at Selected transient attribute is the same as "Y"
5. Sumarize the Payments attribute from DetailVO and save it to float variable calulatedValue
6. For the actual row of MasterTable i do setAttribute("SumPayment",calculatedValue)
Unfortunately after doing this the table in screen navigate to the end of the view (it holds 10 Master -rows at once on the screen). I would like only the summaryField to update and the table looks the same before the click. I don't know also, how to take the MasterID while click of the button and send it as a parameter to CO so i don't have to iterate all MasterVoRows (the button is in inner region).
Konrad

The chances of two applications running at exactly the same time are miniscule. If they each have a connection to the database, and are both trying to modify the same table, then chances are one will be slightly after the other its changes would be committed last. In the case where one might delete a row just before another tries to access that row, you're going to have some sort of problem. However, those circumstances are pretty rare, and even so, some small amount of exception handling can deal with them gracefully.

Similar Messages

  • Is there a way to make the icon/words larger on the screen without changing the screen resolution?

    Is there a way to make the icons/words larger on the screen without changing the screen resolution?

    If you right-click in the top of title bar of any  Finder window there is an option to un-check 'use small icon size', though toggling between the two makes little difference on my screen.
    Another trick is you can zoom the whole screen by holding down the 'control' key and using a two-finger swipe up on the trackpad to enlarge, down to go back to normal.

  • How can I show my appointmen​ts directly on my home screen without changing the layout to "today" and keeping it at "zen"?

    I would really like to keep my home screen with all of my applications lined up at the bottom but I would also like my current appointments (my appointments for the day from my calendar) to shop up as well. Is there a way this can happen?
    If the only option is switching themes from "zen" to "today" is there a way I can choose what is listed on the "today" one, for example instead of call log have bbm.
    Ideally, I would like to keep the home screen the way it is now with the calendar addition.
    Thank you,
    Margot

    Hi
    Which model do you have?
    Which OS? Go to Options > About, it looks like v5.0.0.681
    Are you using the calender that came pre-loaded?
    With the basic theme, you get the 6 choices only at the bottom of the screen. It sounds to me as if you you need some sort of calender them that would permit more icons. Have a look on App World
    http://appworld.blackberry.com/webstore/
    Blackberry Best Advice - Back-up weekly
    If I have helped you please check the "Kudos" star on the right >>>>

  • Can iWeb09 update single pages without publishing the whole site?

    Does iWeb 09 have the ability to just update 1 single page without having the need to publish the whole website?
    Thank you

    Really? I've been using iWeb and MobileMe for as long as iWeb has been out, and can't find any option to publish individual pages rather than full sites.
    iWeb '09 does clearly introduce the option to publish a single site or all sites, but as for a single page within that site -- when other pages in the same site may have also changed but you don't want to (re)publish them yet -- that capability eludes me. I'm not at my proper system at the moment, however, and am am just writing from memory.
    Can you clarify, Roddy?

  • Is there a (relatively simple) way to skip tracks with an iPod touch 5th gen using a physical button? I'm aware songs can be skipped on-screen without unlocking the iPod, but I'm looking for a method that doesn't require taking my eyes off the road.

    Is there a (relatively simple) way to skip tracks with an iPod touch 5th gen using a physical button? I'm aware songs can be skipped on-screen without unlocking the iPod, but I'm looking for a method that doesn't require taking my eyes off the road while driving. For that reason, I'm also not interested in adding in headphones or additional devices that have the desired button functions. Going both forward and back would be great but I would be pleased just to have a "sight-free" way to go forward.
    I've seen some mention here and there about ways to maybe change it so the volume buttons change tracks and holding the volume buttons changes the volume... but I don't know what's involved in that or if its even possible/recommended for a new 5th gen iPod. I think its a great device but its sadly lacking in music oriented functions and features... which is disappointing since music is why most people would bother getting one instead of some other "iDevice" :/

    Given that you cannot do what you have asked for, perhaps you simply need to find another solution to your root problem.
    Presumably, you want to skip to the next track because you don't want to hear the current one, and that is because...
    You don't like it.
    You've heard it recently and don't want to hear it now.
    Simply don't want to hear it at this time.
    For problem number 1. Don't put it on the iPod in the first place. (I know, obvious answer!)
    For problem number 2. How about playing from a Smart Playlist (initially created in your iTunes Library) which has only songs you've not played recently?
    For problem number 3. Hhhmmm! Create alternative Playlists for use in the car.
    As for going back to the start of the "now playing" track.... Well, if your Playlist has only songs that you really, really want to hear, then you'll be looking forward to that rather go back to the beginning of the current song.
    I'm not trying to be prescriptive, just giving you food for thought.
    (They are all cheaper options than buying a car which can control the iPod from the steering wheel.)

  • How to invoke the app by touching the screen (without using the home button)

    Kindly  provide the solutions for the following issues
    1.       How to invoke the app by touching the screen (without using the home button)
    2.       Estimated lifespan running an iPad3 continuously 24x7
    awaiting for your valuable response.
    Thanks and regards,
    Sathya.

    1.  You can only invoke an app by touching its icon.
    2.  All depends on what your app does.

  • How can I back into the main screen without using the activator bottom?

    How can I back into the main screen without using the activator bottom?

    I assume you mean the HOME button. You cannot. The HOME button is the only way to exit an app.

  • HT2523 Is there a way to increase the size of textedit text on the screen without increasing the font size? (as can be done in WORD for MAC)

    In Microsoft Office for Mac WORD I can make text appear larger on the monitor screen without increasing the font size for printing purposes.  I have not been able to figure out if/how this can be done in TextEdit.  In TextEdit, if I set the font size to between 10 and 12, the text appears very small on the screen.  But if I increase the font size, the font size will be way too large when I print such a document.

    Thank you very much for your prompt reply and suggestion. 
    Actually after I posted my question, I saw link to Text Edit viewable font, which pointed out the small up and down arrows in the lower right corner of the Text Edit screen. 
    However, it is also good to keep in mind the Universal Access options.

  • Can I update my phone without changing the interface/design?

    I haven't updated my iPhone 4S in ages - I think I may still be using IOS 4 or IOS 5. I love the old interface, and I really, really don't want to have to change to the new interface (I've seen it and it looks completely different). I'm very fond of how safari works, how pass code locking works, how photo albums are designed, the proccess of clearing apps - everything. The problem is that there are a few apps I'd like to download that require IOS 6 or above. My question now is either,
    1) is it possible to update your phone without changing the design/interface
    2) is it possible to download IOS 6 or 7 apps on an earlier version phone without updating the entire phone
    Thanks so much

    1. No.
    2. No.

  • Everything on all the webpages are so small, and only take up half the screen. How can I make it bigger, without changing the settings on my computer and by that change the size of everything on my computer.

    Everything on all the webpages are so small, and only take up half the screen. How can I make it bigger, without changing the settings on my computer and by that change the size of everything on my computer.

    The Firefox [https://support.mozilla.com/en-US/kb/Page+Zoom Page Zoom] feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox, as with some other browsers.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

  • Urgent:How to modify a script without changing the print programme

    Hi all,
    Can any body pls tell me <b>How to modify a script without changing the print programme</b>
    Give m esome real time examples.
    Good points willbe rewarded
    Thanks

    Hi
    You can write a external Subroutine to fetch the extra data into the script program
    see the following sample code
    How to call a subroutine form SAPscripts
    The Form :
    /:PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
    /:USING &EKKO-EBELN&
    /:CHANGING &CDECENT&
    /:ENDPERFORM
    The report :
    REPORT zkrpmm_perform_z1medruck .
    DATA : BEGIN OF it_input_table OCCURS 10.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_input_table.
    déclaration de la table output_table contenant les
    variables exportées
    DATA : BEGIN OF it_output_table OCCURS 0.
    INCLUDE STRUCTURE itcsy.
    DATA : END OF it_output_table.
    DATA : w_ebeln LIKE ekko-ebeln,
    w_vbeln LIKE vbak-vbeln,
    w_zcdffa LIKE vbak-zcdffa.
    FORM CDE_CENT
    FORM cde_cent TABLES input output.
    it_input_table[] = input[].
    it_output_table[] = output[].
    READ TABLE it_input_table INDEX 1.
    MOVE it_input_table-value TO w_ebeln.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = w_ebeln
    IMPORTING
    output = w_ebeln.
    SELECT SINGLE zcdffa FROM ekko
    INTO w_zcdffa
    WHERE ebeln = w_ebeln.
    it_output_table-name = 'CDECENT'.
    MOVE w_zcdffa TO it_output_table-value.
    MODIFY it_output_table INDEX 1.
    output[] = it_output_table[].
    ENDFORM.
    COPING SCRIPT
    There are some Standard Sap Scripts in SAP. We cant directly execute them in scripts we have to use some T-codes and by giving some input to the required fields we can see the output printform.
    I will show one example. There are some Standard Sap Scripts such as MEDRUCK which is a standard Sap Script for Purchase Order and RVINVOICE01 for billing and so on...
    To see oupt of MEDRUCK go to T-code ME9F give purchase order number and execute select one number and click on dislplay messages button on application tool bar you can find the print form of MEDRUCK.
    You cannot change the Standard Sap Scripts but you can use Standard Sap Scripts and Copy them to userdefined Script and can make changes to them and replace standard Sap Script with usedefind script.
    Ex: Go to SE71,
    on menu bar u find Utilities->copy from Client. click on it u ll find new screen showing
    Form name:
    Source Clinet:
    Target Form:
    give Form name as usedefined form name EX: ZFORM1
    Source client as 000 and
    Target form as MEDRUCK.
    execute.
    Now, the standard from MEDRUCK is copyied to your form ZFORM1.
    NOW, go to SE71 and give form name as ZFORM1 and do some changes to the form such as adding logo any thing. save and Activate.
    Now, you have done changes to the Form ZFORM1 and u have to replace your form with standard SAP Script.
    Go to NACE Transaction.
    on Applications select EF for purchase order and click Output types button on application tool bar.
    now select NEU as output types dobule click on Processing Routines.
    now click on Change option on application tool bar and on right side u find MEDRUCK in form place replace MEDRUCK with ZFORM1 and SAVE.
    go back twice and now go to T-code ME9F give the purchase order number and execute and select one option and click on display messges button .
    you will find the changes that you have done in ZFORM1. so we cant chage the standard Sap Scripts by copying the Standard Sap Scripts we can chage and replace with our forms
    Refer
    https://forums.sdn.sap.com/click.jspa?searchID=4089895&messageID=3239299
    Regards
    Message was edited by:
            Kiran Sure(skk)

  • Change the background color of a particular word without changing the background color of the rest of the text in a textbox

    Hello,
    I'm designing my own website and want to know how to change the background color of a particular word without changing the background color of the rest of the text in a textbox. If i can't do this, how can I create a Table, similar to Excel with iWeb?
    Thank you very much!
    Roger.

    If i can't do this, how can I create a Table, similar to Excel with iWeb?
    Read this :
         Create and add a TABLE in iWeb »
         More about a TABLE in iWeb »
         Sample 1
         Sample 2

  • Is it possible to copy and paste a formula without changing the cell references?

    I am trying to paste a formula to a cell adjacent to where it currently is but when I do, the cell references in it change. I am trying to get exactly the same formula in the cell (without re-typing it).

    dedwards96 wrote:
    Just another quick question, is it possible to make a large number of cell references 'absolute'?
    Individual cell references in formulas may have four distinct states: relative, absolute column, absolute row, or absolute column and row. These are set using the popup menu on the reference itself. Click on the reference in the formula and choose one of the four states from the popup menu.
    Once set, you can fill the formula into the rest of a column or row using the Fill Handle (small circle at the lower right of a selected cell). Cell references in the new copies of the formula will remain absolute or adjst to their new position dependent on the setting for each reference. You can also copy and paste the cell (single click to select it, command-C to copy) with the same results.
    You can also copy/paste without changing the formula's cell references if you select the formula (Drag across the formula in the entry bar, copy, press tab to deselect and reconfirm the formula in the original cell) rather than the cell. Pasted into a new cell, the formula will appear as if you typed it in exactly as it was in the original cell—neither absolute references nor relative references will have changed.
    Regards,
    Barry

  • Create an mp4 from mov without changing the dimensions

    I am working on a project in InDesign that needs to output to DPS.
    I take screen capture movies which are saved in the default mov format. These movies are 700 px x 400 px. That can't change.
    I need to convert the mov to an mp4 to add to ID for DPS.
    I open Adobe Media Encoder but I am confused as to how to set the output controls.
    I don't want to change the dimensions.
    What setting will convert the mov to mp4 without changing the dimensions?

    Does this help?

  • When I insert a shape, how do I change the color without changing the texture?

    When I insert a shape, how do I change the color without changing the texture?

    Hi,
    you are working with a percentage width of your tables, for example:
    table width="123%
    td width="75%"
    td width="25%"
    So it is simply a arithmetic problem to get the proportional wide (means the ratio of % to cm) of your images, so that they do not break the frame. Certainly you could use (translated from German DW) "properties" and change the sizes there:
    Hans-G.

Maybe you are looking for

  • Cisco ip phone 9971 registration failed with CME 8.5

    Good day! I have voice bundle 2951 with 15.1.3(T) IOS version and  a few 9971 ip phones. In addition to it I've downloaded current SIP firmware for these phones (sip9971.9-2-1) and configured my CME as follows: voice register global mode cme source-a

  • How do I treat a figure's referenced filename as a variable?

    Hi, I asked yesterday about variables in markers (and got a workable answer, thanks!) .  Today I have the same question about the Referenced File in the Object Properties of a figure.  (I hunted for object tools but came up empty.) I have many docume

  • Ghost/Clone Program to rebuild RAID 1 array on a SAS6IR Controller

    Can anyone suggest a ghost/clone program I can use to rebuild a RAID 1 array on a SAS6IR controller. I also would like to increase the size of the C:/ drive. The server is a Dell PowerEdge T105 running windows 2008 R2.

  • Export tables from one database in other.

    hi, I want to export the all tables and views (only structure) from remote database in my local database. How can i do the same? Is ther anyay to export only 5 rows of each table as export of all rows from table will take lot of space.. Ashish

  • ACCOUNTING OF FREIGHT CHARGES ON IMPORT PURCHASES

    For import  purchases of material, I need to book C&F charges as a part of inventory cost. The problem here is I receive about six bills separately at various dates for the same quantity (one for bonding, de-bonding, transfer from port to customs bon