2023 Nov 09 2:24 PM
I have a range table I got from a Select-Option that is filled with dates
I would like to get all days individually so I can make a selection with them individually ( I am aware I can use Select IN) maybe loop them somehow if its possible or turn the dates into an internal table with dates.
Is there a way this is possible
2023 Nov 09 2:54 PM
AFAIK there is no avalaible database table of days from which a select coulm be performed.,
2023 Nov 09 2:54 PM
AFAIK there is no avalaible database table of days from which a select coulm be performed.,
2023 Nov 10 6:52 AM
2023 Nov 10 8:06 AM
warcsi
I suggest you peruse my blog here: https://blogs.sap.com/2014/02/07/dates-and-select-options/
The point is that you'll often see in standard SAP programs something that looks like a standard date select option, but is actually made up of two parameters. In this way, you always have the low and high date and you don't need NO-EXTENSION and you don't need SELECT_OPTIONS_RESTRICT.
It really is the simplest way to achieve your goal.
It's what SAP do.
2023 Nov 09 5:38 PM
Do you want to include off days too? (Saturday, Sunday)
Is that just to practice ABAP, or real scenario? In that case, could you explain more?
2023 Nov 10 7:55 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |