Skip to Content
0
Former Member
Nov 07, 2006 at 07:33 PM

Selection Problem

12 Views

I have two selection fields like effective date and created date on the selection screen..I need to get the data based on these dates as per the conditions..How do I do this?

The first four fields presented in this section will be Action Type, Action Reason, Exempt/Non Exempt identification and Average Work Week Hours. These will be pulled from Actions (IT0000), Organization Assignment (IT0001) and Planned Working Time (P0007). Records should be selected using SY-DATUM unless an effective date or created on date are entered in the selection screen:

If No date entered on selection screen, select applicable P0000 record where SY-DATUM between P0000-BEGDA and P0000-ENDDA. Use P0000-BEGDA to pull applicable records from P0000, P0001 and P0007.

If effective date is entered on the selection screen, select applicable P0000 record where date entered between P0000-BEGDA and P0000-ENDDA. Use P0000-BEGDA to pull applicable records from P0000, P0001 and P0007.

If created date is entered on the selection screen, select applicable P0000 record where date entered equals P0000-AEDTM.

How do i do this?

Thanks

Vicky