ABAP-core FMs and tables

No. Object Remark
1 OXT_MESSAGE_TO_POPUP  Show a log popup
2 DATE_CHECK_WORKINGDAY  Check working day
3 HOLIDAY_CHECK_AND_GET_INFO
4 LTDX Variant of ALV reports
5 FORMAT_MESSAGE get message text from message parameters
6 BAL_DSP_LOG_DISPLAY
7 STATUS_CHANGE_EXTERN Change User Status

8 BAPI_CURRENCY_CONV_TO_EXTERNAL convert Amount depend on Currenry, EG: with VND, Amount = Amount * 100
9 FIWT_CONVERT_AMOUNT_TO_SAP convert Amount depend on Currenry, EG: with VND, Amount = Amount / 100
10 NRIV Number Range table, TCode SNRO
11 NUMBER_GET_NEXT Number range: Assigns next free number

CALL FUNCTION ‘NUMBER_GET_NEXT’
EXPORTING
nr_range_nr             ’11’
object                  ‘ZRE_SALE’
IMPORTING
number                  = lv_number
EXCEPTIONS
interval_not_found      1
number_range_not_intern 2
object_not_found        3
quantity_is_0           4
quantity_is_not_1       5
interval_overflow       6
buffer_overflow         7
OTHERS                  8.

12 DFKKBPTAXNUM Tax Numbers for Business Partner

13 BAPI_USER_GET_DETAIL Get user detail
14 BAPI_COMPANYCODE_GETDETAIL Get Company detail
15 TGSB Business Area
16 T001 Company Code
17 T001W Plant
18 LFA1 Vendor
19 KNA1 Customer
20 ADRC Address
21 ADR2 Telephone
22 ADR3 Fax
23 ADR6 Email
24

DD_DOMVALUES_GET

Get a domain values

data: idd07v type table of  dd07v with header line.

call function 'DD_DOMVALUES_GET'
     exporting
          domname        = 'RFBSK'   "<-- Your Domain Here
          text           = 'X'
          langu          = sy-langu
     tables
          dd07v_tab      = idd07v
     exceptions
          wrong_textflag = 1
          others         = 2.

loop at idd07v.
  write:/ idd07v-domvalue_l, idd07v-ddtext.
endloop.
25

MD_CONVERT_MATERIAL_UNIT

Convert quantity of a Material from this unit to another unit
26

BBP_INB_DELIVERY_CREATE

Create an Inbound Delivery (VL31N)
26

BAPI_PROFITCENTERGRP_GETDETAIL

Get Profit Centers list of a Profit Center Group

EPS2_GET_DIRECTORY_LISTING

Get list of files in a folder in AL11

/SAPDMC/LSM_F4_FRONTEND_FILE

Browse a file on Local PC

AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FNAME.
CALL FUNCTION ‘/SAPDMC/LSM_F4_FRONTEND_FILE’
EXPORTING
PATHNAME         ‘C:\’
CHANGING
PATHFILE         P_FNAME
EXCEPTIONS
CANCELED_BY_USER 1
SYSTEM_ERROR     2
OTHERS           3.
IF SYSUBRC <> 0.
*    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
*            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

/SAPDMC/LSM_F4_SERVER_FILE

Browse a file on Application Server (AL11)

CONSTANTS gc_folder TYPE char255 VALUE ‘/sapmnt/DSM/global/excel’.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_afname.
PERFORM f_shp_afname.

*  CALL FUNCTION ‘/SAPDMC/LSM_F4_SERVER_FILE’
*    EXPORTING
*      directory        = gc_folder
*      filemask         = ‘*FI305*’
*    IMPORTING
*      serverfile       = p_afname
*    EXCEPTIONS
*      canceled_by_user = 1
*      OTHERS           = 2.
*  IF sy-subrc <> 0.
*
*  ENDIF.