‎2010 Aug 27 12:55 PM
Hi friends! I created on selection-screen a select-options:
SELECT-OPTIONS: zzcduc FOR equi-ZZCDUC.The field equi-ZZCDUC is a CHAR100 field. The problem is when I run program, in this field user can't input more of 46 characters. This is a serial number with 100 characters, why I can input 100 characters?
Thanks for any help.
‎2010 Aug 27 1:16 PM
Hi, this is copied from SELECT-OPTION documentation:
The LOW and HIGH fields of a selection option are displayed in a length up to 18 bytes long (scrollable up to 45 bytes). If you define a length longer than 45, fields are truncated on the selection screen after the 45th character. This affects the first line of the SELECT-OPTIONS table. You can, however, use SUBMIT to pass longer selection options to a report if they are specified with the addition NO-DISPLAY and thus do not appear on the selection screen. Without NO-DISPLAY, the fields are then truncated whenever the selection screen is processed in the background ( SUBMIT without VIA SELECTION-SCREEN).
regards,
‎2010 Aug 27 1:12 PM
Hello
Press F1 on SELECT-OPTIONS and read documentation.
The LOW and HIGH fields of a selection option are displayed in a length up to 18 bytes long (scrollable up to 45 bytes). If you define a length longer than 45, fields are truncated on the selection screen after the 45th character.
‎2010 Aug 27 1:13 PM
‎2010 Aug 27 1:16 PM
Hi, this is copied from SELECT-OPTION documentation:
The LOW and HIGH fields of a selection option are displayed in a length up to 18 bytes long (scrollable up to 45 bytes). If you define a length longer than 45, fields are truncated on the selection screen after the 45th character. This affects the first line of the SELECT-OPTIONS table. You can, however, use SUBMIT to pass longer selection options to a report if they are specified with the addition NO-DISPLAY and thus do not appear on the selection screen. Without NO-DISPLAY, the fields are then truncated whenever the selection screen is processed in the background ( SUBMIT without VIA SELECTION-SCREEN).
regards,
‎2010 Aug 27 1:23 PM
Thanks for replies!
So, I can't use more then 45 chars except if I using submit...I got a problem here, this program is a copy of standard IH08, so i can't create module pool...
Edited by: Fulvio Valente on Aug 27, 2010 2:23 PM
‎2010 Aug 27 4:54 PM
Hi!
Try this:
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(28) text-001 FOR FIELD tb_sck.
SELECTION-SCREEN POSITION POS_LOW.
PARAMETERS tb_sck LIKE rlfitdnk-snksl.
SELECTION-SCREEN END OF LINE.
thanks,
Raul Natu