How to add columns for wad in web apllication designer
hi,
can any one tell me how to add new columns for analysis item in wad.
i found an option of adding new rows but not able to find a option of new columns in analysis item.
please suggest me.
i will assign points
Hi,
There is no functionlaity to add new columns.
For adding new combinations to the transaction data, the input ready new rows are used. Why do you need new columns?
Similar Messages
-
How to add columns for existing table dynamically?
Hi,
I created table structure only. I want to add columns for this existing table. Columns are not fixed, according to the user choice i need to write code.
Plz give me reply asap.
Thanks
ShirishaHi Shirisha,
I think the following code snippet will help you.
int l_no_cols = 0;
//Get the number of columns in this variable, something like the following
//l_no_cols = wdContext().currentContextElement().get<Context_attribute_name>;
IWDTable l_tab;
IWDTransparentContainer l_tbl_cont = (IWDTransparentContainer)view.getElement("TableDataCont");//ID of Container
l_tab = (IWDTable)view.getElement("TableData");//ID of Table
l_tab.setVisible(WDVisibility.VISIBLE);
l_tab.bindDataSource(wdContext.nodeTable_Data().getNodeInfo());
for(int a = 1; a <=l_no_cols; a++)
//Creating the column
IWDTableColumn l_tab_col = (IWDTableColumn)view.createElement(IWDTableColumn.class,"COL"+a);
//Creating Caption for Column Header
IWDCaption l_tab_cap = (IWDCaption)view.createElement(IWDCaption.class,"Caption"+a);
l_tab_cap.setText("Col"+i);
l_tab_col.setHeader(l_tab_cap);
//Creating Table Cell Editor for column
IWDInputField l_tab_cell = (IWDInputField)view.createElement(IWDInputField.class,"CellEditor"+a);
//creating context node attribute for the column dynamically
wdContext.nodeTable_Data().getNodeInfo().addAttribute("Col"+i,"com.sap.dictionary.String");
l_tab_cell.bindValue(wdContext.nodeTable_Data().getNodeInfo().getAttribute("Col"+i));
l_tab_col.setTableCellEditor(l_tab_cell);
l_tab.addColumn(l_tab_col);
l_tbl_cont.addChild(l_tab);
Regards,
Alka -
KMTL - How to add Column for OVER DUE DAYS in report
Dear Concern,
We are Microsoft Dynamics NAV 2013 users, We want a little change on Reminder Report (In report there is due date we inserted column for OVER DUE DAYS right side to Due Date column in we required Expression of which type of formula that
shows us the Over Due Days for particular.
Please every one confirm or suggest for this error.
Thanks & regards,
Laxman SonarHi Laxman Sonar,
Per my understanding that you have an date field(Due Date) in the report and now you want to get the over due days based on this field and display at right of the date field in the report, right?
I have tested on my local environment that we have two method to do this, one is to add the datediff functon in the query to get the overdue days and another method is to using expression in the report.
Details information below for your reference:
Method one:
Modify the query as below to get the new field(OverDue Days):
SELECT DueDate, DATEDIFF(day, DueDate, GETDATE()) AS OverDueDays
FROM tableName
Method Two:
Add an calculated fields and then add the expression below to get the value for this field or just add expression directly in the new field:
=Datediff("d",Fields!DueDate.Value,Today())
If your problem still exists, please try to provide us some sample date and more details information about your requirements.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
How to add column dynamically based on user input in oracle?
**how to add column dynamically based on user input in oracle?**
I am generating monthly report based on from_date to to_date below is my requirement sample table
EMPLOYEE_CODE| Name | CL_TAKEN_DATE | CL_BALANCE | 01-OCT-12 | 02-OCT-12 | 03-OCT-12
100001.............John...........02-OCT-12...............6
100002.............chris...........01-OCT-12...............4
Based on user input, that is, if user need the report from 01-OCT-12 TO 03-OCT-12, i need to add that dates as column in my table, like 01-OCT-12 | 02-OCT-12 | 03-OCT-12....
below is my code
create or replace
procedure MONTHLY_LVE_NEW_REPORT_demo
L_BUSINESS_UNIT IN SSHRMS_LEAVE_REQUEST_TRN.BUSINESS_UNIT%TYPE,
--L_LEAVE_TYPE_CODE IN SSHRMS_LEAVE_REQUEST_TRN.LEAVE_TYPE_CODE%TYPE,
L_DEPARTMENT_CODE IN VARCHAR2,
--L_MONTH IN SSHRMS_LEAVE_REQUEST_TRN.LVE_FROM_DATE%TYPE,
L_FROM_DATE IN SSHRMS_LEAVE_REQUEST_TRN.LVE_FROM_DATE%TYPE,
L_TO_DATE in SSHRMS_LEAVE_REQUEST_TRN.LVE_TO_DATE%type,
MONTHRPT_CURSOR OUT SYS_REFCURSOR
AS
O_MONTHRPT_CURSOR_RPT clob;
v_return_msg clob;
BEGIN
IF (L_BUSINESS_UNIT IS NOT NULL
AND L_FROM_DATE IS NOT NULL
and L_TO_DATE is not null
-- AND L_DEPARTMENT_CODE IS NOT NULL
THEN
OPEN MONTHRPT_CURSOR FOR
select EMPLOYEE_CODE, EMPLOYEE_NAME AS NAME, DEPARTMENT_CODE AS DEPARTMENT,DEPARTMENT_DESC, CREATED_DATE,
NVL(WM_CONCAT(CL_RANGE),'') as CL_TAKEN_DATE,
case when NVL(SUM(CL2),0)<0 then 0 else (NVL(SUM(CL2),0)) end as CL_BALANCE,
from
SELECT DISTINCT a.employee_code,
a.EMPLOYEE_FIRST_NAME || ' ' || a.EMPLOYEE_LAST_NAME as EMPLOYEE_NAME,
a.DEPARTMENT_CODE,
a.DEPARTMENT_DESC,
B.LEAVE_TYPE_CODE,
B.LVE_UNITS_APPLIED,
B.CREATED_DATE as CREATED_DATE,
DECODE(b.leave_type_code,'CL',SSHRMS_LVE_BUSINESSDAY(L_BUSINESS_UNIT,to_char(b.lve_from_date,'mm/dd/yyyy'), to_char(b.lve_to_date,'mm/dd/yyyy'))) CL_RANGE,
DECODE(B.LEAVE_TYPE_CODE,'CL',B.LVE_UNITS_APPLIED)CL1,
b.status
from SSHRMS_EMPLOYEE_DATA a
join
SSHRMS_LEAVE_BALANCE C
on a.EMPLOYEE_CODE = C.EMPLOYEE_CODE
and C.STATUS = 'Y'
left join
SSHRMS_LEAVE_REQUEST_TRN B
on
B.EMPLOYEE_CODE=C.EMPLOYEE_CODE
and c.EMPLOYEE_CODE = b.EMPLOYEE_CODE
and B.LEAVE_TYPE_CODE = C.LEAVE_TYPE_CODE
and B.STATUS in ('A','P','C')
and (B.LVE_FROM_DATE >= TO_DATE(L_FROM_DATE, 'DD/MON/RRRR')
and B.LVE_TO_DATE <= TO_DATE(L_TO_DATE, 'DD/MON/RRRR'))
join
SSHRMS_LEAVE_REQUEST_TRN D
on a.EMPLOYEE_CODE = D.EMPLOYEE_CODE
and D.LEAVE_TYPE_CODE in ('CL')
AND D.LEAVE_TYPE_CODE IS NOT NULL
group by EMPLOYEE_CODE, EMPLOYEE_NAME, DEPARTMENT_CODE, DEPARTMENT_DESC, CREATED_DATE
else
v_return_msg:='Field should not be empty';
end if;
END;
my code actual output
EMPLOYEE_CODE| Name | CL_TAKEN_DATE | CL_BALANCE
100001....................John............02-OCT-12.................6
100001....................chris...........01-OCT-12.................4
how to add column dynamically based on from_date to to_date?
Thanks and Regards,
Chris Jerome.You cannot add columns dynamically. But you can define a maximum number of numbers and then hide unused columns in your form useing SET_ITEM_PROPERTY(..,VISIBLE, PROPERTY_FALSE);
-
How to add services for object in ECC6.0
Hi everybody,
Can anybody tell me how to add "Services for Object" icon in ECC 6.0 because this icon is there in 4.6C but not coming in ECC 6.0.
Thanks in AdvanceHi Saurabh,
Thanks for your reply. I have checked the path given by you...System-> Service for object, but it is showing no service available as told by you. Cud you please tell me how to add this service because this is working fine in 4.6C but I dont know how to add these services in ECC 6.0. If any code for this which is written in 4.6C which I can refer... please tell me where to see the code for adding services (in 4.6C) b'coz its very urgent. -
How to add Column to Adobe flex mx:DataGrid in mxml and/or actionsctpt?
I have simple mxml code
<mx:DataGrid id="DGG"
editable="true">
<mx:dataProvider>
<mx:Object scheduledDate="4/1/2006"/>
</mx:dataProvider>
</mx:DataGrid>
<mx:Button id="SetBut"
label="Set Array as Data Provider"
click="SetDP(); AddBut.visible = true;"
x="100.5"
y="164"
width="211"/>
<mx:Button id="AddBut"
label="Add a column!"
click="AddCol();"
x="100.5"
y="194"
width="211"
visible="false"/>
<mx:Script>
<![CDATA[
import mx.controls.dataGridClasses.DataGridColumn;
import mx.collections.ArrayCollection;
[Bindable]
public var MyAC:ArrayCollection=new ArrayCollection([{scheduledDate: "4/1/2006", homeTeam: "Chester Bucks"}]);
public function SetDP():void
DGG.dataProvider=MyAC
public function AddCol():void
MyAC.addItem({scheduledDate: "4/5/2007", homeTeam: "Long Valley Hitters", Umpire: "Amanda Hugenkis"});
DGG.columns.push(new DataGridColumn("Umpire"));
]]>
</mx:Script>
I want to add rows to my table datagrid how to do such thing?
How to add Column to Adobe flex mx:DataGrid in mxml and/or actionsctpt?
(You can put this code in Flash or AIR app - it will compile with no errors, but will not add any columns=( )Change this:
public function SetDP():void
DGG.dataProvider=MyAC
MyAC.addItem({scheduledDate: "4/5/2007", homeTeam: "Long Valley Hitters", Umpire: "Amanda Hugenkis"});
public function AddCol():void
var dgc:DataGridColumn = new DataGridColumn("Umpire");
var ca:Array = DGG.columns;
ca.push(dgc);
DGG.columns = ca;
Dany -
How to add security for Azure Cloud Service?
Hi,
We have build some API's in azure cloud service.
We want to add security for Azure Cloud Service.
How to add security for Azure Cloud Service?Hi Santhosh,
You may add security for your API's by using:
Mutual certificate authentication
Using OAuth 2.0
Manage developer accounts
Regards,
Manu Rekhar -
How to create column for attachment in SharePoint 2013 Document Library.
I've created document Library where user can upload the file while click on Upload option (OOTB).
Now in this Library I want to create one more column where user can put some comment and attach one more file for reference.
For comment I can create "Single line of text" type calumn where user can put some comment but for attachment not sure which type of column I have to create.
Want to know is there OOTB feature/column available which I can use to Add / create a one more column to upload a document for reference.Hi,
For issue 1, please refer
To manage the permissions for a Document Set, you must have at least the Design or Full Control permission level.
On the Welcome Page for the Document Set, click the Manage tab of the Document Set ribbon, and then click Permissions.
Do one of the following:
To change the permission settings for the document library itself, click Manage Parent.
To stop inheriting permissions from the document library and create unique permissions for this Document Set individually, click Stop Inheriting Permissions.
To view the specific permissions an individual has, click Check Permissions, and then type the name of the user or group you want to check.
To inherit permissions from the parent document library (if the Document Set was previously configured to stop inheriting them) click Inherit Permissions.
For more information about working with permissions, see the links under See Also.
https://support.office.com/en-in/article/Create-and-manage-Document-Sets-c71d5796-d559-48de-b1b3-42383bdd13ea?ui=en-US&rs=en-IN&ad=IN
For Issue 2:
You can create a link in the Quick Launch bar
http://support.sherweb.com/Faqs/Show/how-to-add-a-link-to-the-quick-launch-toolbar-in-sharepoint-sharepoint-2013
Please don't forget to mark it answered, if your problem resolved or helpful. -
How to add columns in field-symbol
Dear All,
Have made a report for HR - ZHR_CTC by using logical database and field-symbol. Report is working fine, but now have to add columns e.g business area text, positions text etc.
Have added columns in field-symbol.But not able to fetch data into that.
Data has to be fetched from different trasparent table comparing <field-symbol>-field.
Plz suggest the proper way to do it.
<<text removed>>
Regards,
Gulrez Alam
Edited by: Gulrez Alam on Dec 16, 2008 11:02 AM
Edited by: Matt on Dec 16, 2008 11:36 AMHi Rimpa,
Thanks a lot for you reply, have tried ur suggestion but it's not working. I am not able to understand how to insert data into field-symbol. Plz give some more clarifications about the same.
Regards,
Gulrez Alam -
Engineering adds columns for relation
I'm absolutely can't understand logic of the forward engineering process.
Why it adds ADDITIONAL PK columns into my tables with relation?
For example, two tables: CLASS (class_id, name) and TYPE(type_id, name, class_id) with 1-N relation (class.class_id - type.class_id).
After engineering logical model into relational, in a last one I can see new columns:
class.class_id1, type.class_class_id1
How to avoid it? I want to use my own columns for relation!Hi,
you don't have a primary key for entity CLASS in logical model - that's fine. However in relational model you need a PK existing in CLASS table in order to have foreign key from table TYPE to table CLASS.
So new surrogate key column is created - default naming template is {table abbr}_ID and since you don't have table abbreviation it takes table name and creates column CLASS_ID and it becomes CLASS_ID1 because you already have a column CLASS_ID.
For table TYPE - foreign key column is created referring to column CLASS_ID1 - default naming template is {ref table}_{ref column} - this is how the name for the column is set to CLASS_CLASS_ID1.
If you don't want to create primary identifiers in logical model then you should not add PK and FK attributes in related entities - PK/FK columns will be created automatically during engineering to relational model - you need to set related templates.
Otherwise you can create PK identifier and related attributes added to it and FK attributes will be maintained automatically.
Philip -
How to create authorization for WAD in bw 3.5??
Hi all,
I would like to create a authorization for the WAD(web templates in bw 3.5) i cant find any authorization object for the WEb templates.
I have included the Wad in the menus in the PFCG but still it is of no use.
Can any one guide me how to carry out authorisation for WAD in bw 3.5 ?
Thanks
PoojaPlease refer to below thread:
BEx Web Application Designer Tool with OLD Version 3.5
I am sure for 7.0 and above S_RS_TOOLS object can provide the restriction. -
I18n - how to add support for more languages (CQ 5.4)
I have a number of questions around adding support for more languages. We are already using multiple languages and would like to add more.
1. Standard languages provided
in /libs/wcm/core/i18n I can see the standard ootb languages for CQ 5.4: de es fr it ja zh-cn
How can I add more? Are there additional language packages provided by Adobe for CQ 5.4?
2. Translator tool
We have our own additional keys/strings in
/apps/site/i18n/publish
When I open these with the translator tool
/libs/cq/i18n/translator.html
as admin, I can see them all just fine.
However when I open them as another user, I only see the columns of the languages defined in /libs/wcm/core/i18n
There is a description how to extend this for 5.5 here:
http://dev.day.com/docs/en/cq/5-5/developing/cq5-translator.html#Changing%20Languages%20Li sted%20in%20the%20Grid
and I have added the languages to /etc/languages in the "languages" property, but this does not work with 5.4 apparently (at least as far as I have tried).
I still only get the default languages from /libs/wcm/core/i18n despite the other languages being there in
/apps/site/i18n/publish
and as admin I can see and edit them.
How do I make them visible and editable for other users?
3. Tags
When editing the translations of tags, I want all the possible languages to appear in the dialog box for editors.
I have extended the "languages" property in /etc/tags and this works basically fine (as expected) as described in:
http://dev.day.com/docs/en/cq/5-5/developing/cq5-translator.html#Changing%20Language%20Nam es%20and%20Default%20Countries
The desired language must be supported and listed in:
/libs/wcm/core/resources/languages
I want to use a 2-letter iso code (e.g. "no" for Norway") and this desired 2-letter iso code must exist as a node. If that is not the case and only nodes with locales exist (e.g. "no_no" and "no_no_ny") then a 2-letter node must be created with a default setting pointing to the default locale.
I have tried this and it works fine as expected when the default language node is created in
/libs/wcm/core/resources/languages
But /libs is a system folder that should not be modified, it could be potentially overwritten by Adobe packages.
The 5.5 docs say to create the node in
/apps/wcm/core/resources/languages
instead, but this did not work for me in CQ 5.4 and I could find no other docs describing a process for 5.4
How to do this properly in 5.4?Thanks for that hint, I checked it and the user does have read access to /etc/languages and /etc/tags and also /libs
So it seems the only workaround would be to create dummy nodes in /libs/wcm/core/i18n - which I did with a script (to be able to repeat after installation of hotfixes/and updates).
So for example for Norwegian:
# set default 2-letter node for norway (since it is missing)
curl -u "admin:${PASS}" -X POST "http://${SERVER_IP}:${PORT}/libs/wcm/core/resources/languages/no" -d 'jcr:primaryType@TypeHint=Name' -d 'jcr:primaryType=nt:unstructured' -isS | grep HTTP
curl -u "admin:${PASS}" -X POST "http://${SERVER_IP}:${PORT}/libs/wcm/core/resources/languages/no" -d 'country=*' -isS | grep HTTP
curl -u "admin:${PASS}" -X POST "http://${SERVER_IP}:${PORT}/libs/wcm/core/resources/languages/no" -d 'defaultCountry=no_no' -isS | grep HTTP
curl -u "admin:${PASS}" -X POST "http://${SERVER_IP}:${PORT}/libs/wcm/core/resources/languages/no" -d 'language=Norwegian' -isS | grep HTTP
# set dummy node for missing languages in /libs/wcm/core/i18n
curl -u "admin:${PASS}" -X POST "http://${SERVER_IP}:${PORT}/libs/wcm/core/i18n/no" -d 'jcr:primaryType@TypeHint=Name' -d 'jcr:primaryType=nt:folder' -isS | grep HTTP
curl -u "admin:${PASS}" -X POST "http://${SERVER_IP}:${PORT}/libs/wcm/core/i18n/no" -d 'jcr:mixinTypes@TypeHint=Name[]' -d 'jcr:mixinTypes=mix:language' -isS | grep HTTP
curl -u "admin:${PASS}" -X POST "http://${SERVER_IP}:${PORT}/libs/wcm/core/i18n/no" -d 'jcr:language=no' -isS | grep HTTP
This does create a proper dummy node (which is otherwise empty) in /libs/wcm/core/i18n
But unfortunately the Norwegian language still does not show up in the translator tool /libs/cq/i18n/translator.html
Only the standard languages show for my user.
Admin user does see all langauges we have in /apps/site/i18n/publish (but that was already the case before) - so I assume it must be some permissions are missing. I also tried giving that user modify+create permissions to /apps/site/i18n/publish but that did not make any difference.
Any other ideas what could be missing? -
How to add "Prepare Data" from a web service to the form
Hello,
Can any one please advise on how to add the "Prepare Data" process from the existing web service and have the form to pre-populate the data from this "Prepare Data" process instead of using schema xsd. I heard that this is an alternative or may be a better way to pre-populate data in ES2/ES3 to avoiding creating a data source in Form Designer. I try to find a sample on Adobe site but could not find one, most of them are using schema.
Any guidance or URL to the sample would be helpful.
Thanks,
HDThanks
-
How to add column access BADI to appraisal template.
I am not able to see option to add column access BADI in template at Processing tab--> Further template behaviour.
Kinldy let me know how to add it.
I am able to see only following options
BC Business Check
D1 Default Appraiser
D2 Default Appraisee
DE Default Execution Period
DN Default Appraisal Document Name
DP Default Part Appraiser
DR Default Review Date
DV Default Validity Period
HA Header Data Change
PM Maximum Number of Part Appraisers
Thanks in advance.
DhananjyHello Ravikiran,
Based on the Role and Status of the appraisal form, turn the Column On/Off/Hide..
sample code...
case s_header_status-ap_status.
when c_status_in_preparation.
availability = 'H'.
column_owner = space.
when c_status_in_planning.
case s_body_columns-column_id.
when 'OBJ0'.
availability = 'X'.
column_owner = 'X'.
exit.
when 'Z003'.
availability = 'X'.
column_owner = 'X'.
Hope it helps...
Regards,
Jothi.P -
How to add Z set types in Web UI
Hello ,
We have created Z set types with 4/5 attributes & assigned it into a Z category. The Z set types are showing in GUI in individual objects but when trying to add these set types in Web UI it;s not showing either in BSP component PRD01OV or PRDIOOV as available AB's.
Performed following activities
1. identifying enhancement set.
2. Assignement of set types to OV page
3. create config for the set types.
Note: Also tried with enhanced view --> PRDIOOV/CustomHeader for the set types but not showing the AB's.
Please Advice.
Regards
DBHi,
in the IMPL class of PRDIOOV there is a method:
REATTACH_STATIC_OVW_VIEWS
I do not know why SAP requires this - but you have to redefine this method to attach your Z settype assignmentblock like this:
CALL METHOD SUPER->REATTACH_STATIC_OVW_VIEWS
RECEIVING
RT_RETURN = RT_RETURN
DATA: LS_REATTACH TYPE BSP_DLC_OVW_STAT_VIEW_ATTACH.
ls_reattach-viewid = 'ZOBJECTS.Z_BPKASTOVIEWS/ObjTicketsW'.
APPEND ls_reattach TO rt_return.
*add Service contract view as well
ls_reattach-viewid = 'ZOBJVERTRAG.Z_BPKASTOVIEWS/ObjVertragW'.
APPEND ls_reattach TO rt_return.
Kind regards
Manfred
Maybe you are looking for
-
How to populate the webservice XML data in to Table ODI- Webserice invoke
Hi, I have multiple work orders in my oracle db table, That means multiple WorkOrder_Item_ID's are there in my source table. When I start transfer the data from source to Target using ODI , I need to get the information of multiple Work order Item_ID
-
Photoshop CS4 freezes when adding text to box.
Typing text into a rectangle box freezes Photoshop with the unclose-able error box "Could not complete your request because of a program error" Force quit and clean-start with command-option-shift Start Photoshop and still same error. I can type text
-
Keyboard keys different between models?
I replaced the top case on a black Macbook 2.16 Core 2 Duo model, as the keyboard and trackpad were not being recognized and were not working. I had a white top case from a broken Macbook 2.0 Core 2 Duo which works okay. Finally a working keyboard an
-
Shared memory in /var/run instead of /tmp
I use shared memory segment on a diskless node. This shared memory segment are stored in /tmp. Is there a way to put them in a "memory based" directory, as /var/run (solaris 8) instead of the disk-based directory
-
Getting error while installing OBIEE 11g
Hello, I am trying to install OBIEE 11g to my machine.I created the schema and all. at the end got this error at the installation progress step. The status bar shows 46% . Installation Failed. OUI Session failed invalid entry CRC (expected 0xa8bed9c4