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

Parameters (text display)

Former Member
0 Likes
790

I make some parameters like the code below :

PARAMETERS: ZYGOL(2) TYPE C,

TEST(2) TYPE C,

FORT(3) TYPE C,

ASFAL(3) TYPE C,

EDE(3) TYPE C,

CERT AS CHECKBOX,

BENEF AS CHECKBOX,

ATR AS CHECKBOX,

FREIG AS CHECKBOX,

INSP AS CHECKBOX.

I want to display a text that contains many characters in each parameter.I am trying to do it via selection texts but it takes only 30 characters .How ca i do it?

For example : zygol = '12345678912345678912345678912334556667'

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
610

Hi Dimath

Please try with text elements.

Check this example:

selection-screen begin of line.
  selection-screen comment (40) text-i02 for field p_text.
  parameters: p_text(30) type c.
selection-screen end of line.

TEXT-I02 has value: 12345678912345678912345678912334556667 from your post...

Hope this helps.

Regards

Eswar

2 REPLIES 2
Read only

Former Member
0 Likes
611

Hi Dimath

Please try with text elements.

Check this example:

selection-screen begin of line.
  selection-screen comment (40) text-i02 for field p_text.
  parameters: p_text(30) type c.
selection-screen end of line.

TEXT-I02 has value: 12345678912345678912345678912334556667 from your post...

Hope this helps.

Regards

Eswar

Read only

Former Member
0 Likes
610

Hello,

U can do it like this.

SELECTION-SCREEN BEGIN OF BLOCK BLCK1 WITH FRAME TITLE TEXT-001.

PARAMETERS: P_PROJ LIKE PROJ-PSPNR.

SELECTION-SCREEN SKIP.

SELECT-OPTIONS: S_WBS FOR PRPS-POSID NO INTERVALS.

SELECTION-SCREEN SKIP 2.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION 1.

SELECTION-SCREEN COMMENT 1(79) TEXT-030.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION 1.

SELECTION-SCREEN COMMENT 1(74) TEXT-031.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION 1.

SELECTION-SCREEN COMMENT 1(34) TEXT-032.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK BLCK1.

If useful reward.

Vasanth