Get name of months in ABAP

Nothing tricky here, function module MONTH_NAMES_GET is available for that purpose

 DATA:
  month_names TYPE STANDARD TABLE OF t247.  

 CALL FUNCTION 'MONTH_NAMES_GET'
  TABLES
   month_names = month_names
  EXCEPTIONS
   month_names_not_found = 1
   OTHERS = 2.

 IF sy-subrc <> 0.
  RETURN.
 ENDIF.

Reading BRF+ Decision Table into ABAP

The below snippet helps you to read BRF+ decision tables into ABAP, where only I EQ LOW range or direct value assignment is specified in a particular BRF+ table cell (everything other is ignored).

To get the BRF+ table content into ABAP:

  • obtain the BRF+ table GUID from the BRF+ Workbench and pass it as i_id
  • define a structure/table type in DDIC or a type locally in ABAP, which has the identical component names (and possibly the same types) as the BRF+ table columns to use as e_table parameter
Read More