Is it possible to requery only a single row of a multi record block?

Hi,
I have a data block say "Employees". This is a multi record block.
Requirement: Two users are working on the same form (front end). Now the user1 has made change for EMP1 The same is not reflected in the User2 Session. Hence i need to requery the values updated for EMP1
Issue: Since there lots of employees listed in this block. i do not want all the employees details to be required (Block requery). Instead is it possible to requery only a perticular record to be required?
Thanks,
Vidya

I think not possible........
Usually Approach is the data in grid table displays as read only and when user press EDIT button then they can edit one single record in a separate window.
ooh got one idea.......
may be create a save point and rollback to that particular save point ....... i hv never tried it but try it might solves your problem
there is a feature of Clear_form rollback to save point
PROCEDURE CLEAR_FORM
  (commit_mode    NUMBER,
   rollback_mode  NUMBER);
Parameters
If the end user has made changes to records in the current form or any called form, and those records have not been posted or committed, Form Builder processes the records, following the directions indicated by the argument supplied for the following parameter:
commit_mode     ASK_COMMIT  Form Builder prompts the end user to commit the changes during CLEAR_FORM processing.
DO_COMMIT  Form Builder validates the changes, performs a commit, and flushes the current form without prompting the end user.
NO_COMMIT  Form Builder validates the changes and flushes the current form without performing a commit or prompting the end user.
NO_VALIDATE  Form Builder flushes the current form without validating the changes, committing the changes, or prompting the end user.
rollback_mode     TO_SAVEPOINT  Form Builder rolls back all uncommitted changes (including posted changes) to the current form's savepoint.
FULL_ROLLBACK  Form Builder rolls back all uncommitted changes (including posted changes) which were made during the current Runform session.  You cannot specify a FULL_ROLLBACK from a form that is running in post-only mode.  (Post-only mode can occur when your form issues a call to another form while unposted records exist in the calling form.  To prevent losing the locks issued by the calling form, Form Builder prevents any commit processing in the called form.) Edited by: BaiG on Apr 12, 2010 3:49 PM

