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

Use original program text in ABAP program

roland_spindler
Participant
0 Likes
4,614

Hello,

I have an ABAP Z-program (a function group to be more precise) that contains a text symbol. The text has not been translated.

If I logon in a different language on development or quality system, the text from the original language is displayed. This is good.

However, if I logon in a different language on productive system, no text is displayed.

Can anyone explain why there could be a difference between the systems?

(And yes, I know I could translate the text. I want to cure the problem, not the symptom.)

Thanks in advance

Roland

1 ACCEPTED SOLUTION
Read only

roland_spindler
Participant
0 Likes
3,981

Thank you for your time. I guess I'm going to cure the symptom after all, though...

21 REPLIES 21
Read only

Aiolos
Active Participant
0 Likes
3,981

hi, are you using text element?

check in your production system, what's the content of this text? is it existing or blank?

Read only

0 Likes
3,981

> hi, are you using text element?

Yes, a text symbol is a kind of text element.

> check in your production system, what's the content of this text? is it existing or blank?

Like I said, it contains a text in the original language, but in no other language. If I look at the text in SE37 I always see the original text. For behaviour during runtime see problem description above.

Read only

Aiolos
Active Participant
0 Likes
3,981

hi Sir, i am confused, if you haven't maintained your text for this login language, how can you display the text?

Read only

0 Likes
3,981

It should display the original text like on development and quality system. I don't expect it to show a translated text.

Read only

Former Member
0 Likes
3,981

Hi

It's strange theoretically the text symbol shoud be written if it exists in the logon language

Max

Read only

0 Likes
3,981

Like i said, it does not exist in the logon language. However, in all system but productive system the original text is displayed instead.

Why does this not work on productive system?

Read only

0 Likes
3,981

what do you mean ' However, in all system but productive system the original text is displayed instead.'?

in other system,

for eg. you login by EN, and no text is maintained for this, and the text will be displayed?

Read only

0 Likes
3,981

The original text is EN. I logon in a different language, e.g. DE. On development and quality system I see the EN text. On productive system I see nothing.

Read only

0 Likes
3,981

Hi

How do you write the text?

If you write explicitly the text in source code, it will be written in the original language if it doesn't exist in logon one:

WRITE: 'Hello'(010).

But if it isn't written in the source it should be written in the translated languages only:

WRITE: text-0190

Max

Read only

0 Likes
3,981

ok, let's take it easy. when you login in by DE, go to text symbol, can you find your text there?

Read only

0 Likes
3,981

max explained it clearly, please do as what he mentioned.

Read only

0 Likes
3,981

I don't write it to the screen directly, but I use the text symbol like this: text-123.

Ok, if you think that the productive system works as expected, why do I see the original text on the other systems then?

Read only

0 Likes
3,981

Yes, if I look at the text symbols in SE 37, I get message DS536 (Untranslated texts from master language EN will also be displayed) and then I see the original text.

Read only

Former Member
0 Likes
3,981

Hi,

Check the Request Number for Text Symbols...may be not transport to production system.

Regards,

Venkat.

Read only

0 Likes
3,981

Everything has been transported.

Read only

roland_spindler
Participant
0 Likes
3,982

Thank you for your time. I guess I'm going to cure the symptom after all, though...

Read only

0 Likes
3,981

Hi Roland,

for every language you can maintain a supplementation language, i.e. if a text in the required language doesn't exist the text in the supplementation language will be taken.

See transaction SMLT and click on the "information"- icon next to the language.

Maybe the configuration on you dev  and prod-systems are different here.

Regards,

Dirk

Read only

0 Likes
3,981

The supplementation language is empty in both cases, but the "secondary system language" is different (EN on development, DE on production). This might very well be the reason for the different behaviour.

Thanks a lot!

Read only

Former Member
0 Likes
3,981

Hi Ronald,

Even I am facing the same problem, unable to display the text in default program language when logged on using different language. If your issue is solved can u please guide me to solve the issue.

Thank you.

Read only

dirk_wittenberg
Contributor
0 Likes
3,981

Hi,

how are you using the text-symbol:

     write "my text"(001).

or

     write text-001.

In the first case the text "my text" will be used in case of a missing translation, in the 2nd case no text will be displayed.

And you should check the language configurations on the different systems. For each language A you can set a "filler" language B that is used in case of a missing translation in language A.

Kind regards,

Dirk

Read only

0 Likes
3,981

Hello Dirk,

This was not about a program text, but about data element descriptions in a dynpro.

Anyway, this issue is long resolved thanks to your input. (See my reply from