2007 May 04 6:08 AM
Hi Gurus,
am facing a problem that for long text it is taking 20 characters only. How to make the long text to 40 characters?
Points will be awarded
Thanks in advance
Ravi
Ravi,
Change the data element to the one which is having 40 char length.
K.Kiran.
2007 May 04 6:09 AM
Hi
Use RAW or LRAW type for that while the declaration.
Regards,
Sreeram
2007 May 04 6:10 AM
Ravi,
Change the data element to the one which is having 40 char length.
K.Kiran.
2007 May 04 6:19 AM
hi,
u can use the data elemnt
CHAR40for the above field.
Regards
Reshma
2007 May 04 6:19 AM
Hi
You have to declare the long text field as
TLINE-TDLINE which is 132 char
Reward points if useful
Regards
Anji
2007 May 04 6:22 AM
hi,
Adding to above 1 more sugestion.
u can use a field with a domain with type LRAW or LCHR (it can be longer than 512 char):
Rgds
Reshma
2007 May 04 6:24 AM
Hi ravi,
U can declare like this
PROGRAM zdemo.
DATA text1 TYPE c LENGTH 20.
DATA text2 TYPE string.
DATA number TYPE i.
text1 = 'The number'.
number = 100.
text2 = 'is an integer.'.
WRITE: text1, number, text2.
u can refer this
http://www.sapdb.org/7.4/htmhelp/bd/f4ca5a0822a943bcd5a717703c94c4/content.htm
Rewards if helpfull,
Regards,
Pavan
2007 May 04 6:26 AM
Sorry declare 20 in place of 40 or any number int hat place
Regards,
Pavan
2007 May 04 6:26 AM
Hi Ravi,
use ur long text field as ,
TLINE-TDLINE which is 132 char
data : long_text like TLINE-TDLINE .
Reward points if helpful.
Regards,
Hemant
2007 May 04 6:50 AM
Hi Guys,
Thanks for quick replies. I dont need this programatically. Am entering the long text using the standard transaction. While am checking that data element its length is 20. So it is taking only 20 characters. I need to make this data element into 40 characters. How can I change the standard data element?
Please give me reply
Points will be awarded
Thanks
Ravi
2007 May 04 6:58 AM
Hi Ravi,
What is the transaction code u have entered
Regards,
Pavan
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |