Ansicht
Dokumentation

BOOKSMODCUA - BOOKSMODCUA

BOOKSMODCUA - BOOKSMODCUA

General Material Data   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

In the user interface, certain function codes can be reserved for customers. The internal names of these function codes must begin with "+".

Initially, these function codes are inactive and thus do not appear in the user interface of the program. They are not visible until they have been activated by the customer.

In the program, there is generally a CALL CUSTOMER FUNCTION statement that allows customers to perform their own processing for a reserved function code. The additional function code and the function exit which follows are components of the same enhancement, and are activated together by the customer.

The application developer determines the point in the program at which additional function codes are read, creates the relevant functions in the user interface and assigns them to menus. These function codes cannot be assigned to pushbuttons, since they are defined as components of the enhancement with Transaction SMOD. The name of an enhancement component is derived from the name of the program and the name of the function.

The customer can change the pull-down menu text and activate the function code.

Example:

Program SAPMS38W:

(...)
CASE FCODE.
WHEN 'SAP'.
(...)
WHEN '+CUS'. ,,,,"Function code for menu enhancement
CALL CUSTOMER FUNCTION '001' (...)
(...)

Menu Painter:

Menu ABC:
SAP ,,(Pull-down menu text)
+CUS ,,(Pull-down menu text, can be overwritten by customer)
(...) ,,(...)

Enhancement:

Enhancement
S38W0002
with components
EXIT_SAPMS38W_001 ,,(Function exit)
SAPMS38W+CUS ,,(Reserved function code)






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1916 Date: 20240523 Time: 224257     sap01-206 ( 60 ms )