Put a Client column in the UWL

Hi,
I'm looking for a way of putting a client column in the UWL, that gets the client for each Work Item (task).
Previously I've had succes with getting BOR attributes, however now I need the client for the current task.
    <ItemType name="uwl.task.webflow.TS00999999.SAPxxx.xxxxx_xxx" connector="WebFlowConnector" defaultView="some_View" defaultAction="launchWebDynPro" executionMode="default">
      <ItemTypeCriteria systemId="xxxxx_xxx" externalType="TS00999999" connector="WebFlowConnector"/>
      <CustomAttributes>
        <CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="BUSxxxx" cacheValidity="default">
          <Attribute name="CURRENCY" type="string" displayName="Currency"/>
        </CustomAttributeSource>
BR
Lasse

See example below. Hope this is what you want.
SQL> select * from tst_table;
        ID DEP        DET
        10 XXX        A
        10 XXX        B
        20 YYY        C
        10 ZZZ        D
SQL> create or replace view my_view as
  2  select id,dep,det,(select 'Closed' from dual) Status from tst_table;
View created
SQL> desc my_view;
Name   Type         Nullable Default Comments
ID     NUMBER       Y                        
DEP    VARCHAR2(10) Y                        
DET    VARCHAR2(25) Y                        
STATUS CHAR(6)      Y                        
SQL> select * from my_view;
        ID DEP        DET                       STATUS
        10 XXX        A                         Closed
        10 XXX        B                         Closed
        20 YYY        C                         Closed
        10 ZZZ        D                         Closed
SQL>

