How to store long text in Rich Text Format in custom table
Hi
I have a requirement to store long text in the RTF in custom table.. Is this possible..
I am aware of a way to store them as Standard texts (SO10).. But not sure on if we can store them in tables..
Plz advise
Thanks
Geetha
Not that familiar with RTF, but you could try and create a field of type (x)string in your table and store the data there.
Similar Messages
-
Tags in Enhanced Rich text or Rich text is disappearing in Plain Text
Hi I have facing an issue with Rich text field in share point.
I have Two columns (Enhanced Rich Text and Rich text in my list).
I have entered a text like ( if date > days or size < 20 contact user ).
If I change the enhanced rich text to plain text The result is like( if date days or size 20 contact user)
Is it bug in product or default behavior :o ?
Regards
KotiHi Koti,
When you change the enhanced rich text to plain text, it seems to remove “<” and “>” instead of “<div>”.
Thus, I would suggest you submit a feedback to the Office Developer Platform if there any expectation about more official documentation of SharePoint:
http://officespdev.uservoice.com/
It is a place for customers provide feedback about Microsoft Office products. What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version
in the future.
Best Regards,
Dean Wang
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] -
Hello experts,
I want to store long text field into database using abap oops, any valuable inputs?
I guess i can use internal table and breakup lines to multiple lines, but not sure this would help, any suggestions?
Thanks in advance.
Viralhii,
SELECT single tdtxtlines
from stxh
into v_textline
where tdid = 'Z01A'
and tdname = p_vbeln
and tdobject = 'VBBK'.
if v_textline ne 0.
L_NAME = P_VBELN.
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = 'Z01A'
LANGUAGE = SY-LANGU
NAME = L_NAME
OBJECT = 'VBBK'
TABLES
LINES = IT_TLINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
ENDIF.
If you want continous text u can use Loop under this.
Regards,
Sridhar.V -
Using Juno I find no way to turn on the Rich Text Editor. How do I turn it on?
When I forward a message in Juno, everything goes as an attachment. How do I get messages to go inline?Another thing to remember is the phone is actually usable for 911 calls and maybe others. Not a real good idea. Especially for a child.
It would depend however on the age of the child.
Good Luck -
How to store the contents of a text file directly in to a clob field
Hi All,
Could anyone help me to store the contents of a text file (*.txt,*.xml etc)directly in to a clob field.
Thanks in advance
Jayaram.One way is to use sqlloader. Three files are used. A control file, an xml data file, and a file with the path of the xml data file. Here's the control file. It reads load.file, which is the file with the path of the xml data file. It names the path ext_path, and inserts the xml into field xml_field.
CONTENTS OF CONTROL FILE:
load DATA
INFILE 'load.file'
APPEND
INTO TABLE xml_table
( ext_path FILLER CHAR(13),
"XML_FIELD" LOBFILE(ext_fname) TERMINATED BY EOF
CONTENTS OF FILE LOAD.FILE:
/tmp/load.dat
The xml is in the file /tmp/load.dat.
null -
How to send a mail with rich text content like using outlook
Hi All. I have a serious problem. When we send the mail from
outlook express or yahoo, we can send the mail with the text appearing
in the mail with bold font , with different colors, underlined etc.
If i type this kind of text in any word processor and mail that content through java mail then the message should be received by the recepient with all that bold,color and underlines etc as it is. Can anybody please help me in this case ASAP.Go to this site and download the htmlArea Javascripts. Embedd them in your HTML and it will turn your normal HTML Text Area into Rich Text Area. Your real code will include all HTML tags. For example if you select some text and make it bold , the real HTML output will look like <B>YOUR TEXT </B>. So i guess your recipient should be able to receive HTML contents.
http://www.interactivetools.com/products/htmlarea/ -
How to enable copy , cut for Rich Text editors
I have a rich-text with cut , copy options but when i try to cut or copy it gives me the following error -
Your browser's security settings don't permit the editor to execute cut operations.
Please use the keyboard shortcut (Ctrl/Cmd+X).
I have tried editing the user.js and almost all the solutions given related to it here but still it doesn't seem to work.
Please Please Please give me some solution for this.Are you not able to use the text editer to access anything displayed with Firefox, for instance this forum, or is it only specific file locations that are affected.
What is the software you are using, and have you tried any other alternatives.
And can you give a very simple example of something you try to do and can not.
See also
* This article seems likely to be highly relevant http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard
** https://addons.mozilla.org/firefox/addon/allowclipboard-helper/
* Aimed more at developers themselves https://developer.mozilla.org/en-US/docs/Using_the_Clipboard
* If it is particular domains or file locations, and is a change since Firefox 29 then this article may be applicable https://developer.mozilla.org/en-US/Firefox/Releases/29/Site_Compatibility#Security -
How can I get Numbers to copy the formatting of a table?
I am trying to replicate the AppleWorks spreadsheet that I created to do my monthly finances
My AppleWorks spreadsheet has lots of defined ranges that I'm turning into separate Numbers Tables (so I have to change Many Many Many cell references, which does not seem to be easy in Numbers)
I've formatted one table as I want it - columns for itemizing expenses for the month with column to describe expense. I've got a header column (e.g. "Hobbies") that I'm centering (merge Cells) over the 2 columns for month's expenses and descriptions. Month's expenses columns are narrower than the description columns.
I've tried selecting the table and saving as a named style.
Then, when I create the next table, it starts w/ generic formatting. I clear and apply the style I've just created - _some_ of the formatting is applied to the new style, but not all:
Fill in the header row not applied
Merged cells in the header row not applied
Tinted fill in header row not applied
Centered text of Merged Cells not applied (left justified, instead)
Centered text of Months not applied (again, left justified)
Row heights not applied
Is there any way to copy ALL of the formatting of a table and apply it to another table?Thanks Wayne - I've been working on my AppleWorks to Numbers comversion using the Apple key - D method to duplicate tables.
I do have to retype column headers (these change for each table)
If I could paste formatting, I could copy the entire table from imported spreadsheet, paste formatting, and Wah-Lah.
Oh, Well the Apple Key - D method (re-entering column heads - type once and then Ctrl-C & a bunch of Ctrl-Vs) is WAY easier than reformatting each table manually.
Only slightly painful to have to re-enter all the cell references for the summed-column totals in the sub-tables into the main table
I've been using the same spreadsheet (w/ minor tweaks from year to year) for the past 12 years... it ain't broke & I'm grumpy about fixing what Apple broke - computers are such timesavers... sigh
Win -
How to CHECK WHETHER LOWER CASE OR UPPER CASE IN CUSTOM TABLE
Dear Friends,
I have a requirement where from the flat file i have collected into the internal table is as below :
IDNo. Name Date Location Designation Dept
101 raja 4/12/2007 Delhi manager HR
102 james 4/12/2007 Delhi clerk HR
now iam checking against my custom table where iam if the designation for the employee name already exists then i shouldnt modify/update the custom table that record
now iam facing a problem where is the flat file is always having the Lower Case only ,
as per the scenario if my custom table already have the employee name i shouldnt modify/update i.e i shouldnt overwrite,
this scenario is working but it is failing in the case
by chance in the Custom table the employee name or designation is in Upper Case the condition where iam checking in the code is failing as the flat file data coming into the internal table is having always lower Case.
So could any one please let me know how i should check in my custom table whether iam having upper case or lower case and how can i make it lower case ?
because iam able to manage in the case where if the flat file data coming in Upper case i can check before only by
using Translate to lower case . how i unalbe to check for the data coming from the Custom table if in Uppercase , so i want to change that to lower case then checking my condition whether that data already exists in my custom table before modifying the data coming from the flat .
because the condition is failing when the data in the custom table is in upper case and the Flat file data is in lower case.
please help how i can check for the data in the Custom table is in upper case and then change it to lower case.
Regards
Madhuri.Hi Madhuri,
Translate both data in your flat file & custom table to lowercase before comparing them. With that, you're able to identify if there's a differences in for both data.
If you're putting data that is pulled from custom table, what you can do is after selecting/reading the data, translate to lowercase or uppercase (whichever you prefer) but make sure if you translate to lowercase, your data in the flat file must be lowercase to and vice versa.
Happy doing !!..
Regards,
Loo -
How to populate date & time when user enter data for custom table in sm30
Can anyone tell me How to populate system date & time when user enter data for custom table in sm30..
Req is
i have custom table and using sm30 user can enter data.
after saving date i want to update date & time in table
Pls let me know where to write the code?
Thanks in AdvanceYou have to write the code in EVENT 01 in SE54 transaction. Go to SE54, enter your Ztable name and in the menu 'Environment-->Events'. Press 'ENTER' to go past the popup message. In the next screen, click on 'New Entries'. In the first column, enter 01 and in the next column give some name for your routine(say UPDATE_USER_DATE_TIME). Then click on the souce code icon that appears in blue at the end of the row. In the code, you need logic like below.
FORM update_user_date_time.
DATA: f_index LIKE sy-tabix.
DATA: BEGIN OF l_total.
INCLUDE STRUCTURE zztable.
INCLUDE STRUCTURE vimtbflags.
DATA END OF l_total.
DATA: s_record TYPE zztable.
LOOP AT total INTO l_total.
IF l_total-vim_action = aendern OR
l_total-vim_action = neuer_eintrag.
MOVE-CORRESPONDING l_total TO s_record.
s_record-zz_user = sy-uname.
s_record-zz_date = sy-datum.
s_record-zz_time = sy-uzeit.
READ TABLE extract WITH KEY l_total.
IF sy-subrc EQ 0.
f_index = sy-tabix.
ELSE.
CLEAR f_index.
ENDIF.
MOVE-CORRESPONDING s_record TO l_total.
MODIFY total FROM l_total.
CHECK f_index GT 0.
MODIFY extract INDEX f_index FROM l_total.
ENDIF.
ENDLOOP.
ENDFORM. " UPDATE_USER_DATE_TIME
Here ZZTABLE is the Z table and ZZ_USER, ZZ_DATE, and ZZ_TIME are the fields that are updated. -
How to store long text in transaction f-65
Hi all,
I need to add long text in the transaction f-65 for a particular document number. I have used the FM CREATE_TEXT. There are no errors but the text is not getting updated.
Pointers on this will be really helpful.
Regards,
PraveenNot that familiar with RTF, but you could try and create a field of type (x)string in your table and store the data there.
-
How to store array of data into a single row of table ,using any of Stmts
HI Friends,
Based on my requirements ,i have retrived a set of data from a XXX.jsp page using a request.getParameter() and stored into single dimenssional array . Now i am paassing that array to JAVA class to store a into some table .
In JSP page users can add text boxes dynamically based on his intrest then those attributes will store in table .it means table attributes are not conatant , it table attributes may change at any time when user adds any textboxs or any fields on JSP page ....thats my module ..
Now i wanted to store all array of data into Table in a single row .......thats is my requirements .
How can we use prepareStatement and Statement to store array of results intoo table row ...on each iteration i wanted to store array of results into table atributes ..It means entire array of results should to into table row at time .....coule any one write sytax ,how we do this...
could any one suggest me stps that i can impliment ......?....please reply ASAPWell ..you code can be works for constant number of attributes in table .oopss here my requirement is table attributes not fixed ,we cant put constant number of place holder(? ) in a statement ,because those are not fixed ,
Let me explain here :
i am doing in that way only. As i mentioned you Table attributes are not constant .It may very if users add any fields dynamically on JSP page .If users have option to add any text box on Jsp page ,then that attribute will store in table as a attribute .
Now i amable fetching the all dyamic form data and stored in a Result Array below ...in this iteration all form result data are from jsp page as suggestion form ,it should stored in table in single row on corrsponding attribtes ......next time when users fills FROM ,then those data i am fetching and storing in a Result Array as below and need to store in corrsponding table attributes in a single row ....
for(int i=0;i<result.length;i++)
System.out.println(result);
pst3=connection.prepareStatement("insert into *emprecord* values(?)");
if(!result[i].equals(""))
System.out.println(result[i]);
pst3.setString(1,result[i]);
pst3.executeUpdate();
Thnks in advance ....let me know the the way we can store dynamic form data into dyanamic table ... -
How to Store resultset in .xls or .csv format
How we can store a resultset in .xls or .csv format, When we don't know the colum names,or no. of columns in the result set, or you want to generlize the code.
Each time for every query execution.getting the field from the resultset and appending ',' to it, and storing it in file is doing the work as i want to do.
I want to use it as to take backup of any table from database server to my system
if any other rather thn xls or csv by that i can reload it easily if required.
Pleae helpThere are lots of ways to do this via tools or rolling your own. I use the FormattedDataSet API for this.
import com.fdsapi.*;
FormattedDataSet fds=new FormattedDataSet();
String csv=null;
csv=fds.getFormattedDataSet("select * from table", "csv");
// or
csv=fds.getFormattedDataSet(resultSet.getMetaData(), resultSet, "csv");Here is a link to a live demo that allows you to format in html/xml/csv. Although the example on this page formats form submissions the code would work for ResultSets too.
http://ssouza.kgbinternet.com/fdsapi/basicdemo.jsp
steve - http://www.fdsapi.com -
How to save blob data (variable length string) in a customized table?
Dear Friends
I have written a very simple program to update table with 2 fields which
looks as follows.
========================================================
Table name ZTESTBLOBDATA
Field Key Init Data Element Data Type Length
ID Checked ZID NUMC 2
BLOB ZBLOB STRING 0
=========================================================
FOllowing is the sample program that I have written (Transaction SE38).
=========================================================
REPORT ZTESTBLOBPROG
TABLES: ZTESTBLOBDATA
data : itab like ZTESTBLOPDATA occurs 1 with header line.
select * from ztestblobdata into table itab.
ztestblobdata-id = sy-dbcnt +1.
ztestblobdata -blob = 'abcdefghijklmnopqrstuvwxyz.'.
insert ztestblobdata.
=========================================================
When I try to save and activate the program, I get the following
error message
'ztestblopdata' must be a flat structure. You cannot use internal
tables, strings, references, or structures as components.
==========================================================
Using the data type STRING is a must since it is a variable length
data which varies from few characters to few gig.
How can go around this problem.
Any feedback will be highly appreciated.
PS. I have checked old postings on SDN, spoken to my ABAP contacts and also couple of instructors from SAP when I took XI courses but didn't get a satisfactory answers.
Edited by: Ram Prasad on Oct 15, 2008 12:28 PMThanks a lot for the response.
The string that we are getting is from another application via netweaver XI integration and is being sent as a string which has to be saved in an SAP table. I am not sure if IDOC option will suit our needs, but will definitely read more about it.
If there is any other suggestion of feedback I would appreciate it a lot.;
Tks
Ram -
How to find login times greater than 24 hours from custom table.
Hello Guru's,
I am having trouble approaching how to construct a query that will find who has been logged in for more than 24 hours, this table is updated every few hours to show who's logged in and where- I am attempting to find out if someone has been logged in for more than 24 hours- if so, who and where. This is difficult for me because I need to compare each recorded for each user login and then see if the next entry is greater than 24 hours from the previous entry.
A table holds the login times and locations as table position_hist:
position_id,userid,upd_date.
Something like;
select position_id,userid,upd_date from position_hist where (select upd_date from position_hist where "the next entry for that user and that position is greater than 24 hours?????"
I guess the easier way to look at it is for a given position_id who has been logged in for more than 24 hours in one go.
Any advice would be brilliant :-)It's hard without knowing your Oracle version, or having any sample data to work with. Please post that in the future using \ tags and DDL/DML.
Here is what I came up with as a guess:SQL> WITH POSITION_HIST AS
2 (
3 SELECT 1 AS POSITION_ID, 1 AS USER_ID, TRUNC(SYSDATE) AS UPD_DATE FROM DUAL UNION ALL
4 SELECT 1 AS POSITION_ID, 1 AS USER_ID, TRUNC(SYSDATE)+1 AS UPD_DATE FROM DUAL UNION ALL
5 SELECT 1 AS POSITION_ID, 1 AS USER_ID, TRUNC(SYSDATE)+2 AS UPD_DATE FROM DUAL UNION ALL
6 SELECT 1 AS POSITION_ID, 1 AS USER_ID, TRUNC(SYSDATE)+4 AS UPD_DATE FROM DUAL UNION ALL
7 SELECT 3 AS POSITION_ID, 2 AS USER_ID, TRUNC(SYSDATE) AS UPD_DATE FROM DUAL UNION ALL
8 SELECT 3 AS POSITION_ID, 2 AS USER_ID, TRUNC(SYSDATE)+1 AS UPD_DATE FROM DUAL UNION ALL
9 SELECT 3 AS POSITION_ID, 2 AS USER_ID, TRUNC(SYSDATE)+2 AS UPD_DATE FROM DUAL UNION ALL
10 SELECT 4 AS POSITION_ID, 21 AS USER_ID, TRUNC(SYSDATE)+2 AS UPD_DATE FROM DUAL
11 )
12 SELECT POSITION_ID
13 , USER_ID
14 FROM
15 (
16 SELECT POSITION_ID
17 , USER_ID
18 , UPD_DATE - LAG(UPD_DATE) OVER (PARTITION BY USER_ID ORDER BY UPD_DATE) AS LOGGED_IN_TIME
19 , ROW_NUMBER() OVER (PARTITION BY USER_ID ORDER BY UPD_DATE DESC) RN
20 FROM POSITION_HIST
21 )
22 WHERE LOGGED_IN_TIME > 1 AND RN = 1
23 /
POSITION_ID USER_ID
1 1
Maybe you are looking for
-
Does oracle 8i can be able to export and import long raw data?
Hi freinds, i m trying to export a user schema that includes emp_photo a long raw, it got exported with out errors (oracle 7 doesnt). when im tryuing to import it is getting failed, does it cant be imported? or this is becz of some other problems. th
-
CS6 beta expired, now CS4 won't start
I had Photoshop CS4 installed on my Mac, then installed Photoshop CS6 beta and uninstalled it after its trial expired. Unfortunately, CS4 now reports "license expired" at start, and then quits. I have my CS4 serial number but I don't know where to ge
-
I wanted to clear my Recently Added playlist and I accidently deleted it.
I wanted to clear my Recently Added playlist that was a premade playlist and I deleted it. Now when I add songs to iTunes, the songs just go straight onto another playlist and I can never find them right away. I was wondering if there was any way I c
-
Logging exeptions to database table
Hi, I'd like to save all exceptions from ADF BC/Faces application to special database table. I want to store exception messages, date , time and user id. Have anybody tried to implement similar solution ? Thans for advice. Kuba
-
Is outlook notes compatable with mountian lion notes?
I have notes on my iphone from when I used outlook on my pc, I now use my iphone with my mac Air and would like to sync my iphone notes with my mac. I have notes on both devices but on my mac there are only 5 or 6 items and on my iphone there are man