Useful Function Module
Useful Function Module
Link to this Page Link Tiny Link OK Know n Location You must make a Useful ABAP Fun Page Ordering Editing restricted Back Cancel Reorder Close Wiki Markup Cancel Close Click to select the Move Page Use Search Error reading the
You could try relo HTTP Status Move failed. Ther ABAP Developme Unknow n user or You cannot move You cannot move Page Restrictions
Page restrictions apply Added by Guest, last edited by Sandra Rossi on Jun 13, 2009 (view change)
view
This page is intended to maintain documentation of useful function modules. This is needed because indexing and search of information will be easier here (When compared to searching in SE37). When this page starts growing, this can be structured in an area wise list. Function Module to execute unauthorized transactions
TRANSACTION_CALL_VIA_RFC
Function Modules for creating programs (Useful when you are generating programs)
RS_PROGRAM_CHECK_NAME
RS_CORR_INSERT
REPS_OBJECT_ACTIVATE
RS_DELETE_PROGRAM
RS_ACCESS_PERMISSION
CALCULATE_DATE
DATE_TO_DAY
DATE_COMPUTE_DAY
DATE_GET_WEEK
RP_CALC_DATE_IN_INTERVAL
DAY_ATTRIBUTES_GET
MONTHS_BETWEEN_TWO_DATES
END_OF_MONTH_DETERMINE_2
HR_HK_DIFF_BT_2_DATES
Find the difference between two dates in years, months and days.
FIMA_DAYS_AND_MONTHS_AND_YEARS
Find the difference between two dates in years, months and days.
MONTH_NAMES_GET
WEEK_GET_FIRST_DAY
HRGPBS_HESA_DATE_FORMAT
SD_CALC_DURATION_FROM_DATETIME
Find the difference between two date/time and report the difference in hours
L_MC_TIME_DIFFERENCE
HR_99S_INTERVAL_BETWEEN_DATES
LAST_DAY_OF_MONTHS
DATE_CHECK_PLAUSIBILITY
DATE_2D_TO_4D_CONVERSION
DAY_IN_WEEK
Input date and will give the name of the day 1-monday,2-Tuesday....
SD_DATETIME_DIFFERENCE
HOLIDAY_GET
Gives holidays for a country.It has two flags Freeday(for weekends)and Holiday(for public holidays).
FACTORYDATE_CONVERT_TO_DATE
returns the calendar date for the factory date and the factory calendar passed
DATE_CONVERT_TO_FACTORYDATE
returns the factory date for the date and factory calendar passed
F4_DATE
POPUP_TO_SELECT_MONTH
REUSE_ALV_LIST_DISPLAY
REUSE_ALV_GRID_DISPLAY
REUSE_ALV_FIELDCATALOG_MERGE
CHANGEDOCUMENT_READ_HEADERS
CHANGEDOCUMENT_READ
read change document headers and items to get the old and new values
CLOI_PUT_SIGN_IN_FRONT
RKD_WORD_WRAP
CONVERSION_EXIT_ALPHA_INPUT
CONVERSION_EXIT_ALPHA_OUTPUT
READ_EXCHANGE_RATE
Exchange Convertion
SPELL_AMOUNT
POPUP_TO_CONFIRM
POPUP_TO_GET_VALUE
SAPGUI_PROGRESS_INDICATOR
Displays a progress bar with text to denote the percentage of completion and status
FILENAME_GET
F4_DATE
POPUP_TO_SELECT_MONTH
GET_PRINT_PARAMETERS
Printer parameters
F4IF_INT_TABLE_VALUE_REQUEST
F4IF_FIELD_VALUE_REQUEST
RFC_CONNECTION_CLOSE
RFC_GET_SYSTEM_INFO
{+}Function modules related to reading/writing files on application server (named AS below) or Frontend +
FILE_READ_AND_CONVERT_SAP_DATA
Uploads the file from either presentation or application server into an internal table
SUBST_GET_FILE_LIST
ALSM_EXCEL_TO_INTERNAL_TABLE
WS_FILE_DELETE
PFL_COPY_OS_FILE
Copy AS files
EPS_GET_DIRECTORY_LISTING
FILENAME_GET
GUI_UPLOAD
GUI_DOWNLOAD
SO_NEW_DOCUMENT_ATT_SEND_API1
SO_NEW_DOCUMENT_SEND_API1
VIEW_MAINTENANCE_CALL
CURRENCY_AMOUNT_SAP_TO_IDOC
CLOI_PUT_SIGN_IN_FRONT
Move the negative sign from the left hand side of a number, to the right hand side of the number. Note that The result will be left justified (like all character fields), not right justifed as numbers normally are.
CONVERT_TO_FOREIGN_CURRENCY
CONVERT_TO_LOCAL_CURRENCY
CONVERT_AMOUNT_TO_CURRENCY
Convert an amount from a currency to another (exchange rate taken from database tables)
CONVERT_CURRENCY_BY_RATE
Convert an amount from a currency to another, according to the passed exchange rate
BAPI_CURRENCY_CONV_TO_EXTERNAL
BAPI_CURRENCY_CONV_TO_INTERNAL
CALCULATE_TAX_FROM_NET_AMOUNT
SPELL_AMOUNT
HR_IN_CHG_INR_WRDS
FOR_ALL_SKC1A
Account subtotal
VC_I_GET_CONFIGURATION
SD_PRINT_TERMS_OF_PAYMENT
SD_PRINT_TERMS_OF_PAYMENT_SPLI
J_1B_NF_DOCUMENT_READ
Read NF details
J_1B_NF_VALUE_DETERMINATION
HR_MAINTAIN_MASTERDATA
This function module is used to maintain master data for employees and applicants.
HR_READ_INFOTYPE
This function module reads the data records of an HR infotype that exist for employees and applicants.
HR_INFOTYPE_OPERATION
CU_READ_RGDIR
PYXX_READ_PAYROLL_RESULT
This function module reads complete payroll result for all country versions, from file PCL2 cluster.
HR_GET_PAYROLL_RESULTS
This function module is used to fetch the payroll results for employees .
HR_RELATION_MAINTAIN
This function module is to maintain the relation between employee and position.
BAPI_HRMASTER_SAVE_REPL_MULT