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

Parameter more than 45 characters in selection-screen

rohit_goel
Participant
0 Likes
2,026

Hi All,

I requre help for displaying a parameter of visible length 75 characters in selection screen. By default it is displaying 45 characters.

Thanks in advance.

Regards,

Rohit Goel

3 REPLIES 3
Read only

Former Member
0 Likes
778

Hello,

Use the line screen element to do it. Follow an example and you can get the positions like described in the SAP Help Documentation


SELECTION-SCREEN: BEGIN OF LINE, 
                  PUSHBUTTON 2(10) push USER-COMMAND fcode, 
                  POSITION 16. 
PARAMETERS para TYPE c LENGTH 20. 
SELECTION-SCREEN: COMMENT 40(40) text, 
                  END OF LINE. 

INITIALIZATION. 
  push = 'Push'. 
  text = '<--- Fill field, then push button!'. 

Regards.

Read only

0 Likes
778

Hi Dude,

Try This Syntax,

PARAMETERS: p1 length 75 TYPE c.

Hope this helps u.

Read only

Former Member
0 Likes
778

Hi,

DATA: w_test(150) TYPE c.
PARAMETERS: p_test LIKE w_test VISIBLE LENGTH 150.

Regards

Adil