SAP Function BELEGPOSITION_LESEN - Retrieve items of an accounting document

Parameter Reference Type Length Default Optional Text
BELNR BKPF-BELNR C 10 Document number
BUKRS BKPF-BUKRS C 4 Company code
BUZEI BSEG-BUZEI N 3 '000' X Line item
GJAHR BKPF-GJAHR N 4 Fiscal year

Parameter Reference Type Length Text
ANZAHL 0 Number of the found items

Parameter Reference Length Optional Text
XBSEG 0 Table of the line items

Exception Text
NOT_FOUND No items were found