4

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?

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
  • 1
    possible duplicate of [replace parameter name show on screen?](http://stackoverflow.com/questions/4783374/replace-parameter-name-show-on-screen) – knut Jul 20 '12 at 14:24
  • Possible duplicate of [replace parameter name show on screen?](https://stackoverflow.com/questions/4783374/replace-parameter-name-show-on-screen) – Sandra Rossi Jul 03 '19 at 18:57

2 Answers2

7

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.

knut
  • 27,320
  • 6
  • 84
  • 112
  • 3
    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. – Paulo Aug 16 '11 at 14:50
  • is this the only solution? I need to find a solution for this case but using code, is there such a possibility? – Abapito Jul 18 '22 at 09:16
  • @Abapito 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. – knut Jul 18 '22 at 11:56
  • Unfortunately, it doesn't work. You can only change name but no text or i can't do it. – Abapito Jul 18 '22 at 12:25
3

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

BenV
  • 12,052
  • 13
  • 64
  • 92
Alexander_P
  • 88
  • 3
  • 6