"Dynamic column" in the workplace
Hi experts.
Do somebody know the possible uses of the "Dynamic column" field in the task registers of the Workflow inbox? You can add some dynamic columns via the "select layout" menu of the workplace but they seem to be empty.
I'm wondering if I can put some custom dynamic information on them via workflow definition (information such like users names or maybe some filter criteria) in order to help the user to show and order the active tasks easily.
Any help on this topic will be interesting for me.
Thank you all!!
Ismael
Hi Ismael,
Dynamic columns are specific to each task, you can define them using tx SWL1.
Once defined, the dynamic column fields should now be available. However they do take a performance hit and obviously the fields are not applicable to all tasks. For this reason it is not a good idea to have a dynamic column as a default layout, but to use them in the in the task-based inbox views:
In the workplace view Inbox -> Workflow -> Grouped by task -> the task you just defined (you must have a workitem of that task already in your inbox). Define a layout and save it as a default, teach your users to navigate to a task if they want to use the columns.
Of course some users can still create their own workflow inbox view with dynamic columns if e.g. the majority of their work is a particular task.
Cheers,
Mike
Similar Messages
-
Dynamic columns in Business Workplace
Hi All ,
We have an issue with Dynamic columns in Business Workplace ....We have changed the standard layout of the inbox with additional Dynamic Column with displays the Last Reserved By user of the Workitem...
Issue is that - the value is not refreshed in the Dynamic column whenever user chooses the Refresh button in the inbox..
Please let me know how to update the Dynamic column on choosing refresh in the inbox..
Thanks for your help in advance...
Thank you
SrinivasAre you sure it is not refreshing, i.e. sure it is not a problem in your customer part of the solution? Try changing your attribute so the dynamic column displays the (current) time, retrieved as a virtual attribute on the business object. Then see if it is updated when you refresh.
-
Problem with dynamic columns in the BEx report
Hi Gurus,
I am tryging to build some planning application using BI-IP and input ready queries.
I'm facing issues with making the columns in the query 'dynamic'. The example is given below: -
Lets say there are states and cities for which we have to plan sales volumes. Depending on the value I choose for 'State' it should create as many columns for 'Cities' as per the hierarchy of the cities.
Lets say if I choose Maharashtra then the report shud look like :-
State-> Maharashtra
Rows Column1 Column2 Column3
GL Account Mumbai/0quantity Pune/0quantity Aurangabad/ 0quantity
1000000 1000 1500 1200
State--> Karnatka
Rows Column1 Column2
GL account Bangalore Mangalore
1000000
Any idea how this can be achieved?
Best Regards,
SSCHi friend,
See the link below it is having the solution of hiding the columns in smart forms
Hide table columns in smart form?
Create a table to display your values with 12 col and hide the columns based on the idea provided in the link above.
I think this will solve your issue if you still have queries please revert back to me i will help you.
Thanks,
Sri Hari -
Displaying dynamic columns in the query output.
Hello,
Depending on current quarter output of the query would vary.
If current quarter is 'Q1'
O/p : InvQ1 Del BackQ1 BackQ2 BackQ3 BackQ4
If current quarter is 'Q2'
O/p : InvQ1 InvQ2 Del BackQ2 BackQ3 BackQ4
If current quarter is 'Q3'
O/p : InvQ1 InvQ2 InvQ3 Del BackQ3 BackQ4
If current quarter is 'Q4'
O/p : InvQ1 InvQ2 InvQ3 InvQ4 Del BackQ4
So, out of 9 columns, 6 columns would display at any given time depending on the current quarter.
Invoice of 4 quarters, Deliquency and Backlog of 4 quarters.
I am not getting any way how to display dynamic columns or hide unwanted/blank columns.
For the time being I have added all 9 columns in the query, and in the output unwanted columns shows blank.
Can anybody please suggest me how to display only 6 columns in the output depending on current quarter.
Thanks and Regards
ShilpaHello,
This shouldn't be too difficult. Assuming you have a variable with the selected quarter, you may choose to display Inv (whatever that is) for quarters 1 through variable, Del, and Back for quarters variable through 4. You also need a drilldown on quarter in the columns (after the key figure structure). You would probably need to restrict 'Del' on the variable as well if you haven't already done it.
Best regards,
Christoffer -
Dynamic Columns, using the element name as the column header name
BI Publisher Experts,
I'm a relative newbie in the RTF layout world and i'm trying to acheive a layout which dynamically nominates the column headers as the element name.
For example using the XML below:
<?xml version="1.0" encoding="UTF-8" ?>
- <ROWSET>
- <DATA>
- <THREECOLUMNDATA>
<FIRST_NAME>First Name</FIRST_NAME>
<LAST_NAME>Last Name</LAST_NAME>
<EMAIL>[email protected]</EMAIL>
</THREECOLUMNDATA>
</DATA>
</ROWSET>
Excuse formatting, looked ok in preview!
I'd like to acheive the following output:
| FIRST_NAME | LAST_NAME | EMAIL |
|-----------------------|---------------------- |--------------------------------------------------------|
| First Name | Last Name | [email protected] |
I've managed to get the row data columns working using:
<?for-each@cell:current()/*?><?.?><?parent::*/text()?> <?end for-each?>
And i've been working on the header for a while now, using
<?for-each@column:current()/THREECOLUMNDATA[1]/*?><?name(.)?><?end for-each?>
But no luck with the header. I only ever get a blank header.
I've also reviewed the following syntax:
<?split-column-header:THREECOLUMNDATA?> <?/FIRST_NAME?>
But of course, this pulls specific element data out as the header, not quite what I need.
Question is: Is there specific functionality to pull the element name out as the header, or do I somehow specifically need to include the header name as a data value in the XML?
Advice appreciated!If you could get your XML to look like this instead of what you have, you will be able to use split-column-header and split-column-data
<?xml version="1.0" encoding="UTF-8" ?>
<ROWSET>
<DATA>
<THREECOLUMNDATA>
<COL_DTLS>
<COL_LABEL>FIRST_NAME</COL_LABEL>
<COL_VALUE>First Name</COL_VALUE>
</COL_DTLS>
<COL_DTLS>
<COL_LABEL>LAST_NAME</COL_LABEL>
<COL_VALUE>Last Name</COL_VALUE>
</COL_DTLS>
<COL_DTLS>
<COL_LABEL>EMAIL</COL_LABEL>
<COL_VALUE>[email protected]</COL_VALUE>
</COL_DTLS>
</THREECOLUMNDATA>
</DATA>
</ROWSET>
Now if you <?split-column-header:COL_DTLS?><?COL_LABEL?> and <?split-column-data:COL_DTLS?><?COL_VALUE?> you'll get the required output... -
Adding Dynamic column to datagrid at the begining of datagrid
Hello friends,
There is one datagrid which is static. and i m adding one dynamic column. it is get added to the end of the static datagrid
but I want to add dynamic column at the begning of the datagrid can anybody help me on this.
Thanking you,
Regards,
gajananThanks to everybody.
finally i got the things to work using following code.
private function SwapGridColumns (DG:DataGrid, Col1:Number, Col2:Number):void
var i:Number; // Counter
var DP:ArrayCollection =ArrayCollection( DG.dataProvider); //DataProvider
var Widths:Array = new Array (); // the widths of the columns
var Columns:Array = new Array (); // the column names
var Visibility:Array = new Array (); // visibility of columns
var HRenderer:Array = new Array (); // Header Renderer of columns
var IRenderer:Array = new Array();
var datastore:Array = new Array ();
var Editable:Array = new Array();
var DFields:Array=new Array();
var Sortable:Array = new Array();
for (i = 0; i<DG.columns.length; i++)
if (i == Col1)
Columns.push(DG.columns[Col2].headerText);
Widths.push(DG.columns[Col2].width);
Visibility.push(DG.columns[Col2].visible);
HRenderer.push(DG.columns[Col2].headerRenderer);
IRenderer.push(DG.columns[Col2].itemRenderer);
Editable.push(DG.columns[Col2].editable);
Sortable.push(DG.columns[Col2].sortable);
DFields.push(DG.columns[Col2].dataField);
else if (i == Col2)
Columns.push(DG.columns[Col1].headerText);
Widths.push(DG.columns[Col1].width);
Visibility.push(DG.columns[Col1].visible);
HRenderer.push(DG.columns[Col1].headerRenderer);
IRenderer.push(DG.columns[Col1].itemRenderer);
Editable.push(DG.columns[Col1].editable);
Sortable.push(DG.columns[Col1].sortable);
DFields.push(DG.columns[Col1].dataField);
else
Columns.push(DG.columns[i].headerText);
Widths.push(DG.columns[i].width);
HRenderer.push(DG.columns[i].headerRenderer);
IRenderer.push(DG.columns[i].itemRenderer);
Editable.push(DG.columns[i].editable);
Sortable.push(DG.columns[i].sortable);
DFields.push(DG.columns[i].dataField);
// Reset the widths
var col:Array
for (i = 0; i < Columns.length; i++)
var DGC:DataGridColumn = new DataGridColumn(Columns[i]);
DGC.width = Widths[i];
DGC.visible = Visibility[i];
DGC.headerRenderer = HRenderer[i];
DGC.itemRenderer = IRenderer[i];
DGC.dataField=DFields[i];
DGC.sortable=Sortable[i];
DGC.editable=Editable[i];
datastore.push(DGC);
DG.columns=datastore;
// Load DP
DG.dataProvider = DP;
Regards,
gajanan -
Special characters in SBWP dynamic columns are not showing for some users
Hi experts,
We have set up a dynamic columns for business workplace. One of the field displays the comments entered by the user. Some users are able to see the values entered perfectly. But for some users, if we enter special characters like @gopal, it is not displaying the value in dynamic column.
Are there any workflow/user settings need to be changed.
Thanks
GopalI had the same issue, you should check the link between AD and CRM, so you could make a new user in AD and connect your CRM account with it, then you should return the old AD account back. It worked for me, try it :)
-
Dynamic column in Workflow inbox
HI All ,
I would like to add a dynamic column in the SBWP layout which reflects the Last reserved by user...
Any suggestion will surely be rewarded...
Thank you
SrinivasHi Srinivas,
the value will be updated each time the work item is <i>reserved</i>. When it is put back again, this value just stay as it was before.
The virtual attributes gets refreshed when the inbox is refreshed (by refresh-button or by re-entering the Workplace).
The algorithm to determine the last user, who has reserved, is the following:
DATA: user_id_last_reserved TYPE SWWLOGHIST-meth_user.
CLEAR user_id_last_reserved.
SELECT SINGLE meth_user
FROM SWWLOGHIST
INTO user_id_last_reserved
WHERE wi_id = object-key-workitemID
and method = 'SWW_WI_SELECT'
and timestamp IN (
SELECT MAX( timestamp )
FROM SWWLOGHIST
WHERE wi_id = object-key-workitemID
and method = 'SWW_WI_SELECT'.
IF sy-subrc <> 0.
"There's no such user
ENDIF.
Have fun,
Florin -
Hello All,
I have a requirement to generate dynamic column in the PDF.
I have got the same running using the below code
HEADER : <?split-column-header:XXX_TIME?><?split-column-width:@width?><?XXX_TIME_FROM?>
DATA : <?split-column-data:XXX_START?><?EMP_NO?>
The issue I am having is if i generate the output in pdf with small amount of data,it will work but I am not sure how much data can come at run time.
It can be sometime more than 50 or more columns also.In that case it truncates the data.
How can i do the same.
Pls help.
Thanks
SkIncrease the page size and printable page size, and reduce the column lengths,
so that you can accomadate them in single row.
BIP will run in single row, but we have option of making it to next row too.
But even if you make it in single row, page size has to support the length of the single row you are making :)..
so you got to increase the page width to Max -
Problem with dynamic column in SBWP
Hi Friends,
In SWL1 I have created two attributes with header as "CANCELLED" and " DESCRIPTION" for a particular task.But my SBWP is still showing columns as "Dynamic column" for the workitems of that task.
Please help me on this.
Thanks.
DilipHi Dilip,
The column headings will only appear in the task-specific view. In other words, by default the headers will be generic because you can have mixed tasks in the worklist, and column 1 can be a date for one task and a company name for another.
The user needs to expand the tree on the left hand side and navigate to the "Approve Purchase Order" (or whatever) node to show only items of that task, then column headers should show up.
Regards,
Mike -
Hi
Web form is a Account ( Rows) X Period ( Columns) Webform.
I want to have dynamic columns in the web forms. For example, In the month of March the User should be able to see Jan, Feb and March in the columns. And in the month of may.. Jan, Feb, Mar, Apr, May should be the columns.
The remaining months are not required .
Can this be achieved??
Regards
AbhishekTry something like:
C1=P#@Cur
C2=P#@Cur(+1)
C3=P#@Cur(+2)
It seems to work. -
Multiple dynamic column in cross table
Hi all,
I have a cross table which stored the sale's quantity and amount.
The layout in view result likes below:
saler quantity1 quantity2 quantity3 quantitysummary amount1 amount2 amount3 amount4 amountsummary
S3 100 20
S2 50 30
S1 300 40
The layout in view structure likes below:
saler quantity quantitysummary amount amountsummary
S3 100 20
S2 50 30
S1 300 40
the quantity1...n and amount1...n columns is not fixed.the 2 columns is dynamic.
It's easy that only one column is dynamic,but now there are two columns is dynamic,I don't know how to achieve it.
Has anyone an idea how to accomplish this?
Thank you trying to help me!You cant do this on BO , you can add static columns but if you put some dynamic column in the left or right i turns dynamic...
Regards -
Hide Dynamic columns and remove space
I have an application that allows users to generate a Crystal report containing selected columns. A user is able to check which columns should appear on the report from a web page. I'm able to display and suppress the dynamic columns but the space for the dynamic columns that are not selected remains. How can I remove the space and have the columns move to the left?
I'm using VS 2003 and Crystal 10.As Ludek mentioned you would need to use the RAS .NET SDK to completely remove the column from the report. What you could do is start with a blank report, only have your database info added, then build UP your report rather than remove items. The ReportObjectController has a method called AddByName() that will insert a field into your report. It will add the field from left to right with a small buffer space.
In order to use the RAS .NET SDK with Visual Studio .NET you'll need to upgrade to Crystal Reports 2008 or Crystal Reports for Visual Studio 2010 (good free price here).
[RAS .NET Developer Guide|http://help.sap.com/businessobject/product_guides/boexir31/en/rassdk_net_dg_12_en.chm]
[RAS .NET API Ref|http://help.sap.com/businessobject/product_guides/boexir31/en/rassdk_net_apiRef_12_en.chm] -
Handling ALV Layout & Dynamic Columns
I have a custom report for Purchasing / Finance.
1) I create 5 dynamic columns for the purchase rder invoices based on the report run date.
Example:
Previous Quarter [Q4 2009] [Q1 2010] [Q2 2010] [Q3 2010]
My query is that this report has layouts defined. I want to add the dynamic columns to the report output.
Example: In the below scenario i have dynamic columns in the fieldcat[] but the report shows only the columns defined in the layout selected.
disvariant-VARIANT has the layout selected from the seelction screen of the report.
Also fieldcat-tabname = '<fs_table> '.
CALL METHOD alv_grid->set_table_for_first_display
EXPORTING
is_variant = disvariant
i_save = 'A'
is_layout = layout
is_print = print
CHANGING
it_outtab = <fs_table>
it_fieldcatalog = fieldcat[]
it_sort = sort[]
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4
Appreciate if anyone knows the solution.I don't believe you can display the dynamic columns and still use the variant from the selection screen.
Have you considered using multiple table rows for the multiple time periods?
If you will always have 5 dynamic columns, maybe you can make them not dynamic and just make the column header text dynamic? -
I am trying to create a treetable with some dynamic columns. The extra columns I need to show have been added as attributes to the node. So within the facet "nodeStamp" I display the label and need to add other columns dynamically reading the attribute list. The following code does not work for me :(
<af:treeTable var="node" value="#{attrs.model.selectedModel}" binding="#{attrs.model.selectedTreeTable}"
columnStretching="column:selLabel" verticalGridVisible="false" horizontalGridVisible="false"
columnSelection="none" rowSelection="multiple" disclosedRowKeys="#{attrs.model.disclosedRows}"
columnBandingInterval="0" selectionListener="#{attrs.model.selectionListener}"
rowBandingInterval="0">
<f:facet name="nodeStamp">
<af:column id="selLabel">
<af:panelGroupLayout>
<af:image source="/images/blank.png" inlineStyle="width:12px; height:12px;"/>
<af:outputText value="#{node.element.label}" inlineStyle="margin-left:3px;"/>
</af:panelGroupLayout>
</af:column>
</f:facet>
<c:forEach items="${node.attributeNames}" var="attrName">
<af:column id="attr" headerText="#{attrName}">
<af:outputText value="#{node.attributes[attrName]}"/>
</af:column>
</c:forEach>
Any help is appreciated.
Thanks,
Suneetha.I have not been able to follow your suggestion, the compilation complains that the switcher is not a valid child of the treetable component. I am running out of options here , anybody else have any suggestions ?
Suneetha.
Maybe you are looking for
-
Overloaded methods in stack trace
There is a thing I thinking about. When I have overloaded methods and I want to check a stack trace where one of these overloaded methods take part I cannot decide which method was in the frame, unless I have the source and have debug information in
-
"document is not self-consistent"
What does this sybilline message mean? I assume we can leave aside the possibility that FrameMaker has analysed the text for discrepancies and contradictions ...
-
i can't accessing itune store
-
Can I use my iPad to print on my Epson printer without it being connected to a network? Was hoping to just connect to my iPad.
-
Mac Pro user Reports/Tests on FB-Dimms
Mac Pro user Reports/Tests on FB-Dimms from a post on xlr8yourmac.com, helpful and interesting info: http://xlr8yourmac.com/systems/MacPro/mac_proram.html#storytop William