Open all | Close all

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.


SAP ABAP development help
More SAP ABAP development help and information


ABAP code and information
More SAP ABAP development tips and tricks

 
 

Number of SAP Development Users currently online hit counters