SAP ABAP Class CL_XTAX_DOCUMENT (external tax document)
Hierarchy
SAP_FIN (Software Component) SAP_FIN
   FI-GL-GL (Application Component) Basic Functions
     FYTX/ETXDC (Package) External Tax document
Properties
Class CL_XTAX_DOCUMENT  
Short Description external tax document    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FYTX/ETXDC   External Tax document 
Created 19990209   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_XTAX_DOCUMENT has no forward declaration.
Interfaces
Class CL_XTAX_DOCUMENT has no interface implemented.
Friends
Class CL_XTAX_DOCUMENT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BEING_REVERSAL Instance attribute Private Type reference (TYPE) CHAR1 Reversal of a document 20050531
2 DB_MANAGER Static Attribute Private Object reference (TYPE REF TO) CL_XTAX_DOCUMENT_DATABASE Database manager 19990210
3 DB_MAPPER Static Attribute Private Object reference (TYPE REF TO) CL_XTAX_DB_MAPPER Database manager 19990311
4 DOCNR Instance attribute Private Type reference (TYPE) XTAX_DOCUMENT_NUMBER external tax document number 19990209
5 DOCSTATUS_INFO Instance attribute Private Type reference (TYPE) TAX_DOCSTATUS_INFO date the document status changed 19990222
6 HEADER_INFO Instance attribute Private Type reference (TYPE) EXTAX_DOC document header info 19990209
7 INDEX_ITEM_LIST Instance attribute Private Type reference (TYPE) TAX_INDEX_XTAX_DOC_ITEM_TAB INDEX_ITEM_LIST 19990209
8 INTERFACE_SHELL Instance attribute Private Object reference (TYPE REF TO) CL_XTAX_INTERFACE_SHELL Tax Interface Shell 19990219
9 ITEMS_CHANGED Instance attribute Private Type reference (TYPE) CHAR1 Items have changed 19990315
10 ITEM_LIST Instance attribute Private See coding ITEM_LIST 19990209
11 LOCK_MANAGER Static Attribute Private Object reference (TYPE REF TO) CL_XTAX_DOCUMENT_LOCK Manage enque and dequeue 19990210
12 MAPPING_RULES Static Attribute Private Object reference (TYPE REF TO) CL_XTAX_RULES_CALCULATION Mapping rules for calculation 19990316
13 NUMBER_MANAGER Static Attribute Private Object reference (TYPE REF TO) CL_XTAX_DOCUMENT_NUMBER Number Management 19990210
14 POSTING_RULES Static Attribute Private Object reference (TYPE REF TO) CL_XTAX_RULES_POSTING Rules for mapping G/L tax data 19990319
15 REF_DOC_KEY Instance attribute Public Type reference (TYPE) TAX_REF_DOC_KEY reference document key 19990209
16 STATE_LIST Constant Private See coding STATE_LIST 19990217
17 TEMP_DOC_NUMBER Instance attribute Public Type reference (TYPE) XTAX_REF_DOC_NUMBER temporary document number 19990209
18 UPDATE_INFO Instance attribute Private Type reference (TYPE) TAX_UPDATE_INFO update info 19990209
Methods
# Method Level Visibility Method type Description Created on
1 ADD_INDEX_XTAX_DOC_ITEM Instance method Private Method add index of item to list of indices 19990209
2 BSET_CHANGE_ITEM Instance method Public Method Set some fields of one item 20090508
3 BSET_SET_ITEM_LIST Instance method Public Method Set tax amounts 20090508
4 CHANGE Static method Public Method Get object from database for changing 19990209
5 CHECK_AND_MAP_ITEM_INFO Instance method Private Method check item existence and map item info 19990209
6 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 19990210
7 CONSTRUCTOR Instance method Public Constructor Initialize document number 19990209
8 COPY Static method Public Method Get object from database and initialize document number 19990220
9 CREATE Static method Public Method Create a new object 19990220
10 DETERMINE_EXTERNAL_CONSISTENCY Instance method Private Method Do the external consistency check 19990820
11 DETERMINE_HEADER_DOC_NUMBER Instance method Public Method Determine ETXDCH-DOC_NUMBER 20090807
12 DO_ADD_INPUT_DATA Instance method Public Method add tax input data 19990209
13 DO_CALCULATE_TAXES_DOC Instance method Public Method calculate taxes for entire document 19990209
14 DO_CALCULATE_TAXES_ITEM Instance method Public Method calculate taxes for one item input data 19990209
15 DO_CHECK_AND_UPDATE_GLTAX_DATA Instance method Public Method add gltax data 19990209
16 DO_DELETE_ITEM Instance method Public Method add tax input data 19990209
17 DO_REFRESH Instance method Public Method refresh all data (not the key fields) 19990209
18 DO_RESET_UPDATE_STATUS Instance method Public Method Reset status of updated external tax document 19991008
19 DO_REVERSE Instance method Public Method reverse external tax document 19990209
20 DO_UPDATE_EXTERNAL_SYSTEM Instance method Public Method update the tax system 19990209
21 GET_AMOUNTS Instance method Public Method get tax amounts 19990209
22 GET_AUDIT_DATA Instance method Private Method Determine the audit data depending on internal consistency 19990218
23 GET_AUDIT_DATA_AND_UPDATE Instance method Private Method Determine the audit data and update the external system 19990218
24 GET_CURRENT_ITEM_INDEX Instance method Private Method Get index of current item. 19990209
25 GET_DETAIL Static method Public Method Get detailed information on the external tax document 19990222
26 GET_DETAIL_WITH_AUDIT_INFO Instance method Public Method Get audit information on the external tax document 19990223
27 GET_EXT_TAX_SYST_ID Instance method Private Method Get external tax system ID 19990209
28 GET_FROM_DB Instance method Private Method get persistent data from database 19990209
29 GET_INPUT_DATA_AND_CALCULATE Instance method Private Method calculate taxes for document using ext. tax system 19990220
30 GET_INPUT_DATA_FOR_CALCULATION Instance method Private Method get input data for calculation into input data structure 19990220
31 GET_ITEM_LIST_FROM_DB Instance method Private Method get item list from database 19990209
32 GET_LIST Static method Public Method Get list of document numbers from database 19990209
33 GET_OR_CREATE_ITEM Instance method Private Method Get index of current item. Create new object if not exists 19990209
34 MAKE_PERSISTENT Instance method Private Method Make the object attributes persistent 19990311
35 MAP_HEADER_INFO Instance method Private Method map header info 19990209
36 REBUILD_INDEX_ITEM_LIST Instance method Private Method regenerate indices for item list 19990209
37 REVERSE_HEADER_INFO Instance method Private Method reverse document header info 19990209
38 SAVE Instance method Public Method Perform last checks and register for updating DB on commit 19990209
39 SET_GLTAX_FLAG Instance method Private Method indicate that G/L tax data has been added 19990209
40 SET_INCONSISTENCY_FLAG Instance method Private Method indicate that internal consistency check has failed 19990209
41 SORT_ITEM_LIST Instance method Private Method sort item list by REF_ITEM_KEY 19990209
42 STORE_GLTAX_INTO_AUDIT_DATA Instance method Private Method fill the update structures with gltax data 19990210
43 STORE_OUTPUT_FROM_CALCULATION Instance method Private Method Store results of tax calculation 19990220
44 STORE_OUTPUT_INTO_AUDIT_DATA Instance method Private Method fill update structures with ext. tax results data 19990210
45 TTE_CHANGE_ITEM Instance method Public Method Set some fields of one item 20010428
46 TTE_SET_ITEM_LIST Instance method Public Method Set tax amounts 20010428
47 UPDATE_GLTAX_DATA_ITEMS Instance method Private Method check and update G/L tax data for all items 19990209
48 UPDATE_REF_DOC_KEY Instance method Private Method update the accounting document reference key 19990209
49 UPD_DOC_DATA_FROM_GLTAX_DATA Instance method Private Method update ref_doc_key and document G/L info 19990209
Events
Class CL_XTAX_DOCUMENT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 PERSISTENT_DATA Private Type reference (TYPE) ETXDCH persistent data ext. tax document header 19990209
2 XTAX_DOCUMENT Private Object reference (TYPE REF TO) CL_XTAX_DOCUMENT external tax document 19990209
3 XTAX_DOCUMENT_ITEM Private Object reference (TYPE REF TO) CL_XTAX_DOCUMENT_ITEM document item 19990209
Method Signatures

