BAPI DOCUMENT GETLIST
Function Module:
BAPI_DOCUMENT_GETLIST
Functionality
You
can use this BAPI to find one or more documents. The result is a list
of documents that match the selection criteria. You can use the
following data as search criteria:
- Document type
- Document number (as a value range from ... to ...)
- Document part
- Document version
- Description
- User
- Authorization group
- Laboratory/office
- Change number
- Deletion indicator
- Data carrier
- CAD indicator
- Application
- Document status
You
can use the MAXROWS parameter to restrict the hit list of documents
selected. As a result, it may be the case that not all the document
info records in the system that match the selection criteria are
displayed. The number of records actually found is returned in
parameter FOUNDROWS . BAPI_DOCUMENT_GETLIST2 contains further selection
criteria.
Pattern:CALL FUNCTION 'BAPI_DOCUMENT_GETLIST'
" EXPORTING
" DOCUMENTTYPE = ' '
" DOCUMENTPART = ' '
" DOCUMENTVERSION = ' '
" DESCRIPTION = ' '
" LANGUAGE = SY-LANGU
" LANGUAGEISO = ' '
" USERNAME = ' '
" AUTHORITYGROUP = ' '
" ECNUMBER = ' '
" LABORATORY = ' '
" DELETEINDICATOR = ' '
" DATACARRIER = ' '
" CADINDICATOR = '*'
" WSAPPLICATION = ' '
" STATUSEXTERN = ' '
" STATUSINTERN = ' '
" MAXROWS = 0
" IMPORTING
" RETURN =
" FOUNDROWS =
TABLES
" DOCNUMBERSELECTION =
DOCUMENTLIST =
.