‎2007 Aug 16 9:35 AM
hi all,
I need to add select options for a the month field. This month field is not being fetched from any table. The user enters his choice of months. Could anyone help me with this?
thanks
nayan
‎2007 Aug 16 9:42 AM
Hello Nayan,
Perticullarly, there is no field for month in any table.
But u case use it in the following way.
Data: month(2).
select-options: s_month for month.
Reward If Helpful
Regards
--
Sasidhar Reddy Matli.
‎2007 Aug 16 9:39 AM
Hi!
Try using as a refence the COEP-PERIO field (CO_PERIO data element).
PARAMETERS: p_perio LIKE coep-perio.
Regards
Tamá
‎2007 Aug 16 9:42 AM
Hello Nayan,
Perticullarly, there is no field for month in any table.
But u case use it in the following way.
Data: month(2).
select-options: s_month for month.
Reward If Helpful
Regards
--
Sasidhar Reddy Matli.
‎2007 Aug 16 9:44 AM
HI,
you can take any field form database.
While defining it do not include the search help attached with that field.
or
search for like data element type dats but having no search help attached with it.
For this go to SE80 and in field value look for the your desired type data element.
this will solve your purpose.
‎2007 Aug 16 9:47 AM
Hi
You can declare the month as below:
SELECT-OPTIONS: S_MONTH FOR S021-SPMON
(if you wants to enter 042007 to 122007)
or you can declare with length of 2 like
SELECT-OPTIONS: S_MONTH FOR BKPF-MONAT.
<b>Reward points for useful Answers</b>
Regards
Anji
‎2007 Aug 16 9:49 AM