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: 

Select options

rathishr_nair
Explorer
0 Kudos

Hi experts,

my requirement is; I have date and time select options, in that low time can take high value and high time can take low value. Is it possible to do this

ex:

date (low) 28-10-09 date(high) 29-10-09

time(low) 8(pm) time(high) 2(AM)

here low time is high and high time is low. In normal case standard error got raised. can anyone suggest a solution to allow this as correct.

Any AM PM consideration is there in SAP?

Rathish

use meaningful subject line for your future questions

Edited by: Vijay Babu Dudla on Apr 28, 2009 1:34 AM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

try to have separate variables for both low and high time.

I cant find any solution regarding your issue.

regards,

Leonard Chomi

6 REPLIES 6

Sandeep_Kumar
Product and Topic Expert
Product and Topic Expert
0 Kudos

Give time in 24 Hr format and your problem is solved!

Former Member
0 Kudos

Hi,

try to have separate variables for both low and high time.

I cant find any solution regarding your issue.

regards,

Leonard Chomi

former_member184119
Active Contributor
0 Kudos

This is possible if you can build your own custom select-options...

Regards

sas

Former Member
0 Kudos

Hi,

IN SAP ECC 6.0, there is an option to consider AM and PM time.

If you click on the F4 help on the time field, a small popup appears.

In this popup, there is a CLOCK icon. Click on this icon and you can set the values

of AM and PM through radio-button.

If you are not working on ECC 6.0, then you will need to write the logic for conversion to AM / PM format

in event 'AT SELECTION SCREEN OUTPUT"

Hope it helps,

RJ

Former Member
0 Kudos

Hi,

Use 24 hours format and try it.

SELECT-OPTIONS s_time FOR sy-uzeit.

Regards,

Naresh

0 Kudos

Thanks for all the valuable suggestions. I Changed the SELECT-OPTIONS to PARAMETERS and solved the problem.