SAP ABAP Data Element CP_ALT_PER (Perform called when task list is selected via user exit)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       CP (Package) R/3 Application development: PP Task Lists
Basic Data
Data Element CP_ALT_PER
Short Description Perform called when task list is selected via user exit  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type MODULN    
Data Type CHAR   Character String 
Length 30    
Decimal Places 0    
Output Length 30    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Perform 
Medium 15 Perform 
Long 20 Perform 
Heading 30 Perform 
Documentation

Definition

FORM routine you should call when you continue processing the selection results from the task list selection.

Procedure

The process of task list selection using a User-exit is as follows:

  • Task lists are selected according to priority, usage and status depending on the selection ID.
  • If several task lists match the selection criteria, you can use a User-exit for a more detailed selection. This means, for example, that you can delete the task list which should not be selected or change their order.
  • The task list corresponding to the selection criteria are copied using three internal tables:
    • selected routings are copied in the first table
    • materials assigned to the task lists are copied in the second table
    • equipment is copied in the third table, if they have been assigned to task lists
  • Only the task lists with the highest priority are copied.

Task list selection with a User exit can occur in the following three situations:

  • Only routings selected: Entries exist in the routing table but the material and equipment tables are empty.
  • Routing selected according to material: Entries exist in the routing and material tables but the equipment table is empty.
  • Routing selected according to equipment: Entries exist in the routing and equipment tables but the material table is empty.

The User exit interface must consist of the following parameters:

  • a routing table with structure PLKOB
  • a material table with structure MAPLB
  • an equipment table with structure EAPLB
  • a structure which contains control information and which is identical to structure RCPSE

Dependencies

If you have entered a form routine, you must also enter the corresponding program.

History
Last changed by/on SAP  19970902 
SAP Release Created in