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

abap general

Former Member
0 Likes
859

Hi all,

wht do u knw by

SELECTION-SCREEN COMMENT {text|{[text] FOR FIELD sel}}

Pls send me a sample code for this...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
835

HI,

Generates a comment on the selection screen.

You can define the content ( name) either statically or at runtime (as in the BEGIN OF BLOCK, PUSHBUTTON and SELECTION-SCREEN BEGIN OF SCREEN variants). If you use the FOR FIELD addition, you can omit name (see below).

When you use comments, you must always specify a format fmt.

Example

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 10(20) TEXT-001

FOR FIELD PARM.

SELECTION-SCREEN POSITION POS_LOW.

PARAMETERS PARM LIKE SAPLANE-PLANETYPE.

SELECTION-SCREEN END OF LINE.

The comment appears with length 20 in the normal position (POS_LOW, and in the same line as the parameter. If the user presses F1 for either object, the system displays the documentation for SAPLANE-PLANETYPE.

7 REPLIES 7
Read only

Former Member
0 Likes
835

Hi Alex,

Do F1 on SELECTION-SCREEN and check out SAP details.

I believe that SAP descriptions is always better than any...

Anyway its for writing/formating Selection screen comments.

Hope this helps.

Manish

Message was edited by:

Manish Kumar

Read only

suresh_datti
Active Contributor
0 Likes
835

Pl check this <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/dba7e235c111d1829f0000e829fbfe/frameset.htm">SAP Help</a>

~Suresh

Read only

Former Member
0 Likes
836

HI,

Generates a comment on the selection screen.

You can define the content ( name) either statically or at runtime (as in the BEGIN OF BLOCK, PUSHBUTTON and SELECTION-SCREEN BEGIN OF SCREEN variants). If you use the FOR FIELD addition, you can omit name (see below).

When you use comments, you must always specify a format fmt.

Example

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 10(20) TEXT-001

FOR FIELD PARM.

SELECTION-SCREEN POSITION POS_LOW.

PARAMETERS PARM LIKE SAPLANE-PLANETYPE.

SELECTION-SCREEN END OF LINE.

The comment appears with length 20 in the normal position (POS_LOW, and in the same line as the parameter. If the user presses F1 for either object, the system displays the documentation for SAPLANE-PLANETYPE.

Read only

Former Member
0 Likes
835

SELECTION SCREEN COMMENT acts like a label for the field on the selection screen

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba7a135c111d1829f0000e829fbfe/content.htm

Regards,

Ravi

Note - Please mark all the helpful ansewrs

Read only

Former Member
0 Likes
835

Hi Alex,

Check this out .

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION 1.

SELECTION-SCREEN COMMENT 1(15) text-001 FOR FIELD disp.

SELECTION-SCREEN POSITION 16.

PARAMETERS disp LIKE T001-BUKRS

SELECTION-SCREEN END OF LINE.

If it is beneficial give points

Thanks

Siladitya

Read only

madan_ullasa
Contributor
0 Likes
835

hi,

using the selection screen comment you can format the way the names for the input fields is displayed on the screen. you can also add your comments..

regards,

madan..

Read only

madan_ullasa
Contributor
0 Likes
835

hi,

using the selection screen comment you can format the way the names for the input fields is displayed on the screen. you can also add your comments..

regards,

madan..