SAP ABAP IMG Activity BADI_EHS_GLM_007 (BAdI: Enhance Preview and Printing in 'Label Printing')
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   EHS-SAF (Application Component) Product Safety
     CBGLM (Package) EHS: Global Label Management
IMG Activity
ID BADI_EHS_GLM_007 BAdI: Enhance Preview and Printing in 'Label Printing'  
Transaction Code S_PRN_53000205   (empty) 
Created on 20061031    
Customizing Attributes BADI_EHS_GLM_007   BAdI: Enhance Preview and Printing in 'Label Printing' 
Customizing Activity BADI_EHS_GLM_007   BAdI: Enhance Preview and Printing in 'Label Printing' 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_EHS_GLM_007    

Use

This Business Add-In (BAdI) is used in the Global Label Management component. You can use this BAdI to adjust the functions of the following pushbuttons in the label tree of label printing:

  • Print Label
  • Preview

You can use this BAdI to change the data before and after label printing and preview.

The BAdI is called in the function group CBGL_MP10. For the call positions, see the BAdI method documentation.

Requirements

You are using label printing.

You have configured Global Label Management.

Standard settings

  • The BAdI cannot be used a number of times.
  • The BAdI is not filter-dependent.
  • There is no default implementation performed for the method.

For more information about the standard settings (filters, single or multiple uses), see the Enhancement Spot Element Definitions tab in the BAdI Builder.

Own Implementation

You can access almost all of the data that is processed during label generation and used for preview or printing using the change parameters of the BAdI methods. Before you make changes to this data, check the structure of the data in the debugger of the BAdI Builder. Use this structure for your data. If you use another structure, errors or warnings may occur during label determination.

The following applies if you implement BAdI: Display Label Tree in 'Label Printing' in addition to this BAdI: If you set the export parameter E_FLG_IMPLEMENTED in the Adjust Printing or Adjust Preview methods, the BAdI methods Change Data After Label Printing and Change Data After Label Preview are not run.

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

See also

BAdI method documentation:

You can change other data using BAdI: Display Label Tree in 'Label Printing'.

For information about how to implement BAdIs in the Enhancement Framework, see SAP Library for SAP NetWeaver on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server ABAP -> Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework.

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_EHS_GLM_007 0 HLA0100681 Product Safety 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20130107 
SAP Release Created in 700