SAP ABAP IMG Activity PL_PACKINST_DET_BADI (BAdI for Packing Instruction Determination Using Customer's Own Fields)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-HU-MD (Application Component) Master data
     ISAUTO_VHU_PACKOBJ (Package) Packing Instructions and Packing Dialog (Core)
IMG Activity
ID PL_PACKINST_DET_BADI BAdI for Packing Instruction Determination Using Customer's Own Fields  
Transaction Code S_AL0_96000762   (empty) 
Created on 20020122    
Customizing Attributes PL_PACKINST_DET_BADI   BAdI for Packing Instruction Determination Using Customer's Own Fields 
Customizing Activity PL_PACKINST_DET_BADI   Business Add-In for Enhancements to HU Transaction 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PL_PACKINST_DET_BADI    

Use

Application component: LO-HU-MD

Function group: VHUPIHU

You have defined your own fields in the KOMGP structure that should be considered during packing instruction determination. You can use the Business Add-In (BAdI) PL_PACKINST_DET_BADI to populate these fields with your own values. This BAdI is called when you call packing instruction determination.

Requirements

Standard settings

  • The Business Add-In is not active in the standard system.
  • The Business Add-In can be used more than once.

Activities

To activate the Business Add-In, you must create an active implementation.

For more information about this procedure, see the SAP Library under

  • Basis Components -> ABAP Workbench -> Changing the SAP Standard -> Business Add-Ins -> Implementing Business Add-Ins.

Note that the Business Add-In can be used multiple times and therefore all active implementations are called and run through.

Example

Structure KOMGP contains the fields that the system should take into account during packing instruction determination. You add the 'XY' field to KOMGP. Each time you call packing instruction determination using the function module VHUPIHU_FIND_AND_RESOL_GENERAL, the BAdI is called. You can then enter a value in the KOMGP-XY field.

Further notes

You can also call the documentation on the BAdI method via the menu, by carrying out the following steps:

  1. Choose the tab page Interface.
  2. Double-click on the relevant method.
  3. Click on the right mouse button and choose Component documentation.

Documentation for BAdI method

FILL_KOMGP_PACKING_DIALOG.

Business Attributes
ASAP Roadmap ID 255   Create Interfaces 
Mandatory / Optional 3   Nonrequired 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 PL_PACKINST_DET_BADI 0 HUM0000013 Automatic packing 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20020122 
SAP Release Created in 470