The Function Module PCA_DOCUMENT_TYPE_CHECK (EC-PCA: Verprobung Belegart und ggf. externe Belegnummer) is a standard Function Module in SAP ERP and is part of the function group PCPO within the package KE1.
Function Module | PCA_DOCUMENT_TYPE_CHECK |
Short Text | EC-PCA: Verprobung Belegart und ggf. externe Belegnummer |
Function Group | PCPO |
Package | KE1 |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
I_DOCNR | LIKE | GLPCA-DOCNR | SPACE | Belegnummer (bei externer Belegnummernvergabe) |
I_DOCTY | LIKE | T889-DOCTY | Belegart | |
I_LANGU | LIKE | SY-LANGU | SY-LANGU | Sprache |
I_PLACT | LIKE | T889-PLACT | lokaler ('0'/'1') oder Rollup-Beleg (' ') | |
I_RBUKRS | LIKE | GLPCT-RBUKRS | SPACE | Buchungkreis |
I_RYEAR | LIKE | GLPCT-RYEAR | SPACE | Geschäftsjahr |
I_TEXTFLAG | LIKE | SY-DATAR | SPACE | Flag: Text der Belegart lesen |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
E_BLTXT | LIKE | T889TE-TXT | Text Belegart | |
E_NRIV | LIKE | NRIV | Informationen zum Nummernkreisintervall | |
E_T889 | LIKE | T889 | Steuerungsinformation zur Belegart | |
E_T889A | LIKE | T889A | Informationen zur Belegart |
This function module does not define any CHANGING parameters.
This function module does not define any TABLE parameters.
These are the Exceptions of this function module.
Exception Name | Short Text |
---|---|
DOCNR_ALREADY_EXIST | externe Belegnummer wurde schon einmal vergeben |
DOCTY_NOT_VALID | Belegart ungültig |
EXTERNAL_NUMBER_NOT_ALLOWED | externe Belegnummernvergabe nicht erlaubt |
INTERNAL_NUMBER_RANGE | Belegnummer wird intern vergeben |
MISSING_DOCNR | externe Belegnummer fehlt |
NO_RANGE_FOUND | kein Nummernkreisintervall gepflegt |
OBJECT_NOT_VALID | Nummernkreisobjekt ungültig |
WRONG_PARAMETER | widersprüchliche oder falsche Eingaben |
WRONG_PLACT | falsches Kennz. lokaler/Rollup-Beleg |