Syntax error Getting month name instead of numeric month number in report in SAP

Getting month name instead of numeric month number in report in SAP



There are various methods this can be done

a) Use the Function module MONTH_NAME_GET - This Function module is used to return all the month and names in the respective language.

b) You can also use the below formula −

cstr(monthname(month({inputdate})))

where “inputdate” is the date for which month name is required.

c) Find the numeric value of month and use if condition. For example -

IF month = “01” THEN January
Updated on: 2020-02-13T12:37:25+05:30

3K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements