‎2007 Feb 28 6:51 PM
Anybody know how to use a select-option without a tables command?
Thank-You.
‎2007 Feb 28 6:59 PM
Hello,
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.
If useful reward.
Regards,
Vasanth
‎2007 Feb 28 6:58 PM
If i am getting you right then u want to use SELECT-OPTIONS like PARAMETERS?
USE
SELECT-OPTIONS : a for xyz-fieldname NO INTERVALS.
but if u want to specify something else @ xyz-fieldname then decalre it on the top.
using a TYPE CHAR002
and
SELECT-OPTIONS : s_a for a.
hope this will help
Ashwan
‎2007 Feb 28 6:59 PM
Hello,
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.
If useful reward.
Regards,
Vasanth