Similar Messages

  • In Table Control How to get only a single row .

    Hi
    In Table Control How to get only a single row .I am able to decrease it its height to 4 but then 2 rows is getting dsplayed .I want only one row to be display and 2nd row should be deactivated or not visible.
    regards
    Avik
    Edited by: Julius Bussche on Jan 30, 2009 1:10 PM
    Removed friendly greeting from the subject title

    Hi Avik
    use this code it will help you.
    MODULE passdata OUTPUT.
      READ TABLE it_revision INTO wa_rev INDEX tab_clc-current_line.
      IF sy-subrc = 0.
        LOOP AT SCREEN.
          IF screen-group1 = '111'.      " 111 IS THE GROUP NAME
            screen-input = 1.          " input mode
            screen-active = 1.         " input mode.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF screen-group1 = '111'.       "GROUP NAME
            screen-input = 0.           " display mode
            screen-active = 1.          " DISPLAY MODE.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDMODULE.                 " PASSDATA  OUTPUT
    Make sure in group tou are passing the field name that you want in input mode on the base of other field
    Hope it will help you.
    Thanks
    Arun Kayal.

  • Refreshing only the single row of  ADF Table

    Hi All,
    I have a webcenter application where the ADF Applications has been deployed.Now the Data is coming onto the ADF Tables from a webservice.In that particular table i need to refresh only the single row(whichever selected by the user to edit ) or even a particular field with the updated values as well as need to validate and to create a message box saying about the errors if the validation goes wrong.
    Please suggest!!

    Hi,
    if "updated value" mean that the value got changed on the middle tier (not the browser client) then the update requires the table to be partially refreshed. If the user edits a row and in this row has dependent fields, then this can be achieved by partially refreshing the column. Note that ADF Faces tables don't refresh just one cell
    Frank

  • Single record in a multi record block

    How do I disable a single record in a multi record block keeping only the display option in Forms 4.5

    you can't in 4.5 you can do it in 6.0 with the set_item_instance_property.

  • Enabling the current record only in a multi record block..how?

    Hi,
    I'am trying to enable a single record in a multi record block.
    If i use SET_ITEM_PROPERTY it enables all records, SET_ITEM_INSTANCE PROPERTY does not have ENABLED Property.., so how to go about this?
    I have a check box beside each record, if i check the check box only that record should get enabled..is there any way?
    Regards
    Mahesh

    I found out the answer :
    technical note 661 on on Siebel Supportweb (metalink3) :
    "how to embed OBI requests in Siebel Business Application views, so that navigating among the records in the parent applet updates the child Analytics applet with context-appropriate content"

  • How to display total in alv only for single row

    Hello,
    I wish to replace VAT field in my ALV OUTPUT from another ITAB using READ TABLE. But in ALV output I have multiple rows for one document number.
    So the value is assigning to all the rows in output, is it possible to assign that VAT value to only one row ( to any one record from output with corresponding document number) .
    Thanks in advance.
    Regards,
    Ritesh Inamdar

    Hi Sudeesh,
    I am fetching data for PO details, GR details along with condition types of PO.
    All data is collected in ALV OUTPUT itab, after this I am trying to assign the values of VAT from another itab in ALV OUTPUT LOOP using READ TABLE with reference to PO-PO_ITEM-CONDITION_TYPE.
    Now, when the alv loop is getting executed and in that I am fetching data for VAT using READ statement, the program is assigning VAT to all records of output alv with comparison of PO-PO_ITEM-CONDITION_TYPE.
    see:
    LOOP AT it_alv ASSIGNING <fs-alv>.
         READ TABLE it_vat ASSIGNING <fs-vat>
              WITH KEY ebeln = <fs-alv>-ebeln
                               posnr = <fs-alv>-posnr
                                kschl = 'JVCS'.
         IF sy-subrc = 0.
              <fs-alv>-vat = <fs-vat>-kbetr / 10.
      <fs-alv>-vat_val = <<fs-alv>-vat * it_alv-menge.
         END IF.
    END LOOP.
    Please refer above.
    Thanks.
    Ritesh

  • Projects only display single row when not in fullscreen

    Hi
    I've just updated to 3.4.5 an coincidentally used fullscreen for the first time so I'm not certain which action has caused this.
    After exiting fullscreen, my Projects(and thumnails in the browser) no longer display in a grid but as a single row that dissapears off the right side of the scrren and cannot be scrolled.
    Additionall the thumnail size slider and other controls that should be in the bottom right have dissapeared
    Fullscreen still works fine both in projects view and browser.
    I was wondering if anyone else has experienced similar behavior or can point me in the right direction.
    Things trie so far:
    Check other libraries (all the same)
    Repair Library (no difference)
    Rebuild Library (No Difference)

    This may be a problem of an unreadable Aperture preferences file:
    Try the following:
    Remove the Aperture's user preferences from the User Library as described here:
    Aperture 3: Troubleshooting Basics
    Note:
    Your User Library is hidden by default in 10.7.5 - to open it in a Finder window use the "Go" menu from the Finder's main menu bar.
    Quit Aperture, if it is running. Log off and on again.
    Open the user library by using the Finder's "Go > Go to Folder" menu and hold down the options-key, until "Library" appears in the drop down menu. Select it.
    In the widow that will open, scroll down to "Preferences"
    From the "Preferences" folder  remove "com.apple.Aperture.plist".
    Then try to launch Aperture again.
    But deleting the "Preferences" file will cause Aperture to forget the preferences settings. Be prepared to have to reset all options you set using the Aperture Preferences panel.
    Regards
    Léonie

  • Is it possible to force only a single evaluation of a function?

    I am only an occasional user of numbers...
    The question:  Is it possible to force a single evaluation of a function like TODAY() ?
    i wanted to place the current date into a gas milage numbers document, and I foolishly
    used =Today().
    Well the second time I entered the date as above I noticed that the previous entries had
    of course been changed to the current date ;(
    ie the Today function is re-evaluated whenever the spreadsheet is re-opened.
    Is there a slick way of forcing a single evaluation of functions like Today() ?
    Jerry

    Badunit,
    I have a keyboard shortcut for Insert > Date & Time that has been working faithfully for about two years now. Prior to that I hadn't had good luck, so it may be my choice of key combination that I assigned to this action. If you'd like to try it, I use:
    Shift-Option-Command-D
    Regards,
    Jerry

  • How to disable a single row of a multi-line text item

    I am trying to disable a date and a price on each row where the date is current or in the past (on theory the user can't update reference data that is in effect or past, only data which is not yet in use). It appears that forms 6i will make this an all-or-nothing matter, all rows (for a given text item) are enabled or all rows are disabled - no mixing! I am hoping forms is smarter than that, can someone give me knowledge? note: this is not a problem of enabling or disabling at runtime, I have that figured out, only row-specific application of the concept. here is my code:
    for c1rec in get_fees loop
    :cfee_def_dtl.service_fee := c1rec.service_fee;
    :cfee_def_dtl.eff_date := c1rec.eff_date;
    go_item('cfee_def_dtl.holdx'); -- inncouous field, not visible to user, but navigable
    IF trunc(c1rec.eff_date) <= trunc(sysdate) THEN
    set_item_property('cfee_def_dtl.eff_date',ENABLED,PROPERTY_FALSE);
    set_item_property('cfee_def_dtl.service_fee',ENABLED,PROPERTY_FALSE);
    END IF;
    next_record;
    end loop;

    Hi,
    move the logic in New-Item-Instance trigger and based on your condition
    SET_ITEM_INSTANCE_PROPERTY update_allowed as property_false/true.
    Monica

  • A list of employees (a multi record block in a single record)

    I'm making a tasks form. Each task is assigned to a number of employees.
    I want to display my task details, and in the same form show a list of people who are assigned to it.
    What control do I display the employees in? Can someone please guide me in the right direction?
    +-----------------------------------------------------------+
    | Task ID     Task Name                   Assigned to:      |
    | [143     ]  [A task to be solved     ]  +--------------+  |
    |                                         | John Smith   |  |
    | Description                             | Lucky Day    |  |
    | +------------------------------------+  | Ned Neiderla |  |
    | |This is the description of the task.|  |              |  |
    | |                                    |  |              |  |
    | |                                    |  |              |  |
    | +------------------------------------+  +--------------+  |
    +-----------------------------------------------------------+

    Another question regarding the same thing.
    I now made 2 pushbuttons to add people/groups to my ResponsibleContainer.
    +-----------------------------------------------------------+
    | Task ID     Task Name                   Assigned to:      |
    | [143     ]  [A task to be solved     ]  +--------------+  |
    |                                         | John Smith   |  |
    | Description                             | Lucky Day    |  |
    | +------------------------------------+  | Ned Neiderla |  |
    | |This is the description of the task.|  |              |  |
    | |                                    |  |              |  |
    | |                                    |  |              |  |
    | +------------------------------------+  +--------------+  |
    |                            add another: [User ] [Group ]  |
    +-----------------------------------------------------------+How should I achieve this? When-Button-Pressed, open a new form where I can select a User or a Group. But how do I return that User/Group value to the previous form, and update the list?
    Thanks,
    Botzy

  • Is it possible to enable & disable a field in a multi record block

    When I enable a field in the multi record block all the records for that field are enabled or vice versa. I don't want that.
    If I enable a field for one record the rest of them should stay as it is.
    Thanks for any help.
    Syed Jaleel.

    You can set update_allowed,insert_allowed, Navigable false for
    field in multirecord block using
    Set-Item_Instance_Property;
    Eg:
    Set_Item_Instance_Property('BlkName.item_name',Record_number,Insert_Allowed,Property_False);

  • May  EP(MSS, ESS)  use only a single universal system alias?

    I notice that SAP tends to use different aliases such as SAP_ITS_XSS, SAP_ITS_MSS, SAP_ECC_TrainingManagment, etc
    for different iViews.
    Is that possible to use only a single  universal alias for all purposes?
    Thanks a lot!

    Hi Linda,
    Yes, It is possible. If you think that your backend data coming from only one backend system, then you can create you custom system Landscape and but you need to manually assign system onject in all ivews(System parameter in Iview object) in ESS business content in portal content.
    It is better to create SAP_ITS_XSS, SAP_ITS_MSS, SAP_ECC_TrainingManagment in system landscape if you are one or multiple backend system, then you don't need to manually update system object in iviews.
    Hope it helps
    Regards
    Arun

  • Single row of XML data missing

    OK, much strangeness here.
    I have an mx:DataGrid taking its data from an array
    collection thusly:
    logSheetData = logs.lastResult.logsheet.data as
    ArrayCollection;
    The XML is being generated perfectly by a php page.
    If the xml consists of 2 or more nodes (i.e. the mysql_query
    returned 2 or more rows of data from the database) then the grid
    populates properly and everyone is happy. However, if the query
    returns only a single row of data, the grid is blank.
    I've checked the php and the contents of the database - if
    there's only a single row of data to come back, one row's worth of
    XML is returned.
    This has been driving me mad all morning! Help!
    -Update-
    I have patched the problem by adding in an empty node to the
    xml structure if only 1 row of data is returned - this seems to
    fool the grid and causes it to display properly. Buy why!

    Corvette Captain wrote:
    In an interactive report, is it possible to display the data from one database row over two or more displayed rows on a page?Yes. Create the required structure using the Detail View properties.
    Users can switch between views using the view controls. You can display the report in Detail View by default via a Dynamic Action: +{thread:id=2187972}+

  • How to loop through a single row of data?

    What I'm trying to do is use a cursor to loop through a clob. When I create my cursor I get the an error telling me that the table does not exist. Which implies that I have an implicit cursor. Is there a way to get around this?

    > How to loop through a single row of data?
    By not looping as there is only a single row?
    > What I'm trying to do is use a cursor to loop through a clob
    Processing (looping through) a CLOB has nothing to do with a cursor.
    > When I create my cursor I get the an error telling me that the table does
    not exist. Which implies that I have an implicit cursor.
    Incorrect. It simply means that
    a) you do not have permissions to access that table from within the current context
    b) it does not exist (e.g. you have misspelled the object name, you have not qualified it properly within the current scope, etc)

  • Retrieve a single row from Multirow ResultsetObject

    I would like to know how can i retrieve a single row from a multi row result object. I have a result object which retrieved multiple rows and i would like to retrieve only the top row or a specific row. Can any one of you suggest how this can be done. Thank you for all the help in advance.

    call next() on your result set, this goes to the first row and you can retrieve the data with getString(), getInt(), etc.

