HANA Changing the type of a column
Hi All,
Can we change the data type of a column using any function in HANA using a calculated column...
There is a function called Date() which changes a date type of a field which is loaded from SLT into HANA(The fields loaded from SLT are by default given type as Nvarchar), but this function does not change the type of the field.
Is there a way to change the type of a field.
Thanks,
Sneha
Hi Sneha,
I have not explored the SAP LT to that extent.
But for your query, I think it will not touch the already replicated data. It might not even allow to apply the type transformation as tables already have data. You might have to restart the replication for tables having date. But really not sure on this. There is a separate community totally for SAP LT in SCN. You can raise this query here http://scn.sap.com/community/replication-server.
In our scenario we are keeping the date fields as NVARCHAR(8) and left it to that. In case of any calculations based on dates, we have used time functions and/or Time Attribute Views in HANA. If you want to go for a similar logic, I might be able to help further.
--Shreepad
Similar Messages
-
How can I change the type of column in matrix
I want to change the type of column in matrix to it_LINKED_BUTTON, so it can show the orange arrow
I added the column throw marketing documents (rows)
It's seems the default column type is it_Edit
is there a way of changing the column type
i tried the below code, but it did not work because the type property in a matrix column is readonly
mtx.Columns.Item(0).Type = SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON
sincerely yours
Riade Aslehi don't want to add a new column
i want to change the column type of existing column in matrix, becuase it's bind to a field
beside that, i can not add column , if the matrix has rows in it
sincerely yours
Riade Asleh -
The type of this column cannot be changed because it is currently being indexed
Hi,
We have a custom library with some columns defined. This library we have saved as a template and then trying to create a library using the template. When we try creating the new library using the template we get the following error:
The type of this column cannot be changed because it is currently being indexed.
We are not trying to change any column type just creating a new library using the template. The existing library does have a couple of indexes specified. Removing a index that is applied on a column of choice data type (drop down selection) seems to work.
However, would like to know why this is an issue with the index?
Although this is perfectly supported. Checked, this does not happen when I try with a new library with a choice data type and index applied on that library, it creates the template and then a new library correctly. So, what's going wrong with my earlier
library?Hi Croute,
I had checked that thread earlier and tried the Managed Metadata Service Application solution. However does not help in my case. I still get the error.
Also, just to cross-check we created a new library from scratch and added choice column and applied index on this column. Saved this as template and created a new library using this template. It works fine without the error. So not sure what is wrong with
the earlier library and list template that gives the error
The type of this column cannot be changed because it is currently being indexed.
Also, note even after giving this error the library is created with all the columns and indexes. But we need to provide a reason for the error above. -
Is there a way to change the type of hash for passwords in active direcroty?
I would like to know what type of hash used for active directory passwords and if there is a way to change the type of hash.
Hi,
Windows generates and stores user account passwords by using two different password representations, generally known as "hashes." When you set or change the password for a user account to a password that contains fewer than 15 characters, Windows generates
both a LAN Manager hash (LM hash) and a Windows NT hash (NT hash) of the password.
You can configure the type to only store the stronger NT hash of your password.
How to prevent Windows from storing a LAN manager hash of your password in Active Directory and local SAM databases
http://support.microsoft.com/kb/299656/en-us
Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
How do I change the number of picture columns in a folder
how do I change the number of picture columns in a folder
Never mind. I found the answer. For those who may wonder: you slide the cursor on the bottom right. I looked in IPhoto help but there was nothing there.
-
Error value = 73, How to change the type of password?
I want to use the famous wiki integrated in leopard, so I had to configure open directory and DNS.
Well my problem come from that I can't configure open Directory, just after creating a new admin, I have no possiblity to change the type of password, there is just the type shadow, and I know that we had to choose open directory's type.
Obviously, I'm authenticated in the workgroup manager
Which services I had to turn on to use open directory's type?
Or which mac I have to hit.
THXHi
So I had to configure open directory and DNS
What did you do or not do exactly?
My problem come from that I can't configure open Directory
You won't be able to configure Open Directory to allow different password types unless you either bind your Server to an existing KDC or make your Server the KDC. For the Server to be a KDC (Kerberos Distribution Center) it has to be an Open Directory Master. Successful promotion to an Open Directory Master Role absolutely depends on a correctly configured and running DNS Service - either on the server itself or on another server on the same network.
There are plenty of posts in these forums outlining how to configure your Server in terms of DNS as well as how to promote to Open Directory Master. Apple themselves make available Admin Manuals that should assist:
http://images.apple.com/server/macosx/docs/OpenDirectory_Adminv10.5.pdf
http://images.apple.com/server/macosx/docs/NetworkServices_Adminv10.5.pdf
Failing this these forums (as already mentioned) as well as:
http://www.afp548.com
Hope this helps, Tony -
How to change Data type of Grid column at runtime..??
Hi ,
I have taken a "Grid" control,and i have pass a query "Select itemcode Qunatity,linetotal From PDN1" in the ExecuteQuery
method of Grid it displaying the data,
but the problem is i want to change the Datatype of this column from "FLOAT" to "db_Quantity" according to the SAP standerd
of decimal places(like 2 or 3 decimal place which the customer maintain) after executing Query.
How can we achieve this please guide me what to do...
Thanks
SandeshHi sandesh
try with
Select itemcode Qunatity,convert(decimal(19,2), linetotal) [linetotal] From PDN1
regards:
Sandy -
How can I change the color of a column header?
I need to change the color for some column header, how can I do it in webdynpro ABAP? Is it possible?
hi ,
i have used in alv....
<font color="RED">text</font>
but i think it is not possible to change the colour in table ui element.
regards,
sahai.s -
I want to change the type of a Result Set
Hello all,
I was using a ResultSet object to store the results of a query, and when i attempted to use the ResultSet function "last()", i had a SQL exception saying that I cannot use this function on a ResultSet of type TYPE_FORWARD_ONLY. How can I change the type of a ResultSet to be for example TYPE_SCROLL_SENSITIVE, so that i can use the 'last()' function? I can only find a function caleed getType() but i want a function to allow me to set the type of the ResultSet.....
Thanks a lotThe type is determined when you create the Statement or PreparedStatement object. See the documention for Connection.createStatement or Connection.prepareStatement.
-
Is there any way to change the type of Transport like workbench to Customiz
Hi All,
Here we are having very silly question.
Is there any way to change the type of Transport like from
Workbench to Customize and from Customize to Workbench within the same client.
Assume that there the no object associated with the transport.
Your quick respose is highly appreciated...
Thanks in Advance!No this cannot be done.
Both work bench and custimizing are separate entites when it comes to tranport layers config.
You cannot save a report change into customizing request this will be saved into work bench request only .
In the same way table entries or some customizing tasks can be captured only into custimizing tr.
Br,
Vijay. -
Can't change the type of media from Home videos to TV Shows.
My aim is to organize videos into folders, so I followed the well known workaround to change the type of videos to 'TV Show' and group them by name of the 'show'. After changing the type, videos are moved to 'TV Shows', but when I try to play them on iPad, the player shows up for a fraction of second and closes (the "downloading" icon appears, of course running endlessly, since the files are mine, not downloaded). After that, when I try to play the video in iTunes, the exclamation mark appears, and the only thing I can do with the video is delete it...
I have, in fact, succeeded in this conversion with one of the files, but only once. After deleting it and trying once again, the same problem appeared. Is this a software bug, or a new feature in iOS 8.1 and the only thing I can do to get my videos organized is rely on third party apps?OK, the problem is solved. I've beed uploading the videos directly to iPad ("On My Device" section) and then trying to change the type to TV Show, while I should first import them into iTunes library, then change the type, and finally sync.
-
Dynamically change the type of a field
Hello,
After finishing reading the adobe documentation and looking at almost all the samples in the Adobe website, i still have no clues how to do the dynamic type changing in the E-Forms.
Do you think it's possible to change dynamically the type of a field at runtime or during the generation of the pdf?
Example:
i send a table to the PDF with the following information:
Table X line 1 column1 --> textfield type
Table X line 2 column1 --> Numeric field type
The result must be the generation of the table X with at the first line a text field and at the second line a Numeric. Of course those field will be editable.
Possible ?? or not?
Thx for your help,
Pelaez Lopez PhilippeLet me guess, you would like to work with Adobe as you would work with WD. You cannot generate forms from scratch. And that is equal to create a single field, than dynamically duplicate it, distribute it all around the paper and change the types to the right ones. This is not possible. You can only create a superbig form and use hiding.
If you would like to see a super-big-crazy example, check form MEDRUCK delivered by SAP. This form is superbig, but your output can contain only few fields according to the print type you need.
If you form is that complicated you cannot build it this way, then the requirement is probably not structured and goes against the meain stream (which needs the structure:))
Otto -
I need to change the sum of a column's total with javascript.
Hi,
The HTML output of a SUM column is as follows:
<td align="center" headers="COST" class="t2data"><b> 827.49</b></td>
I need to change the sum total with javascript.
The initial loading of the page SUMs the DB values correctly. Then onchange JS for a couple of factors may change one items COST.
When that one item's COST changes I need to reSUM the total with JS.
I was trying the following.. I don't know JS to well.
var tds = document.getElementsByTagName('td');
for (var xtd in tds) {
//alert('Here:'+xtd.headers);
if (xtd.headers=="COST") {
// you found the element, do what you need
alert(xtd.innerHTML);
After inserting the above code into my javascript is popups up
my alert, "Here:undefined"
and never hits the alert(xtd.innerHTML);Hi Ya'll,
I got the following working. See any problems?
headers=="COST" actually showed up in each row of the whole column, including the SUM. So it ended up being great so I could sum it in the JS.
I had to change the column type to NUMBER from VARCHAR2 for the initial SUM to work, so adding any formating to the SQL was not good. It looks pretty much what Andy has though... I found a slight hesitation it it though.. I have to work out a bug that prints the old total instead of the first.
var ltotal =0;
var tds = document.getElementsByTagName('td');
for (var k=0; k<tds.length; k++) {
if (tds[k].headers=="COST") {
var inputObjs= tds[k].getElementsByTagName('input');
if(inputObjs.length>0) {
for (var j=0;j<inputObjs.length;j++) {
ltotal+= parseFloat(inputObjs[j].value);
//alert(inputObjs[j].value);
//alert(ltotal);
}else{
tds[k].innerHTML=ltotal;
Message was edited by:
changed i to k to avoid the italics
Bill Carlisle -
Workflow changing the status based some columns value
OOB workflow SP designer 2013
The workflow purpose is change the status columns from
COMPLETE to IN PROGRESS or from
IN PROGRESS to COMPLETE according some columns value.. And if the change is from
IN PROGRESS to COMPLETE
there will be change in some columns like
If alertSOP Date <= today then change the status (Columns value) from Complete to In Progress and send email to the manager (the manager email address is a column (Manager Email)
Else pause until the alert date=Today()
If the status (columns) = in progress send Remainder email every 10 days
If the status change from in progress to
Complete (BY MANAGER MANUALLY) then
last renewed Date =TODAY()
Valid to Review=TODAY() + 4 MONTH
Alert Date=today() + 5 month
and Due Date=today() + 6 months
AND START THE WORKFLOW AFTER UPDATING THIS COLUMNS FOR NEXT cycle
SharePoint List(http://server/site/..) LIST ITEMS
Department
Contractor
Division
Manager Email
Contractor last renewed Date
Contractor Valid to Review
Alert SOPReview
DueDate Review
Status
Workflow Status
ABC
JONAH
10
[email protected]
01/01/2014
05/06/2014
5/07/2014
5/08/2014
COMPLETE
paused
DEF
SMITH
20
[email protected]
01/01/2014
02/03/2014
2/28/2014
3/20/2014
INPROGRESS
INPROGRESS
Note:
The status is changed manually by manager from IN PROGRESS TO COMPLETE
The status from COMPLETE to IN PROGRESS is changed by event or Triggers (based the alert date)The First Part are coded as follow
(The workflow purpose is change the status columns from COMPLETE to IN
PROGRESS or fromIN PROGRESS to COMPLETE according
some columns value.. And if the change is from IN
PROGRESSto COMPLETE there
will be change in some columns like
If alertSOP Date <= today then change the status (Columns value) from Complete to In Progress and send email to the manager (the manager email address is a column (Manager Email)
Else pause until the alert date=Today()
If the status (columns) = in progress send
Reminder email every 10 days)
Note:
The first if Block work as expected
the second if block generate error.. Internal States Canceled
RequestorId: 3b262286-66e8-5f9f-09f8-3b09c5be0ebc. Details: System.ApplicationException: HTTP 400 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["1"],"SPClientServiceRequestDuration":["1997"],"SPRequestGuid":["3b262286-66e8-5f9f-09f8-3b09c5be0ebc"],"request-id":["3b262286-66e8-5f9f-09f8-3b09c5be0ebc"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 25 Mar 2014 21:25:35 GMT"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager
bookmarkManager, Location resultLocation) -
Table control-change the output of a column. My column shows numbers (char)
Hello Friends,
I have in the table control a table. This table show varoius columns , but one column shows numbers. My boss detected that there are showed the numbres but without decimals . for example 10 is showed instead of 10.35. The format of the column is char . How can i change the format to make it appear with decimals? I tried with split in the internal processes. but the problem are the external ones. Because this column is automatically converted to char . what can i do ?
Thanks!!i did not asigned a type char.
i just referenzed from a field of a matrix table., the machine recognizes this field as char and shows the filed with no decimals at all
How can i make the decimals to appear?
Maybe you are looking for
-
Issue in display format of a internal table in SMARTFORM
I m printing an internal table in smartform.when a particular field exceeds the coloumn's length.the rest of the texts come down to the next line.It can be shown in the below example.i m printing "+ text to be printed" in that particular coloumn. Bec
-
How to get attribute value of a node
Hi experts I have a mapped node in my view context from component controller context. This node consists of 2 value attributes inside Example: NODE1 - > Cardinality 1..1, seleciton 1..1 -- x_date - > type DATS -- x_years
-
Anyone has any documentation on getting the sleeve to work. Have dropped both a Windows 8.1 and Windows 8 x86 with SCCM 2012 R2 OSD but no joy? Thanks!
-
BRAS IP profile no longer available?
I am today not able to retrieve the BRAS IP profile information for my BT lines either through the wholesale speedtest (says information is not available) or mouselike (Debug BT no BRAS info). I think these are unusual errors possibly indicating BRA
-
Image desappears when i use pen tool
When i use pen tool, and crop tool,the image dessapears, i don´t know why this is happening. Please help.