Method ADD_INDEX_XTAX_DOC_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEX Call by reference Type reference (TYPE) XTAX_ITEM_INDEX Index der Position in Positionsliste 19990209
2 Importing I_REF_ITEM_KEY Call by reference Type reference (TYPE) TAX_LINE_KEY Positionsschlüssel 19990209

Method ADD_INDEX_XTAX_DOC_ITEM on class CL_XTAX_DOCUMENT has no exception.

Method BSET_CHANGE_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CHANGE_FIELDS Call by reference Type reference (TYPE) ACC_TTE_CHANGE_FIELDS_TAXM Fields which are modified for the line 20090508
2 Importing IS_LINE_KEY Call by reference Type reference (TYPE) TAX_LINE_KEY Tax line secondary key 20090508

Method BSET_CHANGE_ITEM on class CL_XTAX_DOCUMENT has no exception.

Method BSET_SET_ITEM_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOC_CALC_OUTPUT_DATA Call by reference Type reference (TYPE) EXTAX_CALC_DATA_OUTPUT Tax document output data struct. used for tax calculation 20090508
2 Importing I_INDEX_FIRST Call by reference Type reference (TYPE) I First item in list to be calculated 20090508
3 Importing I_INDEX_LAST Call by reference Type reference (TYPE) I Last item in list to be calculated 20090508

Method BSET_SET_ITEM_LIST on class CL_XTAX_DOCUMENT has no exception.

Method CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOCNR Call by reference Type reference (TYPE) XTAX_DOCUMENT_NUMBER Externe Steuerbelegnummer 19990209
2 Importing I_REF_DOC_KEY Value transfer Type reference (TYPE) TAX_REF_DOC_KEY Referenzbelegschlüssel 19990219
3 Returning RE_XTAX_DOCUMENT Value transfer Object reference (TYPE REF TO) CL_XTAX_DOCUMENT Externer Steuerbeleg 19990209
# Exception Resumable Description Created on
1 FOREIGN_LOCK Externer Steuerbeleg wird von anderem Benutzer bearbeitet 19990209
2 NOT_FOUND Der Beleg wurde nicht gefunden. 19990209

