Type 6: Dynamic Function Calls 

Use

You can use this function to call certain R/3 functions while maintaining the PI sheet. Function modules created for the R/3 functions to be called are used to realize the function call.

Prerequisites

The function module to be called must be defined in the Function Builder and must be active.

Features

Function Calls Defined by SAP

The 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.

R/3 Function Called

Function Module

Function Call

Calling any transaction

COPF_CALL_
TRANSACTION

TA_CALL

Order confirmation for phases

COPF_ENTER_
CONFIRMATION

CONF_PH (for phases)

Displaying material quantity calculation from order

COPF_MATERIAL_
QUANTITY_CALC

MAT_CALC

Displaying documents created in the in the R/3 document management system

COPF_DOCUMENT_
SHOW_DIRECT

DOC_SHOW

Calculating the duration of time intervals

COPF_DETERMINE_
DURATION

C_DURAT

Calculating the start date of a time interval

COPF_DETERMINE_
START_TIME

C_STRT_T

Calculating the end date of a time interval

COPF_DETERMINE_
END_TIME

C_END_T

Creating physical-sample records for quality inspections during production

QPRS_PI_NEW_
SAMPLE_DRAW

QMJMP_NS

Processing sample drawing
(e.g. release/lock physical sample)

QPRS_PI_SAMPLE_
DRAW_PROCESSING

QMJMP_SD

 

You can also use process instruction categories QMJMP and QMJMP_PH to call up inspection results recording from the PI sheet. In the R/3-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.

Structure of Dynamic Function Calls

You must make the following settings for dynamic function calls:

For more detailed information on the required settings, see the documents listed above.