ABAP CODE FOR PREVIOUS MONTH LAST DATE


REPORT  ZPREVIOUS.
DATA : date TYPE sy-datum.

date = sy-datum. "Today
date+6(2) = '01'. "First day of this month
date = date - 1. "Previous day before first day of this month = last day of last month

WRITE: date.

Popular posts from this blog

Working with batch Classification Change Function Module

WORKING WITH BOM EXPLOSION FUNCTION MODULE(CS_BOM_EXPL_MAT_V2)

SD FLOW