Name of a long text??
Hi,
How do I get the name of along text.
I am using READ_TEXT module.
hi Goldie
every long text in SAP will be accosiated with a text object text id and td name.. u need to give these inputs to ur FM read_text. Ask ur FC to give those.. or else you have couple of options to figure urself too..
Similar Messages
-
Hi,
Please help.
I had to change long text message which I did using SE91 transaction. A popup window appeared asking for modification name. I gave the message class name as modification name. The long text message is maintained in EN lang.
I have to translate this message into DE which I tried to do with SE63 transaction
(Long Text->Other Documentation-> Message Documentation) . But the changes done in SE91 does not appear in SE63 screen. The old long text message (both source and target )appears with some Docu comments .
But when I execute the program by logging in EN lang, the long text message appears with the recent changes . But in DE the long text message is blanks.
Please do let me know why discrepancy exists in the long text message shown in SE91 and SE63 transaction. Please advise what must be done to make the changes appear in SE63 transaction and Text translation.
Thank You.hi,
If you are looking for the translations for the text-symbols and selection texts used in your program, you need not require to use Transaction SE63. Instead you can do this in SE38 (or SE80)itself.
For getting the translations in DE version, you need to maintain the corresponding DE version of text-symbols and selection texts in the EN version of the program.
for example, to maintain text elements in both versions, you can follow the steps mentioned below:
STEP1: in EN version, from the ABAP editor, GOTO->SELECTION TEXTS->TEXT ELEMENTS navigating from the menu bar.
STEP2: Select a particular text element and navigate as GOTO->TRANSLATION
STEP3: Now you get a popup, asking for source language and target language
STEP4: Choose DE as target lang and EN as source lang; press enter
STEP5: Now you are in a new screen, where you need to enter the DE text just below the EN Text appears
STEP6: Save and comeback; activate the program
STEP7: login in DE lang and see the difference
You can follow the above steps, for any selection texts, list headings or
text symbols in the program
regards,
keerthi -
hello All,
I created a new message in the message class ME. I also created a long text for that particular message. But when i use the message in a program long text is not dispalayed properly. Pls give some inputs.
Thnaks
DuraiThe<b> long texts</b> of a document are stored in a encrypted format in the STXH and STXL tables, where STXH stores the header information of the long text like <b>TDOBJECT,</b> which indicates which text object the long text belongs to, TDID which indicates the Text <b>ID and TDNAME</b> which is the actual name of the long text.
As these texts are stored in a encrypted format, the text cannot be read using a SELECT statement. You will have to use the function <b>READ_TEXT.</b> The easiest way of getting to know the parameter values is to go to a document, open the long text in a full screen mode. For example, when you wan to see the long text for a Purchase order, go to transaction ME23n. Assume, you want to see the parameters for the Header Text. In the first Tab Strip Control, click on the Texts tab and select the Header Text node on the left hand side, which will display the text on the right hand side. Now, double click on the text editor on the right hand side. This will open the text in the full screen mode. In the menu<b> Go To --> Header, you</b> should be able to see the values for all the three parameters we discussed above. We will have to do the same thing for whichever text parameters we want to see.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
ID =
LANGUAGE =
NAME =
OBJECT =
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER =
TABLES
LINES =
* EXCEPTIONS
* ID = 1
* LANGUAGE = 2
* NAME = 3
* NOT_FOUND = 4
* OBJECT = 5
* REFERENCE_CHECK = 6
* WRONG_ACCESS_TO_ARCHIVE = 7
* OTHERS = 8
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
reward points if it is usefull ....
Girish -
Display long text of characteristic in Query name
Hi All,
I have implemented RRI between my sender and receiver query.
When user will click on WBS Element in my sender query <b>the receiver query name will be the name of that WBS Element.</b>
After execution,I am able to see the Short text associated with Characteristic WBS ELement but<b> i want to display Long text of WBS Element in Receiver query name</b>.
I have tried to implement the same logic as suggested by Bhanu in following blog:
<u>Variable screen in Web report</u>
Kindly,suggest the appropriate solution for this issue.
Thanks in advance.Hi All,
I am still facing the same problem.
Kindly suggest me the appropriate solution for displaying WBS Element's Long Text in Receiver's Query Name.
Thanks in advance.
Best Regards,
Nilima Rodrigues -
How to get text name text object and text id for long text
Hi,
I am trying to fetch Long text for a given order number from transaction CO04 in SAPScript. I know that I have to use Include X (OBJECT) XX ID XXX.
How do I get the text name, text object and text id for the order header long text from Transaction CO04.
Points will be awarded..
TusharTushar,
When you are in CO02, and are at the Long Text Tab,click on the Icon that is next to the Order Number at the top of the screen (this icon looks like a Pencil and a Pad of Paper and is called "Change Long Text"). When you click on this it will take you to the SAPscript Editor. Now hit Goto->Header and you will get the data you require.
Hope this helps.
Cheers,
Pat.
PS. Kindly award Reward Points as appropriate. -
Need to display Long Text as field Name in ALV
Hi,
I am using an ALV Grid Display. Even though i have kept the output field length to be 30 char, the Column header that is being selected is the short name. I would like the Column header to display the long name.
For example: Field "MAKTX"
l_seltext_l = "Description"
L_seltext_s = "Descr"
I want to display "Description" as the field name but it is displaying the short length even though the field is 30 characters wide.
Please help.
Thanks,
UrmilaHi,
along with <b>fieldcat-SELTEXT_L = 'long text'.</b>
try to pass this also..
<b>fieldcat-DDICTXT = 'L'.</b>
so this will allow only long text.
Regards
vijay -
Database Table where modifications to message long text are stored (log)
Hi,
As per manual correction mentioned in SAP note 1144291,
we have changed the long text for message XC092 by modification of the long text.
This note 1144291 is a pre-requisite for SAP Note 1310808.
After the notes were implemented, it is noticed that message CURTO1055 has incorrect information in its long text. This is because, the variable in the long text are not correctly defined in the long text.
Both the messages XC-092 and CURTO1-055 are SAP standard.
The error for CURTO1-055 can be rectified by modification of the long text and maintenance of the correct variables.
However, my question is:
Where do we check the log for document modifcation for a message long text.
I have found the logs relevant to my modification in table DOKHL and DOKIL.
But in which table do we get all of the foll. data:
- Message class
- Message number
- Modification name
- Modification created by
- Modification done on
- Last changed by
- Last changed on
Kindly help. A <removed by moderator> solution would be really helpful.
Best Regards,
Smruthi
Edited by: Thomas Zloch on May 5, 2011 12:07 PM - urgency reducedHi Smruthi,
The modification changes would be in the SMODILOG table. Please note this is a core basis table and should not be changed, however to best find your changes search under the TRKORR field with the relevant tp request.
Best regards,
Derrick Hurley
Development Workench -
Can not see long text description of a characteristics in portal
Hi experts,
I designed two queries via Query designer and published them to portal but I can not see the the long text description of "Name" attribute belongs to 0BPARTNER characteristics.
One of the queries shows only the last name of partner in portal while it is showing full name and last name in Bex Analyzer. The other query shows only the key value in both portal and Bex Analyzer.
I want to see long text description in both queries.
For an additional information, I'm extracting data from CRM 5.00 to BW 7.00
What will be the reason for this and how can I solve it?
Can anyone help me for this issue, it's a kind of emergency situation.Hi,
we have the same problem.
We want to change <b>only</b> in the screen variable the hierarchy text (from default to long\medium text) but even if there's a possibility to do this, really it doesn't happen anything - it' s possible when you start query, in the selection screen inside every the variable there's a command "User Settings" in which manage what you want to see (I put display custom, as text, medium text).
I try to do this also in query analizer, selecting variable (hierarchy) and enter in this (user setting), changing in display custom as text - medium text, but even if I save this settings, really doesn't happen anything.
It seems the system isn't sensitive to this selection...
By now, if someone has an answer, please write us!
Thanks in advance,
Alessandra Mirone -
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. -
Error for fetching long text in xml tag for xml publisher report
My requirement is to fetch a large document which is in text format in XML output which can be printed in PDF format by using RTF method to generate PDF.But during XML ouput i got the following error-
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh
button, or try again later.
The following tags were not closed: XXBG_EAMWRREP_V1, LIST_G_WO_ACTIVITY_CODE, G_WO_ACTIVITY_CODE, LIST_G_MEDIA_ID1,
G_MEDIA...
XXBG_EAMWRREP_V1 is the rdf and LIST_G_WO_ACTIVITY_CODE, G_WO_ACTIVITY_CODE, LIST_G_MEDIA_ID1, G_MEDIA are the groups name. In the group
G_MEDIA i am fetching long_text from attahcment in application. In Database table the datatype of the text attachment is 'long' and there is a huge text
data loaded in large data editor of that column. If the text data volume is small enough then there is no problem for fetching the xml output.
If we change the output format as HTMl then there is no problem for fetching the output for long text but for xml output format we are unable to fetch the data
in xml tag.
One thing to mention the oracle report is the copy of Maintenance Work Order Detail Report. The seeded report is HTML format in 11i. The requirement is to make it in xml report.
Please help.Hi,
Actually clob datatype is not available in oracle report builder datatype lov. Could you pls tell the other ways of converting that to clob in oracle report... -
Display a Long Text in ALV report
Hi,
I want to display the PO header long text in ALV Report that is 255 character width.
Please help me out how to do this.
please it is very urgent
Thanks and regards
KrishnaUse READ_TEXT and concatenate the first lines of the text.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'F01'
language = sy-langu
name = lv_name " purchase order with leading zeroes
object = 'EKKO'
TABLES
lines = t_lines
EXCEPTIONS
OTHERS = 8.
Regards -
i want to print a description in text mode which is 5-6 lines some times it have a blank line also so
how to print in ALV .i m using READ_TEXT function but sumtime it not works when text exceed 4-5 lines
what i sud do.hi,
there is another way u can use yours internal table field like long text field. that is.
parameters: salno type vbak-vbeln.
data: begin of itab occurs 0,
vbeln type vbak-vbeln,
matnr type vbap-matnr,
longtext type thead occurs 0,
end of itab.
data: itabstxl type standard table of stxl with header line.
select single vbakvbeln vbapmatnr into (itab-vbeln, itab-matnr)
from vbak inner join vbap
on vbakvbeln = vbapvbeln
where vbak~vbeln = salno.
select single tdobject tdname tdid tdspras from stxl
into (itabstxl-tdobject,itabstxl-tdname,itabstxl-tdid,itabstxl-tdspras)
where relid = 'TX'
and tdobject = 'VBBK'
and tdname = salno "YOUR OWN TDNAME e,g
and tdid = 'Z003'
and tdspras = 'EN'.
call function 'READ_TEXT'
exporting
CLIENT = SY-MANDT
id = itabstxl-tdid
language = itabstxl-tdspras
name = itabstxl-tdname
object = itabstxl-tdobject
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = itab-longtext
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
break abaper.
I HOPE THIS WILL SOLVE THIS WILL SOLVE THE PROBLEM OF THE OTHERS AS WELL. -
How to display long text in smartforms
Hi experts,
Iam trying to display long text into smartforms.I got the long text into ITAB frm database
in the abap program.In the form interface how to define the variable?In the long text i have 6 lines.
points guaranteed
cheers
kakiKaki,
Delcare a table and getting the LONG TEXT is not the right way of doing this.
You create a TEXT object and change the TYPE to INCLUDE TEXT. Once that is done all you have to do specify the parameters of your long text - TEXT ID, TEXT OBJECT and TEXT NAME. These are the same parameters that you use for READ_TEXT funciton. You don't have to fetch the text manually, it happens automatically.
Make sure this is a part of the main window as this might run into multiple pages.
Regards,
Ravi
Note : Please reward the posts that help you. -
Urgent : ALV , how to display long text in colum field
Dear All,
Have mada an ALV report, but in some column have to show long text like.
"Qty of Processed Finished Goods receive with wt/length/pieces / units "
but while display of ALV it's showing only :
" Qty of Processed Finished Goods receive with wt/length/p "
Plz tell is it possible to show all the contents in that field, even in multiple row. like :
"Qty of Processed Finished
Goods receive with wt/length/pieces
/ units "
Looking forward to your earliest response.
Regards,
Gulrez AlamHi,
In your field catelog
w_fieldcat-tabname = 'Internal table name'.
w_fieldcat-fieldname = 'Field of the internal table'.
w_fieldcat-outputlen = '90'.----Here you have to increse the length
w_fieldcat-col_pos = '1'.
w_fieldcat-row_pos = '1'.
w_fieldcat-seltext_l = 'Qty of Processed Finished Goods receive
with wt/length/pieces / units '.
APPEND w_fieldcat TO i_fieldcat.
CLEAR w_fieldcat.
Pls. reward if useful... -
How to display long text in Arabic quickly Flash Builder ?
Hi,
I have prepared an application for Android in Adobe Flash Builder. In application there are prayers in Arabic as a list. In app , short prayers are displaying quickly, but long prayers are displaying after a long time. This is my problem.
I share my project file in addition.Can anybody help me, please?
Note: I used SQLite database in my project as you can see and I used a font to view prayers in Arabic.
Prayers.zip - Google DriveKaki,
Delcare a table and getting the LONG TEXT is not the right way of doing this.
You create a TEXT object and change the TYPE to INCLUDE TEXT. Once that is done all you have to do specify the parameters of your long text - TEXT ID, TEXT OBJECT and TEXT NAME. These are the same parameters that you use for READ_TEXT funciton. You don't have to fetch the text manually, it happens automatically.
Make sure this is a part of the main window as this might run into multiple pages.
Regards,
Ravi
Note : Please reward the posts that help you.
Maybe you are looking for
-
TS3297 updated iTunes won't run on iMac OS X 10.6.8
I have the updated iTunes 11.0.3 and OS X 10.6.8 but now my iMac won't let me open iTunes as it says it is not supported. My Mac is a late 2006 and so, I cannot download OS Mountain Lion (if that is a potential solution), so I don't know how to get
-
RAW support for Canon EOS 70D in Lightroom 4.
I have LR 4 and now I have bought a Canon 70D. Lightroom said it was unable to interpret the RAW files and directed me to get an update. I have updated to 4.4 and still have the same problem. How can I get my RAW files into Lightroom 4?
-
Dear all, My version is 11.2.0.2.5 one of my rac instance crashes with message ORA-00240: control file enqueue held for more than 120 seconds. Received an instance abort message from instance 1. here are the contents of alert log file IPC Send timeou
-
VM cannot get IP and shows host MAC in event logs
I have a strange issue where the VM on a user's laptop worked fine in the office with a Wireless NIC but when he got home we began having some problems (no network in the VM, only get 169.x.x.x IP in the VM, host network connection drops when we try
-
safari 5.1 os 10.68 Trying to open a php web page shows a blank page