SAP ABAP IMG Activity BADI_TM_INVOICE (BAdI: Invoice Print Preview Integration with TM)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-INT-TM-SLS (Application Component) Verkauf
     INT_TM_ERP_SD (Package) ERP - Ext. TMS Order Integration: Sales and Distribution
IMG Activity
ID BADI_TM_INVOICE BAdI: Invoice Print Preview Integration with TM  
Transaction Code S_EBJ_98000077   (empty) 
Created on 20120612    
Customizing Attributes BADI_TM_INVOICE   BAdI: Invoice Print Preview Integration with TM 
Customizing Activity BADI_TM_INVOICE   BAdI: Invoice Print Preview Integration with TM 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name BADI_TM_INVOICE    

Use

This Business Add-In (BAdI) is used in the Billing (SD-BIL) component. You can use this BAdI to create rules that determine the output type of the printing program, for example as follows.

  • If the country is US then set the output type to TM00.
  • If the country is GE then set the output type to SB65.

The following methods are available:

  • CHANGE_OUTPUT_TYPE: You can use this BAdI method to change the output type for example from the recommended TM00 to a customer value such as SB65.
  • CHANGE_INVOICE_SIM_DATA: You can use this BAdI method to change the output parameters ES_HEADER and ET_ITEMS that determine the content of the invoice print preview display.

Requirements

Standard settings

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

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

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_TM_INVOICE 0 HLA0009603 Billing 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20120612 
SAP Release Created in