Ansicht
Dokumentation
QST05_PLMKB_SELECT - NOTRANSL: Table Control zur Auswahl u. Änderung von Prüfvorgaben
PERFORM Short Reference BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Functionality
This function module provides the flexible inspection specifications function.
Previously determined inspection specifications, which are stored in the internal tables CT_PLMKB_TAB (characteristics table) and CT_QAPO_TAB (operations table), can be changed.
A popup displays a table control with all the previously read characteristic specifications.
In this popup you can select the characteristics that are actually relevant for the inspection, that is, which should be copied into the inspection lot. Certain specifications can also be changed, for example:
- Operation short text
- Characteristic short text
- All limit pairs (lower/upper tolerance, limit value pair 1 and 2, plausibility limits)
- Target value
- Decimal places
- Inspection method
- All information fields for the characteristic
- Sampling procedure
- Selected set
- Control indicator RZWANG (Mandatory/Optional)
The specification tables are changed or pared down in accordance with the characteristics that were actually selected, and then passed on for further processing.
The output table ET_PLMKBS_TAB contains the characteristic specifications that were actually selected and, if necessary, changed.
If errors arise during the selection of characteristics or when changing specifications, these are gathered in a log and then listed in a further popup.
The function module can also be used within results recording for changing inspection specifications. The importing parameter i_res_rec is required for this.
Example
The function module is, for example, used in the stability study within the BAdI implementation QPAP_FLEX_PLAN_16 for BAdI QPAP_FLEX_PLAN (in module QPAP_PLAN_READ).
The function is offered depending on the inspection lot origin (filter value of the BAdI).
Customer-specific BAdI implementations or the use of this function mosule in a suitable User Exit are possible.
Notes
When using the module within the stability study, corresponding authorization checks are implemented (see BAdI implementation QPAP_FLEX_PLAN_16). In addition, the call of the module is dependent on certain status values in the inspection lot.
This should be taken into account for customer-specific uses.
Documentation for flexible inspection specifications is also provided in the BAdI implementation for the stability study (see implementation QPAP_FLEX_PLAN_16):
If the specifications for a selected characteristic are changed, then the field ET_PLMKBS_TAB-QPMK_REF is filled accordingly (value 9). This value is passed on to the database table of characteristic specifications QAMV.
In addition, a special status ("FLEX") is written in the inspection lot if the flexible inspection specifications function is actually used, that is, not all characteristics in the task list were selected or specifications were changed.
For tracking reasons, this flexible inspection specifications documentation should also be implemented for customer-specific uses of the existing module.
Further information
Parameters
CT_PLMKB_TABCT_QAPO_TAB
ET_PLMKBS_TAB
IT_PLPOB_TAB
I_QALS
I_RES_REC
I_SEL_MULT
Exceptions
ERROR_IN_PLMKB_TABX_NO_CHAR_SELECT
Function Group
QST05CL_GUI_FRONTEND_SERVICES - Frontend Services Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 3867 Date: 20240523 Time: 124942 sap01-206 ( 61 ms )