Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

For selection parameter the default date should be of the previous month.

Hi all,

In my selection-screen what i want is for the selection parameter "Selection period month" the default value to be the previous month.

For example today is 24.09.2008 so the default value of this field has to be 200808 instead of 200809 today.

please tell me how should i do this.

thanks in advance.

Former Member
Former Member replied


Try this.

Use the function module 'HR_JP_ADD_MONTH_TO_DATE' and give the value for IV_MONTHCOUNT as -1 to get the previous month.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question