‎2007 Oct 02 10:00 AM
Hello experts,
I would like to use TYPE STRING as declaration in the report and statement PARAMETERS
(PARAMETERS : i_param type string)
error message "The deep data type 'STRING' is not allowed"
Could you give me help how set up parameters, which should be long e.g. 150 characters ?
Thanks you in advance
Martin
‎2007 Oct 02 10:08 AM
‎2007 Oct 02 10:08 AM
‎2007 Oct 02 10:22 AM
ok, i was confused that i see only "input" window with 50 Char, but the length was longer ( it depends on Char)
Thanks Martin
‎2007 Oct 02 10:24 AM
Yes you can see only input width 50 char, its just the visible length
but infact its actual length is 150, its a selection screen limit which shows you only 50 chars
Regards
Gopi
The selection screen limit of character is only 132, so you can not display a parameter with length 150, even if you declare 150 it considers only 132.
Hope this is clear.
Check this.
PARAMETERS : p_t(150) TYPE c.
DATA : l_str TYPE string.
DATA : len TYPE i.
l_str = p_t.
len = strlen( l_str ).
WRITE : len.