Dynamic Columns in UWL from the NWBC 3.0?
Hi People
Is there anyone that know how to change the UWL so it uses Dynamic Columns for Worklist . I know that it is possible to do this in the portal by changing the XML's to the UWL. But at the moment i am trying to get this to work from the NWBC 3.0.
When i setup the uwl in NWBC i use the dynpro application SWF_WORKPLACE.
thanks in advance.
Hi,
I have the same problem. Does anyone how to do it?
Thanks in advance,
Cecilia.
Edited by: Cecy_Vivar on Jun 22, 2011 12:15 AM
Similar Messages
-
How to get the dynamic columns in UWL portal
Hi All,
I am working on UWL Portal. I am new to UWL. I have down loaded uwl.standard XML file and costomized for getting the values for "select a Subview" dropdown and I am able to see the values in the dropdown. Now my requirement is to get the dynamic columns based on the selection from dropdown value.
can any body suggest on how to get the dynamic columns in UWL portal.Hi Manorama,
1) If you have already created a portal system as mentioned in following blog
/people/marcel.salein/blog/2007/03/14/how-to-create-a-portal-system-for-using-it-in-visual-composer
2) If not, then try to create the same. Do not forgot to give the Alias name .
3) After creating a system, log on to the VC, Create one iView.
4) Now Click on "Find Data" button from the list which you can view in right side to Visual composer screen.
5) After clicking on "Find Data" button, it will ask for System. If you have created your system correctly and Alias name is given properly, then your mentioned Alias name is appeared in that list.
6) Select your system Alias name and perform search.
7) It will display all the BAPIs and RFCs in your systems.
8) Select required BAPI and develop the VC application.
Please let me know if you any further problems.
Thanks,
Prashant
Do reward points for useful answers. -
Hi Experts,
I have added some dynamic columns to my SBWP worklist which are displayed fine. But these columns are not visible when i check my portal UWL, is there any setting i would have to tweak to get them displayed in UWL.
Thanks in Advance,
Chaitanya.Hi,
The dynamic columns that you define in backend, will not work in UWL by default.
You need to configure the dynamic columns in UWL separately in UWL XML configuration. Refer to the UWL DTD. Basically you need to create a new view and the custom columns as custom attributes that you can then display in the view as custom columns. Try to search with these key words in SDN. Most probably someone has explained this and given some hints how to do it.
Regards,
Karri -
Service cannot able to open in UWL from the ESS tasks
Hi Team,
I'm facing a issue like
path: MSS --> work overview --> tasks --> click on any link.
we got the following error.
Service cannot be reached
What has happened?
URL http://<hostname>:8001/webdynpro/dispatcher/sap.com/ess~lea/LeaveRequestApprover call was terminated because the corresponding service is not available.
Note
The termination occurred in system GCP with error code 404 and for the reason Not found.
The selected virtual host was 0 .
What can I do?
Please select a valid URL.
If you do not yet have a user ID, contact your system administrator.
ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:gccia-erpn01_GCP_01-v:0-s:404-r:Notfound
HTTP 404 - Not found
Your SAP Internet Communication Framework Team
I have check forum thread
Service cannot be reached in UWL from the ESS tasks
but I'm not able to find out the solution.
Any help will be appriciated.
Regards,
Mahee.i said to you that it shouldnt point to ABAP system!
read my solution again
Please ensure system configuration-
>system landscape->system(my system)->Web Application server settings
please check is it pointing to ABAP Server, If yes then change to Java
server then your Application will work.
The two types want different WAS properties. Now if you set
up the WAS so that the BSP works well. There is a possibility that you
can modify the WAS settings when you use WebDynpro launcher. You have
three possibilities to change this:
1. In the UWL connector settings modify the "Web Dynpro Launch System"
property to SAP_LocalSystem. This case the webdynpro uses the URL and
the port of the portal.>> I think this can suit you.
2. In the System Landscape create a new system with the same properties
as the R3_TEST1 but the WAS properties are different. After that you use
the name of the new system as "Web Dynpro Launch System" in the UWL
connector settings. This solution should be used if the SAP_LocalSystem
is different than the necessary WAS settings.
3. You can modify this setting in the configuration also under the
ItemType. You should add the system property and the UWL uses it instead
of the default one.
Here is the help documentation:
http://help.sap.com/saphelp_nw70/helpdata/en/92
/a88931f2dd4631b9e8d530697d89c9/content.htm
in regards to this parameter. -
Showing Dynamic Columns in UWL
Hello guys
I m building a customized UWL using WDJ and the UWL API... Everything is working fine, except for one detail: I need to show a dynamic column created into swl1.
There is any way to do this? I looked for something into UWL APIs javadoc and didn't found nothing.....
ThanksHello guys
Thanks for you replies. I think that I was not clear in my question.....
I have already configured the UWL and created a simple application in WD....
The problem is that I need to bring an dynamic column created into swl1 transaction.... This column could be showed when you enter into R/3 inbox and select the "Change Layout" option, but this option is not avaliable into standard UWL. I tried to create an new application using the UWL API, but I couldnt access this column to....
The steps are showed at the follow prints: http://img33.imageshack.us/gal.php?g=swl1.jpg
Maybe this limitation is caused because the UWL is created to work with N types of workflows, so it could not be so specific ( Am I telling bullshit ?? ) .
Did you got my problem now... My English is poor, so maybe I cant expose my problems clearly.
Thanks -
Calculating based on a previous value when initial column values differ from the rest
Let me preface this by saying I am new to the BO world. I'm trying to build a report/chart that tracks incoming loads. The first supply on hand value is pulled from the database and each successive supply on hand is based on the previous row's values.
In the supply arriving column below, the iniital value differs from the rest using the formula:
=If [Row Number]=1 Then [First Supply Arriving] Else [Supply Arriving]
The supply on hand uses the same idea, but is where I'm running into problems. The first column value should be [Supply On Hand], easy enough. Each successive column value needs to follow this equation:
Previous([Supply On Hand] (this won't always be [Supply On Hand] though, only for the second row essentially - problem 1) + Previous([Supply Arriving] (same as problem 1, where this is first supple arriving for the second row and then supply arriving moving forward) - [Usage Rate]
If someone could help me in getting the calculation to pull the previous values correctly without making a ton of variables, I'd greatly appreciate it. We just upgraded to 4.1Yes, the supply on hand and the supply arriving from the previous row need added together. The usage rate, which is a constant is then subtracted from that. The result is the on hand total for the next day.
For example:
Date
On Hand
Arriving
Usage Rate
9/9/2014
100,000
250,000
100,000
9/10/2014
250,000
1,000,000
100,000
9/11/2014
1,150,000
0
100,000 -
How to add column to report from the same table? Gives error now
Steps to reproduce:
Build a report on a table with easy report, select all columns
Add column to the table
Edit report and add column (one has to click Show Related Tables Only: No to view the same table!)
Report will give error as it will be build as
SELECT ... FROM table1, table1AH HAAA!!!!
And I was afraid to convert from the "SQL (Structured Query)" to "SQL". Probably because I blew up my other reports...
Thanks! -
Scrolling with mouse wheel in column browser starts from the start of the list
Hi, I'm wondering if anyone else has been encountering this problem with iTunes.
Ever since updating to 10.5, whenever I use the mouse wheel to scroll in the column browser, it starts from the start of the list, regardless of which artist or album is highlighted.
For instance, I press the M key to jump to artists starting with M, then use the mouse wheel to scroll down the list, in iTunes 10.5 it jumps me back to the As.
The strange thing is that if I then use the mouse wheel to scroll down to the Cs, then jump down the list via a key press, mouse wheel scrolling will start me back to where I last scrolled (C).
How can I fix this problem?
I'm using iTunes 10.5.0.142 on Windows 7 Home Premium.I can confirm the behaviour. It would seem iTunes is keeping a separate record of the position in the list for use by the scroll wheel, and then snapping to that before scrolling up or down a screenful. The same random jumps happen if you use the keyboard Page Up/Page Down commands and then use the mouse wheel.
I shall file a bug report.
tt2 -
BPS-dynamic columns-single value in the planning level.
Hello, we would like to use a compound characteristic in dynamic colums.
Based on test and documentation we already know that we can use compound characteristics in dynamic columns only if the higher-level characteristic is restricted to a single value in the planning level.
If we use a variable restricted to a singel value per user it does not work. Does it mean in general that a varibel cannot be used in that case and that we have to create about 30 planning packages with a fixed value for the higher level charactersictic?
Thanks for help.This is solved now with support package 12
-
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 -
Grand total level of the percentage column giving value from the first row of column
Hi Guys,
I have a requirement like to show the percentage value which the calculation of two columns , in the grand total level .
I think it can be achievaable by giving the aggregation rule for that column as Server complex Aggregate .
eg.
Fiscal Year Department subdepartment Total cost Sub Department cost % cost
2011 Edu Books 500 50 10
2011 Edu Note Book 200 100 50
2011 Edu Furniture 300 30 10
2011 Edu 1000 180 18
Grand Total
Ideally it should come like as above ..but the problem with me that ,it showing correct value for all the rows ,but at the grand total level it's taking the value of % cost from the first row . like below..
2011 Edu 1000 180 10
Grand Total
I have calculated the % cost column in the answer itself as (Sub Department cost /Total Cost )
where the
Aggregation rule for the columns given are
Total Cost - Sum ,Sub Dep Cost - Sum, % Cost - Server Complex Aggregate
So plz suggest me any Idea to achieve this ..Thanks in advance.Give the agg. as avg for % field.
Best of Luck,
Kashi -
How to return to UWL from the launced web dynpro
Hi guys,
Our UWL can launch a web dynpro program, what we want is a close button in our web dynrpo view which close the web dynpro application and return to the UWL. Now we can close the web dynrpo application but the screen can't return to the UWL, how to do this, thank you!
Regards,
Xiaoming YangHi,
Try to follow the below threads.Hope these might be useful.
Going Back to UWL from WebDynpro Application
Navigate back to UWL from WD Java
Rgds,
Santhosh -
I looked over the posts on CFChart but did not find anything
that addresses my specific problem with the cfchart. So if you can
help, I'd appreciate it very much!
What I want to do is take the dynamic name of the column
derived from the first query and use that name in the Legend. E.G.
A_R1_DIS is the first dataset, A_R1_J is the second dataset, and
A_R1_PPLI is the third dataset. Then show a line graph with each
dataset based on the first query. The X Axis displays the Date/Time
value and the Y Axis displays the number of points for each record
of time for each dataset individually. I was able yesterday to get
all three datasets to display individually but when I tried to show
the legend it either displayed only the first Dataset name
"A_R1_DIS" or it displayed "NONE". Currently the code will not
display any line on the chart and the legend repeats the A_R1_DIS
as many times as there are records in the table (60+).
I use the following query to get the dynamic column name
"SelectedDatasetColName" from the MasterDataList table.
<CFQUERY name="getSelectedDatasetColName"
datasource="#getcfdbname.EventCFDBName#">
SELECT MDL_TestName + '_' + MDL_DatasetID + '_' +
MDL_MeaningfulName as SelectedDatasetColName
FROM MasterDataList
</CFQUERY>
Here is where I'm using the "SelectedDatasetColName" value:
******************************************* queries
<CFQUERY name="DatasetHistogramQry"
datasource="#getcfdbname.EventCFDBName#">
SELECT
<cfset i = 1>
<cfloop query="getSelectedDatasetColName">
#SelectedDatasetColName# as col#i#,
<cfset i = i + 1>
</cfloop>
JDay, TheHour, TheMinute,
convert(varchar(12), JDay, 114) + ' ' + convert(varchar(12),
TheHour, 114) + ':' + convert(varchar(12), TheMinute, 114) as
DateTime
FROM vPositionHistogram
ORDER BY JDay, TheHour, TheMinute
</CFQUERY>
Here is the code for the table; which works correct:
**************************** Report Code
<TABLE>
<TR>
<TH>Day</TH>
<TH>Hour</TH>
<TH>Minute</TH>
<CFOUTPUT QUERY="getSelectedDatasetColName">
<TH>#SelectedDatasetColName# Message Count</TH>
</CFOUTPUT>
</TR>
<CFOUTPUT QUERY="DatasetHistogramQry">
<TR BGCOLOR="###IIF(DatasetHistogramQry.currentrow MOD 2,
DE('DCDCDC'), DE('FFFFFF'))#">
<TD ALIGN="center">#JDay#</TD>
<TD ALIGN="center">#TheHour#</TD>
<TD ALIGN="center">#TheMinute#</TD>
<CFSET i = 1>
<CFLOOP INDEX="X" FROM="1"
TO="#getSelectedDatasetColName.recordcount#">
<TD ALIGN="center">#evaluate("col#i#")#</TD>
<CFSET i = i + 1>
</CFLOOP>
</TR>
</CFOUTPUT>
</TABLE>
Here is the output for the table; Dynamic Column Name used to
repeat counts for each dataset.
********************************* output
Day Hour Minute A_R1_DIS Message Count A_R1_J Message Count
A_R1_PPLI Message Count
37 17 36 0 2 35
37 17 37 19 6 32
37 17 38 28 30 33
37 17 39 40 27 27
37 17 40 66 64 32
Here is the problem code. I have tried several variations on
this code but currently all it does is display a blank chart.
**************************** Chart Code
<CFCHART FORMAT="flash" CHARTHEIGHT="340" CHARTWIDTH="600"
SHOWXGRIDLINES="yes" SHOWYGRIDLINES="yes" SHOWBORDER="no"
FONTBOLD="no" FONTITALIC="no" XAXISTITLE="Timeline (Day
Hour:Minute)" YAXISTITLE="Message Counts" SHOW3D="no" ROTATED="no"
SORTXAXIS="no" SHOWLEGEND="yes" TIPSTYLE="MouseOver"
SHOWMARKERS="no">
<CFOUTPUT QUERY="DatasetHistogramQry">
<CFSET i = 1>
<CFLOOP INDEX="X" FROM="1"
TO="#getSelectedDatasetColName.recordcount#">
<CFCHARTSERIES QUERY="DatasetHistogramQry" TYPE="line"
ITEMCOLUMN="#DateTime#" VALUECOLUMN="#evaluate("col#i#")#"
SERIESLABEL="#getSelectedDatasetColName.SelectedDatasetColName#">
<CFSET i = i + 1>
</CFLOOP>
</CFOUTPUT>
</CFCHART>
Please let me know if you need any additional info on my
problem and if you can help, it is greatly appreciated!!!!
- DebraDateTime is a column in the vPositionHistogram (View). Col#i#
is the variable used to loop through the column names derived from
the getSelectedDatasetColName query. The view is populated
dynamically and the columns in it vary depending on the dataset
used to populate the view. The view can have 1 to many columns.
That is why I pull the column names from the MasterDataList table
and use a variable to get the values from each column. My column
names end up being Col1, Col2, Col3, and so on. I use that variable
in the loop to get the data from vPositionHistogram for each column
in the report/chart. I made some headway on Friday before I called
it a day, but I will try the last suggestion and post my findings
in a little while. Thanks! -
Im getting an error when running a procedure that includes this code.
I need to select from a dynamic column name and save the result in a variable, but seem to be having trouble with the values being fed to sp_executesql
DECLARE @retval AS DECIMAL(12,2)
DECLARE @MonthVal VARCHAR(20), @SpreadKeyVal INT
DECLARE @sqlcmd AS NVARCHAR(150)
DECLARE @paramdef NVARCHAR(150)
SET @MonthVal = 'Month' + CAST(@MonthNumber AS VARCHAR(2) );
SET @SpreadKeyVal = @SpreadKey; --CAST(@SpreadKey AS VARCHAR(10) );
SET @sqlcmd = N' SELECT @retvalout = @MonthVal FROM dbo.CourseSpread WHERE CourseSpreadId = @SpreadKeyVal';
SET @paramdef = N'@MonthVal VARCHAR(20), @SpreadKeyVal INT, @retvalout DECIMAL(12,2) OUTPUT'
--default
SET @retval = 0.0;
EXECUTE sys.sp_executesql @sqlcmd,@paramdef, @MonthVal = 'Month4',@SpreadKeyVal = 1, @retvalout = @retval OUTPUT;
SELECT @retval
DECLARE @return_value DECIMAL(12,2)
EXEC @return_value = [dbo].[GetSpreadValueByMonthNumber]
@SpreadKey = 1,
@MonthNumber = 4
SELECT 'Return Value' = @return_value
Msg 8114, Level 16, State 5, Line 1
Error converting data type varchar to numeric.Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you need to read and download the PDF for:
https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
>> I need to select from a dynamic column name and save the result in a variable, but seem to be having trouble with the values being fed to sp_executesql <<
This is so very, very wrong! A column is an attribute of an entity. The idea that you are so screwed up that you have no idea if you want
the shoe size, the phone number or something else at run time of this entity.
In Software Engineering we have a principle called cohesion that says a model should do one and only one task, have one and only one entry point, and one and only one exit point.
Hey, on a scale from 1 to 10, what color is your favorite letter of the alphabet? Yes, your mindset is that level of sillyity and absurdity.
Do you know that SQL is a declarative language? This family of languages does not use local variables!
Now think about “month_val” and what it means. A month is a temporal unit of measurement, so this is as silly as saying “liter_val” in your code. Why did you use “sp_” on a procedure? It has special meaning in T-SQL.
Think about how silly this is:
SET @month_val = 'Month' + CAST(@month_nbr AS VARCHAR(2));
We do not do display formatting in a query. This is a violation of at the tiered architecture principle. We have a presentation layer. But more than that, the INTERVAL temporal data type is a {year-month} and never just a month. This is fundamental.
We need to see the DDL so we can re-write this mess. Want to fix it or not?
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
"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!!
IsmaelHi 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
Maybe you are looking for
-
How do I get back my AT&T Yahoo Home Page and Tool Bar?
I am a senior citizen with little computer knowledge. I cannot cope with changes to my home page because I do not have the knowledge/skills to undo the changes your program has installed. AT&T is my Internet Service Provider. Firefox is my browser. R
-
Is there a way to get photos into iMovie 11 without using iPhoto?
I use PSE9 to organize my photos and don't want to use iPhoto. When I click on the little camera in iMovie, it only gives me the option of going to iPhoto. Thanks for any help. Peg
-
Only 8 out of 16GB ram is visible in Windows 7 64bit
I'm running a brand new Late 2012 i7 iMac with Fusion Drive, 16GB of ram, etc. I just put a bootcamp partition with WIndows 7 Pro x64 on the Fusion Drive today and after all the drivers and updates were applied the system does not allow usage of the
-
Print Using Command acroread Layout Incorrect
At the moment we are using the command "cat file.pdf | acroread -toPostScript -shrink -rotateAndCenter | lp -s -dprintername" to print PDF files to a network printer. This is in a Linux (RedHat) server with Adobe Acrobat 9.5.5 installed. The problem
-
"Apps"-Tab won't load in Creative Cloud Client - please help
I just made the subscription for the Creative Cloud and installed the client - but it's not working. When I click on "Apps" to install the Adobe Apps (obviously) it just loads and loads without stopping. As a result, I'm not able to install the apps