REXA_DOC_BAPI SAP (FI-CA: Layout of Document in Posting BAPI) Structure details
Description: FI-CA: Layout of Document in Posting BAPI
Related tables to REXA_DOC_BAPI
Access table REXA_DOC_BAPI
Structure field list including key, data, relationships and ABAP select examples
REXA_DOC_BAPI is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "FI-CA: Layout of Document in Posting BAPI" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_REXA_DOC_BAPI TYPE REXA_DOC_BAPI.
The REXA_DOC_BAPI table consists of various fields, each holding specific information or linking keys about FI-CA: Layout of Document in Posting BAPI data available in SAP. These include HEADER (), DOC_NO (Number of Contract Accts Rec. & Payable Doc.), FIKEY (Reconciliation Key for General Ledger), APPL_AREA (Application area).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can Be Enhanced (Deep)
SAP REXA_DOC_BAPI structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
DOCGUID | GUID: Unique Internal Key for RE Document | RERADOCGUID | RAW | 16 | RECAGUID | ||||
HEADER | 0 | ||||||||
DOC_NO | Number of Contract Accts Rec. & Payable Doc. | OPBEL_KK | CHAR | 12 | ALPHA | OPBEL_KK | 80B | ||
FIKEY | Reconciliation Key for General Ledger | FIKEY_KK | CHAR | 12 | FIKEY_KK | FKFI1 | |||
APPL_AREA | Application area | APPLK_KK | CHAR | 1 | APPLK_KK | ||||
DOC_TYPE | Document Type | BLART_KK | CHAR | 2 | BLART_KK | ||||
DOC_SOURCE_KEY | Document Origin Key | HERKF_KK | CHAR | 2 | HERKF_KK | ||||
CREATED_BY | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
ENTRY_DATE | Day On Which Accounting Document Was Entered | CPUDT | DATS | 8 | DATUM | ||||
ENTRY_TIME | Time of Entry | CPUTM | TIMS | 6 | UZEIT | ||||
CURRENCY | Transaction Currency | BLWAE_KK | CUKY | 5 | WAERS | FWS | |||
CURRENCY_ISO | ISO currency code | ISOCD | CHAR | 3 | ISOCD | ||||
DOC_DATE | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
POST_DATE | Posting Date in the Document | BUDAT_KK | DATS | 8 | DATUM | ||||
TRANS_DATE | Translation Date | WWERT_D | DATS | 8 | DATUM | ||||
REF_DOC_NO | Reference document number | XBLNR_KK | CHAR | 16 | ALPHA | XBLNR_KK | |||
RETURN_REASON | Return reason | RLGRD_KK | CHAR | 3 | RLGRD_KK | ||||
CHARGE_OFF_REASON | Write-Off Reason | ABGRD_KK | CHAR | 2 | ABGRD_KK | 8AG | |||
SINGLE_DOC | Create Separate Document in General Ledger | XEIBH_KK | CHAR | 1 | XFELD | ||||
VALUATION_DOC | Document Created by Foreign Currency Valuation or Reclass. | XBWER_KK | CHAR | 1 | XBWER_KK | ||||
OBJ_TYPE | Reference Transaction | AWTYP | CHAR | 5 | AWTYP | ||||
OBJ_KEY | Reference Key | AWKEY | CHAR | 20 | AWKEY | ||||
REVERSED_DOC | Number of Reversed Document | STBEL_KK | CHAR | 12 | ALPHA | OPBEL_KK | |||
COC_CATEGORY | Document Class | BLTYP_KK | CHAR | 1 | BLTYP_KK | ||||
CLEAR_INFO | Clearing Information | AGINF_KK | CHAR | 1 | AGINF_KK | ||||
TAX_COMP_CODE | Tax Company Code | STBUK_KK | CHAR | 4 | BUKRS | BUK | |||
SAMPLE_DOC | Sample document | XMBEL_KK | CHAR | 1 | XFELD | ||||
OBJ_SYS | Logical system of source document | AWSYS | CHAR | 10 | ALPHA | LOGSYS | |||
CLASS_KEY | Classification Key | OPORD_KK | CHAR | 35 | CHAR35 | ||||
CM_MESSAGE_ID | Identification of Partner Message from SAP Credit Management | PRTID_KK | CHAR | 32 | CHAR32 | ||||
T_PARTN_ITEM | 0 | ||||||||
T_GL_ITEM | 0 | ||||||||
ERROR | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
IS_BILL_DOC | General Yes/No Field | RECABOOL | CHAR | 1 | RECABOOL | ||||
BILLDOC_HEADER | 0 | ||||||||
MANDT | Client | MANDT | CLNT | 3 | MANDT | ||||
BILLDOCNO | Number of Billing Document | BILLDOCNO_KK | NUMC | 12 | BILLDOCNO_KK | FKKINV_BILLDOCNO | |||
REFDOCNO | Document Number in External System | REFDOCNO_KK | CHAR | 22 | REFDOCNO_KK | ||||
LOG_SYSTEM | Logical system | LOGSYS | CHAR | 10 | ALPHA | LOGSYS | |||
APPLK | Application area | APPLK_KK | CHAR | 1 | APPLK_KK | ||||
SRCPROCESS | Origin Process of Billing Document | SRCPROCESS_KK | NUMC | 4 | SRCPROCESS_KK | ||||
SRCDOCTYPE | Source Document Type of Billing Document | SRCDOCTYPE_INVBI_KK | CHAR | 3 | SRCDOCTYPE_KK | FKKINV_SRCDOCTYPE_INVBI_KK | |||
TECHDOCTYPE | Type of Technical Billing/Invoicing Document | TECHDOCTYPE_KK | CHAR | 1 | TECHDOCTYPE_KK | ||||
DOCTYPE | Document Type | DOCTYPE_KK | CHAR | 2 | DOCTYPE_KK | ||||
GPART | Business Partner Number for Billing and Invoicing | GPART_CI_KK | CHAR | 10 | ALPHA | BU_PARTNER | BPA | FKKINV_GPART_CI | |
VKONT | Contract Account Number for Billing and Invoicing | VKONT_CI_KK | CHAR | 12 | ALPHA | VKONT_KK | KTO | FKKINV_VKONT_CI | |
MDCAT | Type of Master Data for Billing and Invoicing | MDCAT_CI_KK | CHAR | 1 | MDCAT_CI_KK | ||||
GPART_INV | Alternative Business Partner for Invoicing | GPART_INV_KK | CHAR | 10 | ALPHA | BU_PARTNER | BPA | FKKINV_GPART_CI | |
VKONT_INV | Alternative Contract Account for Invoicing | VKONT_INV_KK | CHAR | 12 | ALPHA | VKONT_KK | KTO | FKKINV_VKONT_CI | |
DATE_FROM | Start of Document Period | BILL_PERIOD_FROM_KK | DATS | 8 | |||||
DATE_TO | End of Document Period | BILL_PERIOD_TO_KK | DATS | 8 | |||||
BILL_BASEDATE | Baseline Date for Period Assignment in Billing | BILL_BASEDATE_KK | DATS | 8 | DATS | ||||
SIMULATED | Billing Document Is Simulated | SIMULATED_KK | CHAR | 1 | XFELD | ||||
BILL_CURR | Currency of Billing Document | BILL_CURR_KK | CUKY | 5 | WAERS | ||||
INV_CURR | Target Currency of Invoicing | INV_CURR_KK | CUKY | 5 | WAERS | ||||
TAX_DET_TYPE | Type of Tax Calculation | TAX_DET_TYPE_KK | CHAR | 2 | TAX_DET_TYPE_KK | ||||
TAX_DATE_TYPE | Type of Tax Date | TAX_DATE_TYPE_KK | CHAR | 2 | TAX_DATE_TYPE_KK | ||||
INV_CATEGORY | Invoicing Category | INV_CATEGORY_KK | CHAR | 4 | INV_CATEGORY_KK | ||||
SEPARATE_INV | Control of Invoicing Unit | SEPARATE_INV_KK | CHAR | 1 | SEPARATE_INV_KK | ||||
INVOICE_FIRST | Target Date for Invoicing | INVOICE_FIRST_KK | DATS | 8 | |||||
REVREASON | Reversal Reason for Billing Document | BILL_REVREASON_KK | CHAR | 2 | BILL_REVREASON_KK | FKKINV_BILL_REVREASON | |||
REVERSALDOC | Number of Reversal Document for Billing Document | REVERSALBILLDOC_KK | NUMC | 12 | BILLDOCNO_KK | ||||
REVERSEDDOC | Number of Reversed Billing Document | REVERSEDBILLDOC_KK | NUMC | 12 | BILLDOCNO_KK | ||||
ADJUSTMENTDOC | Number of Adjustment Billing Document | ADJUSTMENTBILLDOC_KK | NUMC | 12 | BILLDOCNO_KK | ||||
ADJUSTEDDOC | Number of Adjusted Billing Document | ADJUSTEDBILLDOC_KK | NUMC | 12 | BILLDOCNO_KK | ||||
TRIGDELETED | Invoicing Order Deleted | TRIGDELETED_KK | CHAR | 1 | XFELD | ||||
XINFBILL | Additional Statement in Another Invoice for Information Only | XINFBILL_KK | CHAR | 1 | XFELD | ||||
INVLOCK | Billing Document Is Locked for Invoicing | INVLOCK_KK | CHAR | 1 | INVLOCK_KK | ||||
ADD_GROUP | Grouping of Additional Items | ADD_GROUP_KK | CHAR | 8 | |||||
XINVBILL_X | Billing Document Contains Links to Reference Objects | XINVBILL_X_KK | CHAR | 1 | XFELD | ||||
RECNUM | Total Number of Items of a Billing Document | BILLDOC_RECNUM_KK | INT4 | 10 | INT4_NOS | ||||
CRNAME | Created By | CRNAM | CHAR | 12 | USNAM | ||||
CRDATE | Date on Which Billing Document Was Created | BILLCRDATE_KK | DATS | 8 | DATUM | ||||
CRTIME | Time at Which Billing Document Was Created | BILLCRTIM_KK | TIMS | 6 | UZEIT | ||||
TARGPROCESS | Target Process That Invoices the Billing Document | TARGPROCESS_KK | CHAR | 4 | TARGPROCESS_KK | ||||
BILLTYPE | Billing Type | BILLTYPE_KK | NUMC | 3 | BILLTYPE_KK | ||||
BILLCYCLE | Billing Cycle | BILLCYCLE_KK | CHAR | 10 | BILLCYCLE_KK | ||||
BILLGROUP | Billing Group | BILLGROUP_KK | NUMC | 4 | BILLGROUP_KK | ||||
BILLTO | Time of Billing | BILLTASKBILLTO_KK | DEC | 15 | TZNTSTMPS | ||||
TASKTYPE | Billing Order Type | TASKTYPE_KK | CHAR | 2 | TASKTYPE_KK | ||||
HOTBILLING | Express Billing | HOTBILLING_KK | CHAR | 1 | XFELD | ||||
BILLPROCEDURE | Billing Procedure | BILLPROCEDURE_KK | CHAR | 10 | BILLPROCEDURE_KK | ||||
BILL_PROCESS | Billing Process | BILL_PROCESS_KK | CHAR | 4 | BILL_PROCESS_KK | ||||
BILL_TYPE | Billing Type | BILL_TYPE_KK | CHAR | 4 | BILL_TYPE_KK | ||||
PREPAID_INCL | Document Contains Prepaid Items | PREPAID_INCL_KK | CHAR | 1 | XFELD | ||||
PPREFILL_INCL | Document Contains Items for Prepaid Refill | PPREFILL_INCL_KK | CHAR | 1 | XFELD | ||||
PTSRL | Partner Settlement Rule | PTSRL_KK | CHAR | 4 | PTSRL_KK | ||||
ARCHIVED | Document Is Archived | ARCHIVED_KK | CHAR | 1 | XFELD | ||||
NOT_SAVED | Object Not (Yet) Saved on Database | NOT_SAVED_ON_DB_KK | CHAR | 1 | XFELD | ||||
T_BILLDOC_ITEM | 0 | ||||||||
T_BILLDOC_TAXITEM | 0 | ||||||||
T_BILLDOC_ADDITEM | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure REXA_DOC_BAPI using ABAP code?
As REXA_DOC_BAPI is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on REXA_DOC_BAPI as there is no data to select.How to access SAP table REXA_DOC_BAPI
Within an ECC or HANA version of SAP you can also view further information about REXA_DOC_BAPI and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects