Ansicht
Dokumentation

BADI_EHS_GLM_012_BA - BAdI: Print Request via Messages

BADI_EHS_GLM_012_BA - BAdI: Print Request via Messages

Addresses (Business Address Services)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Global Label Management component. You can use this BAdI to enhance automatic print request generation via messages.

Print request generation is triggered in the default implementation of the BAdI. The print request API is called for this purpose, which means the data is formatted in the BAdI methods in a way that allows the print request API to be called.

The BAdI is called in function group CBGL_TG01 in function module CBGL_TG01_TRIGGER_NAST.

You have completed the Customizing activity Set Up Automatic Print Request Generation for messages.

  • The BAdI cannot be used a number of times.
  • The BAdI is filter-dependent. The BAdI filter name is KAPPL and specifies the key of an application that is conditioned or triggers messages. The permitted filter values are checked using data element KAPPL.
  • The methods of the default implementations EHS_LABELING_012_DN and EHS_LABELING_012_HU are executed.

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

BAdI Implementations

  • EHS_LABELING_012_DN (Print Label from Delivery Using Message Control)
  • This BAdI implementation uses interface IF_EX_CBGL_BADI_EHS_GLM_012.

  • The default implementation for the DELIVERY labeling scenario is implemented using class CL_EHSGTRIGGER_DN.

  • EHS_LABELING_012_HU (Print Label from Handling Unit Using Message Control)
  • This BAdI implementation uses interface IF_EX_CBGL_BADI_EHS_GLM_012.

  • The default implementation for the HANDLINGUNIT labeling scenario is implemented using class CL_EHSGTRIGGER_HU.

You can check the objects in the Class Builder.

Own Implementation

If you activate your own implementation, the default implementation is deactivated.

To ensure print request generation is still triggered, you need to implement the print request API using function module CBGL_PRAPI_PRTREQ_CREATE in method DO_RUN. To delete the print requests, use function module CBGL_PRAPI_PRTREQ_DELETE.

Use the default implementation EHS_LABELING_013_PP as a copy template. The default implementations for messages only contain an example of how to generate print requests.

BAdI method documentation:






CPI1466 during Backup   General Material Data  
This documentation is copyright by SAP AG.

Length: 3684 Date: 20240523 Time: 231515     sap01-206 ( 45 ms )