Method CHECK_AND_MAP_ITEM_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HEADER_INFO Call by reference Type reference (TYPE) EXTAX_DOC Kopfinformationen 19990209
2 Importing I_INPUT_ITEM Call by reference Type reference (TYPE) TAX_INPUT_ITEM Steuereingabeposition für Preisfindung 19990317
3 Importing I_REF_ITEM_KEY Call by reference Type reference (TYPE) TAX_LINE_KEY Positionsschlüssel 19990209
4 Importing I_TAX_CODE_INFO Call by reference Type reference (TYPE) T007A Eigenschaften Steuerkennzeichen 19990209
5 Importing I_TAX_TTXD Call by reference Type reference (TYPE) TTXD Steuersysteminformationen 19990209
6 Exporting O_MAPPING_OK Call by reference Type reference (TYPE) C Mapping erfolgreich 19990209
7 Exporting O_MESSAGE Call by reference Type reference (TYPE) TAX_MESSAGE Meldung 19990209

Method CHECK_AND_MAP_ITEM_INFO on class CL_XTAX_DOCUMENT has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_XTAX_DOCUMENT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_XTAX_DOCUMENT has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOCNR Call by reference Type reference (TYPE) XTAX_DOCUMENT_NUMBER Belegnummer in Datenbank 19990209
2 Importing I_MAKE_COPY Call by reference Type reference (TYPE) CHAR1 space Belegnummern initialisieren 19990220
3 Importing I_REF_DOC_KEY Call by reference Type reference (TYPE) TAX_REF_DOC_KEY Referenzbelegschlüssel 19990209
4 Importing I_TEMP_DOC_NUMBER Call by reference Type reference (TYPE) XTAX_REF_DOC_NUMBER Temporäre Belegnummer 19990209
# Exception Resumable Description Created on
1 NOT_FOUND Nicht in DB gefunden (nur wenn i_docnr o. ref_doc_key verw.) 19990210

Method COPY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOCNR Call by reference Type reference (TYPE) XTAX_DOCUMENT_NUMBER Externe Steuerbelegnummer 19990220
2 Importing I_REF_DOC_KEY Value transfer Type reference (TYPE) TAX_REF_DOC_KEY Referenzbelegschlüssel 19990220
3 Returning RE_COPY_OF_XTAX_DOCUMENT Value transfer Object reference (TYPE REF TO) CL_XTAX_DOCUMENT Externer Steuerbeleg 19990220
# Exception Resumable Description Created on
1 FOREIGN_LOCK Externer Steuerbeleg wird von anderem Benutzer bearbeitet 19990220
2 NOT_FOUND Der Beleg wurde nicht gefunden. 19990220

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TEMP_DOC_NUMBER Call by reference Type reference (TYPE) XTAX_REF_DOC_NUMBER Temporäre Belegnummer 19990220
2 Returning RE_XTAX_DOCUMENT Value transfer Object reference (TYPE REF TO) CL_XTAX_DOCUMENT Externer Steuerbeleg 19990220

Method CREATE on class CL_XTAX_DOCUMENT has no exception.

Method DETERMINE_EXTERNAL_CONSISTENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HEADER_INFO Call by reference Attribute reference (LIKE) HEADER_INFO Kopfinformationen 19990820
2 Importing I_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Positionsliste 19990820
3 Importing I_UPDATE_INFO Call by reference Attribute reference (LIKE) UPDATE_INFO Fortschreibungsinformationen 19990820
4 Exporting O_CALCULATION_OK Call by reference Type reference (TYPE) CHAR1 Berechnung erfolgreich 19990820
5 Exporting O_EXCON Call by reference Type reference (TYPE) CHAR1 Kennzeichen für fehlende externe Konsistenz 19990820
6 Exporting O_MESSAGE Call by reference Type reference (TYPE) TAX_MESSAGE Meldung bei externer Konsistenzprüfung 19990820
# Exception Resumable Description Created on
1 CALCULATION_FAILED Berechnung fehlgeschlagen (Verbindungsfehler o. ext. Fehler) 19990820

Method DETERMINE_HEADER_DOC_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_REF_DOC_KEY Call by reference Type reference (TYPE) TAX_REF_DOC_KEY Reference document key 20090807

Method DETERMINE_HEADER_DOC_NUMBER on class CL_XTAX_DOCUMENT has no exception.

Method DO_ADD_INPUT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INPUT_DATA Call by reference Type reference (TYPE) TAX_INPUT_DATA Steuereingabefelder 19990317
2 Importing I_REF_ITEM_KEY Call by reference Type reference (TYPE) TAX_LINE_KEY Positionsschlüssel 19990209
3 Importing I_TAX_CODE_INFO Call by reference Type reference (TYPE) T007A Eigenschaften Steuerkennzeichen 19990209
4 Importing I_TAX_TTXD Call by reference Type reference (TYPE) TTXD Steuersysteminformationen 19990209
5 Exporting O_MAPPING_OK Call by reference Type reference (TYPE) CHAR1 Mapping erfolgreich 19990209
6 Exporting O_MESSAGE Call by reference Type reference (TYPE) TAX_MESSAGE Meldung 19990209

