SAP ABAP IMG Activity /AIN/ID_FROM_BC_COMP (BAdI: Construct ID from Components in Bar Code)
Hierarchy
AIN (Software Component) AIN 710: Add-On Installation
   AIE-AII (Application Component) Infrastructure
     /AIN/IF (Package) Auto-ID Interfaces
IMG Activity
ID /AIN/ID_FROM_BC_COMP BAdI: Construct ID from Components in Bar Code  
Transaction Code /AIN/46000016   (empty) 
Created on 20080610    
Customizing Attributes /AIN/ID_FROM_BC_COMP   BAdI: Construct ID from Components in Bar Code 
Customizing Activity /AIN/ID_FROM_BC_COMP   BAdI: Construct ID from Components in Bar Code 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /AIN/IF_BADI_ID_FROM_BC_COMPNT    

Use

This Business Add-In (BAdI) is used in the SAP Auto-ID Infrastructure component to handle IDs that are contained in a bar code string. The BAdI is invoked in the interface layer when the system processes a notification message from the device controller or in the user interface layer when it reads a bar code using a mobile device. It is invoked right after parsing a bar code string into its component.

You can use this BAdI to construct an SAP Auto-ID Infrastructure physical object ID from the component contained in the bar code string. Once a proper ID is constructed and returned, it is handled the same as an ID contained in an RFID tag in the rest of Auto-ID Infrastructure.

This BAdI enables SAP Auto-ID Infrastructure to handle physical objects that have their IDs encoded in a bar code rather than in an RFID tag.

Requirements

  • To be able to parse the bar code string, you must have configured the bar code type in Customizing for SAP Auto-ID Infrastructure under Basic Settings -> Barcode Settings.
  • If the ID you construct in the BAdI is a proprietary type, you must have configured the ID type in Customizing for SAP Auto-ID Infrastructure under Basic Settings -> ID Settings -> Maintain ID Types.

Standard settings

  • In the standard system, there is no activated BAdI implementation.
  • The BAdI is designed for single use.
  • The BAdI is not filter-dependent.

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20080611 
SAP Release Created in 700