Ansicht
Dokumentation

EHQM0901 - EH&S-QM: Determine QM Code

EHQM0901 - EH&S-QM: Determine QM Code

CPI1466 during Backup   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

This SAP enhancement is used to determine QM codes, QM code groups, and QM selected sets when creating QM inspection plans.

If qualitative inspection characteristics are to be created for an inspection plan, their positive and negative variants are included using codes that are grouped in selected sets. As phrases and not these codes have to be stored in the specification database whose data forms the origin of the inspection plans and that was created with the EH&S-QM interface, the phrases must be converted to codes. It is sometimes the case that both codes and code groups to which a code is uniquely assigned, and selected sets are to be created, and their names must be set by this SAP enhancement.

It is possible to use the data passed at the interfaces of the function modules to determine names. Number range objects can also be used and an interval defined for internal number assignment, so that a sequential number is used as a name. You should note that any name must always be unique. This means, in particular, that the names assigned by the user in the dialog box for the QM component cannot be assigned again here.

The use of number range objects when assigning codes is limited because codes contain four characters only, and internal number assignment permits only numerical characters. To increase the number of codes that can be assigned, you could consider the use of an algorithm that first uses internal number assignment and then determines a unique alphanumeric code.

We therefore strongly recommend that you activate this SAP enhancement and implement your own assignment of codes, code groups, and selected sets.

The following number range objects exist:

  • Determining codes: EHQMN_CODE
  • Determining code groups: EHQMN_GRP
  • Determining selected sets: EHQMN_SLST

The following function modules, which are used if this SAP enhancement is not active, can be used as a template for determining codes, code groups, and selected sets:

  • EHQM09_GET_NUMBER_CODE
  • EHQM09_GET_NUMBER_GRP
  • EHQM09_GET_NUMBER_SLST

Function module to determine codes

  • Import parameters
  • I_SHORTTTEXT: Short text that is assigned to the code when it is created at a later stage

  • I_LANGU: Language of short text

  • I_ADDITIONAL_SETTINGS: This structure does not contain parameters. It can be extended.

  • Export parameters
  • E_CODE: Code

  • E_ADDITIONAL_SETTINGS: This structure does not contain parameters. It can be extended.

Function module to determine code groups

  • Import parameters
  • I_PHRGRP: Phrase group to which the code group is assigned. The phrase group can be initial if a class characteristic contains a qualitative entry in the specification database, which is not a phrase.

  • I_ADDITIONAL_SETTINGS: This structure does not contain parameters. It can be extended.

  • Export parameters
  • E_CODEGRP: Code group

  • E_STATUS: Status

  • E_SHORTTEXT: Short text

  • E_LANGU: Language of short text

  • E_ADDITIONAL_SETTINGS: This structure does not contain parameters. It can be extended.

Function module to determine selected sets

  • Import parameters
  • I_CODE_TAB: Table with the codes that are to be contained in the selected set at a later stage

  • I_ADDITIONAL_SETTINGS: This structure does not contain parameters. It can be extended.

  • Export parameters
  • E_AUSWAHLMGE: Selected set

  • E_KSP01: Language

  • E_KTX01: Short text

  • E_STATUS: Status of selected set

  • E_ADDITIONAL_SETTINGS: This structure does not contain parameters. It can be extended.

Note

Code, code group, and selected set cannot be created in this SAP enhancement. Only the names can be specified.






General Data in Customer Master   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 5643 Date: 20240426 Time: 195555     sap01-206 ( 73 ms )