2008 Apr 21 10:19 PM
Hello!
Can somebody say to me the correctly usage.
SELECT-OPTIONS s_typ(30) FOR c.is not possible. What can be taken instead ?
Regards
sas
2008 Apr 21 10:36 PM
Hi
SELECT-OPTIONS s_typ(30) FOR c.
AFTER for IT should be the data element
so when you want a size of 30 take a data element with domain haveing size char30
for ex.You can take any datalement which has a domain with CHAR30
say suppose you xyz dataelement which has domain of char30
then you can declare as
data : v_type type xyz
SELECT-OPTIONS : s_typ for v_type.
or SELECT-OPTIONS : s_typ for tablename-fieldname
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 21, 2008 5:50 PM
2008 Apr 21 10:26 PM
Example
>DATA: lv_pernr TYPE persno.
>SELECT-OPTIONS pernr FOR lv_pernr.
2008 Apr 21 10:36 PM
Hi
SELECT-OPTIONS s_typ(30) FOR c.
AFTER for IT should be the data element
so when you want a size of 30 take a data element with domain haveing size char30
for ex.You can take any datalement which has a domain with CHAR30
say suppose you xyz dataelement which has domain of char30
then you can declare as
data : v_type type xyz
SELECT-OPTIONS : s_typ for v_type.
or SELECT-OPTIONS : s_typ for tablename-fieldname
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 21, 2008 5:50 PM