Fonction SAP BELEGKOPF_LESEN - Access routine for accounting document headers

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BELNR BKPF-BELNR C 10 Document number
BUKRS BKPF-BUKRS C 4 Company code
GJAHR BKPF-GJAHR N 4 '0000' X Fiscal year

Paramètre Reférence Type Long. Description
ANZAHL 0 Number of found document headers
BKPF BKPF u 697 Document header

Paramètre Reférence Long. Facultatif Description
GJTAB 0 Table of the fiscal years

Exception Description
NOT_FOUND No document headers were found