‎2007 Feb 15 10:02 AM
Hi,
How to create SELECT-OPTIONS without declaring TABLES stmt.
Regards,
Lakshmi
‎2007 Feb 15 10:04 AM
Check the code below.
DATA: lv_kunnr TYPE kunnr,
lv_vkorg TYPE vkorg,
lv_land1 TYPE land1_gp.
SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME TITLE text-012.
SELECT-OPTIONS : so_kunnr FOR lv_kunnr OBLIGATORY, "Customer Number
so_vkorg FOR lv_vkorg OBLIGATORY, "Sales Organisation
so_land1 FOR lv_land1. "Country
SELECTION-SCREEN END OF BLOCK blk.Regards
‎2007 Feb 15 10:08 AM
‎2007 Feb 15 10:09 AM
hi,
U can try like this
<b>data : v_kunnr like kna-kunnr.
select-options : s_kunnr for v_kunnr.</b>
thanks
‎2007 Feb 15 10:10 AM
Hi,
You can create like this.
select-options: s_kunnr for <structure/int.Table field>
If you declare Table you have declare it using TABLES statement:
To avoid that you can declare it, without refering to a Table field , reference to a <b>already defined structure or internal table field</b>.It will accept.
Regards,
Anji