Hypertext: Object Class - Class to which a document belongs.
Document Name
WIS_PLAN_00992
In this process, you can list your customer-specific menu functions for a planning layout in manual planning. Function codes in the program GUI status are used to list menu functions. Menu functions can be run in two ways:
In an external program for manual planning: the function is run in the form routine 'EW010_FCODE' for the external program. This program does not allow access to manual planning data. The name of the external program must be defined in this IMG activity and the form routine mentioned above must also exist in the program. The form routine must be defined as follows: FORM ew010_fcode USING fcode mesg STRUCTURE mesg. CASE fcode. WHEN ... ENDCASE. ENDFORM. The function code is available in parameter 'fcode'. An error message can be sent to manual planning in parameter 'mesg'. The error message is then displayed in manual planning (see the definition of structure 'mesg' in the Data Dictionary).
In the planning program: no program name is stated for this IMG activity. The function is run using SAP enhancement WISPL007, which must be activated accordingly (see IMG activitiy WIS_PLAN_0177). You have full access to the current planning data. Depending on the specific function class you have chosen, you can limit the
data to be processed when running manual planning.
Example
Requirements
Customer-specific function codes must begin with 'Z'. Function codes are important elements in GUI status. The GUI status is created using the menu painter for the ABAP Workbench and is listed for manual planning using IMG activity WIS_PLAN_00991.
To run a function code in manual planning, enhancement WISPL007 must be active. Furthermore, the function must already have been implemented in the enhancement.