Code: Alles auswählen.
DATA:
g_f_pernr TYPE p_pernr VALUE '1051',
g_f_pabrj TYPE pabrj VALUE '2002',
g_f_pabrp TYPE pabrp VALUE '01',
g_r_get_pt TYPE TABLE OF pdcpt.
CALL FUNCTION 'HR_TIME_RESULTS_GET'
EXPORTING
get_pernr = g_f_pernr
get_pabrj = g_f_pabrj
get_pabrp = g_f_pabrp
TABLES
get_pt = g_r_get_pt
EXCEPTIONS
no_period_specified = 1
wrong_cluster_version = 2
no_read_authority = 3
cluster_archived = 4
technical_error = 5
OTHERS = 6.