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:
-
Use transaction code VFBS to open the Functional Location program (SAPMILO0).
-
Edit the function code (subobject T185F) and set FCode to ZZ01.
-
Edit the paths between processing locations (subobject T185) and set the options listed in the following table.
-
Repeat steps 2-3 for the Equipment (SAPMIEQ0), Work Order (SALCOIH), and Notification (SAPLIQS0) programs.
Program | Option | Setting |
---|---|---|
Functional Location (SAPMILO0) |
Function Code |
ZZ01 |
Screen change module |
ZCALLEX_FL |
|
Program |
ZPM_CALLEX |
|
Equipment (SAPMIEQ0) |
Function Code |
ZZ01 |
Screen change module |
ZCALLEX_EQ |
|
Program |
ZPM_CALLEX |
|
Work Order (SALCOIH) |
Function Code |
ZZ01 |
Screen change module |
ZCALLEX_OR |
|
Program |
ZPM_CALLEX |
|
Notification (SAPLIQS0) |
Function Code |
ZZ01 |
Screen change module |
ZCALLEX_NO |
|
Program |
ZPM_CALLEX |