Ansicht
Dokumentation

BADI_EHS_GLM_013 - BAdI: Print Request via Process Order

BADI_EHS_GLM_013 - BAdI: Print Request via Process Order

Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
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 process orders.

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_PP.

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

  • The BAdI cannot be used a number of times.
  • The BAdI is filter-dependent. The BAdI filter name is FILT_SCENARIO_ID and specifies the key of the labeling scenario. The permitted filter values are checked using data element CBGLE_SCENID.
  • The methods of the default implementation EHS_LABELING_013_PP 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 Implementation

  • EHS_LABELING_013_PP: Label Printing from Process Order
  • This BAdI implementation uses interface IF_EX_CBGL_BADI_EHS_GLM_013.

  • The default implementation for the MAKE_TO_STOCK and MAKE_TO_ORDER labeling scenarios is implemented using class CL_EHSGTRIGGER_PP.

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 print requests, you use function module CBGL_PRAPI_PRTREQ_DELETE.

Use the default implementation as a copy template.

BAdI method documentation:






CPI1466 during Backup   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3175 Date: 20240523 Time: 230845     sap01-206 ( 47 ms )