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,
Chetan
Hi 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
Similar Messages
-
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 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 -
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
PraneethHi 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) -
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 -
Standard LSMW to load Routing Long text
We are migrating data to sap for Routings. We are using SAP best practices to load the data into sap using idocs. But we dont have idoc structure to load Long Text.
Do you know a LSMW standard direct input to upload the routing long text.
Please help me out.Yes, you can upload long texts to pretty much any application, routings, boms, material masters, etc.
In LSMW select the following direct input method:
Object 0001 Long texts
Method 0001 (No selection)
Program Name /SAPDMC/SAP_LSMW_IMP
Program Type D Direct Input
You can define the following as constants in field mapping and conversion rule.
TDOBJECT C(010) Text: 'ROUTING'
TDID C(004) Text ID : 'PLKO' <<< if you're uploading to header
TDSPRAS C(001) Language : 'EN'
TDFORMAT C(002) Paragraph format for text line : '*'
If you want upload to operations etc look at the following table
ROUTING PLFH Long Text
ROUTING PLFL Long Text
ROUTING PLFT Long text
ROUTING PLFV Long Text
ROUTING PLKO Long Text
ROUTING PLPH Long text
ROUTING PLPO Long Text
internally SAP stores, routing group with zeros padded on the left. For example if your routing group is 200 it will be stored as 00000200 so in your flat file either you have to pad the zeros or in the LSMW you need to use the conversion exit function module.
You can following link below if you want to deeper understanding on this subject.
Re: LSMW : Long text not visible after the import of data -
Hi,
Is there nay table to see routing long text field for the multiple materialDear,
Please refer these threads,
Table for routing operation text?
Re: Long text indicator
Regards,
R.Brahmankar -
Routing Long text not populated using LSMW
I need help with the ROUTING LONG TEXT using LSMW. I'm using the standard LSMW direct input program /SAPDMC/SAP_LSMW_IMP . I'm confused with NAME field while loading the data. I have tried to create the routing long text manually after successful creation i opened the Longtext at header screen and opened GOTO--> HEADER there i have seen TEXT NAME is constructed based on CLIENT || N || GROUP || GROUPCOUNTER || INTERNAL_COUNTER (CLIENT||N||PLNTY||PLNNR||PLNAL||ZAEHL - field names) I used the same logic to construct the test data for another routings which were created and doesn't have the long text. I have run the lsmw program and executed successfully but when i open the routing in CA03 i dont see the long text populated.
Test data used looks like this:
OBJECT NAME TDID SPRAS TEXTFORM TEXTLINE
ROUTING N500000890100000001 PLKO E * THIS IS A TEST1
ROUTING N500000890100000001 PLKO E * THIS IS A TEST2
ROUTING N500000890100000001 PLKO E * THIS IS LINE3
ROUTING N500000910100000001 PLKO E * LONGTEXT1
ROUTING N500000910100000001 PLKO E * LONGTEXT2
My question here is do i need to construct the NAME as i have mentioned above or do i need to just send the Routing Group number into the file for the NAME field. Help me understand what do i need to populate into NAME field.
Please help with the mistake i have done.
Pretty much appriectiated for your replies.You asked the same question in two different forums multiple times:
Standard LSMW to load Routing Long text
Re: LSMW : Long text not visible after the import of data
Please use same one thread for one question.
I gave you most of the needed information assuming you know how to do LSMW in the first thread itself.
You need to have the following fields in your source structure in addition to other fields like long text
MANDT
PLNTY
PLNNR
PLNAL
ZAEHL
In the step Maintain Field Mapping and Conversion Rules assign the source field MANDT to the variable NAME and then again place the cursor on the variable NAME and assign variable PLNTY, (now you have two source field assigned to same variable) similarly assign all the remaining 3 source fields PLNNR, PLNAL, ZAEHL. (now you have 5 source field assigned to same variable).
Now select the variable NAME by placing the cursor click on Rule (Insert Rule) and select the radio button Concatenation .
Make sure that in your input file you have leading zeros for PLNNR PLNAL and ZAEHL etc. like below
50000089, 01, 00000001
Also, you don't need maintain the value of OBJECT, TDID, SPRAS, TEXTFORM as source fields. You can directly maintain them as constants in Maintain Field Mapping and Conversion Rules by click on the push button Rule . -
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 -
Saving the text in text editor changes text line format
In my program I have an output witha text editor box where
we type in text and save , and if we want to print it it prints it out
on a smartform. When I type in a text on the text editor box for example :
"This will include a policy and best practice for
what files can be stored on the server and where
they should reside. The policy will include
required ownership of each folder and required
authorizations for access to folders. Also
included in the policy will be a section describing
best practices on the file and folder naming
conventions. Anew file struicture of the drive that
better aligns with the business. An drive with only
four folders at the root level also will be de"
After I type in this text in teh text editor and try saving it
, it save sthe text but shows up with lots of gaps like below.
"This will include a policy and best practice for
what files can be stored on the server and
where
they should reside. The policy will include
required ownership of each folder and
required
authorizations for access to folders. Also
included in the policy will be a section
describing
best practices on the file and folder naming
conventions. Anew file struicture of the drive
that
better aligns with the business. An drive with
only
four folders at the root level also will be de"
I am not preety sure why on saving teh typed text it chnages to this format.
I would like to have my program save it as is typed. Is this possible to do so
and how?
Thanks.Hi Aarav,
Check the internal table used to store the text is having line length 100. Change that to 200 or more . You can see the difference . If still the problem persists, enter each line in the text editor and conclude each line with a carriage return( ENTER )
key press.
Hope this will help you.
Regards,
Smart Varghese -
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 -
Hi, can anybody point me to how to change the CDE default text editor?
It should be a simple subject, but I can't find it on the manuals.
Thanks.-Hi 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 -
Issue with Capturing Long text using CALL METHOD EDITOR- GET_TEXT_AS_STREAM
HI Experts,
Standard Long text is capturing using CALL METHOD EDITOR->GET_TEXT_AS_STREAM
but not working for Custom Long text – Only changes
Here is the Issue:
1) Created Custom Long text in TAB. --> Good
2) Entered few lines in custom Long text --> Good
Click on Standard Tab , Leaving Custom tab and Custom Long text-->Good
4) In PAI of Custom Tab – Changes captured using CALL METHOD 1 ( See below Code 1)--> Good
5) Entered few lines in Standard Long text in Standard Tab -->Good
6) Click another Standard Tab
7) In PAI of Standard Tab – Changes captured using CALL MEHTOD 2 ( See Below Code 2)-->Good
8) Come back to Standard Tab / Standard Long Text , Enter few more lines.
9) Change the Tab , IN PAI of Standard Tab/Standard Text , Changes Captured using CALL METHOD2 ( See Below CODE 3) --> Good
10) Go to Custom Tab , Custom Long text , Entered few more lines--> Good
11) Click on any other tab, Triggered again PAI of Custom tab / Custom Long text using Call Method1 ( See Below Code 4) -->Good triggered PAI same CALL METHOD TEXT_EDITOR1->GET_TEXT_AS_STREAM.
12) But additional lines are not captured , saying ZERO LINES in Internal Table and IF_MODIFIED = NO -->Issues lies here.
CODE1 ( Custom Long text entry capturing – First Few Lines )
Custom Long text Entries are stored in LS_OUTTAB-TEXT first time when entered few lines and LV_MOD is 1.
PAI of Custom tab
CALL METHOD TEXT_EDITOR1->GET_TEXT_AS_STREAM
EXPORTING
ONLY_WHEN_MODIFIED = CL_GUI_TEXTEDIT=>TRUE
IMPORTING
TEXT = LS_OUTTAB-TEXT ( FIlled with Lines entered in custom long text )
IS_MODIFIED = LV_MOD ( Value 1 , Modified )
EXCEPTIONS
ERROR_DP = 1
ERROR_CNTL_CALL_METHOD = 2
OTHERS = 3
CODE2 ( Standard Long Text Entry Capturing – First Few Lines )
Standard Long text Entries are stored in SELECTED_TEXT first time when entered few lines and FLAG_MODIFIED is 1.
PAI of Standard tab
CALL METHOD EDITOR->GET_TEXT_AS_STREAM
EXPORTING
ONLY_WHEN_MODIFIED = YTRUE ( Value 1 , Modified )
IMPORTING
TEXT = SELECTED_TEXT ( FIlled with Lines entered in standard long text )
IS_MODIFIED = FLAG_MODIFIED.
CODE 3 ( Standard Long Text Entry Capturing – Second time Few Lines )
Standard Long text Entries are stored in SELECTED_TEXT second time when entered few lines and FLAG_MODIFIED is 1.
PAI of Standard tab
CALL METHOD EDITOR->GET_TEXT_AS_STREAM
EXPORTING
ONLY_WHEN_MODIFIED = YTRUE
IMPORTING
TEXT = SELECTED_TEXT ( FIlled with Lines entered in standard long text )
IS_MODIFIED = FLAG_MODIFIED. ( Value 1 , Modified )
CODE4 ( Custom Long text entry capturing – Second Time Few Lines )
Custom Long text Entries are not stored in LS_OUTTAB-TEXT Second Time when entered few lines and LV_MOD is 0.
PAI of Custom tab
CALL METHOD TEXT_EDITOR1->GET_TEXT_AS_STREAM
EXPORTING
ONLY_WHEN_MODIFIED = CL_GUI_TEXTEDIT=>TRUE
IMPORTING
TEXT = LS_OUTTAB-TEXT ( ZERO ENTRIES )
IS_MODIFIED = LV_MOD ( NOT MODIFIED Flag )
EXCEPTIONS
ERROR_DP = 1
ERROR_CNTL_CALL_METHOD = 2
OTHERS = 3
Can anyone help me out of this.
With Regards,
Bala MExcellent Eitan,
Here is what I am trying to Achieve.
In Create Notification IW21 , They need 5 Long Text in Custom Tab ( Say Tab Name is MBR ).
TAB1 NOTIFICATION Standard Information , TAB2 REFERENCE OBJ , TAB 3 MalFunction , Breakdown Standard one...... TAB 7 ( Custom Tab ).
In Custom Tab , I added 5 LONG TEXT ( its 5 WHY Concept ).
When the User enters data in 5 Long text , it should store long text along with Notification number when save.
But Notification number will be generated @ the time of SAVE , but before that its just shows as
%0000000001 ( and Number will be generated 1000065479) at Save.
How to achive this .
I did this:
Added 5 Custom Container. and In PBO / PAI
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
IN PBO
CREATE OBJECT TEXT_EDITOR1 , CREATE OBJECT TEXT_EDITOR2, CREATE OBJECT TEXT_EDITOR3 like wise 5
CALL METHOD TEXT_EDITOR1->SET_TEXT_AS_R3TABLE , CALL METHOD TEXT_EDITOR2->SET_TEXT_AS_R3TABLE .. Like wise 5 , So when the user Click on Custom Tab ( MBR ).
It give 5 Long text.
When he click tab1 or tab2 or tab3 .. and again tab MBR , still data is available.
How to store this data for future retrival ( IW22 or IW23 ) ?
Its working fine when I enter first time and goes here and there and finall save .
IN SAVE BADI , I imported the Long text and created Standard Text SO10 with Notification Number with LONG1 , LONG2 .. means 1000065479LONG1 as standard text.
But not working when I entered first time and go to tab1 and tab2 and then to MBR tab and added few more lines , its not exporting full lines and in IMPORT ( SAVE BADI ) giving ZERO Lines.
Please help and thanks for your quick response.
Maybe you are looking for
-
Hi..Getting error while Building Execution Plans
Client Profitability MESSAGE:::group Client Profitability for SDE_EducationalPrograms is not found!!! EXCEPTION CLASS::: java.lang.NullPointerException com.siebel.analytics.etl.execution.ExecutionPlanDesigner.getExecutionPlanTasks(ExecutionPlanDesign
-
My new computed does not have a CD drive and transferring software onto a jump drive does not seem to work even after deactivating the software on the old computer. Can I download Adobe photoshop extended CS3 from the internet?
-
Hi I noticed that the program SAPLNEW_FEBA doesn't generate additional information when there's errors in check clearing. Before, it used to provide info like " check already cashed" or "check marked as cashed", etc. Now I am testing and get the red
-
I really hope apple fixes this soon.
-
How do I get rid of N80 start up tune?
I want to disable the start up tune on my N80. Anyone know how to do this?