2008 Jan 17 6:55 PM
Hi;
Please let me know is it possible to increase limit of maximum character avaliabilty of select-options from 45 to a higher value ?
Regards
2008 Jan 17 7:22 PM
2008 Jan 17 7:24 PM
As per my knowledge visible length is 45 charcters ,but you could type what ever you want ,i mean depend upon field length.
Other way you can call subscreen with in selection-screen,there you can maintain visible length.
SELECTION-SCREEN BEGIN OF SCREEN <scrn> AS SUBSCREEN
[NO INTERVALS]
[NESTING LEVEL <n>].
...
SELECTION-SCREEN END OF SCREEN <scrn>.
Thanks
Seshu
2008 Jan 17 7:59 PM
Hi Carlos,
Try the following code. The visible length on the screen is less than 45 but when you focus the field, it shows the 45 characters in it. Here, the low field is 50 char wide and assigned a 50 char value but on the screen it shows 18 chars without scrolling and if the cursor is moved on the field, it shows the 45 char value as a 'tool-tip'.
See below:
data: char50 type char50.
SELECT-OPTIONS:
S_BLDATE FOR char50 OBLIGATORY VISIBLE LENGTH 45 "visible length can be set
DEFAULT '12345678901234567890123456789012345678901234567890'. "50 chars
Hope this helps.
Thanks
Sanjeev
2008 Jan 17 8:53 PM
Hi
I created selection screen as a subscreen . But I couldnt change field visible lenght although I decrease nesting level up to 0 .
Short dump raised : GETWA_NOT_ASSIGNED_RANGE