‎2012 Apr 23 12:11 PM
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é
‎2012 Apr 23 12:24 PM
hi,
use command:
selection-screen comment -> look F1
e.g.: SELECTION-SCREEN COMMENT /1(50)
A.
‎2012 Apr 23 12:24 PM
hi,
use command:
selection-screen comment -> look F1
e.g.: SELECTION-SCREEN COMMENT /1(50)
A.
‎2012 Apr 23 1:48 PM
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é
‎2012 Apr 23 2:20 PM
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.
‎2012 Apr 23 2:28 PM
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é
‎2012 Apr 23 2:50 PM
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
‎2012 Apr 23 3:06 PM
Perfect!!!! It worked beautifully!!!
Thank you very much!
Best regards,
Frineé