Convert month number to month name

Convert month number to month name

Use FM : IDWT_READ_MONTH_TEXT,

or SELECT into table T247.

Example of use :


  DATA : ls_t247 TYPE t247.

  CALL FUNCTION 'IDWT_READ_MONTH_TEXT'
    EXPORTING
      langu = sy-langu 
      month = '11'
    IMPORTING
      t247  = ls_t247.

  " With sy-langu  ==> FR
  " ---------------------
  " LS_T247-MNR => 11
  " LS_T247-KTX => NOV
  " LS_T247-LTX => Novembre

Search tag: conversion, externe, external

About the author

fjourneau administrator

Hi, I'm Florian Journeau, SAP ABAP R3 Freelance, based in Toulouse, France. You want to know more about me, have a look on my CV : cv.fjourneau.net.

Leave a Reply