Update only the row in DB where the cursor are positioned using Write Back

Hello,
I need to have the possibility to create/change values (insert or update data back into the database), dynamically or by typing, in some columns of the physical DB that are mapped in a report request, and that new or changed values could be used as a filter columns in another report request.
So, I have created a new report request in a Subject Area where a certain column of the request result could be editable to make possible change the present value and then write it back in the physical DB.
I have implemented for the column name ‘MOV_VALUE’ the value interaction type format Write Back, and every time I changed any value on this column it updates all rows with this same value from the table ‘MOVEMENTS’.
See below the Template file used in the Write Back table properties:
<?xml version="1.0" encoding="utf-8" ?>
<WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
<WebMessageTable lang="en-us" system="WriteBack" table="Messages">
<WebMessage name= "UpdateMovementData">
<XML>
<writeBack connectionPool="Connection Pool">
<insert> </insert>
<update> UPDATE MOVEMENTS SET MOV_VALUE=@{c4} </update>
<!-- <postUpdate>COMMIT</postUpdate> -->
</writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
Is there any possibility to only update the record from where it is the cursor positioned by using the Write Back in the Answers report?
Is necessary to create any condition to the where clause for the update statement? Which conditions?
Thanks in advance.
Regards,
Pedro Resende

You might try posting to a BPM forum. BPM is a layered product that happens to use WL JMS, but I think most of the folks on this forum aren't familiar with BPM.
Tom

