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: 

Use original program text in ABAP program

roland_spindler
Participant
0 Kudos
1,624

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

roland_spindler
Participant
0 Kudos
991

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

21 REPLIES 21

yang_aiolos
Active Participant
0 Kudos
991

hi, are you using text element?

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

0 Kudos
991

> 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.

0 Kudos
991

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

0 Kudos
991

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

Former Member
0 Kudos
991

Hi

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

Max

0 Kudos
991

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?

0 Kudos
991

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?

0 Kudos
991

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.

0 Kudos
991

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

0 Kudos
991

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

0 Kudos
991

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

0 Kudos
991

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?

0 Kudos
991

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.

Former Member
0 Kudos
991

Hi,

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

Regards,

Venkat.

0 Kudos
991

Everything has been transported.

roland_spindler
Participant
0 Kudos
992

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

0 Kudos
991

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

0 Kudos
991

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!

Former Member
0 Kudos
991

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.

dirk_wittenberg
Contributor
0 Kudos
991

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

0 Kudos
991

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