Method DO_ADD_INPUT_DATA on class CL_XTAX_DOCUMENT has no exception.

Method DO_CALCULATE_TAXES_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting O_CALCULATION_OK Call by reference Type reference (TYPE) CHAR1 Berechnung OK 19990209
2 Exporting O_MESSAGE Call by reference Type reference (TYPE) TAX_MESSAGE Meldung 19990209

Method DO_CALCULATE_TAXES_DOC on class CL_XTAX_DOCUMENT has no exception.

Method DO_CALCULATE_TAXES_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_REF_ITEM_KEY Call by reference Type reference (TYPE) TAX_LINE_KEY Referenzpositionsschlüssel 19990209
2 Exporting O_CALCULATION_OK Call by reference Type reference (TYPE) CHAR1 Berechnung erfolgreich 19990209
3 Exporting O_MESSAGE Call by reference Type reference (TYPE) TAX_MESSAGE Meldung 19990209

Method DO_CALCULATE_TAXES_ITEM on class CL_XTAX_DOCUMENT has no exception.

Method DO_CHECK_AND_UPDATE_GLTAX_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_GLTAX_DATA Call by reference Type reference (TYPE) GLTAX_DATA_TAB Hauptbuchsteuerdaten 19990209
2 Importing I_GLTAX_DATA_HEAD Value transfer Type reference (TYPE) GLTAX_DATA_HEAD Hauptbuchsteuer-Kopfdaten 19990209

Method DO_CHECK_AND_UPDATE_GLTAX_DATA on class CL_XTAX_DOCUMENT has no exception.

Method DO_DELETE_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_REF_ITEM_KEY Call by reference Type reference (TYPE) TAX_LINE_KEY Positionsschlüssel 19990209

Method DO_DELETE_ITEM on class CL_XTAX_DOCUMENT has no exception.

Method DO_REFRESH Signature

Method DO_REFRESH on class CL_XTAX_DOCUMENT has no parameter.
Method DO_REFRESH on class CL_XTAX_DOCUMENT has no exception.

Method DO_RESET_UPDATE_STATUS Signature

Method DO_RESET_UPDATE_STATUS on class CL_XTAX_DOCUMENT has no parameter.
# Exception Resumable Description Created on
1 FAILED Rücksetzen nicht möglich, da Status nicht 'FORTGESCHRIEBEN' 19991008

Method DO_REVERSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_GLTAX_DATA_HEAD Call by reference Type reference (TYPE) GLTAX_DATA_HEAD Kopfinformationen 19990319
2 Importing I_NEW_REF_DOC_KEY Call by reference Type reference (TYPE) TAX_REF_DOC_KEY Neuer Referenzbelegschlüssel 19990209
3 Exporting O_REVERSE_OK Call by reference Type reference (TYPE) CHAR1 Stornierung OK 19990209

Method DO_REVERSE on class CL_XTAX_DOCUMENT has no exception.

Method DO_UPDATE_EXTERNAL_SYSTEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_BATCH Value transfer Type reference (TYPE) CHAR1 'X' Durch Fortschreibungsprogramm (im Hintergrund) aufgerufen 19990222
2 Importing I_REF_DOC_KEY Call by reference Type reference (TYPE) TAX_REF_DOC_KEY Referenz-Beleg 20000411
3 Exporting O_MESSAGE Call by reference Type reference (TYPE) TAX_MESSAGE Fehlermeldung 19990209
4 Exporting O_UPDATE_OK Call by reference Type reference (TYPE) CHAR1 Fortschreibung ohne Fehler 19990209
# Exception Resumable Description Created on
1 ALREADY_UPDATED Im externen System bereits fortgeschrieben 19990217
2 FAILED Fehler bei der Fortschreibung 19990217
3 NO_GLDATA Fortschr. nicht möglich, da noch nicht ins Hauptbuch gebucht 19990217
4 NO_ONLINE_UPDATE Online-Fortschr. n. möglich, bitte Hintergrundverarbeitung 19990820

Method GET_AMOUNTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_JUR_LEVEL Call by reference Type reference (TYPE) TXJCD_LEVEL Steuerstandortebene 19990209
2 Importing I_REF_ITEM_KEY Call by reference Type reference (TYPE) TAX_LINE_KEY Referenzpositionsschlüssel 19990209
3 Exporting O_TAXAMT Call by reference Type reference (TYPE) ETDTAXAMOUNT Steuerbetrag vom externen System zurückgegeben 19990209
4 Exporting O_TAXBAS Call by reference Type reference (TYPE) ETDTAXBASE Tax base amount 20050607
5 Exporting O_TAXPCT Call by reference Type reference (TYPE) ETDTAXPERCNT Steuersatz vom externen System zurückgegeben 19990209

Method GET_AMOUNTS on class CL_XTAX_DOCUMENT has no exception.

