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

Enhance Standard Text Elements / Selection Text

Former Member
0 Likes
2,840

Dear experts,

I'm creating a enhancement spot were I need to add a new parameter in the selection screen. I was wondering how can I enhance the selection text for this new parameter.

Thanks in advance!!

FrineƩ

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
1,775

hi,

use command:

selection-screen comment -> look F1

e.g.: SELECTION-SCREEN COMMENT /1(50)

A.

6 REPLIES 6
Read only

andreas_mann3
Active Contributor
0 Likes
1,776

hi,

use command:

selection-screen comment -> look F1

e.g.: SELECTION-SCREEN COMMENT /1(50)

A.

Read only

0 Likes
1,775

Hi Andreas,

Thanks for your answer. Unfortunately I can't use this option because the text of the comment would have to be filled in the AT SELECTION-SCREEN OUTPUT.; as this is an enhancement spot I can't insert any code in the main AT SELECTION-SCREEN OUTPUT event.

Any suggestion???

Thanks!!

FrineƩ

Read only

0 Likes
1,775

No . Comment can be given when you are creating the selection screen. But again you need to create text symbol here and you will be stuck 😮

  SELECTION-SCREEN : BEGIN OF LINE,
                  COMMENT 1(10) text-100 for FIELD P_matnr.
   PARAMETERS : P_matnr type matnr.

SELECTION-SCREEN : end OF LINE.

Read only

0 Likes
1,775

Thanks for your answer Kumar,

Indeed, the way of creating the comment in the selection is with the text symbol. I was wondering if there's a way of enhancing the standard.

Thanks!

FrineƩ

Read only

0 Likes
1,775

I think perhaps I got the answer for you here.

Then I opened one of the selection screen and found that the labels are named as

%_<parameter_name>_%_APP_%-TEXT
if your parameter is p_matnr then you text will be
%_P_MATNR_%_APP_%-TEXT

Just intialize this variable with some value and you are done .

Thanks for posting. I learnt something new today

Read only

0 Likes
1,775

Perfect!!!! It worked beautifully!!!

Thank you very much!

Best regards,

FrineƩ