‎2009 Sep 09 9:52 AM
Hello,
In a screen I have a SELECTION-SCREEN line which contains a comment, followed by a PARAMETER, followed by another comment, followed by a PARAMETER.
Here is the example code:
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(14) text-s01 FOR FIELD p_1.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_1 LIKE sy-uzeit DEFAULT '000001'.
SELECTION-SCREEN COMMENT 52(3) text-s02 FOR FIELD p_2.
SELECTION-SCREEN POSITION 58.
PARAMETERS: p_2 LIKE sy-uzeit DEFUALT '240000'.
SELECTION-SCREEN END OF LINE.
For some reason the second COMMENT is showing with a different font. Can anyone help me understand why?
Thank you,
Nuno Silva
‎2009 Sep 09 9:56 AM
Hi,
Can you provide the code what you have written..
are you using the loop at screen some where.
Regards
Ansair
‎2009 Sep 09 10:11 AM
Hi Silva, <li> No way to be happened like that. Please double check. I have just tested. No difference i could find. Thanks Venkat.O
‎2009 Sep 09 10:59 AM
Hello,
That is in fact happening in my system. Maybe this could be due to an me being on an older version of SAP, but I cannot find any SAP notes that relate to this.
Thank you,
Nuno Silva
‎2009 Sep 09 11:01 AM
‎2009 Sep 09 11:02 AM
‎2010 Apr 08 3:27 PM
>
> It's in my first message.
Since it doesn't pass a syntax check, I doubt if it really is the code you wrote.
Rob
‎2009 Sep 09 11:06 AM
Hi,
I tried this code.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(14) text-s01 FOR FIELD p_1.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_1 LIKE sy-uzeit DEFAULT '000001'.
SELECTION-SCREEN COMMENT 52(20) text-s02 FOR FIELD p_2.
SELECTION-SCREEN POSITION 72.
PARAMETERS: p_2 LIKE sy-uzeit DEFAULT '240000'.
SELECTION-SCREEN END OF LINE.
I cant see any diference in the output. Looks strange case..
Regards
Ansari
‎2010 Apr 08 2:48 PM
Hi
I test it on my system and noticed the same behavior.
text-s01 = 'TOX'
text-s02 = 'TOX'
We can notice differences between the O and X.
No idea why.
That is SAP
If you found a solution, please post it.
Regards
DSTJ
‎2010 Apr 08 3:54 PM
Try this code
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(14) text-s01 FOR FIELD p_1.
SELECTION-SCREEN POSITION 33.
PARAMETERS: p_1 LIKE sy-uzeit DEFAULT '000001'.
SELECTION-SCREEN COMMENT 50(5) text-s02 FOR FIELD p_2. "<<<<<
SELECTION-SCREEN POSITION 58.
PARAMETERS: p_2 LIKE sy-uzeit DEFUALT '240000'.
SELECTION-SCREEN END OF LINE.Edited by: Pawan Kesari on Apr 8, 2010 8:24 PM
‎2010 Apr 08 4:02 PM
‎2014 Jun 26 5:53 PM
Change this...
SELECTION-SCREEN COMMENT 52(3) text-s02 FOR FIELD p_2.
...to this...
SELECTION-SCREEN COMMENT 52(4) text-s02 FOR FIELD p_2.
Comments defined as length 3 show up in a serif font.
Ralph