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

COMMENT FOR A PARAMETER

former_member384574
Active Participant
0 Likes
8,179

Hi experts!

I need to create a different comment for a parameter, when I make this:

PARAMETERS: ENAME TYPE P0001-ENAME MODIF ID PR1.

In selection screen this field is named like "Ename", I want the comment "NAME", when I make this, I still can't read "Name", and still reading ENAME can anybody help me?

SELECTION-SCREEN COMMENT 2(10) TEXT-201 FOR FIELD ENAME MODIF ID PR1.

Thanks a lot,

Regards,

Rebeca

1 ACCEPTED SOLUTION
Read only

Former Member
3,540

Hi Rebeca,

try this.

*SELECTION-SCREEN : begin of LINE .

SELECTION-SCREEN : COMMENT 2(10) TEXT-201 FOR FIELD ENAME MODIF ID PR1.

PARAMETERS: ENAME TYPE P0001-ENAME MODIF ID PR1.

SELECTION-SCREEN : end of LINE.*

Regards,

Vijay

6 REPLIES 6
Read only

GauthamV
Active Contributor
0 Likes
3,540

PARAMETERS: ENAME TYPE P0001-ENAME.

In se38 menu , Goto - Text elements -Selection texts.

Here you can give any text for your variable ENAME.

Read only

0 Likes
3,540

Thanks!!!

Regards,

Rebeca

Read only

Former Member
3,541

Hi Rebeca,

try this.

*SELECTION-SCREEN : begin of LINE .

SELECTION-SCREEN : COMMENT 2(10) TEXT-201 FOR FIELD ENAME MODIF ID PR1.

PARAMETERS: ENAME TYPE P0001-ENAME MODIF ID PR1.

SELECTION-SCREEN : end of LINE.*

Regards,

Vijay

Read only

Former Member
0 Likes
3,540

Hello

Goto -> Text elements -> Selection texts

Change comment, save and activate.

Read only

Former Member
0 Likes
3,540

Hi , why are you doing COMMENT. It can be achived by Selection texts .

If the name of the parameter is very big,

Then use as follows :

selection-screen : begin of block b1.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT :1(20) text-t01.

PARAMETERS :gc_text1(30) TYPE c .

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN: END OF BLOCK b1.

Read only

Former Member
0 Likes
3,540

HI,

Parameters: ENAME type p0001-ename modif id PR1.

In the menu items, GOTO>Text elements>Selection texts.

In Selection texts give the Text as NAME.

-Rajesh