REXA_DOC_BAPI SAP (FI-CA: Layout of Document in Posting BAPI) Structure details

Dictionary Type: Structure
Description: FI-CA: Layout of Document in Posting BAPI




ABAP Code to SELECT data from REXA_DOC_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
DOCGUIDGUID: Unique Internal Key for RE Document RERADOCGUIDRAW16RECAGUID
HEADER 0
DOC_NONumber of Contract Accts Rec. & Payable Doc. OPBEL_KKCHAR12ALPHAOPBEL_KK80B
FIKEYReconciliation Key for General Ledger FIKEY_KKCHAR12FIKEY_KKFKFI1
APPL_AREAApplication area APPLK_KKCHAR1APPLK_KK
DOC_TYPEDocument Type BLART_KKCHAR2BLART_KK
DOC_SOURCE_KEYDocument Origin Key HERKF_KKCHAR2HERKF_KK
CREATED_BYName of Person who Created the Object ERNAMCHAR12USNAM
ENTRY_DATEDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
ENTRY_TIMETime of Entry CPUTMTIMS6UZEIT
CURRENCYTransaction Currency BLWAE_KKCUKY5WAERSFWS
CURRENCY_ISOISO currency code ISOCDCHAR3ISOCD
DOC_DATEDocument Date in Document BLDATDATS8DATUM
POST_DATEPosting Date in the Document BUDAT_KKDATS8DATUM
TRANS_DATETranslation Date WWERT_DDATS8DATUM
REF_DOC_NOReference document number XBLNR_KKCHAR16ALPHAXBLNR_KK
RETURN_REASONReturn reason RLGRD_KKCHAR3RLGRD_KK
CHARGE_OFF_REASONWrite-Off Reason ABGRD_KKCHAR2ABGRD_KK8AG
SINGLE_DOCCreate Separate Document in General Ledger XEIBH_KKCHAR1XFELD
VALUATION_DOCDocument Created by Foreign Currency Valuation or Reclass. XBWER_KKCHAR1XBWER_KK
OBJ_TYPEReference Transaction AWTYPCHAR5AWTYP
OBJ_KEYReference Key AWKEYCHAR20AWKEY
REVERSED_DOCNumber of Reversed Document STBEL_KKCHAR12ALPHAOPBEL_KK
COC_CATEGORYDocument Class BLTYP_KKCHAR1BLTYP_KK
CLEAR_INFOClearing Information AGINF_KKCHAR1AGINF_KK
TAX_COMP_CODETax Company Code STBUK_KKCHAR4BUKRSBUK
SAMPLE_DOCSample document XMBEL_KKCHAR1XFELD
OBJ_SYSLogical system of source document AWSYSCHAR10ALPHALOGSYS
CLASS_KEYClassification Key OPORD_KKCHAR35CHAR35
CM_MESSAGE_IDIdentification of Partner Message from SAP Credit Management PRTID_KKCHAR32CHAR32
T_PARTN_ITEM 0
T_GL_ITEM 0
ERRORSingle-Character Indicator CHAR1CHAR1CHAR1
IS_BILL_DOCGeneral Yes/No Field RECABOOLCHAR1RECABOOL
BILLDOC_HEADER 0
MANDTClient MANDTCLNT3MANDT
BILLDOCNONumber of Billing Document BILLDOCNO_KKNUMC12BILLDOCNO_KKFKKINV_BILLDOCNO
REFDOCNODocument Number in External System REFDOCNO_KKCHAR22REFDOCNO_KK
LOG_SYSTEMLogical system LOGSYSCHAR10ALPHALOGSYS
APPLKApplication area APPLK_KKCHAR1APPLK_KK
SRCPROCESSOrigin Process of Billing Document SRCPROCESS_KKNUMC4SRCPROCESS_KK
SRCDOCTYPESource Document Type of Billing Document SRCDOCTYPE_INVBI_KKCHAR3SRCDOCTYPE_KKFKKINV_SRCDOCTYPE_INVBI_KK
TECHDOCTYPEType of Technical Billing/Invoicing Document TECHDOCTYPE_KKCHAR1TECHDOCTYPE_KK
DOCTYPEDocument Type DOCTYPE_KKCHAR2DOCTYPE_KK
GPARTBusiness Partner Number for Billing and Invoicing GPART_CI_KKCHAR10ALPHABU_PARTNERBPAFKKINV_GPART_CI
VKONTContract Account Number for Billing and Invoicing VKONT_CI_KKCHAR12ALPHAVKONT_KKKTOFKKINV_VKONT_CI
MDCATType of Master Data for Billing and Invoicing MDCAT_CI_KKCHAR1MDCAT_CI_KK
GPART_INVAlternative Business Partner for Invoicing GPART_INV_KKCHAR10ALPHABU_PARTNERBPAFKKINV_GPART_CI
VKONT_INVAlternative Contract Account for Invoicing VKONT_INV_KKCHAR12ALPHAVKONT_KKKTOFKKINV_VKONT_CI
DATE_FROMStart of Document Period BILL_PERIOD_FROM_KKDATS8
DATE_TOEnd of Document Period BILL_PERIOD_TO_KKDATS8
BILL_BASEDATEBaseline Date for Period Assignment in Billing BILL_BASEDATE_KKDATS8DATS
SIMULATEDBilling Document Is Simulated SIMULATED_KKCHAR1XFELD
BILL_CURRCurrency of Billing Document BILL_CURR_KKCUKY5WAERS
INV_CURRTarget Currency of Invoicing INV_CURR_KKCUKY5WAERS
TAX_DET_TYPEType of Tax Calculation TAX_DET_TYPE_KKCHAR2TAX_DET_TYPE_KK
TAX_DATE_TYPEType of Tax Date TAX_DATE_TYPE_KKCHAR2TAX_DATE_TYPE_KK
INV_CATEGORYInvoicing Category INV_CATEGORY_KKCHAR4INV_CATEGORY_KK
SEPARATE_INVControl of Invoicing Unit SEPARATE_INV_KKCHAR1SEPARATE_INV_KK
INVOICE_FIRSTTarget Date for Invoicing INVOICE_FIRST_KKDATS8
REVREASONReversal Reason for Billing Document BILL_REVREASON_KKCHAR2BILL_REVREASON_KKFKKINV_BILL_REVREASON
REVERSALDOCNumber of Reversal Document for Billing Document REVERSALBILLDOC_KKNUMC12BILLDOCNO_KK
REVERSEDDOCNumber of Reversed Billing Document REVERSEDBILLDOC_KKNUMC12BILLDOCNO_KK
ADJUSTMENTDOCNumber of Adjustment Billing Document ADJUSTMENTBILLDOC_KKNUMC12BILLDOCNO_KK
ADJUSTEDDOCNumber of Adjusted Billing Document ADJUSTEDBILLDOC_KKNUMC12BILLDOCNO_KK
TRIGDELETEDInvoicing Order Deleted TRIGDELETED_KKCHAR1XFELD
XINFBILLAdditional Statement in Another Invoice for Information Only XINFBILL_KKCHAR1XFELD
INVLOCKBilling Document Is Locked for Invoicing INVLOCK_KKCHAR1INVLOCK_KK
ADD_GROUPGrouping of Additional Items ADD_GROUP_KKCHAR8
XINVBILL_XBilling Document Contains Links to Reference Objects XINVBILL_X_KKCHAR1XFELD
RECNUMTotal Number of Items of a Billing Document BILLDOC_RECNUM_KKINT410INT4_NOS
CRNAMECreated By CRNAMCHAR12USNAM
CRDATEDate on Which Billing Document Was Created BILLCRDATE_KKDATS8DATUM
CRTIMETime at Which Billing Document Was Created BILLCRTIM_KKTIMS6UZEIT
TARGPROCESSTarget Process That Invoices the Billing Document TARGPROCESS_KKCHAR4TARGPROCESS_KK
BILLTYPEBilling Type BILLTYPE_KKNUMC3BILLTYPE_KK
BILLCYCLEBilling Cycle BILLCYCLE_KKCHAR10BILLCYCLE_KK
BILLGROUPBilling Group BILLGROUP_KKNUMC4BILLGROUP_KK
BILLTOTime of Billing BILLTASKBILLTO_KKDEC15TZNTSTMPS
TASKTYPEBilling Order Type TASKTYPE_KKCHAR2TASKTYPE_KK
HOTBILLINGExpress Billing HOTBILLING_KKCHAR1XFELD
BILLPROCEDUREBilling Procedure BILLPROCEDURE_KKCHAR10BILLPROCEDURE_KK
BILL_PROCESSBilling Process BILL_PROCESS_KKCHAR4BILL_PROCESS_KK
BILL_TYPEBilling Type BILL_TYPE_KKCHAR4BILL_TYPE_KK
PREPAID_INCLDocument Contains Prepaid Items PREPAID_INCL_KKCHAR1XFELD
PPREFILL_INCLDocument Contains Items for Prepaid Refill PPREFILL_INCL_KKCHAR1XFELD
PTSRLPartner Settlement Rule PTSRL_KKCHAR4PTSRL_KK
ARCHIVEDDocument Is Archived ARCHIVED_KKCHAR1XFELD
NOT_SAVEDObject Not (Yet) Saved on Database NOT_SAVED_ON_DB_KKCHAR1XFELD
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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!