How to insert a text edit UI element in a table
hi all,
I want a text edit UI element in a table .I do not want input field because text entered can be very long and whole text cant be seen then.Is there any way to increase the width of input field if i insert an input field ? or what can be other solution for this?
Hi Govind,
You can't insert Text Edit as a cell variant in table. But you can increase the 'Width' property of Input Field, say to 500px or as per your requirement, so that you can display the full text at one go. Or you can bind the 'Width' property to a context and set the width at run time as per the text length.
Thanks,
Sumit
Similar Messages
-
How to insert sales text (MM02) into a single record of a Ztable.
Hi,
I'm extracting data from different data base tables and populating a Ztable which has Matnr as primary key and sales text as a field.
I have already used READ_TEXT to display the text and it is displayed in multiple records which in turn leads to duplication of Material numbers.
Now I want to avoid duplication of records (Matnr) as this being a primary record, and display the sales text of a particular material number into one single record.
Can anyone tell me how to insert sales text (MM02) transaction into one single record.
Thanks,
Govindsorry i am not enough clear about your requirement...
as i can understand i am explaining to you.
suppose your itab contains repaeating matnr.
matnr
1
1
2
2
2
3
3
like this.
data : text(200),
matnr like mara-matnr.
loop at itab.
call READ_TEXT fnmodule.
loop at tline.
concatenate text tline-tdline into text.
endloop.
matnr = itab-matnr.
at end of matnr.
itab1-matnr = matnr.
itab1-text = text.
append itab1.
clear text.
endat.
endloop.
NB change the code as per your requirement
regards
shiba dutta -
How to Insert the Text in Selected Text Frame-Reg.
Dear all,
I am using the SnipperRunner - SDK, and create the TextFrame, but I can't insert the Text in the Particular Frame. so please give me the soultions,
(*) Create TextFrame is ok,
(*) Select TextFrame is also ok,
(*) now, my Query ->
How to Insert the Text in the Selected Frame?. (or)
How to Link the Selectable Frame and my Text.? (or)
How come to know the TextFrame is select?.
Please any one can suggest me through the Coding....I will appreciate you...
Thanks & Regards,
T.R.Harihara SudhaNHi,
you have to get the TextModel associated with the textframe. Once you got that, ITextModel has an Insert()-method. You could also process kInsertTextCmdBoss - there are quite a few examples around. I believe WriteFishPrice also inserts text into a frame, just as an example. Good luck ...
Bernt -
How to export the text edit data to excel file without splitting the data in excel file?
how to export the text edit data to excel file without splitting the data in excel file?
I have a requirement in SAP HR where in the appraiser can add comments in the area given and can export that to excel file. Currently the file is getting exported but the comments getting split into deifferent rows.
I want the entire comment to be fit in one row.
Please help.
Thank youHi,
if your text edit value is stored in 'lv_string' variable.
then before exporting the value to excel you have to remove CL_ABAP_CHAR_UTILITIES=>NEWLINE
that is '#' from the variable lv_string.
for that use code some thing like this.
REPLACE ALL OCCURRENCES OF CL_ABAP_CHAR_UTILITIES=>NEWLINE in lv_string WITH space.
I think this will do the trick. -
How to insert vietnameese text in a form
Hi all,
How to insert Vietnamese text in a smartform since it is not supported by SAP.You can insert using standard text So10 call the standard text in your form where every it is required.
Download text/language converter using google search. Convert text to your desired language and place it in SO10.
close the thread once your question is answered.
Regards,
SaiRam -
How to insert independent text column in pages ?
hello,
I have made a flyer from one of the templates in pages..
What I wnat to do is insert another text colum indicated at the attachment. I just con not figure out how to do it.. It keeps insertin within the main text..
any help will be appreciated.
Gokce
oopss.. how do we attache images here ?
Message was edited by: GokceGokce,
Have you tried inserting a text box? If not, click on View > Show Layout to enter the layout view. Click in the gray margin area to make your cursor disapppear. Then click on Insert > Text. The box will be defined as Fixed on Page (because you clicked in the margin area), allowing you to move it anywhere on the page. You can resize it to look just like a column, then put text in it.
Hope this helps.
-Dennis -
How to insert multilingual text
Problem Statement:
Inserting mutilingual text into a table. English, and other languages with the base script of English is perfectly fine. But what if the script is something like Japanese, Chinese, Korean etc?You can't have different colors for different pieces of text. See the Swing tutorial on "General Rules for Using Text Components" for and example of how to do this using a JTextPane:
http://java.sun.com/docs/books/tutorial/uiswing/components/generaltext.html -
How to turn the text edit into microsoft word
Hi guys, please help me.. my professor send us a a document but in text edit version.. i dont know how to edit it in microsoft word. or is this possible.. is just that i am scared that i typed in all my work in text edit and it will not be saved. please help.. thank you
OS X 10.9 Mavericks
Make a copy or two of the document and keep it safe.
Open the TextEdit document.
Click "File" menu in the TextEdit menubar and select "Duplicate"
A new copy with" copy" attached to the title will be created.
Click "Save" from the TextEdit "File" menu in the menu bar.
Give it a name and answer "Where".
Click File format popup box and select Word... -
How to insert formatted text in a JTextPane component?
Hello,
This is my first post in a java forum so i hope to get help :)
Anyway, i am facing some problems in developping my project , the project consists of a tool to provide text editing allowing text formatting like MS Word , it allows different font style , size , color , text alignment...etc
My program generates .html files i.e. the text formatting is obtained using html tags ...
My problem is when the user opens the file again , any text formatting is unsaved, meaning, he MOSt continue typing using the same font size , style...etc any change in the format is unsensed and surely not saved in the html file .
till now i can't doubt where exactly is my problem .. but i'll be here for any attempts to help me :)
Thnx a lotunfortunately it doesn't work this way(or I am doing it wrong as I don't know anything about css)
If I set white-space: nowrap the text is displayed in one single line ( so probably I implemented it the right way)
but with white-space:pre he still ignores all the whitespaces!
reading the same text (from a microsoft sql server table)with a textarea component all whitespaces and line breaks are shown! there has to be a way to make the static text or label component act this way(I don't want to use the textarea component because it's ugly and doesn't serve for my purpose).
can anybody help me?
edit: observation:
if I use "nowrap" for the textarea component he still keeps all whitespaces WITHIN the string but displays the whole string in one line
but somehow he deletes white spaces in the beginning of the string
the static text/label components delete all whitespaces before AND within the string
Edited by: Arthur... on Feb 15, 2008 9:34 AM -
How do I configure RAW editing with Elements 11
I have a new camera, Lumix TZ60, I've taken photos and when I tried editing in Elements 11 I had a message '- - - Visit Camera RAW help' does this mean the camera manufacturer or check with Adobe?
Any help would be appreciated.Camera Raw plug-in | Supported cameras
Camera Raw-compatible Adobe applications
The TZ60 was first supported in Adobe Camera Raw 8.4 which is only compatible with Elements 12 and newer.
So you'll never be able to edit Raw files from the TZ60 in Elements 11.
Why doesn’t my version of Photoshop or Lightroom support my camera?
Options:
Upgrade to Elements 13
Free option: download the free Adobe DNG converter, convert all TZ60 Raw files to DNG format then edit the DNG files in Elements 11
Photoshop Help | Digital Negative (DNG) -
How to insert long text data in oracle for LONG column type??
Anybody who can tell me what is best way to store long text (more than 8k) in Oralce table.
I am using Long datatype for column but it still doenst let me insert longer strings.
Also I am using ODP.Net.
Anybody with a good suggestion???
Thanks in advanceHi,
Are you getting an error? If so, what?
This works for me..
Greg
create table longtab(col1 varchar2(10), col2 long );
using System;
using System.Data;
using Oracle.DataAccess.Client;
using Oracle.DataAccess.Types;
using System.Text;
public class longwrite
public static void Main()
// make a long string
StringBuilder sb = new StringBuilder();
for (int i=0;i<55000;i++)
sb.Append("a");
sb.Append("Z");
string indata = sb.ToString();
Console.WriteLine("string length is {0}",indata .Length);
// insert into database
OracleConnection con = new OracleConnection("user id=scott;password=tiger;data source=orcl");
con.Open();
OracleCommand cmd = new OracleCommand();
cmd.CommandText = "insert into longtab values(1,:longparam)";
cmd.Connection = con;
OracleParameter longparam = new OracleParameter("longparam",OracleDbType.Long,indata .Length);
longparam.Direction = ParameterDirection.Input;
longparam.Value = indata ;
cmd.Parameters.Add(longparam);
cmd.ExecuteNonQuery();
Console.WriteLine("insert complete");
//now retrieve it
cmd.CommandText = "select rowid,col2 from longtab where col1 = 1";
OracleDataReader reader = cmd.ExecuteReader();
reader.Read();
string outdata = (string)reader.GetOracleString(1);
Console.WriteLine("string length is {0}",outdata.Length);
//Console.WriteLine("string is {0}",outdata);
reader.Close();
con.Close();
con.Close();
} -
How to hide DecisionUserNote text edit box?
Hi everybody,
Could you tell me the way to HIDE the text edit box which appears in the UWL preview of some tasks used to include a note?
It is supposed that filling NOTES in the Sections to exclude iView property would do it but I'm not getting the expected result.
Neither including the property DecisionUserNote to false in the XML configuration tasks...
THanks in advance!HI Jesus,
What version of the Universal Worklist are you using? This is really important as I know that there was a fix with regards to the UserDecisionHandler. The following are the values that should be maintained with this propery:
Memo is turned on by specifying u201Ctrueu201D as a value.
<Property name="UserDecisionNote" value="true"/>
Mandatory memo is specified by putting u201Cmandatoryu201D to value.
<Property name="UserDecisionNote" value="mandatory"/>
Memo is disabled by using u201Cdisabledu201D as a value.
<Property name="UserDecisionNote" value="disabled"/>
After changing configuration in regards to decision note cache should be cleared.
If this doesn't help please let me know the version you are using so I can check and see if there is a patch available for your version.
Beth Maben
EP - Senior Support Consultant II
AGS Primary Support
Global Support Centre Ireland
Please see the UWL Wiki @
https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq *** -
How to define the texts for UI element Dropdownlistbykey?
Hi everyone,
I don't know how to define the texts for Dropdownlistbykey. It seems that Dropdownlistbykey has an attribute "selected key", but where can I bind the texts I want to display when user clicks the downwards
arrow?
Thanks in advance.hi,
you can use this code :
method WDDOINIT .
DATA : node_info TYPE REF TO if_wd_context_node_info,
value1 TYPE wdy_key_value,
set TYPE wdy_key_value_table,
k1 type string value 'M',
v1 type string value 'MAGO',
k2 type string value 'S',
v2 type string value 'Saurav'.
value1-key = k1.
value1-value = v1.
APPEND value1 to set.
value1-key = k2.
value1-value = v2.
APPEND value1 to set.
node_info = wd_context->get_node_info( ).
node_info = node_info->get_child_node('FOR_DROP').
node_info->set_attribute_value_set( name = 'DROP_KEY' value_set = set ).
I hope it helps.
Thanx. -
Insert a new Dropdown UI-Element in a Table header
Hello,
i need to insert a Dropdown UI-element in a Table header, i was looking in the forum and the Web, BUT i didnt find anythinf that can help.
please schow me how can I insert a DropDown UI-Element in the Header.
thank you allHello,
You can normally create a table. Insert a table column and for the table column you need to give Dorpdown by Key / index as a cell editor.
Thanks,
Raju Bonagiri -
How to get Index of a single element in a table
Hi Gurus,
I need to get the index number of the element in a table even if the row is not selected.
I've already searched the forum for this but all i'm getting are selected rows in the table. I need to get the index even if that elemen's row is not selected in the table.
Please advise.
Regards,Hi,
Could you please specify what exactly you want to do?
You said you want to get the index of an element even if the corresponding row is not selected. But there might be more than one element where the correponding rows are not selected. So it would be better if you could be more specific about what you want to achieve.
Regards,
Srilatha
Maybe you are looking for
-
Any way (event) to call Java method after view created in JSF 2.0
Hi, I am using JSF 2.0 Mojarra's implementation. I am interested to know if there is a way to call Java methods before and/or after view has been restored. I wanted to initialize data for my page in this Java method. I could see there is an event cla
-
Lenovo g550 upgrade hard drive and ram
I have a Lenovo G550 (20023), it has Intel T4300 CPU, 3 GB DDR3 RAM,Intel GMA 4500M graphics card and Windows 7, with 320 GB seagate HDD. I would like to buy a new HDD. I found a 2TB Verbatim drive 15 mm height. How much drive height does G550 suppor
-
I downloaded iFlashdriveHD, but the appropriate skins don't display. App asserts I must have iTunes ver. 9.1 or later. How do I determine what I have on a two week old iPad? Just trying to do USB transfers from my black MacBook.
-
Question about flat file schema definitions
Hello, I have defined a flat file schema which works fine. However, I got now a new requirement for this schema: It has to support future potential additional fields in the end of the records. The solution I used is quit "ugly". I added an additional
-
How do i turn apps off in ios7?
help i am apple dumb! ahaha i need to turn off the apps?