SAP ABAP IMG Activity VLC_EXECUTE_ASSIGNMT (BAdI: Assignment of Vehicles to Sales Documents)
Hierarchy
ECC-DIMP (Software Component) DIMP
   IS-A-VMS (Application Component) Vehicle Management System
     ISAUTO_VLC (Package) Vehicle Management System (VMS)
IMG Activity
ID VLC_EXECUTE_ASSIGNMT BAdI: Assignment of Vehicles to Sales Documents  
Transaction Code S_KA5_12001334   (empty) 
Created on 20021129    
Customizing Attributes VLC_EXECUTE_ASSIGNMT   BAdI: Assignment of Vehicles to Sales Documents 
Customizing Activity VLC_EXECUTE_ASSIGNMT   BAdI: Assignment of Vehicles to Sales Documents 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name VLC_EXECUTE_ASSIGNMT    

Use

This business add-in (BAdI) is used in the Vehicle Management System (IS-A-VMS) component.

You can use this BAdI to maintain the actions used to find suitable vehicles required for a sales document in order to create a loose or fixed relationship.

The BAdI has the following methods:

  • MATCHING_CRITERIA: Defines which configuration characteristics and sales document and/or vehicle fields have to correspond so that a sales document fits a vehicle when a loose relationship is created between a sales document and a vehicle.
    • SDOC_VLCDISPLALV_IS: Sales document data
    • CONFIGURATION_IT: Table containing the configuration data of the sales document
    • MATCHING_CRITERIA_CT: Table containing the configuration characteristics and values as well as the sales document and vehicle-dependent attributes that have to correspond to generate a loose relationship between a sales document and a vehicle.
    • FULL_CONFIG_MATCH_CV: If this indicator was set, all configuration characteristics and values of the sales order have to correspond to those of the vehicle to create a loose relationship between a sales order and a vehicle.
  • COPY_CONFIGURATION: If a fixed relationship is created between a sales order and a vehicle and the configurations are different, you can decide whether the vehicle configuration should overwrite the sales order configuration.
    • SDOC_CONFIGURATION_IT: Table containing the configuration data of the sales order
    • VEHI_CONFIGURATION_IT: Table containing the configuration data of the vehicle
    • OVERWRITE_CONFIG_FLAG_CV: If this indicator was set, the vehicle configuration overwrites the sales order configuration.
  • SORT_SALES_DOCS: After a successful search for sales documents, their order can be rearranged or sales documents can be excluded. This sequence is then used in a further processing step to determine the suitable vehicles.
    • SDOC_VLCDISPLALV_CT: Table containing the sales order data
  • FURTHER_ACTIONS: Further actions for mass processing (defined by the customer for the assignment of sales documents to vehicles) can be allowed in report RVLCASSIGNMENT (transaction VELOAS).
    • ACTION_IV: Action defined by the customer, which is to be executed in the report.

ACTION_ALLOWED_EV: If this indicator was set, the action can be executed in the report.

  • SORT_VEHICLES: After a successful search for vehicles to a sales order, their order can be rearranged or vehicles can be excluded. This sequence is then used in a further processing step for the assignments between the sales order and the vehicle.
    • SDOC_DISPLALV_IS: Sales order data
    • SDOC_CONFIG_IT: Table containing the configuration data of the sales order
    • VEHI_ASSGNMT_VEHICLE_CT: Table containing the vehicles

Requirements

Standard settings

The default implementation defines that all configuration characteristics and sales order and/or vehicle fields have to correspond so that a sales document fits a vehicle (method MATCHING_CRITERIA), and that the vehicle configuration does not overwrite the sales order configuration (method COPY_CONFIGURATION).

The default implementation of the methods MATCHING_CRITERIA also includes a note that describes what possible coding could look like.

Activities

Procedure for BAdI Implementation

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 1   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 VLC_EXECUTE_ASSIGNMT 0 KA50000029 Vehicle Management System 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20021219 
SAP Release Created in 471