About toolbar in long text
Hi experts:
I want to delete the buttons in long text,and add a new button,how can I carry out?
Thanks all!
hi,it's like this.
data:init,
container_2 type ref to cl_gui_custom_container,
editor type ref to cl_gui_textedit.
create object: container_2
exporting container_name = 'TEXTEDIT'.
PERFORM create_toolbar.
create object: editor exporting parent = container_2.
call method editor->get_text_as_stream "获取文本
importing
text = text_tab.
I use the following code to save long text,do you know?
call function 'CONVERT_STREAM_TO_ITF_TEXT'
EXPORTING
LANGUAGE = SY-LANGU
tables
text_stream = text_tab
itf_text = tab.
thead-tdobject = 'ZYFK'.
thead-tdid = 'D001'.
thead-tdspras = sy-langu .
thead-tdname = yfkno.
call function 'SAVE_TEXT'
exporting
header = thead
savemode_direct = 'X'
tables
lines = tab
exceptions
id = 1
language = 2
name = 3
object = 4
others = 5.
Similar Messages
-
I have been sent a 'word document' in which are a series of boxes about thirty lines long to insert written text. When Pages opens the document it extends these to a whole A4 page how do I get it to retain the original layout
You can't change the way Pages import .doc files.
It was never written that it reproduce exactly the original one.
From my point of view, as I refuse to give a cent to M...soft, the best way to deal with documents issued by their Office suite is to use the free libreOffice.
Yvan KOENIG (VALLAURIS, France) jeudi 7 juillet 2011 11:34:19 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
About updating long text in the document item with bdc of fb02
HI,
I have a question about updating long text in the document item of sap:
Can I directly updating the long text information with the fuction save_text?
The long text is in :
tcode: fb02 -->input document no ... --> Document overview --> select one document
long text --> updating the value.
Becaust I want to update some items in a G/L Account with bdc or other technique, but I found I can't choose the items in the G/L Account with bdc automatically .That means I can't get the selected items and update them.So I try to update them with the function save_text directly (I know the doc no,bukrs,fiscal year ,item no which will decide the long text item).
Who can help me ?Or is there any way to solve the problem? Thanks very much.Yes, you can update directly using SAVE_TEXT.
Check this for the same.
[update long text in FB02|https://forums.sdn.sap.com/click.jspa?searchID=22194840&messageID=5418662] -
Since upgrading to iOS 7.0, my friend can no longer text me. I get all other people's texts with no problem. I can text her, she can't text me. It bounces back to her phone as "message undeliverable". Does anyone know what to do about that?
your number can remain on the imessage server for some time
-
Hi Expert,
I have an issue when create notification with T-CODE: QM01. The long text in Subject tab showing extra lines which are not there in original text. (The text should be copied from sales order, but now there are extra line comes at the beginning).
add-on: If i fill some thing in the long text field when creat QN, the extra lines will gone. (The line text will be: filled text + text auto copied from sales order).
I want to find where are the extra lines from, but failed.
Anybody have some ideas, please help me. thanks!
Edited by: GaoLian on Apr 18, 2011 9:56 AM
Edited by: GaoLian on Apr 18, 2011 9:58 AM[http://www.itpub.net/viewthread.php?tid=1419366&page=1&extra=page%3D1]
Above is the detail description of the question.
Thanks for your help.
Edited by: GaoLian on Apr 18, 2011 10:42 AM -
Creating a long text using ABAP code.. fm SAVE_TEXT
When you create an order via IW31 one of the options is to click on the text button and create a long text. I am basically trying to mimic this action from within my ABAP code.
The text id details are as follows:
Text Name 500000015000046 which is (5000000 + order number)
Language EN
Text ID KOPF Order header text
Text Object AUFK Order text
If i manually create the text within the transaction i am then able to view and update it via function modules READ_TEXT and SAVE_TEXT. But if the text has not already been created READ_TEXT obviously returns nothing as it does not exist and SAVE_TEXT does not seem to created it!
Anyone know how i would go about creating this text using ABAP code?
Hope this make a bit of sense
Thanks in advance
MartI have implemented the code as i think it should be. See below, can any see what is wrong. If i add init_text it makes no difference and adding the commit_text just makes it hang
DATA: IT_TEXTS type standard table of TLINE,
wa_texts like line of it_texts,
wa_txtheader type THEAD.
wa_txtheader-TDID = 'KOPF'.
wa_txtheader-TDSPRAS = 'EN'.
wa_txtheader-TDNAME = '500000015000056'.
wa_txtheader-TDOBJECT = 'AUFK'.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
wa_texts-tdformat = '*'.
wa_texts-tdline = 'hello'.
append wa_texts to it_texts.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = wa_txtheader
INSERT = 'X'
SAVEMODE_DIRECT = ' '
OWNER_SPECIFIED = 'X'
LOCAL_CAT = ' '
IMPORTING
FUNCTION =
NEWHEADER =
TABLES
LINES = IT_TEXTS
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.
ENDIF. -
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 find the exact word in a long text?
Hi,
Scenario:
I have long text containing the system status of the equipment.
Issue:
I need to find the exact word from the list of the statuses. I have tried to use the FIND keyword but it does not work for all the cases.
Example:
FIND 'REL' IN <status_list> IGNORING CASE.
if sy-subrc = 0.
" do something
endif.
If the status list contains the word 'RELR', the sy-subrc is set to 0 (which may be because it searches the list based on a pattern) but I want to get the exact match.
Can anybody suggest me on this.
Regards
s@k>
siemens.a.k wrote:
> Dear Kiran, Vasuki,
>
> The data type of status list is char with length 40.
> The status list:
>
> Case 1: list - REL MANC NMAT PRC SETC
> FIND 'REL ' IN <status_list> IGNORING CASE
> the sy-subrc is set to 0
>
> Case2: list - CRTD MSCP NMAT PRC RELR SETC
> FIND 'REL ' IN <status_list> IGNORING CASE
> the sy-subrc is still set to 0 even though the list does not contain the word 'REL'
>
> I have also tried using
> if <status_list> CS 'REL'
> and
> if <status_list> CS 'REL '
>
>
> Please do let me know if I am anyway unclear about issue...:)
>
> Regards
> s@k
This is becacuse when you check
> Case2: list - CRTD MSCP NMAT PRC RELR SETC
It is having RELR so that is the reason you are getting subrc = 0.
>Ok try CS it should work perfectly.
It seems... CS also not the correct answer
(It will count RELR) below thread sachin is correct ...Do that way ....
Regards
sas
Regards
Sas
Edited by: saslove sap on Jan 25, 2010 6:58 AM -
Long text problem while uploading Inspection plan through BDC.
Hi,
I am facing some problem while uploading the inspection plan. There are few MICs for which we are having long text, while uploading the inspection plan through BDC - some other long text is getting copied into the MIC's long text. After checking I came to know that in function module, read_text - some text which is stored in ABAP memory is getting copied into the inspection plan.
I am working in SAP release 4.7. I have checked with SAP notes: 97419, but it is also not satisfying.
Waiting for quick solution.
Thanks in advance.
FahiéHi a®s,
Thanks a lot for your kind reply.
My requirement is I want to maintain long text for few MICs (which are not having long texts at MIC level) in inspection plan (QP01).
When I am trying to manually assign the MIC's to inspection plan (QP01), long text is copied whereas I am not clicking the long text icon in (QP01). Long text is not maintained in MIC level, still some long text is copied to this MIC. This was also happening while uploading the inspection plan thro' BDC.
I believe what you have mentioned about function module SAVE_TEXT cannot be used here since long text is already copied before we pass the long text. Also if we pass some long text, still apart from the long text what we have passed there is some other long text copied (extra long text).
Waiting for quick solution.
Thanks in advance.
Fahié -
Hi All,
I am facing a peculiar problem while executing an infoset query.I have created 2 customized fields Compa-ratio and PIR in infotype 0008 in an infoset.I have coded in these additional fields.
When I execute a query using 1 of these customized fields the report is generated correctly.But when I put both the fields in the output the report shows an error "Error when generating the report (see long text)". The message# associated with this errAQ_AD_HOC221.
I have also checked the data types and the references. Nothing seems to be wrong here.
Does anybody has any clue about this ?
KajalHi Bernd,
I had a look at those notes. But the information provided did'nt prove to be helpful. I found out the problem. I was using the same local variable for both the fields in their code. This generated the error. This error is a very generic one and does'nt help in finding out what exactly is the problem.
I changed the other local variable and it started working. When I was using the same variable that time I did'nt forget to clear the values but the query still generated the error.
Anyways thanks a lot for the reply.
Kajal -
Can no longer send long text messages to an android device
In the last month, whenever I send a relatively long text message to a non iPhone user (Galaxy s5), that person will not receive the message at all. On my screen it says that the message was sent, but they are not receiving it. I used to never have this problem before. After a while, I went into my settings and put on the character count option to see if it would help me. I realized all my messages over 160 characters would not be received, and all messages with an emoji that have over 70 characters would not be received. This is really frustrating and I would love if someone could help me see why this is and if there's any way to fixing it.
This is really strange behavior, Edgar08. I want to make sure those messages reach their destination. Have you noticed if this is affecting a specific contact or multiple contacts? What iOS is your phone on? Settings>General>About>Version.
AndreaS_VZW
Follow us on Twitter @VZWSupport -
After upgrading to iOS 8.3, the keyboard has frozen and I can not longer text or access my contacts. I literally just upgraded to an iPhone 6, but I'm just about ready to can this phone and go with an Android. Can anyone help or have the same issues?
Im having the same problem. This started with iOS 8 and Yosemite. Im in a group message with 10 people with and without iPhones. Currently have 9 threads and when ever a new person responds a new thread forms. they all have the same people but in a different order, that may be part of the reason why iMessage doesn't recognize them as the same conversation.
As I'm writing this post 3 new threads opened and other people with and without iPhones are mentioning the same problem
hope apple can fix this. VERY annoying -
Text Area for long text not appearing properly for BBP_POC_DISPLAY Service
Hi,
In our development we have added additional Icon at ITS in Process PO transaction and onclicking that icon Web dynpro AB screen called with the Purchase Order No of selected row .(SRM 5.0)
There is one more icon in Web dynpro screen on click of that Purchase order service open in ITS with display mode .This is achieved with service BBP_POC_DISPLAY from Web Dynpro-AB.
This is also working ok only the issue is in Document tab of PO The Text Area for long text appear at Top .This functionality is working fine with BBP_POC service from ITS .
Has anybody faced this kind of issue ?
Thanks,
SMSHi SMS,
I am unsure of the additional component you are talking about. In general, issues with text area misplacing, is solved by note 1067625. May be you can check it.
thanks,
Ashwin -
How to add the long text in Production order through FM
Hi,
Iam having custom program which has BAPI (BAPI_PRODORD_CREATE) inside it and this program is used to create Production orders with the details of Sales order Number,Line item,Plant,Order type,Quantity and Start date. This program is scheduled in Background.
Now client wants to add the Long text (seperate TAB in production order and they want to update the VC details of Sales order in the Long text area).
One option is after creation of Production order, through BDC(calling CO02 and update the long text) we can update the long text and client doesn't want this option.
Another option is after creation of Production order, using Function module SAVE_TEXT, Update the Long text in Production Order and this is not working in Production order (already my ABAP consultant checked it ).
If any one of you came across this requirement, pl share with me how you addressed it.
Regards
A.SureshbabuHi,
The method is quite simple, i presume you're quite well versed with doing recording, so the key thing to keep in mind is how to prepare the input file.
At my end i had about 5 lines of data which needed to be uploaded, hence i had a tab-delimited file with the order nos. in the first column & the five lines of text in five different columns (Refer format below)
Order No.
Line - 1
Line - 2
Line - 3
Line - 4
Line - 5
12345
txt - 1
txt - 2
txt - 3
txt - 4
txt - 5
67890
txt - a
txt - b
txt - c
txt - d
txt - e
Now provide this input file for your lsmw or bdc program & it will work. You can work with your abaper if you're not so comfortable with LSMW or BDC programming he / she should be able to easily make it work for you.
Regards,
Vivek -
Upload long text from excel file into internal table
I need to upload service master(T-code : AC02) data alongwith long text.Now i have data in excel as: Service no(ASMD-ASNUM) and corresponding long text for it.
I am facing problem in getting entire lontext from excel into my internal table.It only takes till 255 characters i think.Any help in this regard woulg be highly appreciable.hi,
what is the maximum length of your long text.
and you can try with more than 255 chars. in the internal table it will take , if you want check it.
i'm in 4.7 ,5.0 version, what about you ..
please check , you can upload even more than 255.
try
regards
vijay
Maybe you are looking for
-
What Is the best way to up load and down load psd files from desktop photo shop to photo shop touch? For on the go touch up or. I'm using psd files at 90 percent 300 depi when in photo shop on desktop. To ps touch
-
I am trying to transfer songs to windows and it is saying that the origianl file can not be found
I am having an issue trying to take my songs from Itunes to a mp3 version. I am getting a window that says "None of the selected files were converted because they can not be found" I am not really sure what to do? I also get a message that says the
-
Service Ticket SLA with Service Agreement
hi experts, we have a requirment where we need to create service tickets with reference to service agreement. As per the doucmentation, service agreements can be created based on sold to party BP or BP type. We are planning to use with BP Type as we
-
i've been using imovie to create photo slideshows, sometimes incorporating motion 4 into my projects... does anyone have a suggestion for a software that provides additional templates and design that i can incorporate with imovie? or final cut? thank
-
I restored from a Time Machine back up and now my Creative Suite 4 gives me error 150:30
I have the same problem when I migrated CS4 to a new Retina MacBook Pro from a Time Machine drive. I get Error: 150:30 when I try to launch Photoshop CS4. The License Recovery Tool does not seem to work with Mountain Lion. I cannot reinstall the soft