How to use long texts in explanation tool tip?
Hi ,
Can anyone tell me how to add long text in Explanation tool tip?
I am able to use short OTR texts in explanation tool tip but not able to use long OTR texts.
Thanks and regards,
Vivek Shetty.
For long text
method1
Create TEXT node- general attributes change text type to include text
then you can input text name/text object/text id/language
method2
create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
then use LOOP or TABLE node to display it
For TEXT module(For foreign language)
Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
then enter smartform Create TEXT node- general attributes change text type to text module
input the text module name which created by above
btw SO10 is just for Scriptform, in smartforms we use text module to replace SO10
Similar Messages
-
How to use long text editor in Webdynpro
hi ,
I want to use text editor in webdynpro. I want to save the data in long text.
My requirement is the format of data should remain same(It should not get changed).
Thanks
SKHi,
use text editor uielement and bind it with a attribute of type string. convert this string into a table using function module
fill another internal table which is type compatible with table of SAVE_TEXT function module.
CONVERT_STRING_TO_TABLE. Call the function module SAVE_TEXT to save this text.
you need to find proper tdobject and tdid value which is to be passed in importing parameter "header".
similarly use FM "READ_TEXT" and convert the returned data into string using FM CONVERT_TABLE_TO_STRING.
Bind the returned table to an attribute of your context. The data will be displayed in the same format in which you entered it.
Thanks
Vishal Kapoor
Edited by: vishal kapoor on Oct 19, 2010 3:51 PM -
How to Search document by using Long text description contents in SAPEasy DMS
Hi,
How to Search document by using Long text description contents in SAPEasy DMS
Regards,
Shrikant ShindeHi Alfredo,
Thanks for reply..Will you please explain in brief what are the OCR program and workflow.
Will you please send me any docs on [email protected]
Thanks
shiv. -
How to print long text in scripts
plzzzzzzzzz answer this qestion
how to print long text in scriptsHi Kranthi,
You can create Text Id and include that in your script.
For example:
/E TEXT
/: INCLUDE ZTEXT OBJECT TEXT ID ST
Hope this helps.
Please reward if useful.
Thanks,
Srinivasa -
How to use standard texts in smartforms
Hi Friends,
How to use standard texts in smartforms, ie in scripts we are using standard texts using tr so10.
thanks in advance,
regards,
sharma.For long text
method1
Create TEXT node- general attributes change text type to include text
then you can input text name/text object/text id/language
method2
create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
then use LOOP or TABLE node to display it
For TEXT module(For foreign language)
Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
then enter smartform Create TEXT node- general attributes change text type to text module
input the text module name which created by above
btw SO10 is just for Scriptform, in smartforms we use text module to replace SO10 -
Tcode FV50: How to find long text in FI Document line item Before Saving.
Hi,
How to find long text in FI Document line item.
During Parking of the FI document through Tcode FV50 i m giving the some text in the long text not in the text field.
I would like to validate the Long Text Before Saving in user exit "U300" under the "Sunstitution" .
Please anybody can be help me out where exactly this long text is going to be stored or in which internal table or memory id.
Please give me the answer as soon as possible .
Note:- Read_Text function module is not useful. Because Read_text useful after saving document.Hi Amit,
In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
Just try to explore in your system how the other validations are maintained.
After you are done with all your code, you have to run the regeneration program RGUGBR00.
Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS & TRACE PROG. GENERATE CALLS .
Hope this make your doubt clear.
Regards
Abhii -
How to create Long Text in Module Pool Program
Hi all,
I want to develop a new module pool program and I want to use Long text screen in this program and also want this text will store in table.I never develop such type of module pool before.This long text will like sales order long text.Please let me know the steps how I can develop such type of program and how I save long text huge data in table.
Thanks & Regards
NirmalHai ,
here you have to use custom control, for this
DATA: line(256) TYPE c,
text_tab LIKE STANDARD TABLE OF line,
field LIKE line.
1) Create custom control in your screen
2) CREATE OBJECT: container EXPORTING container_name = 'TEXTEDIT', "--> (this is custom control name in screen)
editor EXPORTING parent = container.
3) CALL METHOD editor->get_text_as_stream "This method reads data from custom control , inserts into itab 'text_tab'
IMPORTING
text = text_tab. "
READ TABLE text_tab INTO line INDEX 1. read the text into wa 'line'
if you want more clarity , see 'ABAPDOCU' >ABAP USER DIALOGS> COMPLEXSCREEN ELEMENTS--> DEMO CUSTOM_CONTROL -
How to read long text in Document line item
Hi,
How to read long text in FI Document line item.Use Read_text function module.
you need to pass
ID
LANGUAGE
NAME
OBJECT to the function moduel
To find the Text id name language and object these are the following steps. Example: FB02
1. goto FB02, Enter Document number
2. from menuselect Goto>Header-->header Text..... New window will be displayed
3. select the Header Text. here you can see all the text.
4. click on the TEXT (which you want to know the Text id) , then press log ICON (you can find in bottom right of the text window) it looks like a rolled paper.
5. in the Next window you will find Text Name. Text ID, Language. etc...
Regards,
Lalit Mohan Gupta. -
How to use the text module in script
hi,
i script how to use the text modules and how to write the code in layout of the script?Hi,
You canr use text modules in script. You have to use standard texts .
Standard text are maintained in SO10 transaction.
you can create translation text for other languages also . So based on logon language it will print translation text.
go to SO10
give textname it say Ztextname id as ST and language as EN
say create, then you will get editor there maintain your text and save it . then come back . Now change language (say for german DE) say create and eneter translation text and save it.
so now you have created a text called ztextname which you can use in your script.
Inorder to insert the texts in your script do as below
go to any window editor and select path
Insert->texts->symbols->standard symbols
then you will get popup in which you have to mention all the parameters that you have created earlier.
after inserting just change language EN to sy-langu
Reward points if useful
About text elements Sravan already given some informatiomn
Regards,
Nageswar -
How to use Standard Text in ALV
How to use Standard Text in ALV header part? Can you please help me by giving the answer?
Hi ,
You can read the Standard text using read_text function module and then print in LV header part. -
Use Long Text as Import Parameter in function module
Hi,
I need to use long text as import parameter and also in tables tab also. Can anybody suggest me the proper data dictionary names?
aRsTry with :
CLTLINE - Text line with language key
CODELINE - coding line
RTLINES
RTFLINES
RFCLINES
RFC_TLINE
TLINE
TLINE10
TLINE11
TLINE12
TLINE13
TLINE14
TEXTLINES
Thanks
Seshu -
How to get an error icon with tool tip in a displaying table in a particu
How to get an error icon with tool tip in a displaying table in a particular field..
Thanks.Hi,
In the context create an attribute of type string .
Create the attribute in the node which you bind for table.
In the layout .
1.create a Table UI element.
2 create binding for UI element.
3Right click on the Table UI and select insert table column.
4.once the table column is inserted right click on table column and select insert cell editor.
5.create the cell editor of the type image.
6.Bind the source property of the image to the attribute in the node which you have created.
so depending on what image(type of icon) needs to be displayed set the attibute accordingly.
refer to the link for image :
[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d1/af8841349e1909e10000000a155106/frameset.htm]
Priya -
How to keep long text in bdc using create_text function module
hi,
ihave bdc in that i having field like long text i have to upload the long text using create_text function module how to use and where to use in bdc. wat parameters i have to pass exactly.
i need some other information like how can i pass this to BDC i got like this .
can u plz check it.
its a length of 255 chaters
perform bdc_field using 'RSTXT-TXLINE(02)'
'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'
& 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz'.
perform bdc_field using 'RSTXT-TXLINE(03)'
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
& 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'.
perform bdc_field using 'RSTXT-TXLINE(04)'
'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'
& 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'.
perform bdc_field using 'RSTXT-TXLINE(05)'
'hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh'
& 'hhhhhhhhhhhhhhhhhhhhhh'.Hi,
Use this coding where do u want,
data: begin of textline occurs 10.
include structure tline.
data: end of textline.
start-of-selection.
textline-tdformat = '*'.
textline-tdline = 'TESTING FOR CREATION OF TEXT'.
append textline.
clear textline.
call function 'CREATE_TEXT'
exporting
fid = '0013'
flanguage = sy-langu
fname = '0095000501'
fobject = 'VBBK'
tables
flines = textline
exceptions
no_init = 01
no_save = 02.
end-of-selection. -
How to upload long text using BAPI_SERVICE_CREATE
Hi,
I'm uploading service master records (transaction AC03) through my program using function BAPI_SERVICE_CREATE. As per the requirements, for each service number, I've to pass long text also (refer to the last text area on the transaction screen).
In the tables section of the bapi BAPI_SERVICE_CREATE, there is a provision for an internal table on the form SERVICE_LONG_TEXTS. But it is of no use as even if I pass data to it, it is not written to the database.
Can anyone tell me solution for my problem?
Thanks.
Anuj.Anuj,
Create a new program using the following code and run it using an existing service number to see if the longtext gets updated. I ran it in my system and it is working fine. If it works for you, then you can modify your code accordingly.
report zlongtext.
data: header like thead,
ilines like tline occurs 0 with header line.
parameters: asnum like asmd-asnum.
start-of-selection.
header-tdobject = 'ASMD'.
header-tdname = asnum. " Make sure it has leading zeroes.
header-tdid = 'LTXT'.
header-tdspras = sy-langu.
ilines-tdformat = '*'.
ilines-tdline = 'Just a test to see how it works'.
append ilines.
clear ilines.
call function 'SAVE_TEXT'
exporting
header = header
INSERT = ' '
savemode_direct = 'X'
tables
lines = ilines
exceptions
id = 1
language = 2
name = 3
object = 4
others = 5.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
call function 'COMMIT_TEXT'.
if sy-subrc = 0.
write: / 'updated successfully'.
endif.
endif. -
Hi All,
In my BSp application user can enter long text ( can be more than 300 char ) in TextEdit.
problem is as below:
1) i am getting all the text in oninput processing ...
2) using the FM READ_TEXT to get mail template built in SO10.
3) Replacing all dynamic variables in mail template with user enterd text.
4) then passing the data to FM SO_NEW_DOCUMENT_SEND_API1. this FM has table parameter with 255 char ( please check once )
i am able to send the data in mail. But long text more than 256 char is not comming as single paragraph.
For expamle ...user enter the following text in text edit.
Responsible for the development, implementation, and maintenance of human resource information systems (HRIS) associated with the collection, retrieval, accessibility, and usage of employee information for Human Resource department planning and activities. Maintains internal database files and tables, and develops custom reports to meet the requirements of Human Resource management and staff.
in inbox i am getting as below:
Job Description for : Responsible for the development, implementation, and maintenance of human resource information systems (HRIS) associated with the collection, retrieval, accessibility, and usage of employee information for Human Resource depa
Maintains internal database files and tables, and develops custom reports to meet the requirements of Human Resource management and staff.
Job Description for is fixed text from SO10 templete. and remainning text is user text.
some data is missing in mail.
SO10 template is as below :
Job Description for : &INSTRUC1&
&INSTRUC2&
help to solve the above issue.
Regads,
Kishan
Edited by: kishanrao.sap on Oct 11, 2010 3:12 PMHi Krishna,
Please use the object_type parameter of tthe FM as 'HTM'.
Then divide the text by append them into the lines of the object_content. In the begining and end make sure you have
<p> -- in the begining
</p>-- in the end
if i want to type the text in one para " My name is Imran and i am an ABAP developer".
CLEAR: WA_OBJECT_CONTENT.
WA_OBJECT_CONTENT-line = '<html>'<body><p> My name is Imran.
APPEND WA_OBJECT_CONTENT TO T_OBJECT_CONTENT.
CLEAR WA_OBJECT_CONTENT.
WA_OBJECT_CONTENT-line = ' and i am an ABAP developer</p></body><html;>'.
APPEND WA_OBJECT_CONTENT TO T_OBJECT_CONTENT.
Hope this helps you.
Regards
Imran.
Maybe you are looking for
-
Just Updated iTunes and Now it won't read my iPod
I have an iPod nano. I just updated the latest version of iTunes. Now, when I plug in the iPod to my laptop I get an error message which says "The iPod Cassandra cannot be used because it requires iTunes version 4.9 or later." What can i do to be abl
-
I have just installed mountain lion. for some reason i get two alerts for the birthday of a friend, one implying that it is today and one that it is tomorrow. I checked in addressbook and the birthday of that friend is correctly input as tomorrow.
-
BC installed BEx Variables are not visible in Query Designer
Hello, I have installed SAP Exit BEx Varibales from Business Content (0P_KEYDT, 0P_KEYD2 and 0P_KEYD3) sucessfully. But when I am not able to see these variables in the Query Desginer ( Need to restirct these on Net Due Date, Posting Date). Please ad
-
Reporting Error After Upgrading to SCCM 2012 R2
After upgrading from SCCM 2012 SP1 CU2 to SCCM 2012 R2, some users receive an error whenever they open a report. This occurs in both the SCCM console and the SSRS web site. What's odd is not all users receive the error. In fact, for two users with
-
Help! My Mac Pro only reads 1.86GB out of 6GB in Windows 7 32-bit
I'm having issues with my Mac Pro not being able to read all my memory in windows 7 32-bit. I know that 32 bit OS can only read up to 3.5GB or something like that, but mine is only reading 1.86GB out of the 6GB i have installed. I've installed all th