Method GET_AUDIT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HEADER_INFO Call by reference Attribute reference (LIKE) HEADER_INFO Kopfinformationen 19990218
2 Importing I_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Positionsliste 19990218
3 Importing I_UPDATE_INFO Call by reference Attribute reference (LIKE) UPDATE_INFO Fortschreibungsinformationen 19990218
4 Exporting O_DOC_AUDIT_DATA Call by reference Type reference (TYPE) EXTAX_AUDIT_DATA Steuer-Audit-Daten zur Fortschr. an ext. System übergeben 19990218

Method GET_AUDIT_DATA on class CL_XTAX_DOCUMENT has no exception.

Method GET_AUDIT_DATA_AND_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_UPDATE_INFO Call by reference Attribute reference (LIKE) UPDATE_INFO Fortschreibungsinformationen 19990820
2 Importing I_BATCH Call by reference Type reference (TYPE) C Vom Fortschreibungsprogramm (im Hintergrund) aufgerufen 19990222
3 Importing I_HEADER_INFO Call by reference Attribute reference (LIKE) HEADER_INFO Kopfinformationen 19990218
4 Importing I_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Positionsliste 19990218
5 Exporting O_MESSAGE Call by reference Type reference (TYPE) TAX_MESSAGE Fehlermeldung 19990218
6 Exporting O_UPDATE_OK Call by reference Type reference (TYPE) C 'X' bedeutet Fortschreibung OK, Leerzeichen bedeutet n. OK 19990218

Method GET_AUDIT_DATA_AND_UPDATE on class CL_XTAX_DOCUMENT has no exception.

Method GET_CURRENT_ITEM_INDEX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_REF_ITEM_KEY Call by reference Type reference (TYPE) TAX_LINE_KEY Positionsschlüssel 19990209
2 Exporting O_ITEM_INDEX Call by reference Type reference (TYPE) I Index der Listenposition 19990209
3 Exporting O_NOT_FOUND Call by reference Type reference (TYPE) C Position in Positionsliste nicht gefunden 19990209

Method GET_CURRENT_ITEM_INDEX on class CL_XTAX_DOCUMENT has no exception.

Method GET_DETAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_AUDIT_INFO_SEL Call by reference Type reference (TYPE) CHAR1 'X' Audit-Informationen auswählen 19990222
2 Importing I_DOCNR Value transfer Type reference (TYPE) XTAX_DOCUMENT_NUMBER space Belegnummer 19990222
3 Importing I_REF_DOC_KEY Value transfer Type reference (TYPE) TAX_REF_DOC_KEY Buchhaltungsreferenzschlüssel 19990311
4 Exporting O_AUDIT_DATA Call by reference Type reference (TYPE) EXTAX_AUDIT_DATA Audit-Daten mit Positionen 19990222
5 Exporting O_HEADER_DETAIL Call by reference Type reference (TYPE) TAX_HEADER_DETAIL Detaillierte Kopfinformationen 19990223
# Exception Resumable Description Created on
1 NOT_FOUND Detailinformationen nicht gefunden 19990222

Method GET_DETAIL_WITH_AUDIT_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting O_AUDIT_DATA Call by reference Type reference (TYPE) EXTAX_AUDIT_DATA Audit-Daten mit Positionen 19990223
2 Exporting O_DOCSTATUS_INFO Call by reference Type reference (TYPE) TAX_DOCSTATUS_INFO Information über Belegstatus 19990223
3 Exporting O_HEADER_INFO Call by reference Type reference (TYPE) EXTAX_DOC Kopfinformationen 19990223
4 Exporting O_REF_DOC_KEY Value transfer Type reference (TYPE) TAX_REF_DOC_KEY Buchhaltungsreferenzschlüssel 19990223
5 Exporting O_UPDATE_INFO Call by reference Type reference (TYPE) TAX_UPDATE_INFO Fortschreibungsinformationen 19990223
# Exception Resumable Description Created on
1 NOT_FOUND Detailinformationen nicht gefunden 19990223

Method GET_EXT_TAX_SYST_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_INTERFACE_SHELL Call by reference Object reference (TYPE REF TO) CL_XTAX_INTERFACE_SHELL Schnittstellen-Shell 19990223
2 Importing I_OLD_TAX_PROCEDURE Value transfer Type reference (TYPE) EXTAX_DOC-TAX_PROCEDURE Altes Steuerverfahren 19990223
3 Importing I_TAX_TTXD Value transfer Type reference (TYPE) TTXD Steuersysteminformationen 19990209
4 Exporting O_EXT_TAX_SYST_ID Call by reference Type reference (TYPE) EXTAX_DOC-XEXTN ID des externen Steuersystems 19990209
5 Exporting O_INTERF_VERSION Call by reference Type reference (TYPE) EXTAX_DOC-INTERF_VERSION Steuerschnittstelle API-Version 19990209
6 Exporting O_MESSAGE Call by reference Type reference (TYPE) TAX_MESSAGE Nachricht 19990825
7 Exporting O_NOT_FOUND Call by reference Type reference (TYPE) C Nicht gefunden 19990223
8 Exporting O_TAX_PROCEDURE Value transfer Type reference (TYPE) EXTAX_DOC-TAX_PROCEDURE Steuerverfahren 19990210

Method GET_EXT_TAX_SYST_ID on class CL_XTAX_DOCUMENT has no exception.

