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: 

Get all the dates of a particular month dynamically

0 Kudos

I have requirement of getting all the dates in a month by passing month and year as input in selection screen. Can anyone help me with the above requirement.

2 REPLIES 2

FredericGirod
Active Contributor
0 Kudos

Is it really too difficult for you to write this code ?

Sandra_Rossi
Active Contributor
0 Kudos

As explained in the ABAP documentation, to add a number of days:

Date = Date + Integer

Example:

DATA date TYPE d.

date = '20201125'. " November 25th, 2020
date = date + 6.
ASSERT date = '20201201'. " December 1st, 2020