SAP HR ABAP, HCM Training Material and Tutorials

03
Nov

Useful function modules in ABAP-HR

Bookmark and Share

  

RS_PROGRAM_CHECK_NAME: To check program names if you are generating them.

RS_CORR_INSERT : To insert the correction request in the repository.

REPS_OBJECT_ACTIVATE: To activate repository objects, for example – to activate a newly generated program.

RS_DELETE_PROGRAM: To delete the program.

RS_ACCESS_PERMISSION: To lock or unlock a program.

 

Function Modules related to Date and Time Calculations

CALCULATE_DATE: Calculates the future date based on the input .

DATE_TO_DAY: Returns the Day for the entered date.

DATE_COMPUTE_DAY: Returns weekday for a date

DATE_GET_WEEK: Returns week for a date

RP_CALC_DATE_IN_INTERVAL: Add days / months to a date

 

Function Modules related to (ALV) ADVANCED LIST VIEWER

REUSE_ALV_LIST_DISPLAY: ABAP List viewer (LIST DISPLAY)

REUSE_ALV_GRID_DISPLAY: ALV GridControl full screen

REUSE_ALV_FIELDCATALOG_MERGE: Create field catalog from dictionary structure or internal table

Function Module related to Change Tracking

CHANGEDOCUMENT_READ_HEADERS: Read and format change documents

DAY_ATTRIBUTES_GET: Returns attributes for a range of dates specified

MONTHS_BETWEEN_TWO_DATES: To get the number of months between the two dates.

END_OF_MONTH_DETERMINE_2: Determines the End of a Month.

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: Get the names of the month 

IDWT_READ_MONTH_TEXT: Get the MONTH TextWEEK_GET_FIRST_DAY : Get the first day of the week

HRGPBS_HESA_DATE_FORMAT: Format the date in dd/mm/yyyy format

SD_CALC_DURATION_FROM_DATETIME: Find the difference between two date/time and report the difference in hours

L_MC_TIME_DIFFERENCE: Find the time difference between two date/time

HR_99S_INTERVAL_BETWEEN_DATES: Difference between two dates in days, weeks, months

LAST_DAY_OF_MONTHS: Returns the last day of the month

DATE_CHECK_PLAUSIBILITY: Check for the invalid date.

DATE_2D_TO_4D_CONVERSION: Year entry: 2-character to 4-character.

DAY_IN_WEEK: Input date and will give the name of the day 1-monday,2-Tuesday….

SD_DATETIME_DIFFERENCE: Give the difference in Days and Time for 2 dates

Function Modules Related To Formatting

CLOI_PUT_SIGN_IN_FRONT: Displays the negative sign in front of the numeral.

RKD_WORD_WRAP: Wrap text into several lines

CONVERSION_EXIT_ALPHA_INPUT: Pad zeros to the number at the left

CONVERSION_EXIT_ALPHA_OUTPUT: Eliminate zeros to the number at the left

READ_EXCHANGE_RATE: Exchange Conversion

SPELL_AMOUNT: Transforms numeric values into text

Function Modules Related To Dialog Prompts

POPUP_TO_CONFIRM: Displays a popup dialog with a user defined message for confirmation

POPUP_TO_GET_VALUE: Displays a popup dialog requesting a value for a particular table-fieldname

SAPGUI_PROGRESS_INDICATOR: Displays a progress bar with text to denote the percentage of completion and status

FILENAME_GET: Displays a popup dialog to get the presentation server filename

F4_DATE: Displays a popup dialog to choose date

POPUP_TO_SELECT_MONTH: Display a pop-up to select a month

GET_PRINT_PARAMETERS: Printer parameters

Function modules related to RFC communication

RFC_CONNECTION_CLOSE: Close a RFC connection

RFC_GET_SYSTEM_INFO : Give system’s information of a remote system

Function modules related to reading/writing files

FILE_READ_AND_CONVERT_SAP_DATA: Uploads the file from either presentation or application server into an internal table

SUBST_GET_FILE_LIST: To get the list of files from Application Server.

ALSM_EXCEL_TO_INTERNAL_TABLE: Legacy Data Transfer w/ Excel

WS_FILE_DELETE: Delete files on UNIX server

PFL_COPY_OS_FILE: Copy UNIX files

EPS_GET_DIRECTORY_LISTING: Returns all files from a Server directory

Function Modules related to sending emails

