SAP ABAP IMG Activity BADI_EHSDG_HU_002 (BAdI: Dangerous Goods: HU Integration 002)
Hierarchy
BBPCRM (Software Component) BBPCRM
   EHS-DGP (Application Component) Dangerous Goods Management
     CBDG (Package) PI-EH&S Dangerous Goods Management
IMG Activity
ID BADI_EHSDG_HU_002 BAdI: Dangerous Goods: HU Integration 002  
Transaction Code S_PRN_53000211   (empty) 
Created on 20061106    
Customizing Attributes BADI_EHSDG_HU_002   BAdI: Dangerous Goods: HU Integration 002 
Customizing Activity BADI_EHSDG_HU_002   BAdI: Dangerous Goods: HU Integration 002 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_EHSDG_HU_002    

Use

Business Add-In (BAdI) BADI_EHSDG_HU_002 is used in Dangerous Goods Management (EHS-DGP) to determine and check data relevant to dangerous goods for creating a handling unit (HU).

The following methods are implemented for the BAdI:

  • HU_DIALOG_CHECK

    Call the dangerous goods checks for handling units when Continue is selected in the dialog box. Checks for packaging and mixed packing are then carried out.

  • PROP_PACKCODE

    Call a system proposal to determine the permitted packaging code based on the specified packaging data of the materials to be packed. The result of the system proposal (the intersection of the permitted packaging code across all materials specified) is shown in an ALV grid. The selected packaging code is transferred from the ALV grid to the Packaging Code screen field.

    In the default implementation for determining the permitted packaging code, the level of dangerous goods packaging and the type of instruction for enclosure are evaluated. Outer- and single packaging are taken into account as the level of dangerous goods packaging. The system does not make a proposal for inner packaging, but you can enter the data manually. Packed goods ('P') and limited quantities ('LQ') are evaluated as the type of instruction for enclosure.

  • PROP_PACKMAT

    Call a system proposal to determine the permitted packing materials based on the selected packaging code. The result of the system proposal(the intersection of the permitted packing materials across all specified materials) is shown in an ALV grid. The selected packing material is transferred from the ALV grid to the screen field Packing Material.

    In the default implementation for determining the permitted packing materials, the level of the dangerous goods packaging, the type of instruction for enclosure, and the dangerous goods packaging status are evaluated. Outer and single packaging are taken into account as the level of dangerous goods packaging. The system does not make a proposal for inner packaging, but you can enter the data manually. Packed goods ('P') and limited quantities ('LQ') are evaluated as the type of instruction for enclosure. As packing materials, only materials with material type Packaging ('VERP') are taken into account. These must also have a dangerous goods packaging status, dangerous goods packaging ('PACKMATDG') or LQ packaging ('PACKMATLQ').

Requirements

Standard settings

The BAdI is active as standard. However, it cannot be used more than once and is not filter-dependent.

This BAdI uses the interface IF_EX_BADI_EHSDG_HU_002.

For more information, see the interface in the Class Builder.

Information about implementing BAdIs as an enhancement is available from SAP NetWeaver Library by choosing Business Add-Ins (BAdIs) - Implementation of BAdIs.

Activities

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 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG BADI_EHSDG_HU_002 0 HLA0100682 Dangerous Goods Management 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20061106 
SAP Release Created in 700