Read an info type

DATA:
    it_p2010 type standard table of p2010.




    REFRESH it_p2010.
    CALL FUNCTION 'HR_READ_INFOTYPE'
      EXPORTING
        pernr     = wa_teven-pernr ”Personnel number
        infty     = '2010'         ”Info type 
        begda     = wa_teven-ldate ”Start date 
        endda     = wa_teven-ldate ”End date
      TABLES
        infty_tab = it_p2010.
    IF sy-subrc <> 0.
    ENDIF.


 
Converted from CHM to HTML with chm2web Standard 2.7 (unicode)