SAP ABAP Class CL_TM_INVOICE (Invoice TM /ERP Integration)
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
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20110823
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_SD_BIL_PRINT01 Interface for BAdI: BADI_SD_BIL_PRINT01 20110823
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_EX_ARC_SD_VBRK_WRITE BAdI Interface IF_EX_ARC_SD_VBRK_WRITE 20111031
Properties
Class CL_TM_INVOICE  
Short Description Invoice TM /ERP Integration    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package INT_TM_ERP_SD   ERP - Ext. TMS Order Integration: Sales and Distribution 
Created 20110823   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_TM_INVOICE has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20110823
2 IF_BADI_SD_BIL_PRINT01 Interface for BAdI: BADI_SD_BIL_PRINT01 20110823
3 IF_EX_ARC_SD_VBRK_WRITE BAdI Interface IF_EX_ARC_SD_VBRK_WRITE 20111031
Friends
Class CL_TM_INVOICE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GO_PRINT Static Attribute Private Object reference (TYPE REF TO) CL_TM_INVOICE Invoice TM /ERP Integration 20110823
2 GS_TNAPR Static Attribute Public Type reference (TYPE) TNAPR Processing programs for output 20110823
3 GT_CFIR_DATA Static Attribute Public Type reference (TYPE) TCM_T_CFIR_PRINT_DATA Additional information from TM for CFIR print data 20110920
4 GT_KOMFKGN Static Attribute Private Type reference (TYPE) KOMFKGN_TAB Table Type KOMFKGN 20110823
5 GT_KOMV Static Attribute Public Type reference (TYPE) KOMV_TAB Table type komv 20110823
6 GT_TAX_HEADER Static Attribute Public Type reference (TYPE) KOMVD_T Price Determination Communication-Cond.Record for Printing 20111006
7 GT_TAX_ITEMS Static Attribute Public Type reference (TYPE) KOMVD_T Price Determination Communication-Cond.Record for Printing 20111006
8 GT_VBPA Static Attribute Private Type reference (TYPE) VBPA_TAB table type for vbpa 20110823
9 GT_VBRK Static Attribute Private Type reference (TYPE) VBRK_TAB tABLE TYPE FOR vbrk 20110823
10 GT_VBRP Static Attribute Private Type reference (TYPE) VBRP_TAB Table type for VBRP 20110823
11 GV_SIM_FLAG Static Attribute Private Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20110823
12 GV_TOTAL_AMOUNT Static Attribute Public Type reference (TYPE) BRTWR Gross value 20111006
Methods
# Method Level Visibility Method type Description Created on
1 GET_INSTANCE Static method Public Method Get Instance 20110823
2 GET_INVOICE_DATA_FROM_BUFFER Instance method Public Method Get Invoice Data from Buffer 20110928
3 GET_INVOICE_PRNT_OUTPUT_TYPES Instance method Public Method Output Types for Print Preview 20111109
4 GET_PRINT_PREVIEW Instance method Public Method Returns PDF Stream 20110823
5 GET_SIMULATION_FLAG Instance method Public Method Get Simulation Flag 20110823
6 MAP_INVOICE_DATA Instance method Private Method Map Data (Invoice -> Printing Structures) 20110928
7 SET_INVOICE_DATA_TO_BUFFER Instance method Public Method Set Invoice Data to Buffer 20110928
8 SET_SIMULATION_FLAG Instance method Public Method Set Simulation Flag 20110823
Events
Class CL_TM_INVOICE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_OUTPUT_TYPES Public See coding 20111108 tt_output_types TYPE TABLE OF fkart
2 TT_VBDPR Public See coding 20110823 tt_vbdpr TYPE TABLE OF vbdpr
Method Signatures

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RO_PRINT Value transfer Object reference (TYPE REF TO) CL_TM_INVOICE Invoice TM /ERP Integration 20110823

Method GET_INSTANCE on class CL_TM_INVOICE has no exception.

Method GET_INVOICE_DATA_FROM_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HEADER Call by reference Type reference (TYPE) VBDKR Document Header View for Billing 20110928
2 Exporting ET_ITEMS Call by reference Type reference (TYPE) TT_VBDPR 20110928

Method GET_INVOICE_DATA_FROM_BUFFER on class CL_TM_INVOICE has no exception.

Method GET_INVOICE_PRNT_OUTPUT_TYPES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_OUTPUT_TYPE Call by reference Type reference (TYPE) KSCHL Print Output Types for O2C 20111128
2 Importing IV_BILLING_TYPE Call by reference Type reference (TYPE) FKART 20111128

Method GET_INVOICE_PRNT_OUTPUT_TYPES on class CL_TM_INVOICE has no exception.

Method GET_PRINT_PREVIEW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MESSAGE Call by reference Type reference (TYPE) BALMI Application Log: APPL_LOG_WRITE_MESSAGES interface 20110823
2 Exporting EV_PDF Call by reference Type reference (TYPE) FPCONTENT Form Processing: Content from XFT, XFD, PDF, and so on 20110823
3 Importing IV_KSCHL Call by reference Type reference (TYPE) NA_KSCHL Output Type 20110823

Method GET_PRINT_PREVIEW on class CL_TM_INVOICE has no exception.

Method GET_SIMULATION_FLAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_SIM_FLAG Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20110823

Method GET_SIMULATION_FLAG on class CL_TM_INVOICE has no exception.

Method MAP_INVOICE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HEADER Call by reference Type reference (TYPE) VBDKR Document Header View for Billing 20110928
2 Exporting ET_ITEMS Call by reference Type reference (TYPE) TT_VBDPR 20110928
3 Importing IT_KOMFKGN Call by reference Type reference (TYPE) KOMFKGN_TAB Table Type KOMFKGN 20110928
4 Importing IT_KOMV Call by reference Type reference (TYPE) KOMV_TAB Table type komv 20110928
5 Importing IT_VBPA Call by reference Type reference (TYPE) VBPA_TAB table type for vbpa 20110928
6 Importing IT_VBRK Call by reference Type reference (TYPE) VBRK_TAB tABLE TYPE FOR vbrk 20110928
7 Importing IT_VBRP Call by reference Type reference (TYPE) VBRP_TAB Table type for VBRP 20110928

Method MAP_INVOICE_DATA on class CL_TM_INVOICE has no exception.

Method SET_INVOICE_DATA_TO_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CFIR_DATA Call by reference Type reference (TYPE) TCM_T_CFIR_PRINT_DATA CFIR information for print 20111018
2 Importing IT_KOMFKGN Call by reference Type reference (TYPE) KOMFKGN_TAB Table Type KOMFKGN 20110928
3 Importing IT_KOMV Call by reference Type reference (TYPE) KOMV_TAB Table type komv 20110928
4 Importing IT_VBPA Call by reference Type reference (TYPE) VBPA_TAB table type for vbpa 20110928
5 Importing IT_VBRK Call by reference Type reference (TYPE) VBRK_TAB tABLE TYPE FOR vbrk 20110928
6 Importing IT_VBRP Call by reference Type reference (TYPE) VBRP_TAB Table type for VBRP 20110928

Method SET_INVOICE_DATA_TO_BUFFER on class CL_TM_INVOICE has no exception.

Method SET_SIMULATION_FLAG Signature

Method SET_SIMULATION_FLAG on class CL_TM_INVOICE has no parameter.
Method SET_SIMULATION_FLAG on class CL_TM_INVOICE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606