Here you will find simple examples related to various important function modules available in SAP.
Function Modules Related To Time, Date, Year, Month & Date Formats:
CONVERSION_EXIT_LDATE_OUTPUT - Internal date OUTPUT conversion exit (e.g. YYYYMMDD).
ADD_TIME_TO_DATE - Add TIME To DATE.
FIMA_DATE_CREATE - Get The End Date Of Any Month Or Year.
CALCULATE_DATE - Increase/decrease DATE by a specific number of Days/Months.
HR_GBSSP_GET_WEEK_DATES - Fetch Sunday Prior To Any Date.
DATE_GET_WEEK - Returns Week For A Date.
Function Modules Related To HR ABAP:
HR_IN_CHG_INR_WRDS - Changes INR amount To Words.
HR_ENTRY_DATE - Determine The Entry Date Of An Employee.
HR_READ_INFOTYPE - Read Employee/Applicant Data From Infotypes.
RH READ INFTY - Read Infotype for Object Set / Read All Infotypes of an Object.
HRCM_ORGUNIT_MANAGER_GET - Get Managers List For All The Organization Units.
HRCM_ORGSTRC_EMPLOYEE_LIST_GET - Get Employees List Working Under An Organization Unit.
Function Modules Related To Number, Amount, Words:
SPELL_AMOUNT - Convert Any Number Into Words.
CLOI_PUT_SIGN_IN_FRONT - Place Negative Sign Before A Number.
CLOI_PUT_SIGN_IN_FRONT - Rounding Off A Value To A Particular Decimal Length.
Function Modules Related To Workflow:
CLOI_PUT_SIGN_IN_FRONT - Mass Approvals For The Leave Request Workflow.