Method GET_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOCNR Call by reference Type reference (TYPE) XTAX_DOCUMENT_NUMBER Belegnummer 19990209
2 Importing I_REF_DOC_KEY Call by reference Type reference (TYPE) TAX_REF_DOC_KEY Referenzbelegschlüssel 19990209
3 Exporting O_DOCNR Value transfer Type reference (TYPE) XTAX_DOCUMENT_NUMBER Belegnummer (Output) 19990311
4 Exporting O_DOCSTATUS_INFO Call by reference Type reference (TYPE) TAX_DOCSTATUS_INFO Externe Steuerbelegnummer 19990311
5 Exporting O_HEADER_INFO Call by reference Type reference (TYPE) EXTAX_DOC Fortschreibungsinformationen 19990311
6 Exporting O_INDEX_ITEM_LIST Call by reference Type reference (TYPE) TAX_INDEX_XTAX_DOC_ITEM_TAB ITEM_LIST 19990311
7 Exporting O_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Belegkopfinformationen 19990311
8 Exporting O_NOT_FOUND Call by reference Type reference (TYPE) CHAR1 INDEX_ITEM_LIST 19990209
9 Exporting O_REF_DOC_KEY Value transfer Type reference (TYPE) TAX_REF_DOC_KEY Referenzbelegschlüssel (Output) 19990311
10 Exporting O_UPDATE_INFO Call by reference Type reference (TYPE) TAX_UPDATE_INFO Änderungsdatum des Belegstatus 19990311

Method GET_FROM_DB on class CL_XTAX_DOCUMENT has no exception.

Method GET_INPUT_DATA_AND_CALCULATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Liste aller Positionen in externem Steuerbeleg 19990220
2 Changing CH_UPDATE_INFO Call by reference Type reference (TYPE) TAX_UPDATE_INFO Fortschreibungsinformationen 19990220
3 Importing I_DOC_DATA Call by reference Attribute reference (LIKE) HEADER_INFO Belegdaten 19990220
4 Importing I_INDEX_FIRST Call by reference Type reference (TYPE) I Erste zu berechnende Position der Liste 19990220
5 Importing I_INDEX_LAST Call by reference Type reference (TYPE) I Letzte zu berechnende Position der Liste 19990220
6 Exporting O_CALCULATION_OK Call by reference Type reference (TYPE) C Berechnung erfolgreich 19990220
7 Exporting O_MESSAGE Call by reference Type reference (TYPE) TAX_MESSAGE Meldung 19990220

Method GET_INPUT_DATA_AND_CALCULATE on class CL_XTAX_DOCUMENT has no exception.

Method GET_INPUT_DATA_FOR_CALCULATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_UPDATE_INFO Call by reference Type reference (TYPE) TAX_UPDATE_INFO Fortschreibungsinformationen 19990220
2 Importing I_DOC_DATA Call by reference Attribute reference (LIKE) HEADER_INFO Belegdaten 19990220
3 Importing I_INDEX_FIRST Call by reference Type reference (TYPE) I Erste zu berechnende Position der Liste 19990220
4 Importing I_INDEX_LAST Call by reference Type reference (TYPE) I Letzte zu berechnende Position der Liste 19990220
5 Importing I_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Liste aller Positionen in externem Steuerbeleg 19990220
6 Exporting O_DOC_CALC_INPUT_DATA Call by reference Type reference (TYPE) EXTAX_CALC_DATA_INPUT Eingabedatenstruktur für Berechnung 19990220

Method GET_INPUT_DATA_FOR_CALCULATION on class CL_XTAX_DOCUMENT has no exception.

Method GET_ITEM_LIST_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOCNR Call by reference Type reference (TYPE) XTAX_DOCUMENT_NUMBER Belegnummer 19990209
2 Importing I_ITEM_DATA Call by reference Type reference (TYPE) TAX_ITEM_DETAIL_LIST Liste mit Positionsdaten 19990311
3 Importing I_NR_LINE_ITEMS Call by reference Type reference (TYPE) TAX_NR_LINES Anzahl der Belegpositionen 19990209
4 Exporting O_INDEX_ITEM_LIST Call by reference Attribute reference (LIKE) INDEX_ITEM_LIST Index für Positionen 19990311
5 Exporting O_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Liste der Positionen aus der Datenbank 19990209

Method GET_ITEM_LIST_FROM_DB on class CL_XTAX_DOCUMENT has no exception.

Method GET_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MAX_ROWS Value transfer Type reference (TYPE) INT4 10000000 Maximale Anzahl der selektierten Zeilen 19990216
2 Importing I_TAX_ETXDC_SELECT Call by reference Type reference (TYPE) TAX_ETXDC_SELECT Optionen zum Zurückholen ext. Steuerbelegnummern auswählen 19990209
3 Exporting O_TAX_DOCNR_TAB Call by reference Type reference (TYPE) TAX_DOCNR_TAB Liste externer Steuerbelegnummern 19990209

Method GET_LIST on class CL_XTAX_DOCUMENT has no exception.

Method GET_OR_CREATE_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_REF_ITEM_KEY Call by reference Type reference (TYPE) TAX_LINE_KEY Positionsschlüssel 19990209
2 Exporting O_ITEM_INDEX Call by reference Type reference (TYPE) I Index der Listenposition 19990209