SO_NEW_DOCUMENT_ATT_SEND_API1 – Sends emails with texts and attachments
SO_NEW_DOCUMENT_SEND_API1 – Sends emails with texts.

Function Modules related to F4 Help

F4IF_INT_TABLE_VALUE_REQUEST – F4 help also returning the value to be displayed in internal table

Function Modules related to data maintenance

VIEW_MAINTENANCE_CALL – To maintain data from a table

Function Modules related to FI, CO and SD Modules

FOR_ALL_SKC1A : Account subtotal

VC_I_GET_CONFIGURATION : Sales Purchase details configuration

SD_PRINT_TERMS_OF_PAYMENT : Print terms for unique payment

SD_PRINT_TERMS_OF_PAYMENT_SPLI : Print terms for some parcels payment

J_1B_NF_DOCUMENT_READ : Read NF details

J_1B_NF_VALUE_DETERMINATION : Read values from NF returned combined with J_1B_NF_DOCUMENT_READ using.

 

Related Posts

19 Responses to “Useful function modules in ABAP-HR”

  1. 1
    Abhi Says:

    Nice post…is very useful

  2. 2
    Ramakrishna Says:

    Hi Abhi,

    thanks for your comment…… Keep watching for updates….

  3. 3
    Natraj Says:

    Very good introduction about HR. Thank you.

  4. 4
    Ramakrishna Says:

    Hi Natraj,

    You are welcome… If you have any material and you are interested to share with this community reach me through contact page

  5. 5
    Sri Says:

    Thnx Ramakrishna….its very much useful…..

  6. 6
    Sohail Says:

    Hi Ramakrishna,

    Do you know any function module that moves/copies a file from sap application server to presentation server and viceversa?

  7. 7
    Ramakrishna Says:

    Hi sohail,

    As of my knowledge we do not have any FM to read the data from application server and write the data from application server. we use open data set and close data set to read or write for application server.

    use the below code to read the data from application server. instead of file name in the code use the file path of application server file path.

    OPEN DATASET filename FOR INPUT IN TEXT MODE DEFAULT ENCODING.

    DO.

    READ DATASET filename INTO wa_PERNR.

    IF SY-SUBRC NE 0.

    EXIT.

    ELSE.

    Append wa_PERNR to it_pernr.

    clear wa_PERNR.

    ENDIF.

    ENDDO.

    CLOSE DATASET filename.

    do let me know if you need more information on this.

  8. 8
    P.Kavitha Says:

    Nice material about HR material

  9. 9
    Shiraz Says:

    I have taken HR ABAP training from Ramakrishna and I found his training to be extremely helpful. His practical knowledge of the subject and teaching skills are extraordinary. I highly recommend this training for those who are serious about HR ABAP.

  10. 10
    admin Says:

    Hi Shiraz,

    Thanks for your valuable feedback ….

  11. 11
    Ashu Says:

    Helpful information to new comers in HR

  12. 12
    Mujtaba Says:

    How i can move multiple line through READ_TEXT function module.

    Please help me this is urgent

  13. 13
    Sreenivas Says:

    I Trained HR ABAP from Ramakrishna and his training is very much useful. Mainly in payroll his way of teaching is very different from others.And i seen his home page for HR ABAP I found Valuable information .
    Thanks Ramakrishna.

  14. 14
    Ravindranath Says:

    Hi,
    Please provide the ABAP HR training details,course plan,course cost and mode of payments.

  15. 15
    ravindranath Says:

    Hi Srinivas,

    How you approached ramakrishna to get trained in ABAP HR.Please give me information.

    Thanks in advance.

  16. 16
    Florinda Geidl Says:

    Thanks for this interesting information.

  17. 17
    Kumar Says:

    I got trained in HR ABAP from Ramakrishna. In short his training is "EXCELLENT"…perfect person to learn from. The best is he gives examples to each and every topic ang good programing skills..

    Thanks Ramakrishna.

  18. 18
    Nitin Says:

    good materials…..

    Thanks for all the information.

  19. 19
    Prabha Says:

    hi rama krishna….
    Which FM do you use to find out who is reporting to whom ?

Leave a Reply

© 2012 SAP HR ABAP, HCM Training Material and Tutorials | Entries (RSS) and Comments (RSS)

Design by Web4 Wordpress Themes, © SAP HR ABAP, HCM Training Material and Tutorials 2012 | Theme design by Data sub systems.
SAP is a registered Trademark of SAP AG. Abaphr.com is not affiliated to SAP AG or any of its subsidiaries.