QM
BAPI
RFC
Used the same way in S/4HANA
BAPI_QPMK_SAVEREPLICA Replicate Master Inspection Characteristics (ALE)
Saves master inspection characteristics received from another system, including texts, assigned inspection methods and long texts. It is the inbound side of ALE distribution of QM master data and can also be called for migration. Pass header and text tables together and check RETURN before committing.
- Function group
- QPMK
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| MSTCHA | BAPIQPMK_QPMK | Master inspection characteristics | Yes |
| MSTCHA_TEXT | BAPIQPMK_QPMT | Characteristic short texts | Yes |
| MSTCHA_INSP_METH | BAPIQPMK_QPMZ | Assigned inspection methods | — |
| MSTCHA_LONGTEXT | BAPIQPMK_LONGTEXT | Characteristic long texts | — |
| MSTCHA_SMPL_LTXT | BAPIQPMK_SMPL_LTXT | Sampling long texts | — |
| EXTENSION1 | BAPIEXTC | Customer enhancement (container) | — |
| RETURN | BAPIRET2 | Return messages | Yes |
Call template (ABAP)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
CALL FUNCTION 'BAPI_QPMK_SAVEREPLICA'
TABLES
mstcha = lt_mstcha
mstcha_text = lt_mstcha_text
mstcha_insp_meth = lt_mstcha_insp_meth
mstcha_longtext = lt_mstcha_longtext
mstcha_smpl_ltxt = lt_mstcha_smpl_ltxt
extension1 = lt_extension1
return = lt_return.Related tables
Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.