SAP Table REXA_DOC_BAPI

FI-CA: Layout of Document in Posting BAPI

REXA_DOC_BAPI (FI-CA: Layout of Document in Posting BAPI) is a standard table in SAP R\3 ERP systems. Below you can find the technical details of the fields that make up this table. Key fields are marked in blue.

Additionally we provide an overview of foreign key relationships, if any, that link REXA_DOC_BAPI to other SAP tables.

Source: REXA_DOC_BAPI (FI-CA: Layout of Document in Posting BAPI)

REXA_DOC_BAPI table fields

Field Data element Checktable Datatype Length Decimals
DOCGUID GUID: Unique Internal Key for RE Document RERADOCGUID RAW 16 0
HEADER BAPIDFKKKO STRU 0 0
DOC_NO Number of Contract Accts Rec. & Payable Doc. OPBEL_KK CHAR 12 0
FIKEY Reconciliation Key for General Ledger FIKEY_KK CHAR 12 0
APPL_AREA Application area APPLK_KK CHAR 1 0
* Valid for all application areas
M Media Companies
P Public Administration
R Utility company
T Telecommunications
V Insurance company
X In-house development
S Extended FI-CA
DOC_TYPE Document Type BLART_KK CHAR 2 0
DOC_SOURCE_KEY Document Origin Key HERKF_KK CHAR 2 0
CREATED_BY Name of Person who Created the Object ERNAM CHAR 12 0
ENTRY_DATE Day On Which Accounting Document Was Entered CPUDT DATS 8 0
ENTRY_TIME Time of Entry CPUTM TIMS 6 0
CURRENCY Transaction Currency BLWAE_KK CUKY 5 0
CURRENCY_ISO ISO currency code ISOCD CHAR 3 0
DOC_DATE Document Date in Document BLDAT DATS 8 0
POST_DATE Posting Date in the Document BUDAT_KK DATS 8 0
TRANS_DATE Translation Date WWERT_D DATS 8 0
REF_DOC_NO Reference document number XBLNR_KK CHAR 16 0
RETURN_REASON Return reason RLGRD_KK CHAR 3 0
CHARGE_OFF_REASON Write-Off Reason ABGRD_KK CHAR 2 0
SINGLE_DOC Create Separate Document in General Ledger XEIBH_KK CHAR 1 0
X Yes
NULL No
VALUATION_DOC Document Created by Foreign Currency Valuation or Reclass. XBWER_KK CHAR 1 0
1 Reclassification Only for Local Currency 1
2 Reclassification Only for Local Currency 2
3 Reclassification Only for Local Currency 3
X Foreign Currency Valuation
OBJ_TYPE Reference Transaction AWTYP CHAR 5 0
OBJ_KEY Reference Key AWKEY CHAR 20 0
REVERSED_DOC Number of Reversed Document STBEL_KK CHAR 12 0
COC_CATEGORY Document Class BLTYP_KK CHAR 1 0
NULL Not Specified
1 Document does not have FI-CA items
2 Document has only statistical FI-CA items
CLEAR_INFO Clearing Information AGINF_KK CHAR 1 0
NULL Document did not clear any items
0 Document cleared only statistical items
1 Document cleared only items without repetitions
2 Document cleared various items
TAX_COMP_CODE Tax Company Code STBUK_KK CHAR 4 0
SAMPLE_DOC Sample document XMBEL_KK CHAR 1 0
X Yes
NULL No
OBJ_SYS Logical system of source document AWSYS CHAR 10 0
CLASS_KEY Classification Key OPORD_KK CHAR 35 0
CM_MESSAGE_ID Identification of Partner Message from SAP Credit Management PRTID_KK CHAR 32 0
T_PARTN_ITEM RE_T_XA_BAPIDFKKOP TTYP 0 0
T_GL_ITEM RE_T_XA_BAPIDFKKOPK TTYP 0 0
ERROR Single-Character Indicator CHAR1 CHAR 1 0
IS_BILL_DOC General Yes/No Field RECABOOL CHAR 1 0
X Yes
NULL No
BILLDOC_HEADER FKKINVBILL_H STRU 0 0
MANDT Client MANDT CLNT 3 0
BILLDOCNO Number of Billing Document BILLDOCNO_KK NUMC 12 0
REFDOCNO Document Number in External System REFDOCNO_KK CHAR 22 0
LOG_SYSTEM Logical system LOGSYS CHAR 10 0
APPLK Application area APPLK_KK CHAR 1 0
* Valid for all application areas
M Media Companies
P Public Administration
R Utility company
T Telecommunications
V Insurance company
X In-house development
S Extended FI-CA
SRCPROCESS Origin Process of Billing Document SRCPROCESS_KK NUMC 4 0
SRCDOCTYPE Source Document Type of Billing Document SRCDOCTYPE_INVBI_KK CHAR 3 0
TECHDOCTYPE Type of Technical Billing/Invoicing Document TECHDOCTYPE_KK CHAR 1 0
1 Technical Document Based on Technical Master Data
2 Posting Not Needed
DOCTYPE Document Type DOCTYPE_KK CHAR 2 0
GPART Business Partner Number for Billing and Invoicing GPART_CI_KK CHAR 10 0
VKONT Contract Account Number for Billing and Invoicing VKONT_CI_KK CHAR 12 0
MDCAT Type of Master Data for Billing and Invoicing MDCAT_CI_KK CHAR 1 0
NULL Master Data of Contract Accounts A/R & A/P
T Technical Master Data for Billing and Invoicing
GPART_INV Alternative Business Partner for Invoicing GPART_INV_KK CHAR 10 0
VKONT_INV Alternative Contract Account for Invoicing VKONT_INV_KK CHAR 12 0
DATE_FROM Start of Document Period BILL_PERIOD_FROM_KK DATS 8 0
DATE_TO End of Document Period BILL_PERIOD_TO_KK DATS 8 0
BILL_BASEDATE Baseline Date for Period Assignment in Billing BILL_BASEDATE_KK DATS 8 0
SIMULATED Billing Document Is Simulated SIMULATED_KK CHAR 1 0
X Yes
NULL No
BILL_CURR Currency of Billing Document BILL_CURR_KK CUKY 5 0
INV_CURR Target Currency of Invoicing INV_CURR_KK CUKY 5 0
TAX_DET_TYPE Type of Tax Calculation TAX_DET_TYPE_KK CHAR 2 0
00 No Tax Calculation
01 Internal Tax Calculation
02 External Tax Calculation (Other Taxes)
03 External Tax Calculation with Internal Handling
04 Telecommunications Tax (USA) w/ Ext. Tax System Integration
TAX_DATE_TYPE Type of Tax Date TAX_DATE_TYPE_KK CHAR 2 0
01 Tax Calculation for Document Date
02 Tax Calculation for Posting Date
03 Tax Calculation for Date of Creation
04 Tax Calculation for External Tax Date
INV_CATEGORY Invoicing Category INV_CATEGORY_KK CHAR 4 0
SEPARATE_INV Control of Invoicing Unit SEPARATE_INV_KK CHAR 1 0
NULL No restrictions
0 Do not invoice document with other source document
1 Only invoice document with other source document
INVOICE_FIRST Target Date for Invoicing INVOICE_FIRST_KK DATS 8 0
REVREASON Reversal Reason for Billing Document BILL_REVREASON_KK CHAR 2 0
REVERSALDOC Number of Reversal Document for Billing Document REVERSALBILLDOC_KK NUMC 12 0
REVERSEDDOC Number of Reversed Billing Document REVERSEDBILLDOC_KK NUMC 12 0
ADJUSTMENTDOC Number of Adjustment Billing Document ADJUSTMENTBILLDOC_KK NUMC 12 0
ADJUSTEDDOC Number of Adjusted Billing Document ADJUSTEDBILLDOC_KK NUMC 12 0
TRIGDELETED Invoicing Order Deleted TRIGDELETED_KK CHAR 1 0
X Yes
NULL No
XINFBILL Additional Statement in Another Invoice for Information Only XINFBILL_KK CHAR 1 0
X Yes
NULL No
INVLOCK Billing Document Is Locked for Invoicing INVLOCK_KK CHAR 1 0
NULL No Invoicing Lock
0 Billing Document Reversed Before Invoicing
1 General Invoicing Lock
2 Technical Document, Not Relevant for Invoicing
ADD_GROUP Grouping of Additional Items ADD_GROUP_KK CHAR 8 0
XINVBILL_X Billing Document Contains Links to Reference Objects XINVBILL_X_KK CHAR 1 0
X Yes
NULL No
RECNUM Total Number of Items of a Billing Document BILLDOC_RECNUM_KK INT4 10 0
CRNAME Created By CRNAM CHAR 12 0
CRDATE Date on Which Billing Document Was Created BILLCRDATE_KK DATS 8 0
CRTIME Time at Which Billing Document Was Created BILLCRTIM_KK TIMS 6 0
TARGPROCESS Target Process That Invoices the Billing Document TARGPROCESS_KK CHAR 4 0
BILLTYPE Billing Type BILLTYPE_KK NUMC 3 0
BILLCYCLE Billing Cycle BILLCYCLE_KK CHAR 10 0
BILLGROUP Billing Group BILLGROUP_KK NUMC 4 0
BILLTO Time of Billing BILLTASKBILLTO_KK DEC 15 0
TASKTYPE Billing Order Type TASKTYPE_KK CHAR 2 0
01 Periodic
02 Non-Periodic
03 As Needed
HOTBILLING Express Billing HOTBILLING_KK CHAR 1 0
X Yes
NULL No
BILLPROCEDURE Billing Procedure BILLPROCEDURE_KK CHAR 10 0
BILL_PROCESS Billing Process BILL_PROCESS_KK CHAR 4 0
BILL_TYPE Billing Type BILL_TYPE_KK CHAR 4 0
PREPAID_INCL Document Contains Prepaid Items PREPAID_INCL_KK CHAR 1 0
X Yes
NULL No
PPREFILL_INCL Document Contains Items for Prepaid Refill PPREFILL_INCL_KK CHAR 1 0
X Yes
NULL No
PTSRL Partner Settlement Rule PTSRL_KK CHAR 4 0
ARCHIVED Document Is Archived ARCHIVED_KK CHAR 1 0
X Yes
NULL No
NOT_SAVED Object Not (Yet) Saved on Database NOT_SAVED_ON_DB_KK CHAR 1 0
X Yes
NULL No
T_BILLDOC_ITEM FKKINVBILL_I_TAB TTYP 0 0
T_BILLDOC_TAXITEM FKKINVBILL_T_TAB TTYP 0 0
T_BILLDOC_ADDITEM FKKINVBILL_A_TAB TTYP 0 0