‎2022 Apr 08 7:49 AM
Hi Expert,
This is a new SAP developer..
I would like to make underline on Currency looks same as SPMON and CCode,
it is like as Label on left, but I don't know how to make line on Report Program, SELECTION-SCREEN COMMENT.
could anyone know how? or let me know if it can not do..
Thank you in advance..
Regards,


‎2022 Apr 08 8:28 AM
Hello shinhye
That kind of "label" is defined with SELECTION-SCREEN COMMENT FOR FIELD. However that doesn't work for radio buttons. Therefore I'd suggest to define a nested block for your radio buttons and put the label as the block title, e.g.
SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-b01.
PARAMETERS: p_ccode TYPE bukrs.
PARAMETERS: p_spmon TYPE spmon.
SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE TEXT-b02.
PARAMETERS p_radio1 RADIOBUTTON GROUP rg1.
PARAMETERS p_radio2 RADIOBUTTON GROUP rg1.
SELECTION-SCREEN END OF BLOCK b02.
SELECTION-SCREEN END OF BLOCK b01.

It's not exactly what you require, but I hope it's close enough.
Best regards
Dominik Tylczynski
‎2022 Apr 08 7:54 AM
‎2022 Apr 08 8:00 AM
my cristal ball says: look abapdocu for SELECTION-SCREEN COMMENT ... FOR FIELD ...
‎2022 Apr 08 8:28 AM
Hello shinhye
That kind of "label" is defined with SELECTION-SCREEN COMMENT FOR FIELD. However that doesn't work for radio buttons. Therefore I'd suggest to define a nested block for your radio buttons and put the label as the block title, e.g.
SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-b01.
PARAMETERS: p_ccode TYPE bukrs.
PARAMETERS: p_spmon TYPE spmon.
SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE TEXT-b02.
PARAMETERS p_radio1 RADIOBUTTON GROUP rg1.
PARAMETERS p_radio2 RADIOBUTTON GROUP rg1.
SELECTION-SCREEN END OF BLOCK b02.
SELECTION-SCREEN END OF BLOCK b01.

It's not exactly what you require, but I hope it's close enough.
Best regards
Dominik Tylczynski
‎2022 Apr 09 2:23 AM