QM Open Notice
QM Open Notice is a blog post series about topics, which can be useful when working with Quality Management.
Overview
Current blog post helps to review the statuses of QM objects.
In detail
- As first step the database table of the affected QM object needs to be identified. Here is some guidance with most frequent objects:-
Table name Short text QALS Inspection lot record QALT Partial lot QCVK Certificate profile header QINF QM-info record for material and vendor QMEL Quality Notification QMSM Quality notification – tasks QPRS Master Record for Material Samples - Open table in transaction SE16 and note the value of field OBJNR (Object number) and also STSMA (Status Profile), if available. If STSMA is not available in the tables listed above, check the status profile in table JSTO for the object number.
- Here is an example with table QALS in case of an inspection lot:
- Here is an example for table QMEL and JSTO in case of a quality notification:
- Here is an example with table QALS in case of an inspection lot:
- Check the statuses of this object in table JEST, transaction is still SE16. Example:
- STAT – Object status. Starting with ‘I’ means system status, while ‘E’ is user status.
- INACT – Indicator: Status Is Inactive. If the value is X, the status is currently inactive.
- CHNGR – Change number. It basically means how many times the status was switched between active and inactive. In the example above I0002 was active, then inactive, that is CHNGR = 002.
- To have a better overview, reveal the text of these statuses. To do that, copy the STAT values to the clipboard (use SAP GUI function ‘Quick Cut & Paste’ or simply CTRL+C) and check in table TJ02T for system statuses and TJ30T for user statuses in transaction SE16. Examples:-
- table TJ02T:
It worth to filter on language by field SPRAS (Language Key).
- table TJ30T:
- table TJ02T:
- To better understand what are the influence of these statuses, open transaction BS23 and access ‘Where-used list’ for the affected status. Example:
According to the ‘Where-used list’ of status I0218 (UD), the business process ‘QM02 – Choose task list for insp. lot’ is prohibited while the UD status is active.
IMPORTANT: do not mix transactions and business processes. As for example transaction QM02 is to change quality notifications, while the business process QM02 is to choose task list (they just have same ID). A business process cannot be called via the Command Field, as a transaction, but they are used inside the programs. Worth to mention function modules working with business processes:
QAST_PROCESS_ACTIVITY
STATUS_CHANGE_FOR_ACTIVITY - Last, but not least, if more information is needed on the business process itself, call transaction BS33 and use the ‘Where-used list’ similar to step 5.
Known problem & solution
Feel free to share your experience/feedback in the Comment Section. Thank you.
Original Article:
https://blogs.sap.com/2020/05/10/qm-open-notice-6-quick-guide-to-review-system-and-user-statuses-for-qm-objects/