You can use this function to call certain SAP functions while maintaining the PI sheet. Function modules created for the SAP functions to be called are used to realize the function call.
The function module to be called must be defined in the Function Builder and must be active.
The SAP standard system contains a number of predefined function modules. The corresponding function calls are defined in Customizing of the SAP reference client for Process Management .
The following table provides an overview of the functions you can call together with the corresponding function modules and the function calls.
SAP Function Called |
Function Module |
FunctionCall |
---|---|---|
Calling of any transaction |
COPF_CALL_ TRANSACTION |
TA_CALL |
Order confirmation for phases |
COPF_ENTER_CONFIRMATION |
CONF_PH (for phases) |
Display material quantity calculation from order |
COPF_MATERIAL_QUANTITY_CALC |
MAT_CALC |
Display of documents created in the SAP document management system |
COPF_DOCUMENT_SHOW_DIRECT |
DOC_SHOW |
Calculation of the duration of time intervals |
COPF_DETERMINE_DURATION |
C_DURAT |
Calculatethe start date of a time interval |
COPF_DETERMINE_START_TIME |
C_STRT_T |
Calculation of the end date of a time interval |
COPF_DETERMINE_END_TIME |
C_END_T |
Creation of physical-sample records for quality inspections during production |
QPRS_PI_NEW_SAMPLE_DRAW_XS |
QMJMP_NS |
Process sample drawing(e.g. release/lock physical sample) |
QPRS_PI_SAMPLE_DRAW_PROC_XS |
QMJMP_SD |
Recording of inspection results in QM |
COPFX_QM_INSPECTION_RESULT_REC_XS |
|
Sample function module for check function |
COPF_VALIDATION_FUNCTION_TEST |
Note
You can also use process instruction categories QMJMP and QMJMP_PH to call up inspection results recording from the PI sheet. In the SAP system, however, these process instructions are not defined as dynamic function calls but as inspection results requests.
For details on the individual function modules, see the corresponding section below.
You must make the following settings for dynamic function calls:
For more detailed information on the necessary settings, see the documents listed above.