SAP ABAP IMG Activity VLC_GET_VHCLE_NUMBER (BAdI: Influence Internal Vehicle No. (VHCLE) When Creating Vehicles)
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_GET_VHCLE_NUMBER BAdI: Influence Internal Vehicle No. (VHCLE) When Creating Vehicles  
Transaction Code S_KA5_12001323   (empty) 
Created on 20021129    
Customizing Attributes VLC_GET_VHCLE_NUMBER   BAdI: Influence Internal Vehicle No. (VHCLE) When Creating Vehicles 
Customizing Activity VLC_GET_VHCLE_NUMBER   BAdI: Influence Internal Vehicle No. (VHCLE) When Creating Vehicles 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name VLC_GET_VHCLE_NUMBER    

Use

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

You can use an individual logic to influence the internal vehicle number with BAdI VLC_GET_VHCLE_NUMBER. For example, you can assign different number ranges to different vehicle models.

Note: The logic that you use during the BAdI implementation has to ensure that the internal vehicle numbers assigned are unique! You can use the customer-specific number range for this purpose.

The BAdI has the method GET_VHCLE_NUMBER with the following parameters:

  • VLCDIAVEHI_IS: dialog structure with vehicle data
  • VHCLE_EV: internal vehicle number generated by the customer

Note: The vehicle individual search adds zeros to the beginning of the internal vehicle number that the user enters. If you want to use the BAdI, you must ensure that the vehicle individual search still functions. There are two options for this:

  • The internal vehicle number determined in BAdI VLC_GET_VHCLE_NUMBER must contain leading zeros.
  • In method VEHICLE_SINGLE_SEARCH of BAdI VLC_USER_INTERFACE, remove leading zeros that are automatically added from the vehicle individual search.

Requirements

Standard settings

This BAdI does not have a default implementation.

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_GET_VHCLE_NUMBER 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