Method GET_OR_CREATE_ITEM on class CL_XTAX_DOCUMENT has no exception.

Method MAKE_PERSISTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOCNR Call by reference Type reference (TYPE) XTAX_DOCUMENT_NUMBER Belegnummer 19990311
2 Importing I_DOCSTATUS_INFO Call by reference Type reference (TYPE) TAX_DOCSTATUS_INFO Externe Steuerbelegnummer 19990311
3 Importing I_HEADER_INFO Call by reference Type reference (TYPE) EXTAX_DOC Fortschreibungsinformationen 19990311
4 Importing I_ITEMS_CHANGED Call by reference Type reference (TYPE) CHAR1 Positionen haben sich geändert 19990315
5 Importing I_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Belegkopfinformationen 19990311
6 Importing I_REF_DOC_KEY Call by reference Type reference (TYPE) TAX_REF_DOC_KEY Referenzbelegschlüssel 19990311
7 Importing I_UPDATE_INFO Call by reference Type reference (TYPE) TAX_UPDATE_INFO Änderungsdatum des Belegstatus 19990311

Method MAKE_PERSISTENT on class CL_XTAX_DOCUMENT has no exception.

Method MAP_HEADER_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_INTERFACE_SHELL Call by reference Object reference (TYPE REF TO) CL_XTAX_INTERFACE_SHELL Schnittstellen-Shell 19990224
2 Importing I_INPUT_HEADER Call by reference Type reference (TYPE) TAX_INPUT_HEADER Steuereingabe-Kopffelder 19990316
3 Importing I_OLD_TAX_PROCEDURE Value transfer Type reference (TYPE) TTXD-KALSM Altes Steuerverfahren 19990224
4 Importing I_TAX_CODE_INFO Call by reference Type reference (TYPE) T007A Eigenschaften Steuerkennzeichen 19990209
5 Importing I_TAX_TTXD Call by reference Type reference (TYPE) TTXD Steuersysteminformationen 19990209
6 Exporting O_EXTERNAL_TAX_SYSTEM Call by reference Object reference (TYPE REF TO) IF_XTAX_SYSTEM Externes System Schnittsstellenversion 19990219
7 Exporting O_HEADER_INFO Call by reference Type reference (TYPE) EXTAX_DOC Kopfinformationen 19990209
8 Exporting O_MAPPING_OK Call by reference Type reference (TYPE) C Mapping erfolgreich 19990209
9 Exporting O_MESSAGE Call by reference Type reference (TYPE) TAX_MESSAGE Meldung 19990209

Method MAP_HEADER_INFO on class CL_XTAX_DOCUMENT has no exception.

Method REBUILD_INDEX_ITEM_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Positionsliste 19990209

Method REBUILD_INDEX_ITEM_LIST on class CL_XTAX_DOCUMENT has no exception.

Method REVERSE_HEADER_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_HEADER_INFO Call by reference Type reference (TYPE) EXTAX_DOC Belegkopfinformationen 19990319
2 Changing CH_REF_DOC_KEY Value transfer Type reference (TYPE) TAX_REF_DOC_KEY Geänderter Belegschlüssel 19990319
3 Changing CH_UPDATE_INFO Call by reference Type reference (TYPE) TAX_UPDATE_INFO Einige Felder in Fortschreibungsinfo initialisieren 19990319
4 Importing I_GLTAX_DATA_HEAD Call by reference Type reference (TYPE) GLTAX_DATA_HEAD Neuer Buchhaltungsschlüssel für Löschbeleg 19990319
5 Importing I_NEW_REF_DOC_KEY Call by reference Type reference (TYPE) TAX_REF_DOC_KEY Neuer Referenzbelegschlüssel für Stornobeleg 19990209

Method REVERSE_HEADER_INFO on class CL_XTAX_DOCUMENT has no exception.

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ACC_POSTED Call by reference Type reference (TYPE) CHAR1 space Beleg wird gerade in die Buchhaltung gebucht 19990521
2 Importing I_REF_DOC_KEY Call by reference Type reference (TYPE) TAX_REF_DOC_KEY Refernzbelegschlüssel 19990212
3 Exporting O_DOCNR Call by reference Type reference (TYPE) XTAX_DOCUMENT_NUMBER Mit Belegnummer gesichert 19990311
4 Exporting O_NO_RELEVANT_ITEM_TO_BE_SAVED Call by reference Type reference (TYPE) CHAR1 Keine relevante Steuerposition zu sichern 19990209

Method SAVE on class CL_XTAX_DOCUMENT has no exception.

Method SET_GLTAX_FLAG Signature

Method SET_GLTAX_FLAG on class CL_XTAX_DOCUMENT has no parameter.
Method SET_GLTAX_FLAG on class CL_XTAX_DOCUMENT has no exception.

Method SET_INCONSISTENCY_FLAG Signature

Method SET_INCONSISTENCY_FLAG on class CL_XTAX_DOCUMENT has no parameter.
Method SET_INCONSISTENCY_FLAG on class CL_XTAX_DOCUMENT has no exception.

Method SORT_ITEM_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Positionsliste muß sortiert werden 19990209

Method SORT_ITEM_LIST on class CL_XTAX_DOCUMENT has no exception.

