Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

text elements

former_member404244
Active Contributor
0 Likes
1,179

Can some one throw light on how to maintain text symbols with 8 characters in the symbol of the text element?

1 ACCEPTED SOLUTION
Read only

valter_oliveira
Active Contributor
0 Likes
1,126

Hello there.

Can you please be a bit more specific? Are you planing to do something like:

/: DEFINE &symbol1& = '12345678'

/: DEFINE &symbol2& := 'Test&symbol1&field'

Regards.

Valter Oliveira.

12 REPLIES 12
Read only

valter_oliveira
Active Contributor
0 Likes
1,128

Hello there.

Can you please be a bit more specific? Are you planing to do something like:

/: DEFINE &symbol1& = '12345678'

/: DEFINE &symbol2& := 'Test&symbol1&field'

Regards.

Valter Oliveira.

Read only

0 Likes
1,126

hi , my question was like this..

Suppose i need to maintain a text element in a report we give the text id as 101 or 102 or 001..i.e ( the symbol ) any three digit number and then the text for that symbol for eg., 'No data found for selected criteria' etc.,

Eg : Sym Text

101 No data found for selected criteria..

I have a need to maintain this Symbol of text in 8 characters so that it can be picked from the program..

I need to maintain it like GH0000002 .. but it is not allowing me to do it more than 3 digits or characters..

is there any way of doing it?

Read only

0 Likes
1,126

Hai Nagaraj,

Plzz be specific in ur Question. I am not getting whether u r talking about the text-symbols and text-elements in transaction se38 or se71. If u r specific I can surely help.

Regards,

Swpan.

Read only

0 Likes
1,126

Text element cannot be of 8 char length. Max length is 3 and it is fixed.

Regards,

Joy.

Read only

0 Likes
1,126

hi ,

but it has been maintained in a program with 8 characters..?

Is there any way of maintaining through any transaction or thorugh some other way to 8..

If you go to the text element of that ..it show as 8 , though 3 is fixed..

Thanks.

Read only

0 Likes
1,126

can u mention the program name. is it std or custom?

Read only

0 Likes
1,126

Length for Text element is SAP restricted. To understand the same, check screen 1210 of Program: SAPLSETXP. Check the element list for screen name: RS38M-INUM, you can find that visible length defined is 3. Check the help the of the column Deflg, i hope that clarifies your doubt.

Read only

0 Likes
1,126

Nagaraj,

Can u be able to provide me that program name in which it has been maintained for 8 characters?

Regards,

Swapna.

Read only

0 Likes
1,126

Hello,

Although text symbol length is 8 char, but never allows user to enter more then 3 char.

So i must say you to adjust your logic within this three characters only.

You can categories text elements by using varoius combination of characters for different purposes:

like for messages you can give m01 and so on

for labels you can give t01 and so on

Hope this will help you.

Reward if useful.

Read only

0 Likes
1,126

Hi all,

It is custom program and i am trying to migrate the program into ECC 6.0 .

The reason i cannot change the logic of the program is , the code for picking the Text element is written in standard code RSAQEXCE where the text pool of the custom program is read with the combination of Symbol maintained..as in here GH0000001..

Standard code is like this in RSAQEXCE :

read textpool sy-cprog into textpool language sy-langu.

sort textpool.

if %curr <> space.

*loop at textpool where id = 'I'*

*and ( key(2) = 'SH' or key(2) = 'RH' )*

*and key+4(4) = '0002'.*

(With this logic , the text element maintained with 8 characters is picked ..)

perform replace_currency using textpool-entry.

modify textpool.

endloop.

Thanks.

Read only

0 Likes
1,126

Hi again.

Check SAP help in this link:

http://help.sap.com/saphelp_nw04/helpdata/en/d7/c4673cffbb4c34e10000000a11402f/content.htm

"Enter your texts in the empty table.

In the Sym field enter the numerical key of the new text element (0-999), for example, 001. In the Text field, enter the name of the text element, for example, Credit Memos.

The dLen field is filled automatically with the actual length of the text you entered, for example, 12 in the case of Credit Memos."

Unfortunately, it seems you only have 3 positions to give it a number. I also made a research in OSS, SDN and google finding something about changing it, however, without success.

One ideia could be a repair ...

Regards.

Valter Oliveira.

Read only

Former Member
0 Likes
1,126

Nagaraj,

Actually thr is no way of extending that number. U have to use 3 digits only.

Regards,

Swapna.