Link the Subroutines To The Programs

Linking the ABAP subroutines to the SAP programs adds custom functionality to the programs. You do this with a custom function code ZZ01.

To link the subroutines to the programs:

  1. Use transaction code VFBS to open the Functional Location program (SAPMILO0).

  2. Edit the function code (subobject T185F) and set FCode to ZZ01.

  3. Edit the paths between processing locations (subobject T185) and set the options listed in the following table.

  4. Repeat steps 2-3 for the Equipment (SAPMIEQ0), Work Order (SALCOIH), and Notification (SAPLIQS0) programs.

Processing location options
Program Option Setting

Functional Location (SAPMILO0)

Function Code

ZZ01

Functional Location (SAPMILO0)

Screen change module

ZCALLEX_FL

Functional Location (SAPMILO0)

Program

ZPM_CALLEX

Equipment (SAPMIEQ0)

Function Code

ZZ01

Equipment (SAPMIEQ0)

Screen change module

ZCALLEX_EQ

Equipment (SAPMIEQ0)

Program

ZPM_CALLEX

Work Order (SALCOIH)

Function Code

ZZ01

Work Order (SALCOIH)

Screen change module

ZCALLEX_OR

Work Order (SALCOIH)

Program

ZPM_CALLEX

Notification (SAPLIQS0)

Function Code

ZZ01

Notification (SAPLIQS0)

Screen change module

ZCALLEX_NO

Notification (SAPLIQS0)

Program

ZPM_CALLEX

2023