Open all | Close all

Getting the LATEST information!

To ensure you are getting the latest information please vist this page on the new domain for SAP Development


Read infotype data

Read infotype information via the use of a function module. Simply replace the infotype number '0002' and
result table structure(infty_tab) with your required infotype (i.e. 0000, 0001, 0002, 0003 etc etc). 
CALL FUNCTION 'HR_READ_INFOTYPE'
         EXPORTING
*          TCLAS                 = 'A'
           pernr                 = wa_repdata-staff_id
           infty                 = '0002'
*          BEGDA                 = '18000101'
*          ENDDA                 = '99991231'
*          BYPASS_BUFFER         = ' '
*          LEGACY_MODE           = ' '
*        IMPORTING
*          SUBRC                 = 
         tables
           infty_tab             =  p0002
        EXCEPTIONS
          INFTY_NOT_FOUND       = 1
          OTHERS                = 2.