Similar Messages

  • Adding columns in the UWL

    Hi,
    This is  Rajyalakshmi. I nee to add columns in the UWL .
    I have  changed the XML coding accordingly .and uploaded the file .but the  added columns are not appearing in the UWL.
    I have added the  view in the   XML file corresponding  to the backend related.
    do i need  add the view and atributes in teh standard XML file as well?
    It would be great if anybody can share the information reagrding this.
    Raji

    Hi Beth Maben,
    I am trying to add the custom attributes.now the added columns are appearing ina subview.But i the new columns which I ahve been added  need to appear in the  default view.
    the UWL version I am using is as below.
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'>
    <UWLConfiguration version="7.00.01.01">
    I configured the XML for one task for test purpose.
    <ItemType name="uwl.task.webflow.TS10008126" connector="WebFlowConnector" defaultView="MyView" defaultAction="viewDetail" executionMode="pessimistic">
                   <ItemTypeCriteria externalType="TS10008126" connector="WebFlowConnector"/>
                       <Actions>
                        <Action reference="com.sap.pct.srm.core.action.oldwfl.approve"/>
                        <Action reference="com.sap.pct.srm.core.action.oldwfl.reject"/>
                        <Action reference="com.sap.pct.srm.core.action.launchWD.oldwfl.sc.approve"/>
                   </Actions>
              </ItemType>
              <ItemType name="uwl.completedtask.webflow.TS10008126" connector="WebFlowConnector" defaultView="MyView" defaultAction="viewDetail" executionMode="pessimistic">
                   <ItemTypeCriteria externalType="TS10008126" connector="WebFlowConnector"/>
                    <CustomAttributes>
                      <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalObjectId" objectType="WebflowContainer" cacheValidity="final">
                       <Attribute name="REQ_NAME" displayName="Created By"/>
                      <Attribute name="TOTAL_VALUE" displayName="TotalValue"/>
                        <Attribute name="CURRENCY" displayName="Currency"/>
                  </CustomAttributeSource>
                 </CustomAttributes>
                   <Actions>
                        <Action reference="com.sap.pct.srm.core.action.launchWD.oldwfl.sc.display"/>
                   </Actions>
    created View is as follows :
    <!-- View: New and Inprogress Tasks -->
              <View name="MyView" selectionMode="SINGLESELECT" referenceBundle="MyView" width="98%" supportedItemTypes="uwl.task.webflow.TS10008126" columnOrder="subject,creatorId,RequisitionerName,TotalValue,Currency,createdDate" sortby="createdDate:descend" tableDesign="ALTERNATING" visibleRowCount="10" queryRange="undefined" displayOnlyDefinedAttributes="no" tableNavigationFooterVisible="yes" tableNavigationType="CUSTOMNAV" refresh="300" dueDateSevere="86400000" dueDateWarning="259200000" emphasizedItems="new" dynamicCreationAllowed="yes" actionPosition="bottom">
                   <DisplayAttributes>
                        <DisplayAttribute name="subject" type="link" width="" sortable="yes" format="default" actionRef="viewDetail" referenceBundle="subject" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
                        <DisplayAttribute
                             name="creatorId"
                             type="people"
                             width=""
                             sortable="yes"
                             format="default"
                             referenceBundle="from"
                             hAlign="LEFT"
                             vAlign="BASELINE"
                             maxTextWidth="0"
                             headerVisible="yes"/>
                              <DisplayAttribute
                             name="RequisitionerName"
                             type="String"
                             width=""
                             sortable="yes"
                             format="default"
                             referenceBundle="REQ_NAME"
                             hAlign="LEFT"
                             vAlign="BASELINE"
                             maxTextWidth="0"
                             headerVisible="yes"/>
                       <DisplayAttribute
                             name="TotalValue"
                             type="double"
                             width=""
                             sortable="yes"
                             format="medium"
                             referenceBundle="TOTAL_VALUE"
                             hAlign="RIGHT"
                             vAlign="BASELINE"
                             maxTextWidth="0"
                             headerVisible="yes"/>
                           <DisplayAttribute
                             name="Currency"
                             type="String"
                             width=""
                             sortable="yes"
                             format="medium"
                             referenceBundle="CURRENCY"
                             hAlign="RIGHT"
                             vAlign="BASELINE"
                             maxTextWidth="0"
                             headerVisible="yes"/>
                                                                                    <DisplayAttribute name="createdDate" type="datetime" width="" sortable="yes" format="medium" referenceBundle="sent_date" hAlign="LEFT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>               
                  </DisplayAttributes>
                   <Actions>
                        <Action reference="removeFromNavigation"/>
                             <Action reference="addToNavigaion"/>
                             <Action reference="personalize"/>
                   </Actions>
              </View>
    I am trying to add the attributes in the  in standard XML file  as well.but I am getting that error that " adding custom attributes is not supported " as per the  standard model definition.
    Appriciate your information  if any reagarding this .
    Raji.

  • Add 'Time'  column to the UWL

    Hi,
    SAP business workplace displays Time the workitem was sent to the Inbox. I want to bring this column into the UWL display. How can this be done?
    Thanks,
    Saurabh

    Hi,
    Check this.
    Flashy UWL ...
    Retrieve UWL tasks in Webdynpro
    I think you can do it in personalize also.
    Check it once I am not sure.
    UWL WORK ITEM REGISTRATION.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/59/6e0986d3bb4b05a08196a76c4a575f/frameset.htm
    Thanks and Regards,
    gopal.sattiraju

  • Insert Blob column in the client errors ClassCastException: oracle.sql.BLOB

    Hi,
    When I try to insert and commit a Blob column(picture) I am getting the following exception.
    Is there any jar I need to add or any other setup I need to do to accept the BLOB column in the olite client database.
    500 Internal Server Error
    javax.faces.FacesException: #{backing_XXPBWorkOrderResultsCreatePGBean.saveButton_action}: javax.faces.el.EvaluationException: java.lang.ClassCastException: oracle.sql.BLOB
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:78)
         at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
    Caused by: java.lang.ClassCastException: oracle.sql.BLOB
         at oracle.lite.poljdbc.LiteEmbPreparedStmt.setVal(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCPreparedStatement.setObject(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCPreparedStatement.setObject(Unknown Source)
         at oracle.lite.poljdbc.POLJDBCPreparedStatement.setObject(Unknown Source)
         at oracle.lite.web.JupPreparedStatement.setObject(Unknown Source)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindUpdateStatement(BaseSQLBuilderImpl.java:1765)
         at oracle.jbo.server.EntityImpl.bindDMLStatement(EntityImpl.java:7345)
    With regareds,
    Kali.
    OSSI.

    Here are examples if inserting into a Blob from text, file, and retrieving a blob.
    Insert into a Blob (Text)
    import java.io.FileNotFoundException;
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    public class InsertBlob {
        public static void main(String[] args) throws FileNotFoundException {
            Connection con = null;
            PreparedStatement stmt = null;
            ResultSet rs = null;
            String letterText = "some letter text";
            long id = 100;
            try {
                DriverManager.registerDriver((Driver)(Class.forName("oracle.lite.poljdbc.POLJDBCDriver").newInstance()));
                try {
                    con = DriverManager.getConnection("jdbc:polite:polite", "system", "manager");
                } catch (SQLException sqle) {
                    sqle.printStackTrace();
            } catch (Exception e) {
                e.printStackTrace();
            try {
                stmt = con.prepareStatement("INSERT INTO BLOB_TABLE (BLOB_ID, BLOB_DATA) VALUES (?, EMPTY_BLOB())");
                stmt.setLong(1, id);
                stmt.executeUpdate();
                stmt = con.prepareStatement("SELECT BLOB_DATA FROM BLOB_TABLE WHERE BLOB_ID = ? FOR UPDATE");
                stmt.setLong(1, id);
                rs = stmt.executeQuery();
                if (rs.next()) {
                    try {
                        oracle.lite.poljdbc.BLOB oliteBlob = null;
                        oliteBlob = ((oracle.lite.poljdbc.OracleResultSet) rs).getBLOB(1);
                        byte[] byteLetterText = letterText.getBytes();
                        oliteBlob.putBytes(1, byteLetterText);
                        con.commit();
                    } catch (ClassCastException e) {
                        e.printStackTrace();
                    } finally {
                        rs = null;
                        stmt = null;
                        con.rollback();
                        con = null;
            } catch (SQLException e) {
                e.printStackTrace();
    }Insert Into a Blob (File)
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    public class InsertBlobFile {
        public static void main(String[] args) throws FileNotFoundException {
            Connection con = null;
            PreparedStatement stmt = null;
            long id = 200;
            try {
                DriverManager.registerDriver((Driver)(Class.forName("oracle.lite.poljdbc.POLJDBCDriver").newInstance()));
                try {
                    con = DriverManager.getConnection("jdbc:polite:polite", "system", "manager");
                } catch (SQLException sqle) {
                    sqle.printStackTrace();
            } catch (Exception e) {
                e.printStackTrace();
            try {
                stmt = con.prepareStatement("INSERT INTO BLOB_TABLE (BLOB_ID, BLOB_DATA) VALUES (?, ?)");
                stmt.setLong(1, id);
                File fBlob = new File ( "C:\\BLOB_TEST_FILE.TXT" );
                FileInputStream is = new FileInputStream ( fBlob );
                stmt.setBinaryStream (2, is, (int) fBlob.length() );
                stmt.executeUpdate();
                con.commit();
            } catch (SQLException e) {
                e.printStackTrace();
    }Retrieve from Blob (Write to file)
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.sql.Blob;
    import java.sql.Connection;
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    public class RetrieveBlob {
        final static int bBufLen = 32 * 1024;
        final static String outFile = "C:\\BLOB_OUTPUT_FILE.TXT";
        public static void main(String[] args) throws IOException {
            Connection con = null;
            PreparedStatement stmt = null;
            ResultSet rs = null;
            try {
                DriverManager.registerDriver((Driver)(Class.forName("oracle.lite.poljdbc.POLJDBCDriver").newInstance()));
                try {
                    con = DriverManager.getConnection("jdbc:polite:polite", "system", "manager");
                } catch (SQLException sqle) {
                    sqle.printStackTrace();
            } catch (Exception e) {
                e.printStackTrace();
            try {
                stmt = con.prepareStatement("SELECT * FROM BLOB_TABLE");
                rs = stmt.executeQuery();
                while(rs.next()) {
                    int id = rs.getInt(1);
                    Blob value = rs.getBlob(2);
                    System.out.println(id + " | " + value);
                    writeBlobToFile(value);
            } catch (SQLException e) {
                e.printStackTrace();
        public static long readFromBlob(Blob blob, OutputStream out)
          throws SQLException, IOException {
            InputStream in = blob.getBinaryStream();
            int length = -1;
            long read = 0;
            byte[] buf = new byte[bBufLen];
            while ((length = in.read(buf)) > 0) {
                out.write(buf, 0, length);
                read += length;
            in.close();
            return read;
        public static long writeBlobToFile(Blob blob)
          throws IOException, SQLException {
            long wrote = 0;
            OutputStream fwriter = new FileOutputStream(outFile);
            wrote = readFromBlob(blob, fwriter);
            fwriter.close();
            return wrote;
    }

  • How to make the display of custom column names in UWL(not bother abt values

    Hi all
    i want to make the display of custom column names in UWL ( for example GP)
    i dont want or not looking about values for those custom columns . i know that thru custom connector we can achieve to retrieve the values for those custom columns. but currently i am looking only just to display the custom column names( for example GP custom column names, just i want to display the name of the columns ) in UWL .
    Thanks
    Sunil

    Hello Prashant,
    You can add the control to your custom pagelayout, the following article has an example:
    http://spandps.com/2012/02/22/showing-the-audience-target-field-in-an-editmodepanel-sharepoint-sp2010-in-projectserver-ps2010/
    Btw, the SPFieldTargetToControl has a required property:
    http://msdn.microsoft.com/en-us/library/microsoft.office.server.webcontrols.fieldtypes.spfieldtargettocontrol.required(v=office.14).aspx
    - Dennis | Netherlands | Blog |
    Twitter

  • Adding custom columns to the tasks tab in UWL

    Hi Experts,
    We have UWL configured for GP in CE 7.1.
    Currently we have standard columns like Subject, From, Sent Date etc. only
    I need to add some columns like Project No., Customer No.(GP parameters) to the 'Tasks' tab in it.
    These columns are required for all the Work items that appear in UWL.
    I have read about adding custom view for a specific task , but not sure how it can be done in my case.
    Kindly provide inputs for this.
    Thanks and Regards
    Aanchal

    Hi Aanchal,
    i have posted exactly the same problem a few months ago, and no one answered me.
    I couldn't find any documentation on how to add custom GP parameters in the universal worklist, in the examples on customizing the UWL XML they always refer to parameters from the r/3 webflow, never GP.
    I really can't believe that nobody ever tried to do this and faced this problem!
    Please let me know if you find something..
    Regards,
    Marco.

  • Grab the first rows and put it to column wise

    Below are two dump, i want to grab the first 2 rows in ascending order by from_date and put to column wise, the first row label first_charge and second row as second_charge. AND throw away rows from 3 are not needed.
    1st dump 5 columns are my input,
    2nd dump 3 columnS ARE my desired output.
    I have tried the rank function but can someone please confirm this is correct way to do this for all the accounts in the table
    Script (table and data) for 1st dump is at bottom of post.
    Can anyone help resolve this issue - thanks.
    --FIRST DUMP
    ACCOUNT_ID     CHARGE_AMT     CHARGE_DATE     FROM_DATE     THRU_DATE
    212855740     14.52          5/04/2012     14/03/2012     31/03/2012
    212855740     25          5/04/2012     1/04/2012     30/04/2012
    212855740     25          5/05/2012     1/05/2012     31/05/2012
    212855740     25          5/06/2012     1/06/2012     30/06/2012
    212855740     25          5/07/2012     1/07/2012     31/07/2012
    212855740     25          5/08/2012     1/08/2012     31/08/2012
    212855740     25          5/09/2012     1/09/2012     30/09/2012
    212855740     25          5/10/2012     1/10/2012     31/10/2012
    212855740     25          5/11/2012     1/11/2012     30/11/2012
    --DESIRED DUMP                    
    ACCOUNT_ID     PRO_CHARGE     MONTHLY_CHARGE          
    212855740     14.52          25          
    WITH CHARGE_TABLE_QUERY
         AS (SELECT account_id,
                    charge_amt,
                    charge_date,
                    from_date,
                    thru_date,
                    ROW_NUMBER ()
                       OVER (PARTITION BY account_id ORDER BY from_Date)
                       row_num
               FROM my_tbl)
      SELECT account_id,
             MAX (CASE WHEN ROW_NUM = 1 THEN CHARGE_AMT ELSE 0 END) PRO_CHARGE,
             MAX (CASE WHEN ROW_NUM = 2 THEN CHARGE_AMT ELSE 0 END) MONTHLY_CHARGE
        FROM CHARGE_TABLE_QUERY q
       WHERE row_num IN (1, 2)
    GROUP BY account_id;

    ricard888 wrote:
    what happens if a new account where there is no second charge yet. can i have either null or 0 in the monthly_charge.You could test it easily. Anyhow, it will work without any change in the code
    insert into my_table
    select 1,50,CHARGE_DATE,FROM_DATE,THRU_DATE
    from my_table
    where rownum = 1;
    1 rows inserted.
    with CHARGE_TABLE_QUERY as
      select account_id,charge_amt,
             ROW_NUMBER ()
                OVER (PARTITION BY account_id ORDER BY from_Date)  rn,
             lead(charge_amt)
               OVER (PARTITION BY account_id ORDER BY from_Date) MONTHLY_CHARGE
      from my_table
    select account_id,charge_amt pro_charge,monthly_charge
    from CHARGE_TABLE_QUERY
    where rn = 1;
    ACCOUNT_ID PRO_CHARGE MONTHLY_CHARGE
             1         50               
    212855740      14.52             25

  • On the main window, what is the column to the left of client status icon?

    on the main window (ARD version 3), what is the narrow column immediately to the left of the column with client status icon? (The columns to the right of the client status icon are Name, IP address, DNS name, ARD version, and so on)? I can't find this mentioned anywhere in the Remote Desktop manual.
    That column is blank next to all the computers except one, which has a blue (aqua) circle.
    PowerMacG5dual1.8GHz   Mac OS X (10.4.8)  

    I have now managed to reproduce the blue (aqua-looking) ball. Just as I had at work, I installed ARD v. 3. on a machine on my home LAN, once again setting it up as the administrator machine. To install the client on another machine in the LAN, I then chose the "Upgrade Client Software" option. I entered the username and password of an admin user on that machine, hit "Upgrade" and the installation appeared to go successfully. Upon returning to the Scanner (main) window on my administrator machine, I noticed the blue ball in that first column next to the name of the machine with the newly updated client software.
    Was there anything in common between the one machine at work with a blue ball in that column and the one machine at home with the blue ball? The only thing I can think of is that on neither of those 2 machines had I ever manually installed ARD 2.2 client previously. Does that make any sense?

  • When I save a PDF as an Excel File, all of the data in the PDF is put into one column (AdobeXI)

    Hi, thanks for taking the time...
    I'm running a machine with Windows 7, Office 2010, and Acrobat XI.  When I save a specific PDF as an Excel workbook, all of the data in the original PDF is sorted correctly in four columns.  When the same task is performed on this file on another user's machine, all of the data is sorted into one column.  The user has the same versions of Windows, Office, and Acrobat.  I've attempted the "Repair installation" option but the problem persists.  Any suggestions?  Thanks again for helping,
    -E

    Thanks for the quick reply.  I figured out how to get the desired results by using tagging.  For anyone who may reference this post in the future, I went to "Customize" in the top right corner of Adobe, then selected "Create new tool set...", looked under "accessiblity and found the "tag" option.  Hit ok, tag is added to the toolbar.  Then I highlighted the dataset in the PDF that was relevant to the output format, then clicked "tag", saved as spreadsheet.  Sorry I can't provide more details on how tagging works or if there's a more elegant solution available, but I'm sure one's out there.

  • Configuring the UWL Manage Substitution Rules

    Hi,
    I have a need to be able to add at least one more additional columns/fields to the ‘Manage Substitute Rules/My Substitute Rules’, ‘Search For People/Current Selection’ and the General Data screens of the UWL Manage Substitutions Rules.
    Is this a configurable feature/option in that can I add extra fields to the different fields?
    The reason for this requirement is that my current client is implementing SAP’s Concurrent Employment in their ECC 6 and SRM 5.0 systems. This decision is causing all sorts of challenges.
    If a person wants to define a substitute in the UWL, when they select the ‘Search For People’, we want to display an additional column that displays the position/job description for each person within the organization. This would make it easier to select the correct instance of a person if that person had multiple display entries in the selection list. For example if the system returns Joe Cole – Soccer Player; Joe Cole – Librarian and Joe Cole – Accountant and the person wanted to select Joe Cole – Librarian, they would have the required information to make the selection.
    Thanks,
    Jerry

    Hi Jerry,
    May be this link can help you...
    <i>http://help.sap.com/saphelp_nw2004s/helpdata/en/0b/1fc20097b74c41b38621ec2a9454bb/frameset.htm</i>
    Please ignore this reply if this link doesnt help you.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Data of column datatype CLOB is moved to other columns of the same table

    Hi all,
    I have an issue with the tables having a CLOB datatype field.
    When executing a simple query on a table with a column of type CLOB it returns error [POL-2403] value too large for column.
    SQL> desc od_stock_nbcst_notes;
    Name Null? Type
    OD_STOCKID N NUMBER
    NBC_SERVICETYPE N VARCHAR(40)
    LANGUAGECODE N VARCHAR(8)
    AU_USERIDINS Y NUMBER
    INSERTDATE Y DATE
    AU_USERIDUPD Y NUMBER
    MODIFYDATE Y DATE
    VERSION Y SMALLINT(4)
    DBUSERINS Y VARCHAR(120)
    DBUSERUPD Y VARCHAR(120)
    TEXT Y CLOB(2000000000)
    NBC_PROVIDERCODE N VARCHAR(40)
    SQL> select * from od_stock_nbcst_notes;
    [POL-2403] value too large for column
    Checking deeply, some of the rows have got the data of the CLOB column moved in another column of the table.
    When doing select length(nbc_providercode) the length is bigger than the datatype of the field (varchar(40)).
    When doing substr(nbc_providercode,1,40) to see the content of the field, a portion of the Clob data is retrieved.
    SQL> select max(length(nbc_providercode)) from od_stock_nbcst_notes;
    MAX(LENGTH(NBC_PROVIDERCODE))
    162
    Choosing one random record, this is the stored information.
    SQL> select length(nbc_providerCode), text from od_stock_nbcst_notes where length(nbc_providerCode)=52;
    LENGTH(NBC_PROVIDERCODE) | TEXT
    -------------------------+-----------
    52 | poucos me
    SQL> select nbc_providerCode from od_stock_nbcst_notes where length(nbc_providerCode)=52;
    [POL-2403] value too large for column
    SQL> select substr(nbc_providercode,1,40) from od_stock_nbcst_notes where length(nbc_providercode)=52 ;
    SUBSTR(NBC_PROVIDERCODE
    Aproveite e deixe o seu carro no parque
    The content of the field is part of the content of the field text (datatype CLOB, containts an XML)!!!
    The right content of the field must be 'MTS' (retrieved from Central DB).
    The CLOB is being inserted into the Central DB, not into the Client ODB. Data is synchronized from CDB to ODB and the data is reaching the client in a wrong way.
    The issue can be recreated all the time in the same DB, but between different users the "corrupted" records are different.
    Any idea?

    939569 wrote:
    Hello,
    I am using Oracle 11.2, I would like to use SQL to update one column based on values of other rows at the same table. Here are the details:
    create table TB_test (myId number(4), crtTs date, updTs date);
    insert into tb_test(1, to_date('20110101', 'yyyymmdd'), null);
    insert into tb_test(1, to_date('20110201', 'yyyymmdd'), null);
    insert into tb_test(1, to_date('20110301', 'yyyymmdd'), null);
    insert into tb_test(2, to_date('20110901', 'yyyymmdd'), null);
    insert into tb_test(2, to_date('20110902', 'yyyymmdd'), null);
    After running the SQL, I would like have the following result:
    1, 20110101, 20110201
    1, 20110201, 20110301
    1, 20110301, null
    2, 20110901, 20110902
    2, 20110902, null
    Thanks for your suggestion.How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information.

    I started getting these errors on one of my lists that has several workflows running on it. The strange thing is it has been running pretty much error free for 1.5 years and we have not made any changes to the workflows and no updates have been applied prior
    to the errors staring.
    It is typically always the same workflow but it doesn't always happen, only some of the newly added list items will error. If I simply cancel the current instance and manually start it again it runs fine to completion and it only seems to error out
    at the start.
    Most of the other workflows pause/wait for a status change but I will be reviewing all the workflows to confirm there is no locking conflict. I have added a Wait to one other workflow that I know will update the list item on startup, it is populating
    the Title column but even after that I am still getting the error.
    I noticed in the TraceLogs, 2 errors that started on Feb 2 and I could not find them in any previous logs (went back many days with no occurrences).
    02/02/2015 07:15:55.93  w3wp.exe (0x1C50)                        0x18D4 SharePoint Foundation        
     Workflow Infrastructure        88xr Unexpected WinWF Internal Error, terminating workflow Id# 6cbf1da4-fbf9-4dfe-ae48-b6d765cc6d03 
    02/02/2015 07:15:56.37  w3wp.exe (0x1C50)                        0x2140 SharePoint Foundation        
     SPRequest                      8l3a Medium   Failed to cache field with id "{49af83c9-c5e3-47db-b055-bf18673bba67}", overwrite=0
    The "Field ID"{49af83c9...} listed is a Lookup column to a Clients list on the same site.
    Any suggestions on what could be causing the sudden errors. I will be reviewing all other workflows but as I mentioned previously, this system has been working great up until Feb 2 with no changes to the lists or workflows for 3-6+ months.
    Thanks in advance.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

    Thanks for the quick response Nikhil.
    Our SPF 2010 server is relatively small to many setups I am sure. The list with the issue only has 4456 items and there are a few associated lists, eg lookups, Tasks, etc see below for count.
    Site Lists
    Engagements = 4456 (Errors on this list, primary list for activity)
    Tasks = 7711  (All workflow tasks from all site lists)
    Clients = 4396  (Lookup from Engagements, Tslips, etc)
    Workflow History = 584930 (I periodically run a cleanup on this and try to keep it under 400k)
    Tslips = 3522 (Engagements list can create items here, but overall not much interaction between lists)
    A few other lists that are used by workflows to lookup associations that are fairly static and under 50 items, eg "Parters Admin" used to lookup a partners executive admin to assign a task.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • The workflow could not update the item, possibly because one or more columns for the item require a different type of information using Update Item action

       I got error  "The workflow could not update the item, possibly because one or more columns for the item require a different type of information "I  found out the cause is  Update Item action       
    I need to update item in another List call Customer Report ,the field call "Issues"  with data type  "Choice"   to yes
    then the error arise .   please help..

    Thanks for the quick response Nikhil.
    Our SPF 2010 server is relatively small to many setups I am sure. The list with the issue only has 4456 items and there are a few associated lists, eg lookups, Tasks, etc see below for count.
    Site Lists
    Engagements = 4456 (Errors on this list, primary list for activity)
    Tasks = 7711  (All workflow tasks from all site lists)
    Clients = 4396  (Lookup from Engagements, Tslips, etc)
    Workflow History = 584930 (I periodically run a cleanup on this and try to keep it under 400k)
    Tslips = 3522 (Engagements list can create items here, but overall not much interaction between lists)
    A few other lists that are used by workflows to lookup associations that are fairly static and under 50 items, eg "Parters Admin" used to lookup a partners executive admin to assign a task.
    Stunpals - Disclaimer: This posting is provided "AS IS" with no warranties.

  • Is there some way to put an arrow column 0 in a JTable?

    Hi,
    I'd like to configure my JTable something like "grids" in other languages like Delphi. There is a column 0 with a black arrow. When the user changes the line, the arrow is automattically updated to the actual line.
    Is there some property of JTable for this or I have to create it manually?

    The concepts of Delphi TDBGrid or TStringGrid are:
    1) first column is very small, sufficient size to put a little black right arrow
    2) the column above is not a normal column, the user can't go to there, can't click there
    3) the color of this column is the same color that column header
    4) when you call the frame/form with a grid, the arrow is positioned in line number 1
    5) if user clicks to select, for example, line 3, or a cell in a line 3, the arrow goes from line 1 to line 3. Then, the user easily know what's the actual line.
    With JTable default behaviour, with no line selection enabled, you only see a weak mark around the actual cell. Then, if the user doesn't look with big attention, he doesn't know what the actual cell/line.

  • Sequencing multiple versions of the VMWare vSphere client (and reducing the size of the final sequence)

    Application Name:  vSphere client
    Application Version:  4.1, 5.0, and 5.5 (all in one package)
    Company Name:  VMWare
    Sequencer Version:  5.0 SP1 or SP2
    App-V Client Version Tested On:  5.0, 5.0 SP1, 5.0 SP2
    Operating System Sequenced On:  Windows 7 (64bit)
    Pre-requisites:  Orca
    Client Operating Systems Successfully Deployed To:  Windows 7 (64bit), Windows Server 2008 (64bit)
    *Posted by non-Microsoft Employee:  Cody Lambert (a Fortune 100 company)
    If Posted by Microsoft Employee, the Corresponding KB Article Reference: 
    N/A
    Steps to Prepare and Sequence the Application:
    Phase 1:  Prepare vSphere install to be used in your sequence (to be performed prior to sequencing)
    Clear %TEMP% directory on machine you are using to prepare the install
    Create a folder that will be referred to as "vSphereInstDir"
    that install files are copied to
    Download the vSphere 5.5 client from your vSphere management server
    Run the installer for the vSphere Client
    Once at the Language Selection portion of the installer,
    using windows explorer browse to the %temp% directory and copy the files that were just created when the vSphere installer extracted to a directory (name it vSphereInstDir)
    Kill the installer
    Find VMware-viclient.exe in the files you just copied
    and run it
    Once at the "Welcome to the installation
    wizard" stage of the installer, using windows explorer browse to the %temp% directory and copy the files that were just created into the vSphereInstDir
    Kill the installer
    Find the VMware vSphere Client 5.5.msi in the vSphereInstDir,
    in the second set of files you copied over
    Using Orca, open the VMware vSphere Client 5.5.msi
    Drop the following rows from the msi (some of the rows may have additional text at the end of the names) (InstallExecuteSequence/VM_InstallHcmon,
    InstallExecuteSequence/VM_InstallHcmon_SetData,
    InstallExecuteSequence/VM_InstallUSB,
    InstallExecuteSequence/VM_InstallUSB_SetData,
    InstallExecuteSequence/VM_InstallUSBArbritrator,
    InstallExecuteSequence/VM_InstallUSBArbritratorSetData,
    InstallExecuteSequence/VM_StartUSBArbSvc) 
    Save the VMware vSphere 5.5.msi in place
    Copy the vSphereInstDir to a network location that
    can be used during sequencing on your Sequencer
    Phase 2:  Sequence the vSphere Client
    Pre-requisites:  All of the latest available VC++ redist (x64 and x86) are installed on the Sequencer VM
    Copy vSphereInstDir to your temporary install directory on your Sequencer (mine is C:\temp)
    Start up the Sequencer
    Click Create a New Virtual Application Package
    Click Next with Create Package (default) selected
    Click Next on the Prepare Computer screen, taking
    note of any findings
    Click Next with Standard Application (default) selected
    Choose Perform a custom installation, then click Next
    Input the Virtual Application name (vSphere Client
    5.5 for example)
    Enter the Primary Virtual Application Directory (C:\vSphere55
    for example) and click Next
    Using Windows Explorer find the Visual J# install (vjredist64.exe) in the vSphereInstDir you copied over.  Install using defaults
    Using Windows Explorer, find and install the vSphere client using the VMware vSphere Client 5.0.msi located in the vSphereInstDir you copied over. 
    Change the installation directory to use the Primary Virtual Application Directory you configured above (C:\vSphere55 for example).  Install using
    defaults
    While the sequencer is still monitoring changes connect to the 4.1 environment to get the files needed.  To do this, launch the vSphere client and connect
    to your 4.1 environment.  When prompted, choose RUN to install the files needed for the 4.1 environment.
    While the sequencer is still monitoring changes connect to the 5.0 environment to get the files needed.  To do this, launch the vSphere client and
    connect to your 5.0 environment.  When prompted, choose RUN to install the files needed for the 5.0 environment.
    With the sequencer still monitoring changes, after the additional environments have been installed, delete all of the language folders from the install locations
    that are not required.  You will find that there are language folders in each of the different modules that are installed.  Make sure look in every folder.  This will free up approximately 300mb from the package.
    When done, check the box to finish the sequence and continue cleaning up the sequenced application.
    Known Issues/Limitations: 
    Functions that require the USB Arbritration Service will not work
    Approximate Sequencing Time: 
    20 minutes
    Descriptive Tags: 
    App-V, 5.0, VMWare, vSphere, Recipe, Guidance
    Credit Due:  Thanks to Rorymon and Aaron Parker for accurate information that allowed for me to put together this recipe.

    Can you double check the that the following were removed from the MSI:
    InstallExecuteSequence/VM_InstallHcmon
    InstallExecuteSequence/VM_InstallHcmon_SetData
    InstallExecuteSequence/VM_InstallUSB
    InstallExecuteSequence/VM_InstallUSB_SetData
    InstallExecuteSequence/VM_InstallUSBArbritrator
    InstallExecuteSequence/VM_InstallUSBArbritratorSetData
    InstallExecuteSequence/VM_StartUSBArbSvc

Maybe you are looking for

  • How do I join clips in iMovie 10.0?

    I imported two different clips into one event and when I share/save it, only one of the clips exports out. :/ Please help!

  • How do I customize my signature in iCloud mail?

    How can I customize my signature in iCloud mail?

  • Upgrade Multiple servers from windows 2003 to 2008

    Hi All, How could i upgrade all my servers (1000 around) from Windows 2003 to Windows 2008 R2 without loosing system settings, profiles and applications. Your speedy reply is highly appreciated.

  • Can I restore a WRT300N with WRT350N Backup

    I am using a WRT350N (ver 1) and have an "older" WRT300N (ver 1.1) as a backup. Can I restore to the WRT300N with the backup of settings made from the WRT350N. I use MAC filtering and have 15 MAC addresses and certain access restrictions so the abili

  • WLST Scope

    If anybody reading , knw answer to my question ..MAY REPLY 1)thru WLST can i deploy my ejb bean ,war .ear file to runing server ? how ? bcs we ahve distrbutes teams those all wld be wrkign on diff location and later need to confugre aplction at 1 loc