The Function Module QBCK_QM_GR_CHECK (Prüfen, ob WE durchgeführt werden darf) is a standard Function Module in SAP ERP and is part of the function group QBCK within the package QB.
Function Module | QBCK_QM_GR_CHECK |
Short Text | Prüfen, ob WE durchgeführt werden darf |
Function Group | QBCK |
Package | QB |
Module Type | Normal Module |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
I_BUDAT | LIKE | MBQSS-BUDAT | Buchungsdatum im Beleg | |
I_CONFIRM_ZG | LIKE | DM07M-XZGVH | SPACE | For BTCI: certificate is available |
I_FIRST_GR | LIKE | TQ05-ZGLIEF | SPACE | If 'X': first GR for purchase order |
I_GLOBAL_COUNTER | TYPE | MIGO_GLOBAL_COUNTER | Eindeutige Nummer für eine Zeile | |
I_LICHN | LIKE | QALS-LICHN | SPACE | Lieferantenchargennummer |
I_LIFNR | LIKE | QINF-LIEFERANT | Vendor number | |
I_MATNR | LIKE | QINF-MATNR | Material number | |
I_QMAT_AKTIV | LIKE | QMAT-AKTIV | SPACE | QMAT is active: Inspection lot should be create |
I_REVLV | LIKE | QINF-REVLV | SPACE | |
I_TQ05_ZGTYP | LIKE | TQ05-ZGTYP | SPACE | Certificate category from material master |
I_TQ08_QM_PUR | LIKE | TQ08-QM_PUR | SPACE | QM purchasing control key of the material |
I_WERK | LIKE | QINF-WERK | SPACE | Inspection plant |
I_XMBWL | LIKE | QM00-QKZ | SPACE | Aufruf im FBS-Modus (-> kein Dialog) |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
E_MSGART_SP | LIKE | TQ08-MSGART | Type of the message for blocking reason | |
E_MSGART_ZG | LIKE | TQ05-MSGART | Type of the message for certificate category | |
E_MSG_SP | LIKE | SY-FDPOS | Reason for block | |
E_MSG_ZG | LIKE | SY-FDPOS | Error reason for certificate category | |
E_NO_INSP_ABN | LIKE | QINF-NOINSPABN | No inspection, if a source inspection exists |
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 |
---|---|
NO_LIEFERANT | Vendor must be specified |
NO_MATERIAL | Material must be specified |
NO_QINF | No QINF record available although necessary |
NO_TQ04A | TQ04A key does not exist |
NO_TQ05 | TQ05 key does not exist |
NO_TQ08 | TQ08 key does not exist |
NO_WERK | Plant must be specified (for example, with purchase order) |