Hierarchy

⤷

⤷

⤷

IMG Activity
ID | PK_CCY_SELECTION | BAdI: Defining User-Specific Select. Screens f. Maintaining Control Cycles |
Transaction Code | S_KA5_12001384 | (empty) |
Created on | 20021220 | |
Customizing Attributes | PK_CCY_SELECTION | BAdI: Defining User-Specific Select. Screens f. Maintaining Control Cycles |
Customizing Activity | PK_CCY_SELECTION | BAdI: Defining User-Specific Select. Screens f. Maintaining Control Cycles |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | PK_CCY_SELECTION |
Use
This Business Add-In (BAdI) is used in the KANBAN (PP-KAB) component.
Using this BAdI, you can replace the selection screen in the initial screen of transaction PKMC or the selection screen for the Enhanced Control Cycle Selection with a selection screen of your own.
Requirements
You are recommended to create your own function group in which your own screens are defined and where the selection data can be saved (see example: Function group MPK_EXAMPLE).
Standard settings
If you do not define any user-specific selection screens the system uses the standard selection screens.
Activities
First create an implementation of the Business Add-In. PK_CCY_SELECTION
an.
Selection Screen on Initial Screen
If you want to replace the small selection screen on the initial screen of transaction PKMC with a selection screen of your own, you first have to define a user-specific screen as a subscreen (see function group: MPK_EXAMPLE, Dynpro: 0100). If you want to use the enhanced control cycle selection, you have to create a pushbutton on your screen which triggers the function code ESEL (regardless of whether or not you have defined your own selection screen for the enhanced control cycle selection).
In the flow logic of the screen make sure that you are going to be able to access the selection data later by saving this data in the global variables of the function group, for example. Selection data can be transferred to the enhanced control cycle selection via SET/GET parameters.
In your implementation for the Business Add-In PK_CCY_SELECTION
in the Subscreens tab page, enter the program name and screen number of your screen.
Enhanced Control Cycle Selection
If you want to replace the selection screen of the enhanced control cycle selection, implement the BAdI method CALL_DETAILED_SELECTION
. First define a selection screen (see include LMPK_EXAMPLETOP, Screen 0200). You also have the option of copying the standard selection screen (Include LMPK_CCY_UIS10, Screen 1103) and adjusting it to suit your requirements. In the BAdI method CALL_DETAILED_SELECTION
, access your selection screen and create your selection data so that you can access it from the BAdI method SELECT_CONTROL_CYCLES
. Provide the export parameter of the BAdI method CALL_DETAILED_SELECTION
(see example coding).
Export Parameters:
- ACTIVE
If you want to access your own selection screen, you must set the parameter ACTIVE (ACTIVE = 'X'). This parameter prevents the standard selection screen of the enhanced control cycle selection from being accessed. - SELECT_CONTROL_CYCLES
Set this parameter (SELECT_CONTROL_CYCLES = 'X'), if the control cycle selection is then to be executed. The selection should usually only be executed if the "Execute" pushbutton (SY-UCOMM = 'GETD') on the selection screen is chosen
Selection data can be adopted using SET/GET parameters.
Control Cycle Selection
Implement the BAdI method SELECT_CONTROL_CYCLES
. According to your selection data, select the data records from the database tables PVBE (supply areas) and PKHD (control cycles) . Transfer the data records to the interface parameters PVBEX and PKHDX of the BAdI method SELECT_CONTROL_CYCLES
(see example coding).
Example
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 3 | Nonrequired activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | PK_CCY_SELECTION | 0 | HLA0006760 | KANBAN |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20030120 |
SAP Release Created in | 470 |