Problem in Getting Long Text After uploading LT using CREATE_TEXT in CORS
Hi Gurus,
i am uploading long text for Reason for cancellation in CORS Transaction through CREATE_TEXT.
after uploading this text by using this FM CREATE_TEXT i am seeing the long text what ever i uploaded through CREATE_TEXT , i am unable to see first 40 characters of that long text.
if anybody faced this problem earlier please guide me to resolve this problem.
Thanks & Regards
Venkata Ramesh J
Hi,
can you please check this link
Replacing the text created in create_text
Thanks
durga.K
Similar Messages
-
Problem in getting long text in Cash receipt.
Hi all,
I want long text in my form print but as a programming i am not getting long text in description Field I am getting short text. So can you please kindly tell me when we entered long text in transaction FBCJ this long text save in which table. And how can i fetch this data in my smartforms.
Thanks in Advance.Hi Keyur,
when you see the detail text in the transaction, use menu goto -> header. Here you see the details to use for an include staement in sapscript. Note that the text name may be a concateneation of client and document number. Prepare the details in print program, fill in variables to be used in sapscript.
Hope these details are enough.
Regards,
Clemens -
MM02: Problem in updating Long Text
Hi All,
My requirement is to do MM02 Conversion. I have to Update 14 fields in the transaction.I got a Problem with my LONG TEXT Field.
Requirement for updating is whenever a double quotes comes in the place of LONG TEXT in the input file, i have to empty the LONG TEXT in the transaction.
For modifying the already existing Long Text, its working perfectly. But problem is arising only when i want to empty the LONG TEXT field.
What i did was, IF zbasic-matnr_long_text = ' "" '.
bmmh7-tdline = ' '.
Also i have passed Text ID, Text Langauge.
So please Help me with this Problem
Message was edited by:
karthikeyan ThangavelHi Sathish,
If i use Fm Delete_Text, as soon as it encounters the FM it will delete the LONG Text.
Since Im using LSMW, everything should happen after i run the step 'Start Direct Input Program'.
Please just consider, suppose there is a Transaction Error in my LSMW. So according to this situation no transaction should happen i mean LONG TEXT should not get deleted.
But Since it has enountered the FM, Long text must get deleted.
Please correct me if anything is wrong in my Logic.
Also tell me what i should do if my Logic is correct. -
How to get Long text in report from FBL3N
Hi,
I need to get Long Text from FBL3N (G/L Account Line Item Display) in my report.Can anyone tell me in which table it is stored?Hi
These long texts are not stored completely in any tables
where as the parameters of these texts like OBJECT,OBJECTNAME and ID, LANGUAGE are stored in STXH table
You have to pass these 4 parameters to the fun module READ_TEXT and to fetch the text.
Double click on the long text will goes to text editor
from menu GOTO-> HEADER you will see the above 4 paramters
see the doc of READ_TEXT fun module
READ_TEXT
READ_TEXT provides a text for the application program in the specified work areas.
The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
Function call:
CALL FUNCTION 'READ_TEXT'
EXPORTING CLIENT = SY-MANDT
OBJECT = ?...
NAME = ?...
ID = ?...
LANGUAGE = ?...
ARCHIVE_HANDLE = 0
IMPORTING HEADER =
TABLES LINES = ?...
EXCEPTIONS ID =
LANGUAGE =
NAME =
NOT_FOUND =
OBJECT =
REFERENCE_CHECK =
WRONG_ACCESS_TO_ARCHIVE =
Export parameters:
CLIENT
Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
Reference field: SY-MANDT
Default value: SY-MANDT
OBJECT
Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
Reference field: THEAD-TDOBJECT
NAME
Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
Reference field: THEAD-TDNAME
ID
Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
Reference field: THEAD-TDID
LANGUAGE
Enter the language key of the text module. The system accepts only languages that are defined in table T002.
Reference field: THEAD-TDSPRAS
ARCHIVE_HANDLE
If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
The value '0' indicates that you do not want to read the text from the archive.
Reference field: SY-TABIX
Default value: 0
Import parameters:
HEADER
If the system finds the desired text, it returns the text header in this parameter.
Structure: THEAD
Table parameters:
LINES
The table contains all text lines that belong to the text read.
Structure: TLINE
Exceptions:
ID
The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
LANGUAGE
The parameter LANGUAGE contains a language key that does not exist in table T002.
NAME
The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
Possible errors:
The field contains only blanks.
The field contains the invalid characters * or ,.
OBJECT
The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
NOT_FOUND
The system did not find the specified text module.
REFERENCE_CHECK
The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
WRONG_ACCESS_ TO_ARCHIVE
The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
<b>Reward points for useful Answers</b>
Regards
Anji -
Getting unformatted text after decryption of formatted encrypted text
The problem getting unformatted text after decryption of a formatted encrypted text.
Im using Bouncy Caslte for encrypting the mail message.its a well formatted text but
after decryption its unformmated?
What will be the problem? why im getting the decrypted text as unformatted?sorry im using Bouncy Castle for encryption
This is my code
try {
Security
.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
KeyStore ks = KeyStore.getInstance("PKCS12", "BC");
ks.load(new FileInputStream("C:/rajesh/raj_gmail.cer"), "tomcat".toCharArray());
Enumeration e = ks.aliases();
String keyAlias = null;
String alias = null;
while (e.hasMoreElements()) {
alias = (String) e.nextElement();
if (ks.isKeyEntry(alias)) {
keyAlias = alias;
Certificate[] chain = ks.getCertificateChain(keyAlias);
// create the generator for creating an smime/encrypted message
SMIMEEnvelopedGenerator gen = new SMIMEEnvelopedGenerator();
gen.addKeyTransRecipient((X509Certificate) chain[0]);
Properties props = System.getProperties();
try {
InputStream path = getServlet()
.getServletContext()
.getResourceAsStream(
"/WEB-INF/classes/com/ips/ApplicationResources.properties");
props.load(path);
} catch (Exception e1) {
System.out.println("Not able to load the properties file");
props.put("mail.smtp.host", props.getProperty("mail.smtp.host"));
Session session = Session.getDefaultInstance(props, null);
MimeMessage msg = new MimeMessage(session);
String body_heading = props
.getProperty("mail.request.message.body");
body_heading = body_heading.replaceAll("[{]{1}[0]{1}[}]{1}",
Integer.toString(forms));
msg.addRecipient(Message.RecipientType.TO, new InternetAddress(
props.getProperty("mail.to.address")));
msg.setSubject(props.getProperty("mail.request.message.subject"));
StringBuffer body = new StringBuffer();
body.append(body_heading);
body.append(props.getProperty("mail.linebreak")
+ props.getProperty("mail.line1"));
body.append(props.getProperty("mail.linebreak")
+ props.getProperty("mail.contact"));
body.append(props.getProperty("mail.linebreak")
+ props.getProperty("mail.line2"));
body.append(props.getProperty("mail.linebreak")
+ props.getProperty("mail.message.title")
+ props.getProperty("mail.colon")
+ String.format("%15s", title));
body.append(props.getProperty("mail.linebreak")
+ props.getProperty("mail.message.fname")
+ props.getProperty("mail.colon")
+ String.format("%17s", firstname));
body.append(props.getProperty("mail.linebreak")
+ props.getProperty("mail.message.lname")
+ props.getProperty("mail.colon")
+ String.format("%17s", lastname));
body.append(props.getProperty("mail.linebreak")
+ props.getProperty("mail.message.address1")
+ props.getProperty("mail.colon")
+ String.format("%19s", address1));
body.append(props.getProperty("mail.linebreak")
+ props.getProperty("mail.tab")
+ props.getProperty("mail.colon")
+ String.format("%20s", address2));
body.append(props.getProperty("mail.linebreak")
+ props.getProperty("mail.tab")
+ props.getProperty("mail.colon")
+ String.format("%20s", town));
body.append(props.getProperty("mail.linebreak")
+ props.getProperty("mail.tab")
+ props.getProperty("mail.colon")
+ String.format("%20s", county));
body.append(props.getProperty("mail.linebreak")
+ props.getProperty("mail.message.pcode")
+ props.getProperty("mail.colon")
+ String.format("%11s", postcode));
body.append(props.getProperty("mail.linebreak")
+ props.getProperty("mail.message.email")
+ props.getProperty("mail.colon")/*
* +String.format("%33s",email
body.append(props.getProperty("mail.linebreak")
+ props.getProperty("mail.message.thanks"));
MimeBodyPart bp1 = new MimeBodyPart();
bp1.setText(body.toString());
bp1 = gen.generate(bp1, SMIMEEnvelopedGenerator.RC2_CBC, "BC");
Multipart multipart = new MimeMultipart();
multipart.addBodyPart(bp1);
msg.setContent(multipart);
msg.saveChanges();
Transport.send(msg);
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}if i print the original text im getting the content in my mail as
Please send me 1 application form pack(s)
Contact Details
Title: Mr
First name: rchanged
Last name: rchanged
Address: rchanged
: rchanged
: r
: r
Postcode: r4 4rr
Email:
Thank You
if encrypted is send
Please send me 1 application form pack(s) ------------------------------------------------------ Contact Details ------------------------------------------------------ Title: Mr First name: rchanged Last name: rchanged Address: rchanged : rchanged : r : r Postcode: r4 4rr Email: Thank You -
Problem in Saving long texts from IC Webclient
Hi,
I have a little problem with BP long text transfert.
In IC Webclient, I identify a account and I create a long text (for exemple a Accounting Note).
I can find this text in CRM (t-code BP->long text) but, it is not transfert to ECC (XD03->Extra->text).
If I create a accounting note directly in CRM, it is transfert to ECC !!
The transaction PITX is customized in ECC.
I work with CRM5.0 and ECC6.
What I missed ?
GaétanHi Gaétan,
Maybe the BDOC BUPA_MAIN responsible to export the change to ECC is not being created when you make the change in IC Webclient.
Can you confirm it in SMW01? Try to make a change in a partner long text in IC webclient, and check if the bdoc was sent to R3.
Then try it in BP t-code, and check it again.
If this is the problem, maybe you should contact OSS suport.
Kind regards,
Garcia -
Getting Long Text of a Field Label
Hi Friends,
I have requirement in which , based on the filed I need get the Long text of the data element.by default I am able to access the medium text of the data element. is there any function-module for getting Long text?
Regards,
Xavier.PHi Xavier,
check this
Storing long text data
hope it helps you.
Regards! -
Problem in downloading long text
Hi Experts,
I am facing problem while downloading long text.
previously it was working 5ne. now it is giving the error meaasge
ID ST Language En not found
is there any settings to do.
Thanks & Regards
SangareddyIn a SAPscript you do not need to use ABAP code to retrieve long text - Just use the INCLUDE command in SAPSCRIPT - see help for details
/: INCLUDE name [OBJECT o] [ID i] [LANGUAGE l] [PARAGRAPH p]
this puts the complete long text in and formats it for the window
Long text problem in sap script
Reward points.. -
I get garbled text on web pages using yahoo with Safari 7.0.5
I get garbled text on web pages using yahoo with Safari 7.0.5 and have Maverick 10.9.4.
From the Safari menu bar, select
Safari ▹ Preferences... ▹ Extensions
Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit. -
Display the long text in alv by using function modules
Hi all,
How to display the long text in alv by using function modules ?
Send me any sample code.
Thanks in advance
krupali.Hello KR,
Use 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.
You can loop at t_lines and concatenate header in to some other field.
Best Regards,
Sasidhar Reddy Matli.
Edited by: Sasidhar Reddy Matli on Aug 13, 2008 12:25 PM -
Problem in viewing long text in QP03
Hi
Facing a strange problem while trying to upload long text in QP01 using SAVE_TEXT.
the long text is getting uploaded properly
an entry is inserted in STXH with object, id, name, etc.
but when i try to view the long text in QP03 txn. (Display), there is no icon for view long text
when i go back to QP02 in change mode, the icon for long text (Create long text without horizontal lines embedded on it) exists, after clicking it am able to see the long text and if i am saving the plan while leaving the txn, then again if i see the same plan in display mode (QP03), i am able to see the long text icon and the long text by clicking it..if and only if i view manually every long text in QP02 and save while coming out the txn., I am able to see the long text icon and the long text in QP03.
Is it any setting problem or where am i wrong?
Sathish. Rhi
r u sure? bcoz the program was running fine with long text viewable in QP03 all this time
Sathish. R
Message was edited by:
Sathish -
Newbie - My site changes to one long column after uploading to server
I have to create a website to international students in our
uni, but I have never done this before so I decided it would be
better to use a template and change the text etc... The problem is:
In the template (which came with Dreamweaver 8) there is one column
on the left with some links, One wider column in the centre with
space to add an image, and another column on the right, similar to
the one on the left. So I just added some sample text and uploaded
the site to the server to test it. Now when I load the page in my
web browser (
http://intstu.byethost31.com/intstu1.html)
I get no columns but just one long column... Can anyone explain
what I am doing wrong!
Thanks a lot!> Can anyone explain what I am doing wrong!
For one thing you are using one of the CSS layouts in DW.
Unless you are
very comfortable with CSS and HTML, this was a mistake. Those
layouts are
fiddly and flaky.
For another, it doesn't look like you have uploaded the
stylesheet -
<link rel="stylesheet" href="3col_leftNav.css"
type="text/css" />
Did you?
Really, I suggest you start again, and find a template more
suited to a)
normal use, and b) your skill level. I'd start here -
http://dreamweaverresources.com/
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"v@ny@" <[email protected]> wrote in message
news:ekbi9i$d6p$[email protected]..
>I have to create a website to international students in
our uni, but I have
> never done this before so I decided it would be better
to use a template
> and
> change the text etc... The problem is: In the template
(which came with
> Dreamweaver 8) there is one column on the left with some
links, One wider
> column in the centre with space to add an image, and
another column on the
> right, similar to the one on the left. So I just added
some sample text
> and
> uploaded the site to the server to test it. Now when I
load the page in my
> web
> browser (
http://intstu.byethost31.com/intstu1.html)
I get no columns but
> just
> one long column... Can anyone explain what I am doing
wrong!
> Thanks a lot!
>
>
>
>
> -
Hi,
I need to get the long text that we maintained in CJ20n tcode under long text at project level. I need to display the same in Script layout or report. I didnot find any table or functional module to get it. please help me out.
regards,
ChandraHi
Double click on the Long text, it will take you to Text editor
from the Menu GOTO-> HEADER
you will find the OBJECT,ID,OBJECTNAME and LANGUAGE parameters for that lang text which are to be passed to the READ_TEXT fun module
for displaying it on report use the above fun module and fetch the text in IT_LINES internal table and write it on report output
You can also see the doc of the read_text
READ_TEXT
READ_TEXT provides a text for the application program in the specified work areas.
The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
Function call:
CALL FUNCTION 'READ_TEXT'
EXPORTING CLIENT = SY-MANDT
OBJECT = ?...
NAME = ?...
ID = ?...
LANGUAGE = ?...
ARCHIVE_HANDLE = 0
IMPORTING HEADER =
TABLES LINES = ?...
EXCEPTIONS ID =
LANGUAGE =
NAME =
NOT_FOUND =
OBJECT =
REFERENCE_CHECK =
WRONG_ACCESS_TO_ARCHIVE =
Export parameters:
CLIENT
Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
Reference field: SY-MANDT
Default value: SY-MANDT
OBJECT
Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
Reference field: THEAD-TDOBJECT
NAME
Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
Reference field: THEAD-TDNAME
ID
Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
Reference field: THEAD-TDID
LANGUAGE
Enter the language key of the text module. The system accepts only languages that are defined in table T002.
Reference field: THEAD-TDSPRAS
ARCHIVE_HANDLE
If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
The value '0' indicates that you do not want to read the text from the archive.
Reference field: SY-TABIX
Default value: 0
Import parameters:
HEADER
If the system finds the desired text, it returns the text header in this parameter.
Structure: THEAD
Table parameters:
LINES
The table contains all text lines that belong to the text read.
Structure: TLINE
Exceptions:
ID
The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
LANGUAGE
The parameter LANGUAGE contains a language key that does not exist in table T002.
NAME
The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
Possible errors:
The field contains only blanks.
The field contains the invalid characters * or ,.
OBJECT
The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
NOT_FOUND
The system did not find the specified text module.
REFERENCE_CHECK
The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
WRONG_ACCESS_ TO_ARCHIVE
The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
IN SCRIPTS you can use the INCLUDE statement to print the Long texts
/: INCLUDE TEXT<name> ID <id> Lang <en> paragraph <za>
Regards
Anji -
Problems with getting default Texts (HRRCF00_GET_DEFAULT_TEXTS)
Hi experts,
we are using EHP4 and I have implemented and activated BADI HRRCF00_GET_DEFAULT_TEXTS for getting default Text during the posting procedure within SAP E-Recruiting based on WebDynpro.
The BADI is called from WD Controller ERC_C_REQ_MGMT_UI.
get default text values from BADI HRRCF00_GET_DEFAULTS_TEXT
wd_assist->read_default_posting_text( EXPORTING iv_language = ls_language-langu
is_post_hrobject = ls_hrobject
IMPORTING ev_company_desc_default = ls_language_tab-company
ev_department_desc_default = ls_language_tab-department
ev_project_desc_default = ls_language_tab-project
ev_task_desc_default = ls_language_tab-tasks
ev_requirement_desc_default = ls_language_tab-requirements ).
Directly after the call of BADI HRRCF00_GET_DEFAULTS_TEXT it seems that the company description is correctly filled.
But unfortunately I am not able to see the default text within the Input Field of the view.
As far that I know there should be a Button to fullfill the company description with the default text. But I can't see any button.
Is there anything else I have to configure?
Many Thanks!Hi Roman,
I have testet it both. With a complete new requisition and with a old one. Same problem.
But know I have recognized a strange system behaviour.
If I toogle the first language I am not able to see my default_text. But if I toggle a second on(English etc) I can see the default text within this second tab.
So the result is that I am able to see the default texts but only if I toggle two languages
I am thinking I am missing something within my BADI implementation.
The only thing I have done is to prorgram follwing section within the method GET_PROJECT_DESC
method IF_EX_HRRCF00_GET_DEFAULT_TEXT~GET_PROJECT_DESC.
*{ INSERT M11K900044 1
break erec1.
project_desc = 'This is a example for the project description'.
*} INSERT
endmethod.
And it seems fine becaus if I switch to debugging mode I can see that the method is called and tht the variable project_desc will be filled correctly.
Would be great if you could give me a helping hand on this.
Many Thanks!
Marco -
Hi Everyone,
I have a requirement where I need to display the Longtext that is displayed in transaction IW33.
Its is not the KTEXT feild pf table AUFK as this feild contains data upto 40 characters.
My requirement is to fetch all the characters that are in Longtext.
There must be a table where the long text is saved.
Please let me the table ???
Regards,
RajPress Display Text button in front of long text.You will go to editor.Then from the munubar select Go to->Header.Use these header details:
Text Name <Order no.>
Language EN
Text ID KOPF Order header text
Text Object AUFK Order text
Pass this to FM READ_TEXT.You can also refer the tables STXH and STXL but i guess FM will solve your problem.
Maybe you are looking for
-
Hi, Is there a way to download dialog programs together with screen definitions same way one would do for a normal report program. I also would like to download table definitions. Scenario We have written some custom applications that we use for demo
-
File deliverable concern in FTP
Hi All, We have a scenario where we sending the files to FTP with comma delimeted. Now requirement saying that : There is a another file (called .cksum) should write no.of records , filesize, filename in 2nd file based onfirst file(File1.txt) records
-
I recently became a iPhone 4s user, I want to download video taken with my phone into my editing software (Pinnacle Studio) and it doesn't work? I am using windows xp sp3
-
"Mail, contact, calendar " can't be opened anymore, why?
Hej together, Some problems with the installation of my e-mail account, as I can't get anymore in installation menue for "Mail, Contact, Calender" to put in my server, etc informations for the installation of the e-mail account...Can someone help a
-
Time Statement / Time format AM/PM
Hi @ all, knows somebody how to print the time in AM/PM format in the time statement? We only got the 24h format. kind regards Thorsten