19.3.11

SAP Note 25276 - SAP enhancement concept CMOD: Activation

Symptom:

The statement CALL CUSTOMER-FUNCTION is not executed.

Cause and prerequisites
    1. The respective function module must be allocated to a customer enhancement project, the project must be activated (transaction CMOD).
    2. In rare cases, the function group which contains the module is not generated; or the calling program is not generated.
    3. Missing table entries (transport error)
Solution
    1. Check (transaction CMOD), whether the project in question is active.

If the project is inactive: activate it,

If the project is already active: deactivate and then reactivate it.

    2. Regenerate the function group/calling program (the name should be taken from the name of the function exit).
    3. Check whether the corresponding entries exist:

In CMOD, display the components of the project, including respective SAP enhancements as well as their components (function exits, menu options, screen areas).

      a) If only SAP enhancements are displayed, but no components, entries are missing in the table MODSAP (components of the SAP enhancements).

Restore the entries in MODSAP with a further transport, deactivate the project and reactivate it.

      b) If nothing is displayed, entries are missing in MODACT (components of the customer projects).

Delete the project, recreate and reactivate it. (By deletion of the project, any source code already entered is NOT lost.)
Note 12831 contains a check report which lists all inactive function modules in active projects or all active function modules in inactive projects.

Additional key words

CMOD, SMOD, user exits, function exits

No comments:

Post a Comment