Long text editor - sign problem
Hi,
Currently I am facing an issue that the & sign is not being displayed correctly in the Long text editor. It is shown as '<(>&<)>' in the transaction once I input my value in the graphical editor , save and come back.
Please help...
Thanks
Praneeth
Hi Sandra,
I am also talking about the same issue in IW32 and the internal SAP program is not doing a correct conversion due to which the wild characters are entered into the long text window on IW32.
I received an answer for my OSS note and they say it is how the system is ..please see the comments from SAP below ...
26.08.2011 - 12:37:23 CET - Reply by SAP
Hi,
I am sorry, but the behaviour which you describe is correct.
I will try to explain the meaning of the special characters and
why they have to be there: In Sapscript there are some characters,
which have a special meaning. E.g. a '&' starts a symbol, a '<'
starts a character format, etc. So if you use e.g. a '&' in your
text, this Sapscript needs the information, whether the '&' shall
start a symbol or whether it shall be printed as '&'.
So if you want to print the '&' as '&', the character must be masked.
This is done via the characters <(>...<)>. So when you enter
a '&' (and when it is not sure, whether it may start a symbol),
the Sapscript internally saves the character as <(>&<)>.
Usually this should be no problem: If you process the text via
the Sapscript, you will not notice the masking characters. The
graphical editor will not display them. And if you print the text
via a Sapscript form or a Smartform, you will not see them.
Only if you look into the internal table, which is returned
by EDIT_TEXT or READ_TEXT, you will see the characters.
(and the old Sapscript editor displays them, too, because it
is displays the text in the Sapscript-internal format).
If you process the internal table yourself, you must take this
into consideration. E.g. if you want to convert the
Sapscript-internal ITF format which is returned by EDIT_TEXT
into 'normal' text format, you can use the function module
CONVERT_ITF_TO_ASCII.
Kind Regards,
Marian O'Connell
Support Consultant
AGS Primary Support
Visit the Enterprise Asset Management (EAM) forums:
Enterprise Asset Management (SAP EAM)
Similar Messages
-
Long Text Editor displaying & incorrectly.
Hi Experts,
Currently I am facing an issue that the & sign is not being displayed correctly in the Long text editor. It is shown as '<(>&<)>' in some places and '&' in others. I understand that the <(> symbol is used as protection for special symbols like &, however this is occuring in some places and not in others. Is there any package which fixes this problem??
Please help.
Thanks,
Aditya.Hi Naimesh,
My problem is not with the display of variables in the editor. Consider the case wherein transactional data is displayed in Long text. For example if you go to IW22 and decide to change the text for the notification description. In case you give a & sign in the long text - it will be converted to - '<(>&<)>' , when I log on to see the changes I made the next time. However I want the editor to stop this conversion. Please reply.
Thanks ,
Aditya. -
Char. formats(Bold, Underline) in Long text editor not visible in ABAP WD
Hi ABAP experts,
Problem:
I have created long text with using bold and under line formats in long text editor (FM TEXT_ EDIT). I am trying to show same text in WebDynpro using READ_TEXT FM. But FM READ_TEXT is getting long text with HTML tags as shown below for bold and underline and it long text showed as same in WebDynpro application with HTML tags.
Long text shown in webdynpro:
Type your message using the form below. When finished, you can
optionally preview your post by clicking on the <H>"Preview"</> tab.
Otherwise, click the <U><H>"Post Message"</></> button to submit your
message immediately.
Is there any function module available to change format and pass to WebDynpro context?
Thanks
Rajesh YadlaThe normal text editor in Web Dynpro won't handle HTML tags (they get safe encoded as you described). In NetWeaver 7.01 we do introduce a FormattedTextEditor that allows for such formatting. There are APIs to convert from SAPScript based texts to the XHTML FormattedText tags.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/2772f505605447e10000000a422035/frameset.htm -
How to open "change long text" editor on a button click
Hi,
I have 4 long text boxes alligned vertically and a button beside them on a screen.
My client has the following requirement:
-- When this button is clicked, a "change long text" editor should open, the user will make his changes here and when back button is clicked, all the information in the editor should get transferred to the 4 text boxes.
(the functionality should to similar to the big custom control box and the "Create Text" button beside it (in the Subject block) in IW52 transaction except that the custom control should be replaced with the 4 Text boxes).
Please help, How could I achieve this?Cheacked the SAP given programs / pakages and solved the problem.
Thanks. -
Long text editor called from report
Hi All,
I have a requirement of displaying long text editor(like the one used for sap script) for maintaining the details for each PO in report column.A similar example is transaction SO10.I will be thankful if anybody can help in this regard.
Thanks,
Sanjay.Hi,
You will have to use the FM: READ_TEXT, EDIT_TEXT, SAVE_TEXT to achieve this functionality.
This will basically open the text editor as a pop up box ( size will be as sap script editor) for entering some comments against a Purchase Order.
For this FMs, you 'll require Text id, text name, text object and language as parameters to be passed.
thead-tdname = 'Purchase Order No'. " Name
thead-tdid = 'ZQH1'. " Text ID - E.g. To be created in your system
thead-tdobject = 'VBBK'. " Texts: application object
thead-tdspras = sy-langu. " Language Key
Hope this helps.
Regards,
JLN -
Moderator message: please do not use ALL CAPITALS in your subject
Hi all,
I have a requirement to pop up a long text editor screen on clicking a PO in ALV column.
Please guide for the same.
Thanks.
Edited by: Matt on Dec 16, 2008 11:25 AMhi .. check this ..
REPORT ZEX_MINITEXTEDITOR .
Parameters: P_title(10).
Data: Begin of int_text occurs 0,
Text(100),
End of int_text.
CALL FUNCTION 'TERM_CONTROL_EDIT'
EXPORTING
TITEL = P_title
LANGU = 'E'
TABLES
TEXTLINES = int_text
EXCEPTIONS
USER_CANCELLED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
regards
chinnaiya -
Routing long text editor change
Hi,
When we go to Routing long text and try to open it, it will open one word document.
My requirement is, I want to change that word document as Notepad (text editor) for particular user.
Please tell me is it possible to change that word doc to text doc, If yes then how to make settings?
Regards,
ChetanHi Chetan,
Even I have the same problem ! I had raised a SAP ticket & waiting for the response...
Now can tell me how/what should i do to change to get a particular editor???
Awaiting for your response..
~Guru -
How to update long text in symptoms/problems ?
Hi All,
Can anybody help me regarding how to update the long text of a symptom/problem?
Please help.
Regards,
JeetuHi Jeetu,
Can you Please elaborate your query.
Are you talking about Problem/solutions created using Tcode: IS01( used in service scenario)
Or
The Text Management i.e. Text Types
Regards.
Shalini Chauhan -
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 -
Hi,
i want to show/edit the long text for an maintenance order.
Is there a function module where the editor is created?
etc.
regardsHi Wolfgang,
Text functions are :
READ_TEXT
EDIT_TEXT
SAVE_TEXT ( creation )
To know what are the input parameters of thoses FM's, please display your text in <b>plain page mode</b>, then : GoTo -> Header
Hope this helps,
Erwan -
Long text problem in sap script
Hi Experts,
I have craeted sap script for payment print progrem.. in my sap script one window is text window... client want more then 300 char for that window. for that i use read_text function module... its working fine... but problem is it retrive only one line from long text editor. only 70 char i got.
below is my coding......
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = '0001'
LANGUAGE = sy-langu
NAME = NAME
OBJECT = 'DOC_ITEM'
TABLES
LINES = LINES .
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT LINES.
n = 0.
l = 132.
text+n(l) = lines-tdline.
n = n + 132.
l = l + 132.
ENDLOOP.
in sap script i have direct pass lines-tdline
*&lines-tdline&
Please suggest me which point i missing?
Thanks
JigarHi All,
The standard text will be stored in Name = ORDCONF_TEXT_(sales org)_(distributionchannel)_(division)
Text ID = ZSD
Examples: ORDCONF_TEXT_4000_01_01 , ORDCONF_TEXT_4000_01_80 , ORDCONF_TEXT_1000_01_01.
Requirement :
The print program /form will need to pick up the appropriate standard text based on the Sales Area (combination of Sales Org / Distribution Center / Division) of the sales order [VBAK-VKORG / VTWEG / SPART], provided a standard text has been created for that Sales Area. Itu2019s not required that every sales area have a standard text, so if one is not found, this step should be skipped and the rest of the print program executed.
The new text should print after 2 blank lines after the Printable Notes text (which is after the line items and the Total Net Price prints).
The font should be the same size as the Printable Notes, but bolded rather than italicized.
The text should print in the same columns as the Printable Notes currently print in (Material Description / Scheduled Ship Date / Quantity) .
So the logic i have used is this below code:
I used a subroutine in the layout of the main window becoz i need to print it in the main window below after 2 blank lines of line items.
This is logic in the layout:
/:PERFORM GET_OBJECT IN PROGRAM ZSDRP001_ORD_CONF_IRE
/:USING &VBDKA-VBELN&
/:CHANGING &ORDCONF_TEXT&
/:ENDFORM
/:INCLUDE &ORDCONF_TEXT& OBJECT TEXT ID ZSD PARAGRAPH A1
I called this subroutine in the print program:
Logic in the print program:
FORM GET_OBJECT TABLES INPUT_TAB STRUCTURE ITCSY
OUTPUT_TAB STRUCTURE ITCSY.
DATA : TMP_VBELN LIKE vbdka-VBELN,
TMP_VKORG LIKE VBAK-VKORG,
TMP_VTWEG LIKE VBAK-VTWEG,
TMP_SPART LIKE VBAK-SPART,
TMP_TXNAM1(40) TYPE C VALUE 'ORDCONF_TEXT',
TMP_TXNAM2(100) TYPE C.
DATA: v_text LIKE tline-tdline.
DATA : P_V_TEXT LIKE tline-tdline.
CLEAR : TMP_TXNAM1, TMP_TXNAM2, TMP_VBELN, TMP_VKORG, TMP_VTWEG, TMP_SPART.
READ TABLE INPUT_TAB WITH KEY NAME = 'vbdka-VBELN'.
IF SY-SUBRC = 0.
tmp_vbeln = input_tab-value.
ENDIF.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING INPUT = TMP_VBELN
I
MPORTING OUTPUT = TMP_VBELN .
CLEAR VBAK.
SELECT SINGLE VKORG VTWEG SPART INTO (TMP_VKORG, TMP_VTWEG, TMP_SPART)
FROM VBAK WHERE VBELN EQ TMP_VBELN.
IF NOT TMP_VKORG IS INITIAL
AND NOT TMP_VTWEG IS INITIAL
AND NOT TMP_SPART IS INITIAL.
CONCATENATE TMP_TXNAM1 TMP_VKORG tmp_vtweg tmp_spart into TMP_TXNAM2 SEPARATED BY '_'.
endif.
CONDENSE TMP_TXNAM2 NO-GAPS.
PERFORM read_order_text USING TMP_TXNAM2 CHANGING v_text.
READ TABLE output_tab WITH KEY NAME = 'ORDCONF_TEXT'.
IF SY-SUBRC = 0.
output_tab-value = P_V_TEXT.
MODIFY output_tab index sy-tabix.
endif.
endform.
FORM READ_ORDER_TEXT USING P_TMP_TXNAM2 CHANGING P_V_TEXT LIKE tline-tdline.
DATA: ztdid LIKE thead-tdid,
zlang LIKE thead-tdspras,
zobj LIKE thead-tdobject,
zname LIKE thead-tdname.
DATA: tlines TYPE STANDARD TABLE OF tline WITH HEADER LINE
thead LIKE thead.
CLEAR P_V_TEXT.
ztdid = 'ZSD'.
zlang = 'E'.
zobj = 'TEXT'.
zname = P_TMP_TXNAM2.
CLEAR tlines.
REFRESH tlines.
CALL FUNCTION 'READ_TEXT'
EXPORTING
object = zobj
name = zname
id = ztdid
language = zlang
IMPORTING
header = thead
TABLES
lines = tlines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
LOOP AT tlines WHERE NOT tdline IS INITIAL.
MOVE tlines-tdline TO P_V_TEXT.
ENDLOOP.
ENDFORM.
But still its not getting printed .Plz tell me where i am going wrong.
Thanks,
Suman -
How to upload Methods long text using LSMW
Hi,
I am using LSMW - direct input program (Object 0001 Method - 0001) to upload methods long text.
I have two files with header and item as below
Header file:
Object : QPMETHODE
ID : QMTT
Item_id : link between header and item (method number)
NAME: Passing concatenated value of "sy-mandt, company code, Method number, 6 char space for version and language"
Language : E or S.
Item file:
Item_id : link between header and item (Method number)
Text Format : blank
Text line : long text
Here the problem is, after converting the data i have run the direct input program to upload the long text, but it is not updated in the transaction QS34.
Could any one help in this?
Thanks & Regards,
Suresh.Hello,
The field QMTT-LTEXTKZ is a flag which says whether Inspection method has a long text associated with it at transaction level. You are not able to see the Long text in the transaction though you have loaded & able to see the long text by FM READ_TEXT because in your case the field QMTT-LTEXTKZ = ' '. so I suggest you to load the long text in following way.
Step 1: make a small recording to Tx: QS33 - push the long text button to get the long text editor. in this editor, on second line of the tag, put a * and save the transaction. By this way you put a X in field QMTT-LTEXTKZ & hence register a longtext for Inspection Method.
Step 2: proceed with the loading the Long text with object 0001as you mentioned.
Now you will be able to see the LT on the transaction level.
Hope this helps.
Regards, Murugesh -
Populating the long text in equipment
How do we propose to populate the long txt in equipment? Is LSMW viable option, or would this be more complicated than it
sounds?hi,
Long text always create problem either in functional location and equipements.So it becomes difficult in LSMW .the problem you will face is while recording in lsmw either you will get word document when you open long text and in main upload it will be in a format where only 72 characters per line is possible.
so it is better always if long text is involved to use BDC ..life becomes easy through BDC. -
How to embed images in long text of PM Notifications/Orders
Dear Sir,
How to embed images in long text of PM Notifications/Orders? Kindly help.
Thanks & Regards
PM Team.Hi,
Unfortunately, You will not be able to view the graphics within the Long text editor screen.Only Limited word functionality is available on these editors.
You will have to store these pictures separately as an attachment, through generic object services and then view them through that.
Regards
Narasimhan -
Hi All,
I am trying to create "More Text" in the RFQ text for item. When i double click on "More Text" option, i see a screen where i can enter long text.
My problem is how to use the options "Symbols, Command, SAP Characters, Link" etc. I get these when i click Insert command on menu. Whatever i type for Symbols, Link etc, it says no values available or invalid symbol etc. Can anybody let me know the exact configuration area and how to use the above mentioned.
Thanksto learn more about DMS follow the link:
http://help.sap.com/erp2005_ehp_03/helpdata/EN/04/9270ec46f311d189470000e829fbbd/frameset.htm
I dont think that you need DMS for standard text maintenance.
The same menu entries you have for SAPscript standard texts in SO10.
here the link to its docu:
http://help.sap.com/saphelp_erp2005/helpdata/en/f4/b49dc6453611d189710000e8322d00/frameset.htm
If you really get nothing, then check if you have authority (with /nSU53, after you have an entry chosen and nothing has happended)
Maybe you are looking for
-
Solution Manager 4.0_Roadmap authorization
Dear friends, I am defining roadmap in t.code RMDEF & RMAUTH (in Sol Man 4.0). After creating a roadmap in RMDEF, i am giving authorization for my user defined roadmap in t.code RMAUTH. Then if i enter into work area maintenance (Graphical view of
-
I am unable to read signatures on PDF files sent from my Los Angeles office - they use windows, any solution?
-
How do i cancel my account (07-2014)
How do i cancel my account if i can't find the cancel button that is show in the help section, because you change the interface and you didn't renew the help section screenshots and reference? How do i cancel my account when i can't call to help supp
-
Hi all, Can anyone tell me how to create a fuzzy search help for a field and how to activate search method selection and cascading search. Thanks Sandeep
-
Creating User Alias in Flash Air Application
I am trying to create an Flash Air application whereby users are able to change their user alias on the application anytime they want. This will be saved and when users sign in the application again, it will show the "new" user alias instead of the p