Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Select-Options

Former Member
0 Kudos

Hi Experts,

In my report i need to declare a select-option . This select-option is a combination of Period and fiscal year i..e the values in the select-option should be like

<b>PPP/YYYY</b> period and year need to be separated by "/".

I had declared in that format. Here the period starts from 001-012.<b>So when ever the User enters 010/2005 in low and 007/2007 in high it is giving an error that Lower limit is greater than Higher limit .</b>

How to eliminate that error.

4 REPLIES 4

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Please define it like this.



report  zrich_0001.

tables: MCS1.

select-options: s_spbup for MCS1-spbup.

Regards,

Rich Heilman

Former Member
0 Kudos

Hi Raghvendra,

It is not possible to use this select option line this..

Do you need to give multiple ranges or selection there?? If not, create two Parameters in the same line..

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT text-001.

PARAMETER : per1(7) TYPE c.

SELECTION-SCREEN POSITION 10.

SELECTION-SCREEN COMMENT text-002.

PARAMETER : p_per2(7) TYPE c.

SELECTION-SCREEN END OF LINE.

Thanks and Best Regards,

Vikas Bittera.

**Reward if useful**

Former Member
0 Kudos

data: w_period type SPBUP.

select-options:

s_period for w_period.

Try the above code and make sure to enter date in the format <b>PP/YYYY</b>

Enter 10/2005 in low and 07/2007 in high.....

Regards,

Pavan

Former Member
0 Kudos

HI Vikas/Pavan

I need to give Multiple option over here.