Similar Messages

  • How do I update only the page numbers of a table of contents in Indesign CS6?

    Hi there!
    Please help! I'm making a medical book with more then 1300 pages and about 40 different table of contents.
    I want to update only the page numbers on all the table of contents. But I only see the option to update the complete table of contents.
    I saw on other forums that this is a familiar and very old problem. Did Adobe already fixed this?

    hahaha thanks no I won't Using cross-references in the future! but sending the request anyway; nothing ventured, nothing gained!
    Thanks again!

  • Is it possible to update only the Shared Install component?

    We are running MDM 7.1 with all components at 7.1.06.211.  We opened an OSS ticket due to an issue with CCMS monitoring and SAP told us to upgrade the MDM Shared Install component to at least 7.1.06.230.  We want to use sapinst --> update to apply the patch but cannot find a way to select only the shared install component.  Is the correct procedure to:
    1. In sapinst on the "Update - MDM Instances" screen, select  "Update all MDM instances of the SAP system" (MDS00, MDIS01, MDSS02)
    ...and then...
    2. In sapinst on the "Update - Content Archives" screen, extract only the shared.sar archive and deselect the others (mds.sar, mdis.sar, mdss.sar).
    Will this procedure update the shared installation component only and not the others?  Is this possible?  If not, will all of the other components have to be updated even though SAP said to update only the shared installation component?
    We have searched OSS and SDN but cannot find a clear explanation of how this should work.  Note 1481741 states that all components within the same SP level (e.g. 7.1.06.xx) are compatible and recommends upgrading only the component affected by the fix, which is what we want to do.
    Any help will be appreciated.
    Thanks and regards,
    WL

    Camoracer got it - my work computer has limited hardware/system resources. It can handle iTunes audio, but iTunes video slows it to a crawl and makes it so I can't get any work done. There are video podcasts I'd like to listen to at work, but can't for that reason. So I'd like to just play the audio stream from the podcast while disabling the video stream. The video portion isn't necessary anyway, it's usually just a talking head and not anymore informative than the audio portion alone.

  • I used to be able to copy or drag and drop links from the address window. Now with the update, only the address is copied or dragged not the link. (Says something about not giving site information). I want to be able to drag and drop or copy links.

    Question
    I used to be able to copy or drag and drop links from the address window. Now with the update, only the address is copied or dragged not the link. (Says something about not giving site information). I want to be able to drag and drop or copy links.

    To be more precise, you can setup a JComponent or JPanel on top of your JavaFX nodes that has a TransferHandler that can convert the (AWT/Swing) images dragged to the app to JavaFX image and then insert it into the underlying node.
    As for the file chooser itselft: ListView and the JavaFX composer can allow you to create one quite easily. TreeView can aslso be used to a lesser extend (still a big buggy). For both of these, there are small bugs in the Cell API that may (or may not) prevent from displaying a proper thumbnail in the cells.
    You can also use a regular JFileChooser if you do not mind the dialog box having a different LnF from the rest of your application.

  • Grant to update only one row

    Hi all,
    I'm working with an 10.2.0.3 Oracle Enterprise version.
    I need to create a new user on my database with permission to update only one row on table.
    Have you notice if this is possible? In case, how is the grant to do this?
    Regards,
    dbajug

    Try this:
    SQL> create user usr1 identified by usr1;
    User created.
    SQL> create user usr2 identified by usr2;
    User created.
    SQL> grant connect, resource to usr1,usr2;
    Grant succeeded.
    SQL> conn usr1/usr1
    Connected.
    SQL> create table t (id number);
    Table created.
    SQL> insert into t values(1);
    1 row created.
    SQL> insert into t values(2);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> grant update on t to usr2;
    Grant succeeded.
    SQL> create or replace trigger trg_t
      2  before update on t
      3  for each row
      4  begin
      5  if :old.id>1 then
      6  raise_application_error(-22299,'You cant change the specific value ');
      7  end if;
      8  end;
      9  /
    Trigger created.
    SQL> update usr1.t set id=2 where id=1;
    1 row updated.
    SQL> update usr1.t set id=2 where id=2;
    update usr1.t set id=2 where id=2
    ERROR at line 1:
    ORA-21000: error number argument to raise_application_error of -22299 is out of
    range
    ORA-06512: at "USR1.TRG_T", line 3
    ORA-04088: error during execution of trigger 'USR1.TRG_T'
    SQL>

  • Only the constants are showing up in the target values.

    Hi Guys,
    Please help me about my problem in message mapping..
    Im quite knew in XI version 7.0.
    How come Only the constants are showing up in the target values. my constant values are only doc_type and partn_role.
    The rest are data from sql. How can I solve this..Please help.
    This is the result of my test tab
    Left side - sender
    <?xml version="1.0" encoding="utf-8"?>
    <ns:MT_TRAVEL_SENDER xmlns:ns="HTTP://TRAVEL.COM/TRANSACTIONS">
       <row>
          <DOC_TYPE>ZTRV</DOC_TYPE>
          <SALES_ORG>4000</SALES_ORG>
          <DISTR_CHAN>40</DISTR_CHAN>
          <DIVISION>41</DIVISION>
          <SALES_GRP>411</SALES_GRP>
          <SALES_OFF>4101</SALES_OFF>
          <PURCH_DATE>2008-10-24</PURCH_DATE>
          <PMNTTRMS>Z015</PMNTTRMS>
          <PURCH_NO_C>AVADIUDS  </PURCH_NO_C>
          <PARTN_ROLE>AG</PARTN_ROLE>
          <PARTN_NUMB>0001100074</PARTN_NUMB>
          <INSERTED>1</INSERTED>
       </row>
    </ns:MT_TRAVEL_SENDER>
    right side -test result under receiver
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:BAPI_SALESORDER_CREATEFROMDAT2 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
       <ORDER_HEADER_IN>
          <DOC_TYPE>ZTRV</DOC_TYPE>
       </ORDER_HEADER_IN>
       <ORDER_HEADER_INX>
          <UPDATEFLAG>I</UPDATEFLAG>
          <DOC_TYPE>X</DOC_TYPE>
          <SALES_ORG>X</SALES_ORG>
          <DISTR_CHAN>X</DISTR_CHAN>
          <DIVISION>X</DIVISION>
          <SALES_GRP>X</SALES_GRP>
          <SALES_OFF>X</SALES_OFF>
          <PURCH_DATE>X</PURCH_DATE>
          <PMNTTRMS>X</PMNTTRMS>
          <PURCH_NO_C>X</PURCH_NO_C>
       </ORDER_HEADER_INX>
       <ORDER_PARTNERS>
          <item>
             <PARTN_ROLE>AG</PARTN_ROLE>
          </item>
       </ORDER_PARTNERS>
    </ns1:BAPI_SALESORDER_CREATEFROMDAT2>

    Hi leelaratnam morampudi ,
    How can I check if im getting the data in sql? I think it get the data but dont pass the value in bapi
    this is the test result in sender
    <DOC_TYPE>ZTRV</DOC_TYPE>
    <SALES_ORG>4000</SALES_ORG>
    <DISTR_CHAN>40</DISTR_CHAN>
    <DIVISION>41</DIVISION>
    <SALES_GRP>411</SALES_GRP>
    <SALES_OFF>4101</SALES_OFF>
    <PURCH_DATE>2008-10-24</PURCH_DATE>
    <PMNTTRMS>Z015</PMNTTRMS>
    <PURCH_NO_C>AVADIUDS  </PURCH_NO_C>
    <PARTN_ROLE>AG</PARTN_ROLE>
    <PARTN_NUMB>0001100074</PARTN_NUMB>
    <INSERTED>1</INSERTED>

  • T60p, can't go to desktop after the Windows Logo, only the cursor stays here and can move[pic]

    My Thinkpad T60p can't go to desktop after the Windows logo, it has fingerprint, but never appears, only the cursor stays here and can move, the back ground is not black, nothing happens pressing Ctrl+Alt+Del or Win button.
    Can go to safe mode but the same situation, the cursor is here, black background, nothing happens pressing Ctrl+Alt+Del or Win button.
    After a long time of searching I guess the very most possible reason is system updating many patches guided by a software that lead me did that.
    Thanks!
    Dan
    Link to image
    Moderator note: images totalling more than 50k converted to links per forum rules:  Lenovo Community Participation Rules

    If I was given this laptop to diagnose the first thing I would do is swap in another harddrive and confirm all the hardware works. If you don't have another drive to boot from you can use a Linux live-cd, it'll pretty much tell you the same thing and if the laptop works, your solution would be to either fix your operating system or reformat and start over with a new installation. 
    ThinkPad W-510 i7-820QM(1.73-3.06GHz) Quad Core... ThinkPad T500, T9900, 8gb SSD...FrankNpad T-60p/61p (X9000 2.8ghz) 8gb SSD ips FlexView...ThinkPad T-61p (T9300 2.5ghz) 8gb ram...Thinkpad X-61 Tablet 4gb ram...ThinkPad A-31 (1.9ghz P4 1.5gb ram)

  • Save Only The Artboard area into AI file

    Hi,
    Is it possible to save only the ARTBoard Area into a new AI document by using JSX.
    for example in the above image I want only the yellow marked drawing ,that is inside the artboard area, to be save in the new document [AI file] by using JSX.
    Thanks

    What you see in the document is what you will see when you save it.
    I recommend saving as a psd then if you really want to you can merge the layer or flatten (merge will leave the background transparent whereas flatten will give you a white backgound if there are any transparent areas in the document)
    (ctrl-e or ctrl-shift-e {windows} cmd-e or cmd-shift-e {Mac})
    Or you can leave the layers alone and create a composite (A new merge layer on top of the other layers)
    (ctrl-shift-alt-e {windows} cmd-shift-opt-e {mac})
    That said not all formats support layers or transparency. An example of that is jpg when you save with that format you will get a single flattened layer that will have a white background anyplace there was transparency.
    To recap:
    1)Always work on a duplicate file when doing destructive work so you can return later and undo what you did.
    2)When ever possible use non-destructive edits such as a composite layer.
    3)If you require layers or transparency it is required that you use a format that supports them like tiff or psd
    4)Use jpg as a file for sharing and never as the master file. Because the format is destructive and throws out data each time you open and save it.

  • I had to reformat my OSX 10.5.8 and i can't restore my emails from my time machine backup from an external hard drive - only the latest (post backup) time machine back ups are available to restore. Please can any help

    I had to reformat my OSX 10.5.8 and I can't restore my emails from my time machine backup from an external hard drive - only the latest (post backup) time machine back ups are available to restore. Please can any help? I can find the mail folder in my libraries, but the Restore Button is grayed out

    OSX treats the reformatted drive as a different one; it's the same as replacing it, and the old one is no longer connected.
    See #E3 in  Time Machine - Troubleshooting to see and restore from the "old" drive.
    And, you may not want to restore via the Finder; see the blue box in #15 of  Time Machine - Frequently Asked Questions.

  • HT3228 I have one of the origin iPads. Suddenly when I receive an email only the headings are shown - the body of the text is blank. Also previously received emails have also had the text body removed. Any suggestions as to what caused this?

    I have one of the original iPads. Suddenly (from yesterday) when I receive an email only the headings are shown - the body of the text is blank. Also previously received emails have also had the text body removed. Any suggestions as to what caused this?

    Try this.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • "This ipod cannot be updated. The files are corrupted and unreadable"

    This message now appears when I connect my ipod to itunes....
    "This ipod cannot be updated. The files are corrupted and unreadable"
    The ipod still works and charges, but it will no longer let me add new files to it. The contents of my ipod are still displayed as usual on itunes, so it obviously is reading it to some degree. It advises me to run a chkdsk utility, but I have no idea how to do this.
    Has anyone encountered a similar problem? Does anyone know how I can fix this problem?
    Many thanks

    If your iPod is corrupt then you have no choice but to restore it.
    Before you do that, you may have some success getting the music off it and onto your hard drive again.
    Check out the instructions/suggestions here.
    Music from iPod to computer.

  • When trying to perform apps updates, says the apps are no longer available. Microsoft office and Chrome?

    When trying to perform apps updates, says the apps are no longer available. Microsoft office Word, Excel, PowerPoint and Chrome?

    Not sure how I got in AppleWorks. I was having slow internet issues as well. I checked the apps later, and they were able to update.

  • Can somebody can tell me is CC for team can support to save the files in the local area without using the cloud ?

    Can somebody can tell me is CC for team can support to save the files in the local area without using the cloud ?

    The desktop applications are still installed on your computer, and the files are also saved on your computer.
    Optionally you can upload files with a browser to https://creative.adobe.com/files, or sync up files using the file sync that is part of the Creative Cloud desktop application. The online file storage is private to you, no one else can see it your files.
    If you do want to share your files there are two options:
    You can Collaborate, which is sharing a folder with another Adobe ID. Only the person you collaborate with can see the folder.
    You can use Send Link to send a publicly accessible url to a file or folder.

  • Itunes could not sync contacts to the iphone because the contacts are in use by the iphone

    itunes could not sync contacts to the iphone because the contacts are in use by the i phone....  hi i always get this messega when i plug my phone in to the iphone is there anyone have any idea how to fix my phone thank u

    Am I'm the only one with this issue?
    As I investigate the crash logs it appears that the contacts db is corrupted and that is what is killing the phone, contacts, and mail etc settings.
    I have my contacts backed up several places so I'm not worried about losing them.
    Anyone know how to wipe or recreate the contacts db on the phone via an attached PC?
    JT

  • [IDCS5.5 plugin] How do I get the sentence at the cursor's position?

    Hi All,
    How can I get the current cursor position (event on mouse left-click)?
    And then , how can I fetch the sentence based on the cursor's position? (Assuming a sentence starts with a capital character and ends with a ".")
    I'm getting no hint on this, any help will be appretitated.
    Thanks

    tma654 wrote:
    Sorry, not so good great at LR.  Do you have pics or something visual to show how this is done?...Do i have to switch each photo's process version or is there a way to do a whole batch of them?
    The quickest way to update just one photo is to click the lightning bolt icon under the histogram in the Develop module. This can be more convenient than scrolling all the way down to the Calibration tab.
    A quick way to update a whole batch of them is to select any number of them in Grid view, and then choose Photo > Develop Settings > Convert to Current Process. The AutoSync way works too, as long as you remember to turn it off immediately after you're done.
    Like JimHess suggests, I don't automatically convert them all at once, but on a case by case basis because they don't always look better after conversion. The benefits of the new process version can potentially make them look better, but you usually have to do a few more adjustments to get them there. If you don't have time to do that yet but you need to use the existing images soon, leave them in the old process version for now.

Maybe you are looking for