Maybe you are looking for

  • MBA mid-2012 does not see external display on wakeup

    My mid-2012 MBA does not see external displays on wakeup. VERY annoying I have a BenQ 24" HD display connected by HDMI and it is not seen by the Air on wakeup. I have to open the laptop, pull the mini-DV plug out 3 or 4 times before the display is re

  • MIGO/MIRO Posting date to Display mode

    HI all, How can we set MIGO/MIRO Posting date field to Display mode. Can this be set for User specific. Please advise.Its Urgent. Regards, Jag

  • Launching Win.Migration Assistant on Win.7 laptop to transfer files to new iMac

    I downloaded Windows Migration Assistant to my Win.7 O/S laptop so to transfer files to a new imac. The program is downloaded but when i enter "run" it won't launch. Also it is connected directly by ethernet to my new imac and both are on the same mo

  • DB2 to Oracle 11g migration

    Hi, We are migrating the siebel database from DB2 to Oracle 11g. While doing the migration, the following values are found for the siebel related tables on DB2. for example: CREATE TABLE S_SERVICE_SCRPT ( ROW_ID NVARCHAR2(15) NOT NULL, CREATED TIMEST

  • BW-CRM integration material - Amit Mishra

    Hi Amit, Please send me the BW-CRM integration documents to my email [email protected] Will reward points. Thanks in advance Sanju