Method STORE_GLTAX_INTO_AUDIT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HEADER_DATA Call by reference Attribute reference (LIKE) HEADER_INFO Belegdaten 19990210
2 Importing I_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Liste aller Positionen in externem Steuerbeleg 19990210
3 Exporting O_DOC_AUDIT_DATA Call by reference Type reference (TYPE) EXTAX_AUDIT_DATA Fortzuschreibende Beleg-Audit-Daten 19990210

Method STORE_GLTAX_INTO_AUDIT_DATA on class CL_XTAX_DOCUMENT has no exception.

Method STORE_OUTPUT_FROM_CALCULATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Liste aller Positionen in externem Steuerbeleg 19990220
2 Importing I_DOC_CALC_OUTPUT_DATA Call by reference Type reference (TYPE) EXTAX_CALC_DATA_OUTPUT Ergebnisse der Steuerberechnung 19990220
3 Importing I_INDEX_FIRST Call by reference Type reference (TYPE) I Erste zu berechnende Position der Liste 19990220
4 Importing I_INDEX_LAST Call by reference Type reference (TYPE) I Letzte zu berechnende Position der Liste 19990220

Method STORE_OUTPUT_FROM_CALCULATION on class CL_XTAX_DOCUMENT has no exception.

Method STORE_OUTPUT_INTO_AUDIT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_HEADER_DATA Call by reference Attribute reference (LIKE) HEADER_INFO Belegdaten 19990210
2 Importing I_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Liste aller Positionen in externem Steuerbeleg 19990210
3 Importing I_UPDATE_INFO Value transfer Attribute reference (LIKE) UPDATE_INFO Informationen zur Fortschreibung des externen Steuerbelegs 19990222
4 Exporting O_DOC_AUDIT_DATA Call by reference Type reference (TYPE) EXTAX_AUDIT_DATA Fortzuschreibende Beleg-Audit-Daten 19990210

Method STORE_OUTPUT_INTO_AUDIT_DATA on class CL_XTAX_DOCUMENT has no exception.

Method TTE_CHANGE_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CHANGE_FIELDS Call by reference Type reference (TYPE) ACC_TTE_CHANGE_FIELDS_TAXM Für Zeile zu ändernde Felder 20010428
2 Importing IS_LINE_KEY Call by reference Type reference (TYPE) TAX_LINE_KEY Sekundärschlüssel Steuerzeile 20010428

Method TTE_CHANGE_ITEM on class CL_XTAX_DOCUMENT has no exception.

Method TTE_SET_ITEM_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOC_CALC_OUTPUT_DATA Call by reference Type reference (TYPE) EXTAX_CALC_DATA_OUTPUT Für Steuerberechnung verwendete Steuerbeleg-Ausgabestruktur 20010428
2 Importing I_INDEX_FIRST Call by reference Type reference (TYPE) I Erste zu berechnende Position der Liste 20010428
3 Importing I_INDEX_LAST Call by reference Type reference (TYPE) I Letzte zu berechnende Position der List 20010428

Method TTE_SET_ITEM_LIST on class CL_XTAX_DOCUMENT has no exception.

Method UPDATE_GLTAX_DATA_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_ITEM_LIST Call by reference Attribute reference (LIKE) ITEM_LIST Positionsliste 19990209
2 Importing I_GLTAX_DATA Call by reference Type reference (TYPE) GLTAX_DATA_TAB Hauptbuchsteuerdaten 19990209
3 Importing I_GLTAX_DATA_HEAD Call by reference Type reference (TYPE) GLTAX_DATA_HEAD Hauptbuchsteuer-Kopfdaten 19990209
4 Exporting O_NO_MATCH_WITH_GLTAXDATA Call by reference Type reference (TYPE) C Positionen, deren berechnete Steuern <> Hauptbuchsteurdaten 19990209
5 Exporting O_NR_LINES_FOR_UPDATE Call by reference Type reference (TYPE) TAX_NR_LINES Anzahl der Zeilen für Fortschreibung 19990209

Method UPDATE_GLTAX_DATA_ITEMS on class CL_XTAX_DOCUMENT has no exception.

Method UPDATE_REF_DOC_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_REF_DOC_KEY Call by reference Type reference (TYPE) TAX_REF_DOC_KEY Buchhaltungsreferenzschlüssel 19990209

Method UPDATE_REF_DOC_KEY on class CL_XTAX_DOCUMENT has no exception.

Method UPD_DOC_DATA_FROM_GLTAX_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_HEADER_INFO Call by reference Type reference (TYPE) EXTAX_DOC Belegkopfinformationen 19990209
2 Changing CH_TEMP_DOC_NUMBER Call by reference Type reference (TYPE) XTAX_REF_DOC_NUMBER Temporäre Belegnummer 19990209
3 Importing I_GLTAX_DATA_HEAD Call by reference Type reference (TYPE) GLTAX_DATA_HEAD Hauptbuchsteuer-Kopfdaten 19990209
4 Exporting O_LOC_AND_DOC_CUR_DIFFER Call by reference Type reference (TYPE) C Unterschiedliche Währungen 19990209

Method UPD_DOC_DATA_FROM_GLTAX_DATA on class CL_XTAX_DOCUMENT has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in