Change parameter name on selection screen to a real text
Asked Answered
A

2

5

I'm trying to replace the parameter name shown on the selection screen.

For example I have:

PARAMETERS pa_age TYPE age_type DEFAULT '18'.

It shows PA_AGE on the screen.

How to change it to How old are you? for instance?

Apostrophe answered 16/8, 2011 at 0:44 Comment(2)
possible duplicate of replace parameter name show on screen?Silkstocking
Possible duplicate of replace parameter name show on screen?Interface
P
3

Via menu Goto->Text Elements->Selection Text.

Pasture answered 16/8, 2011 at 6:37 Comment(0)
S
8

You have to define a text via Goto->text elements->selection text.

If you develop in another language as you execute your code, you need also a translation.

Silkstocking answered 16/8, 2011 at 7:14 Comment(4)
To complement the answer, the report must be active so that 'pa_age' appear in the report texts screen, and to translate you must translate from the original report language to the desired language. Also you can add ICON codes with the selection texts to display a little icons along with your text.Pimentel
is this the only solution? I need to find a solution for this case but using code, is there such a possibility?Tractarianism
@Tractarianism Perhaps you can try something with `` AT SELECTION-SCREEN OUTPUT. LOOP AT SCREEN.`` to modify the text. At least you can change some settings, I'm not sure about the text.Silkstocking
Unfortunately, it doesn't work. You can only change name but no text or i can't do it.Tractarianism
P
3

Via menu Goto->Text Elements->Selection Text.

Pasture answered 16/8, 2011 at 6:37 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.