How to change data type and col. width of text item
hi,
how will we change the datatype and width of a text item in runtime.
set_item_property(itemname,fixed_length,20);--- it is for width.
please help me.
Regards
Hello,
You cannot change the datatype at runtime.
Start with a CHAR item then do the corresponding cast (NUMBER or DATE)
Francois
Similar Messages
-
How to change data type of attribute in caf
hi.
this is my problem.
i been added a attribute in an entity service called emloyee. named "Birthday", use the data type "com.sap.caf.core.date".
when i tried modify the entity service, i hit exception about "DST Daylight Saving Time".
because of DST, the date will add an hour such like "1957/04/01 00:00:00.0" to "1957/04/01 01:00:00.0", and com.sap.caf.core.date will throw an exception.
is anyone had same problem like me?
how to fixed it(if passable)?
and, how to change data type?
thanks.Hi Sruthi,
all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
Regards,
Noel -
How to change material type and industrial sector of the exsisting material
Hi,
There is an issue where user wants to change material type and industrial sector of the exsisting material .Is it posible to do so??
IF not ,how can we delete that material from material master so that another material with same number and required material type and industrial sector can be created.
Points will be definitely rewarded.
Thanks
RohitHi Rohit,
You can change the material type in MMAM trxn code if the material dosenot conatain any open purchase requisitions, open reservations & open purchase orders. Also material stock should be zero.
Remember the new material type should have same attributes same as old material type.
OLD Material New Material
1) Standard Price 1) Standard Price
2) Manufacture part 2) Manufacture part
profile actvated profile actvated
3) Quantity & Value 3) Quantity & Value
Updation in all areas Updation in all areas
4) should have same GL 4) Should have same GL acs
acs
It is not possible to change Industry sector once created.
If you want to delete the Material, you can flag it in MM06 trxn code.
Reg,
Ashok
Dont forget to Assign points if useful. -
How to change data type of input parameter
Hi
In my procedure i declared the data type of "Value Date" Input parameter as Date where as in CR it is showing data type as "Date Time". Can any one please specify how to change to Date.
While prompting for input parameter in description it is showing message as
Please enter Date time in format"yyy-mm-dd hh:mm:ss" . To change the content selected "format field" option. But is there any way to change input parameter data type.
Please suggest how to change.
Thanks SruthiHi Sruthi,
all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
Regards,
Noel -
How to change data type from Integer to Double?
In a data set, BIP treat Oracle number type column as Integer. How to change it to double?
Hi,
This could be possible with the tcode RSD2 in BW.
But before you do this you need to remove this KF from the cubes/dso in which they are used.Otherwise i don think you can do this.
Once the change is done you could add them back to the DataTargets and load the data as required.
Regards,
Anoop -
How to change data type of content type column.
Hi all,
I am having one content type. I have 10 columns in it. There are two rich text columns in my content type. I have attached this content type to pages library. I want to change the data type of this rich text column to "Full
HTML content with formatting and constraints for publishing".
Please assist me with this issue.
amolHi,
From your description, my understanding is that you want to change the data type for rich text column in content type.
The field type of Full HTML content with formatting and constraints for publishing is "Invalid", you could refer to this article:https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldtype.aspx.
You also could test it by create a Full HTML content with formatting and constraints for publishing column and get the its type with C# code below:
//change the URL to your SharePoint site
using (SPSite site = new SPSite("http://sp/sites/sharepoint2013"))
using (SPWeb web = site.OpenWeb())
SPFieldType type = web.Fields["Column name"].Type;
I have tested it with the PowerShell, it cannot hange the rich text column to “Full HTML content with formatting and constraints for publishing” column. If you want to edit the rich text column, you could not change the type of the column as the screenshot
below:
As a workaround, you could follow these steps to accomplish your requirement:
Create a “Full HTML content with formatting and constraints for publishing” type column in the content type.
Enter your site columns by clicking gear icon -> Site Settings -> Site columns under Web Designer Galleries under section.
Find and delete the rich text column you want to change.
Find the column you have created in step 1, and change the column’s name to the name of the text column you have deleted in step 3.
But you will lose the data of the rich text column in pages library with this method.
Best Regards,
Vincent Han
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to change data type for a field?
Hi Experts,
I have one std screen having one field having numeric type. So it will accept only numeric value. Remember I am using standard transaction.
Now my user wants to enter the special character like + or - in that field(having data type numeric).
How i can change the data type for the particular field so that it will also accept + or -?
Plz reply me as earliest as possible.
Thanks in advance.Hi salil ,
u have to change / create Domain of that Data Element.
but u have to check the Implications. i have done the same thing , but that one is Customer defined one , i got nearly 20 short dumps while doing the TP.
regards
Prabhu -
I'd like to Change format Data from Date-Type Column to char-type
especially, as 'YYYYMMDD' Format, But There are some Error Message.
I already know, to_char(sysdate, 'yyyymmdd') from dual,
But When it Applied my Table (has Date Type Column )....
That SQL was Error...
Table Description
===================
GUBUN NOT NULL NUMBER(7)
POLCD NOT NULL NUMBER(7)
TITLE VARCHAR2(200)
VALUE NUMBER(7)
SIDATE VARCHAR2(20)
SQL
================================
SELECT TO_CHAR(SIDATE,'YYYYMMDD') as V_SIDATE , -- <== Error
TO_CHAR(SYSDATE,'YYYYMMDD') as V_TODAY -- <== Ok
FROM T_POLL
Error Msg
================================
ORA-01722: invalid number
.....I don't know Why... plz. help me, it's Urgent...-_-;
ICQ : 40751557
MSN : [email protected]
Finally, sorry for my poor English...The reason for the error is you are applying a TO_CHAR function to a character datatype. SIDATE is a character. That field should be a date field. If for some reason, you need it to stay as a character field then you will need to change it to a date then change it back to a character.
TO_CHAR(TO_DATE(SIDATE,'put format here'),'YYYYMMDD') -
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 to change date format and time zone from the client.
In order to change time zone, you need to go Administration-> Access Management (Step 1), and select your name on the right (Step 2).
Then select Edit tab at the bottom of the screen, and change both Time Zone and Regional Setting.Thanks for sharing, Agnes.
-
How to change the size and font of my text in SMARTFORMS
Hello gurus,
I have a smartform as image below:
I want to know how can I change the font size, and if is there a way to auto adjust text within its container or window?
ThanlsTo maintain « Styles » in your Smart form, read first : Smart Forms > Maintenance of Styles with the Style Builder.
Transaction SMARTSTYLES
if not already created, create a new style (e.g. copy the style assigned to your form)
create a new paragraph format
select alignment "BLOCK Justified"
Then in transaction SMARTFORMS attach your style and use your new paragraph format.
Regards,
Raymond -
How to change content/type from applicaiton/xml to text/xml??
Hi B2B Gurus,
Now that i have worked out file transfer. I was now trying to post the same document onto a HTTP URL.
I see in the headers that the
Content-Type=application/XML
However i need the Content-Type to be text/XML
Where can i get this changed?
Edited by: user773213 on Apr 8, 2009 4:48 AMi tried it but it still shows the same content-type
***************************B2B.LOG************************************************
2009.04.08 at 18:45:29:500: Thread-10: Repository - (INFORMATION) BIND VARS = (5B7A966871774858A1C935F4ADEECA85-95-1, 95, 1, N, http://ap604fin.us.oracle.com:7787/HTTPService/Receiver, <0AB05E5912085DE6D600000082D60500@AS2_Mycompany>, null, null, , Processing, oracle.tip.repos.core.driver.BinaryImpl@10bbd42, , null, , oracle.tip.repos.core.driver.BinaryImpl@1b6772a, null, null, null, HTTP, , 1.0, Wed Apr 08 18:45:29 GMT+05:30 2009, , Message-ID=<0AB05E5912085DE6D600000082D60500@AS2_Mycompany>
Content-Transfer-Encoding=binary
MIME-version=1.0
From=AS2_Mycompany
Receipt-Delivery-Option=file://localhost/ORACLE_HOME\MyCompany
Disposition-Notification-To=[email protected]
AS2-To=AS2_Supplier1
User-Agent=AS2 Server
Date=Wed, 08 Apr 2009 13:15:17 GMT
AS2-Version=1.1
AS2-From=AS2_Mycompany
Content-Type=application/XML; name=ShipOrder
Connection=close
, null, 0AB05E5912085DE72520000082D60600, null, 3C4DF09FF3304FA698C287DA35154FDB, 826050DF70374FF389E372DB6D126D46)
2009.04.08 at 18:45:29:906: Thread-10: Repository - (DEBUG) CatalogDriver.writeObjectList()
*********************************************************************************** -
How to use same Data Type and Length for two fields
How to use same data type and length for two fields when using 'FOR ALL ENTRIES IN' in a select statement? For instance the select queries are :
SELECT bukrs gjahr belnr lifnr budat bldat zlspr dmbtr waers shkzg
FROM bsik
INTO TABLE it_bsik
WHERE bukrs = p_bukrs
AND lifnr IN s_lifnr.
IF it_bsik IS NOT INITIAL.
SELECT belnr gjahr awkey awtyp
FROM bkpf
INTO TABLE it_bkpf
FOR ALL ENTRIES IN it_bsik
WHERE belnr = it_bsik-belnr
AND gjahr = it_bsik-gjahr.
IF it_bkpf IS NOT INITIAL.
SELECT belnr gjahr lifnr xblnr
FROM rbkp
INTO TABLE it_rbkp
FOR ALL ENTRIES IN it_bkpf
WHERE belnr = it_bkpf-awkey+0(10)
AND gjahr = it_bkpf-awkey+10(4).
ENDIF.
ENDIF.
Here it gives an error in the 3rd select query that 'When you use the addition "FOR ALL ENTRIES IN itab", the fields "GJAHR" and "IT_BKPF2-AWKEY+10(4)" must have the same type and the same length.'
Kindly clarify.Hi Saurabh,
Please see the example code that I have developed for you. It will help you solve the problem.
REPORT ZTEST_3 .
tables : BKPF.
data : begin of it_bkpf occurs 1,
belnr type RE_BELNR,
awkey type awkey,
awtyp type awtyp,
gjahr type GJAHR,
end of it_bkpf.
data : begin of it_bkpf1 occurs 1,
belnr type RE_BELNR,
awkey type gjahr, " change the data type
awtyp type awtyp,
gjahr type GJAHR,
end of it_bkpf1.
data : begin of it_rbkp occurs 1,
belnr type BELNR_D,
gjahr type gjahr,
lifnr type LIFRE,
xblnr type XBLNR,
end of it_rbkp.
select belnr
awkey
awtyp
gjahr
from bkpf
into table it_bkpf
where BUKRS = 'TELH'.
loop at it_bkpf.
it_bkpf1-belnr = it_bkpf-belnr.
it_bkpf1-awkey = it_bkpf-awkey+10(4). "Here only append the required length.
it_bkpf1-awtyp = it_bkpf-awtyp.
it_bkpf1-gjahr = it_bkpf-gjahr.
append it_bkpf1.
clear it_bkpf1.
endloop.
select belnr
gjahr
lifnr
xblnr
from RBKP
into table it_rbkp
for all entries in it_bkpf1
where belnr = it_bkpf1-belnr
This is just an example. Change the fields according to your requirement.
Regards
Abhii
Edited by: Abhii on Mar 9, 2011 9:08 AM -
How to change data source name and context root during deployment
Hi,
Env:
WLS 10.1.3
JDev 11.1.1.6
Hudson
I need to deploy two instances of my ADF application on the same development enviroment. We are using Hudson to deploy. My question is how to change data source name and application context root before second deployment.
KubaI don't believe there is an inbuilt facility to do this.
Previously how I've done this is when checking files out using Hudson jovs, before the build I then use an Ant extension called XmlTask (http://www.oopsconsultancy.com/software/xmltask/) to modify the required XML files.
Can I ask why you're doing this in the first place please? Multi-tenancy? 2 versions of the same app?
CM. -
How to change the font and type in the front panel
Can you tell me how to change the font and type in the front panel if i want to make it looks more beautiful.
1110340040Hi there,
You can change the font size and type as shown below:
- Ee Lim -
See that button on the left side of this post...
If you feel my post is helpful, all you need is just (at most) 2 seconds to click that button, to show your appreciation. Thank you~~
Maybe you are looking for
-
My macbook has been extremely slow for a while and after looking on this site I discovered I should look at the console - and noticed I had I/O timeouts all the time which I gather are a problem. What can I do with my hard drive? If I back it up usin
-
Mapping CLOB and Long in xml schema
Hi, I am creating an xml schema to map some user defined database objects. For example, for a column which is defined as VARCHAR2 in the database, I have the following xsd type mapping. <xsd:element name="Currency" type="xsd:string" /> If the oracle
-
When is the update so that VUDU can recognize this TV as 3D? Also, where is HULU on this thing? Thanks. F. Villa
-
Explicit Lock on for Update Table
If I want to perform explicit lock acquiring on updating all records in "customer" table with "state" equals to "CA". What command should I run?
-
Use spacebar to check/uncheck a checkbox in a datagrid.
I have a DataGrid that has checkbox in the first column. The user wants to be able to check/uncheck the checkbox when he selects a row, by mouse or up and down keys, and hits the spacebar. Currently the spacebar functions if the last thing that the u