Application Development 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: 

Adding Comments in Selection-screen of report

Former Member
0 Kudos

Hi,

I want to add comments/Instructions on a selection -screen of a report.

How do we do that?

Regards

Vara

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Try:


SELECTION-SCREEN BEGIN OF BLOCK comment WITH FRAME TITLE text-006.
SELECTION-SCREEN COMMENT /05(70) comm01.
SELECTION-SCREEN COMMENT /05(70) comm02.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN COMMENT /05(70) text-007.
SELECTION-SCREEN COMMENT /05(70) text-008.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN COMMENT /05(70) text-009.
SELECTION-SCREEN COMMENT /05(70) text-010.
SELECTION-SCREEN END OF BLOCK comment.

COMM01 and COMM02 are dynamically set at the initialization event and TEXT-007/10 are standard text elements.

Rob

Message was edited by:

Rob Burbank

6 REPLIES 6

Former Member
0 Kudos

Hi Vara,

selection-screen : begin of block B1 with frame title TEXT-001.

selection-screen : begin of line.

selection-screen : comment 1(23) TEXT-001.

parameter : P_01 radiobutton group R1.

selection-screen : comment 30(8) TEXT-001.

parameter : P_02 radiobutton group R1.

selection-screen : comment 42(10) TEXT-001.

parameter : P_C01 type rlgrap-filename obligatory.

selection-screen : end of line.

selection-screen : end of block B1.

Reward points if this helps.

Manish

Former Member
0 Kudos

Try:


SELECTION-SCREEN BEGIN OF BLOCK comment WITH FRAME TITLE text-006.
SELECTION-SCREEN COMMENT /05(70) comm01.
SELECTION-SCREEN COMMENT /05(70) comm02.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN COMMENT /05(70) text-007.
SELECTION-SCREEN COMMENT /05(70) text-008.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN COMMENT /05(70) text-009.
SELECTION-SCREEN COMMENT /05(70) text-010.
SELECTION-SCREEN END OF BLOCK comment.

COMM01 and COMM02 are dynamically set at the initialization event and TEXT-007/10 are standard text elements.

Rob

Message was edited by:

Rob Burbank

Former Member
0 Kudos

Hi,

Check the below code

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-h01.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_deta RADIOBUTTON GROUP g1 USER-COMMAND abc DEFAULT 'X'.
SELECTION-SCREEN COMMENT 5(30) text-c01 FOR FIELD p_deta.
PARAMETERS: p_summ RADIOBUTTON GROUP g1.
SELECTION-SCREEN COMMENT 60(15) text-c02 FOR FIELD p_summ.
SELECTION-SCREEN END OF LINE.
SELECT-OPTIONS: s_dol FOR oiuh_rv_gl-gl_trans_am.
SELECT-OPTIONS: s_own FOR oiuh_cm_ba-ba_ba_no.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_strt RADIOBUTTON GROUP g1.
SELECTION-SCREEN COMMENT 5(30) text-c03 FOR FIELD p_strt.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN END OF BLOCK b1.

Regards,

Santosh

Former Member
0 Kudos

Hi,

use the below ones to create the texts on the selection screen ..

SELECTION-SCREEN COMMENT /01(20) TEXT-001.

SELECTION-SCREEN COMMENT /02(20) TEXT-002.

In the above line, which ever you enter in the Texts, that will appear in the Selection screen

SELECTION-SCREEN COMMENT 4(35) text-c06 FOR FIELD fix.

here after the Field FIX, the text will appear ..

Regards

Sudheer

0 Kudos

Hi Alla,

Thank you vrey much I solved my problem.

I am awarding points for all of you...

Regards

Vara

Former Member
0 Kudos

Hi Vara,

REPORT demo_sel_screen_select_comment.

SELECTION-SCREEN COMMENT /2(50) text-001 MODIF ID sc1.

SELECTION-SCREEN SKIP 2.

SELECTION-SCREEN COMMENT /10(30) comm1.

SELECTION-SCREEN ULINE.

PARAMETERS: r1 RADIOBUTTON GROUP rad1,

r2 RADIOBUTTON GROUP rad1,

r3 RADIOBUTTON GROUP rad1.

SELECTION-SCREEN ULINE /1(50).

SELECTION-SCREEN COMMENT /10(30) comm2.

SELECTION-SCREEN ULINE.

PARAMETERS: s1 RADIOBUTTON GROUP rad2,

s2 RADIOBUTTON GROUP rad2,

s3 RADIOBUTTON GROUP rad2.

SELECTION-SCREEN ULINE /1(50).

INITIALIZATION.

COMM1 ='Radio Button Group 1'.

COMM2 ='Radio Button Group 2'.

LOOP AT SCREEN.

IF screen-group1 = 'SC1'.

screen-intensified = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

reward if helpful

regards,

keerthi.