Ansicht
Dokumentation
MCP20012 - User Exit for Excluding Function Codes
rdisp/max_wprun_time - Maximum work process run time CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
This user exit enables you to disconnect functions.
They are switched to inactive in the menu.
Interface: (See SE37 for references) Meaning:
IMPORTING
I_T445P - Planning type information
I_T445A - Customizing settings of info structure
I_PARAM_ID - ParameterID (see example from exit *11)
I_FLG_KEYFIG_FORMAT - Flag: key figure view ( 'X' / ' ' )
TABLES
T_CHARACTERISTIC_VALUES -Current characteristic values
T_EXCLUDE_TAB - Exclude table to be filled
Example:
*----------------------------------------------------------------------*
* INCLUDE ZXSOPU12
*----------------------------------------------------------------------*
* ranges of the selection (naming convention is very important!!)
RANGES: sl_0001 FOR s001-KUNAG,
sl_0002 FOR s001-VKORG,
sl_0003 FOR s001-VTWEG,
sl_0004 FOR s001-SPART,
sl_0005 FOR s001-MATNR.
* check the planning type or info structure (i_t445a-gstru)
CHECK i_t445p-sctyp = 'Z_S001'.
* get the selection - criteria:
IMPORT sl_0001
sl_0002
sl_0003
sl_0004
sl_0005
FROM MEMORY ID i_param_id.
* is the characteristic value interesting
READ TABLE t_characteristic_values with key FIELDNAME = 'MATNR'
...
* check the USER -name
case sy-uname.
when 'XXXXXXX'.
* exclude the function 'Disaggregate line':
T_EXCLUDE_TAB = 'DIMA'.
append T_EXCLUDE_TAB.
endcase.
...
Vendor Master (General Section) General Material Data
This documentation is copyright by SAP AG.
Length: 2133 Date: 20240424 Time: 123335 sap01-206 ( 23 ms )