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.
Similar Messages
-
Adding Columns to the matrix in SAP B1 user form using Visual studio 2010
Hi,
Using Visual studio 2010, I have created a SAP B1 user form( b1f ) with one matrix.Matrix is having 5 columns. Its working properly. Later, I want to add few more columns. Then I added columns to the matrix as I have created columns initially. But, it does not saves.
i.e, Whenever I run, In B1 I could see only old columns. Newly created columns are not showing.So, I closed the .net project and opened again. Created columns are not showing in visual studio b1f itself. So, I created again and saved. But, its not saving.I tried it many times.
What I am missing?
Any help is appreciated.
Thanks in advance,
Parvatha Solai.NHi Parvatha,
Are you using B1 Studio? Anyway try to clean the solution first then rebuild it. This would re-copy files to the output directory, that contain your changes.
Best regards,
Pedro Magueija -
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
LasseSee 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> -
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,
SaurabhHi,
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 -
I'm actually trying to find the date i visited a site. adding columns allow the order to be sorted but not show a date. Please tell me it there's a way to see the date. the sidebar no longer has the option for date. the most recent only shows the time.
If you only see the time then that would mean that you see an entry of the current day (today).
History items from past days should have the date as well in the Most Recent Visit column.
You should be able to see this changing if you open the last 7 days folder and scroll down. -
How to get added columns in the after DDL trigger?
As title, I want to get information, like name/type/.., about the added columns by sql statement "alter table *** add (***)" in the after ddl trigger. But looks like dba_tab_columns view doesn't include the added columns.
ThanksHi
Hi try other versions of the trigger like
create or replace trigger addl_trigger
after alter on schema
declare
TYPE attrs_cur IS REF CURSOR;
m_cur attrs_cur;
m_event varchar2(50);
m_user varchar2(50);
m_owner varchar2(50);
m_user1 varchar2(50);
m_type varchar2(50);
m_name varchar2(50);
m_column varchar2(50);
m_cnt NUMBER;
m_stmt varchar2(512);
number_of_modified_objects BINARY_INTEGER;
t ora_name_list_t;
begin
m_event:=ora_sysevent;
m_user:=SYS_CONTEXT('USERENV','SESSION_USER');
m_user1:=ora_login_user;
m_owner:=ora_dict_obj_owner;
m_type:=ora_dict_obj_type;
m_name:=ora_dict_obj_name;
if (m_type='TABLE' and m_event='ALTER')
then
execute immediate 'select count(*) from dba_tab_columns where owner=:1 and table_name=:2' into m_cnt
using m_owner,m_name;
insert into log values (m_cnt);
dbms_output.put_line('->'||m_cnt);
OPEN m_cur FOR 'select c.name from sys.col$ c, sys.obj$ o, sys.user$ u where o.obj# = c.obj# and o.owner# = u.user# and u.name=:1 and o.name=:2' using m_owner,m_name;
LOOP
FETCH m_cur INTO m_stmt;
EXIT WHEN m_cur%NOTFOUND;
insert into log values (m_stmt);
--dbms_output.put_line(m_stmt||'**************');
END LOOP;
end if;
but all versions continue to insert only the already existing columns. I think that Oracle actualize the dictionary first after this system event.
Bye, Aron -
About existence of added column in the database apex application.
Hi,
I have created an report apex application based on the table. Consider the table as Employee_details
The columns in the Employee_details tables are
*) Employee_id
*) name
*) ip_address
*) host_name
*) port_no
*) sys_type
*) email_id
*) login_id
*) sys_config
*) sys_serial_no
*) place_allotted
*) internet_status
and also i have created an application using this column......Now i need to add an extra column "contact_no" with this table.....
That only also i added in the table by giving "Add column" the column is added in the table.....
But i need to add that extra column "contact_no" in my current application along with the existed columns.
I went to "Actions" in the application that i have created, and i shifted that "contact_no" column from "do not display side to the display side". Now it is displaying.
But the problem where i getting here is, when i logged out of the application and when i again login into the application the "contact_ no" column that i added to show it in display field is not displaying...Why?.........
Regards,
Hari RHi,
If its a table column then its better to add it to the IR by modifying the Report Query of the IR.
If you add it through the Action button then you need to save the report as Default Setting for it to keep appearing the next time you visit the page.
Regards -
Hai ,
I am adding the columns in an existing matrix at runtime in page load.
I can able to add but how to give the header text for the columns added?
I tried with the following code,
oMatrix.Columns.Item("ItemMake").Title = "Make";
but it gives the error as,
"property or indexer 'SAPbouiCOM.IColumn.Title' cannot be assigned to -- it is read only"
and also i want the added column to be displayed in the first position.
Regards,
Kughan.Hi,
Then i recommend u to create a UDF in the marketing document section. So that in the PO matrix u can get a new col. And for creating the UDF u can do it in SAP UI using.. Tools->Customization Tools->User defined Fields management or u can also do it in code C:\Program Files\SAP\SAP Business One SDK\Samples\COM DI\VB.NET\02.MetaDataOperations Check that sample for code.
Hope it helps,
Vasu Natari. -
OmniPortlet Tip: Adding columns to the tabular layout
Hello,
I had some questions about the limitation to 5 columns of the OmniPortlet tabular layout. Here is a tip to add more columns to this layout:
1. backup the current OmniPortlet provider.xml
/OC4J_HOME/applications/portalTools/omniPortlet/WEB-INF/providers/omniPortlet
2. You can not open the file:
and look for the tag <dataField
3. You can add new fields, by copying the existing <dataField> tag and change the value of the <name> and <displayName>
<!-- Here is a complete example -->
<dataField class="oracle.webdb.reformlet.definition.DataFieldDefinition">
<name>Field6</name>
<displayName>Column6</displayName>
<description>Field6</description>
<text>##column##</text>
<alignment>left</alignment>
<displayAs>hidden</displayAs>
<type>linebreak</type>
<font>Arial.3.Plain.None</font>
<color>#000000</color>
<style>none</style>
<styleType>custom</styleType>
</dataField>
<!-- end of the example -->
The same logic could be used to add parameters or events to the OmniPortlet.
Regards
Tugdual GrallHi, I have some problem to find this file "Omniportlet provider.xml".
Where I can find it?
I try to find in this path:
/OC4J_HOME/applications/portalTools/omniPortlet/WEB-INF/providers/omniPortlet
but I don't view OC4J directory.
I'm using AS 10g
Please answer me as soon as possible.
Thanks. -
Discoverer 10.1.2 does not refresh new added column
Hello,
I need help to add a new item to EUL Business Area folder for a new added column in the database table.
When I refresh the folder in the BA EUL, the result shows no difference between the folder and the underlying table in the database; however, when I quey the table in the database, a new column is there. The refresh of the folder in the Discoverer Admin tool cannot find the newly added column. Weird!! The first time saw this problem.
Could someone shine some light on it? Would be really appreciate it!
PingI have a slightly different problem and can't solve it! When I refresh the EUL, the result shows the differences between the folder and the underlying tables in the database. However, it does not refresh the EUL in Discoverer Administrator 10g. Nothing happens! When I try to refresh again, the same list is shown... Does anyone know what could be happening?
Thanks -
Is it possible to add a column to the Item matrix in the ItemLookup form (C
Hi,
Is it possible to add a column to the Item matrix in the ItemLookup form (CFL or Find Lookup).
I need to display a value in the newly added column if the itemgroup in that row matches a certain value , how can I achieve this.
ThanksHi,
You may check this: Can we add CFL to the system/form defined textbox?
Please close your previous open thread.
Thanks,
Gordon -
Irritating problem with adding columns
I am adding columns to jtable. And then moving it to required postion.
But whenever I edit those columns all the newly added columns and the first column reflects those changes. ie whatever I enter in the new columns, it appears in all newly added columns and the first column as well.
whats wrong I am doing here.
EditableHeaderTableColumn ncol = new EditableHeaderTableColumn();
TableColumnModel columns = table.getColumnModel();
int c = table.getSelectedColumn();
columns.addColumn(ncol);
columns.moveColumn(i-1, c+1);Make sure you are not sharing the TableColumn instance or adding a TableColumn that already is in the TableColumnModel.
When resizing the table column, do the others resize too. ? -
Urgent : newly added columns copying each other
I am adding columns to jtable. And then moving it to required postion.
But whenever I edit those columns all the newly added columns and the first column reflects those changes. ie whatever I enter in the new columns, it appears in all newly added columns and the first column as well. I am using new instance of column each time so whats wrong I am doing here.
EditableHeaderTableColumn ncol = new EditableHeaderTableColumn();
TableColumnModel columns = table.getColumnModel();
int c = table.getSelectedColumn();
columns.addColumn(ncol);
columns.moveColumn(i-1, c+1);the column header has a combobox and user can enter his own value as well if reqd.
I will check ur code at work later and see whats happenning.
But is editable header a problem?
thanks
to tjacobs01 : I didn't get your question. could you please elaborate a little.
What's you EditableHeaderTableColumn class do? Do you
allow the user to modify the column header value?
Anyway, here's an example that adds columns as you
appear to want to, check it oput ans see if there are
any steps you missed in your code.
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JTable;
import javax.swing.JFrame;
import javax.swing.JButton;
import javax.swing.JTextField;
import javax.swing.JScrollPane;
import javax.swing.JPanel;
import javax.swing.table.TableColumn;
import javax.swing.table.AbstractTableModel;
public class TableColumnTest
static int sColumnCount= 4;
public static void main(String[] argv)
final JTable table= new JTable(new
w AbstractTableModel() {
public String getColumnName(int column) {
return "C" +column;
public int getColumnCount() {
return sColumnCount;
public int getRowCount() {
return 10;
public Object getValueAt(int row, int column) {
return "(" +row +"," +column +")";
final JTextField field= new JTextField("2", 2);
JButton btn= new JButton("Add column at position");
btn.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
int position;
try {
position= Integer.parseInt(field.getText());
catch (NumberFormatException nfe) {
position= sColumnCount;
position= Math.min(position, sColumnCount);
field.setText(String.valueOf(position));
TableColumn column= new
new TableColumn(sColumnCount);
column.setHeaderValue(
table.getModel().getColumnName(sColumnCount));
table.getColumnModel().addColumn(column);
table.getColumnModel().moveColumn(sColumnCount,
nt, position);
sColumnCount++;
JPanel panel= new JPanel(new BorderLayout());
panel.add(btn, BorderLayout.CENTER);
panel.add(field, BorderLayout.EAST);
JPanel container= new JPanel(new BorderLayout());
container.add(panel, BorderLayout.WEST);
JFrame frame= new JFrame("TableColumnTest");
frame.getContentPane().add(container,
, BorderLayout.NORTH);
frame.getContentPane().add(new JScrollPane(table),
, BorderLayout.CENTER);
frame.pack();
frame.setDefaultCloseOperation(3);
frame.setVisible(true); -
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
AanchalHi 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. -
i had added books to iBooks on iTunes and synced with my iPad mini. Then I realised that the titles sometimes had the author name, or a random number before it. I made changes to all the books in my iTunes library, edited the titles, added authors to the author columns, year in year column etc and synced my iPad again. but my iPad did not update these changes at all is still in the old way. can this be rectified?
Have you tried closing the iTunes store app via the multitasking bar and seeing if it works when you re-open it
Have you tried closing the app via the taskbar ? (I assume that your iPad is on iOS 6, though the version that your tagline shows, 6.1.6, is not a version for iPads) From the home screen (i.e. not with iTunes store app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the iTunes app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
If that doesn't fix it then you could try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
Maybe you are looking for
-
I am unable to download the new version of Adobe since I do not recall my password. I was prompted to click on the question mark in the password field but there was none. How do I resolve this issue?
-
How can i READ Steps / Revolution
I'd like to READ the predefined (in MAX) "Steps per Revolution" (depending on the Board ID and Axes). Is this not possible? I am using LabView 8.5 with NI-Motion-VIs, where just a LOAD "Steps per Revolution" is available. Solved! Go to Solution.
-
Best setup for external drives and backup
I'm using Aperture to organize several thousand photos. I've gotten good advice her before about how to get started on this. I'm not a professional and I'm not an experienced user of Aperture, so don't assume a lot of knowledge when you answer. I'm w
-
CR2 files for pr-manipulation in bridge.
-
How do I import my twitter feed into my apple ping account?
Is this done by RSS feed? Thanks, I know I should already know this? @kurtwvs