Platform reference

SAP ERP: Architecture, Data Model, and Tables

How SAP ECC 6.0 and S/4HANA are built, how the organizational and document models work, and which tables hold the data behind GFEBS, Navy ERP, GCSS-Army, LMP, and DLA EBS.

13

Numbered tables

5 diagrams

1. What runs on SAP in DoD

Five systems in this suite run on SAP ERP: GFEBS, Navy ERP, GCSS-Army, LMP, and DLA EBS. They share one product data model. A purchase order sits in EKKO and EKPO in all five. A financial document sits in BKPF and BSEG in all five. What differs between programs is configuration, custom Z-tables, interfaces, and which modules are switched on.

Table S-1SAP-based systems in this suite
SystemOwnerMain SAP scopeRole in the reporting chain
GFEBSArmyFI, PSM-FM, CO, MM purchasing, SD for reimbursables, asset accounting, real estateArmy General Fund general ledger. Sends its trial balance to DDRS.
Navy ERPNavyFI, PSM-FM, CO, MM, PS, SD, plant maintenance, HR timeGeneral ledger for Navy systems commands and working capital activities.
GCSS-ArmyArmyMM inventory and purchasing, PM maintenance, property book, with a finance componentTactical logistics ERP. Its financial postings follow the GFEBS finance template.
LMPArmy Materiel CommandMM, PP, SD, PM, FI and CO for the Army Working Capital FundNational-level logistics and the AWCF general ledger.
DLA EBSDefense Logistics AgencyMM, SD, FI, CO, plus planning and procurement add-onsDLA supply chain and working capital fund accounting.

Scope lines summarize public program descriptions. Each program office holds the authoritative module and release list.

2. Technical architecture

SAP ERP is a three-tier client-server system. Users and interfaces reach an application server. The application server runs ABAP programs in work processes. Only the application server talks to the database.

Figure S-1SAP NetWeaver Application Server ABAP: tiers and components
locks, logonOpen SQLPresentation tierApplication tier: one or more AS ABAP instancesCentral services, database, and landscapeSAP GUIDIAG protocolTransaction codes such as ME21N,FB03, FMRP_RFFMEP1AXFiori launchpad / browserHTTPS and OData servicesWeb Dynpro and BSP pagesExternal systemsRFC, IDoc, SOAP, file dropsGEX, PI/PO, DTS, PIEE, DCPSDispatcherQueues each requestHands it to a free work processof the right typeWork processesDIA dialog, UPD and UP2 updateBGD background, SPO spoolEach has a screen processor, ABAPprocessor, and database interfaceICM and RFC gatewayInternet Communication Manager serves HTTP(S) and SMTPGateway serves RFC and tRFC/qRFC calls, including inbound IDocsABAP Central Services(ASCS)Message server: logon groups andload balancingEnqueue server: the lock tableShared memoryProgram, table, and number-rangebuffersSynchronized across instancesDatabaseECC 6.0: Oracle, DB2, SQL Server,MaxDB, or HANAS/4HANA: HANA onlyEvery application table is keyedby client (MANDT)Landscape and transportsDEV to QAS to PRDChange requests move code andconfiguration through STMS

Work process types and the database interface follow the SAP NetWeaver documentation. Program-specific sizing and hosting are not shown.

Table S-2Application server components
ComponentWhat it doesWhy a financial manager should care
DispatcherReceives each request and assigns it to a free work process of the right type.Long queues at month end show up as slow screens and delayed postings.
Dialog work process (DIA)Runs one screen step of an online transaction.Each step is its own database commit unit, which is why SAP uses update tasks.
Update work process (UPD, UP2)Writes the document to the database after the dialog ends. V1 updates are time-critical. V2 updates are statistical.A failed update leaves a document number with no document. Transaction SM13 lists them.
Background work process (BGD)Runs scheduled jobs: payment runs, interface loads, depreciation, period-end programs.Job logs in SM37 are audit evidence that a control ran.
Enqueue serverHolds the logical lock table so two users cannot change the same document.Stuck locks block postings. SM12 shows them.
Message serverBalances logons across instances.No direct audit relevance.
ICMHandles HTTP, HTTPS, and SMTP for Fiori, web services, and OData.Web-service interfaces authenticate here.
GatewayHandles RFC calls from other systems, including IDoc delivery.Interface user accounts and RFC destinations (SM59) are access-control scope.
Database interfaceTranslates Open SQL into the database dialect and manages table buffers.Explains why the same ABAP program runs on Oracle or HANA.

Clients, landscapes, and transports

  • A client is a self-contained business tenant inside one SAP system. The client number is the first key field (MANDT) of almost every application table. Any direct SQL against an SAP database must filter on it.
  • A standard landscape has three systems: development, quality assurance, and production. Configuration and code move between them in transport requests. The transport log is the change-management evidence auditors ask for.
  • Configuration lives in tables too. The Implementation Guide (SPRO) is a menu over thousands of customizing tables such as T001 (company codes) and T003 (document types).
  • The ABAP Dictionary (SE11) defines every table. ECC has three physical kinds: transparent tables, pooled tables, and cluster tables. BSEG is a cluster table in ECC, which is why it cannot be joined in plain SQL there. In S/4HANA it is transparent.

3. Organizational structure

SAP separates the legal view, the cost view, the budget view, and the logistics view of an organization. Each view has its own top-level unit. Assignments between them decide which postings are allowed.

Figure S-2SAP organizational units and the master data under each
assignedassignedClient (MANDT)Top of the hierarchy. All master data and documents are stored per client.Company code (BUKRS)Table T001Legal books: one balanced set ofaccountsChart of accounts KTOPL, fiscalyear variantControlling area (KOKRS)Table TKA01Scope for cost accountingFM area (FIKRS)Table FM01Scope for budget and fundscontrolLogistics unitsPlant WERKS (T001W)Purchasing org EKORG (T024E)Sales org VKORG (TVKO)GL account, business area,profit centerSKA1 / SKB1, TGSB, CEPCSegment and ledger (RLDNR) in thenew GLCost objectsCost center CSKSInternal order AUFKWBS element PRPSFM account assignmentFund FMFINCODEFunds center FMFCTRCommitment item FMCIFunctional area TFKBFunded program FMMEASUREStock and purchasing detailStorage location LGORT (T001L)Purchasing group (T024)Material master MARA, MARC, MARD
Table S-3Organizational units and their configuration tables
UnitFieldConfig tableMeaning in a DoD implementation
ClientMANDTT000The production tenant. Usually one per program.
Company codeBUKRST001A balanced set of books. Often one per reporting entity or fund group.
Chart of accountsKTOPLT004The account list. DoD programs load the DoD Standard Chart of Accounts: a six-digit USSGL account plus a four-digit DoD extension.
LedgerRLDNRT881New GL ledgers. A leading ledger carries the statutory view.
Controlling areaKOKRSTKA01Cost accounting scope for cost centers, orders, and WBS elements.
FM areaFIKRSFM01Budget control scope. Holds funds, funds centers, and commitment items.
Business areaGSBERTGSBCross-company-code segment for balance sheets below company code.
PlantWERKST001WA site that holds stock or performs maintenance.
Storage locationLGORTT001LWhere stock sits inside a plant.
Purchasing organizationEKORGT024EThe unit that negotiates and issues purchase orders.
Sales organizationVKORGTVKOThe unit that sells. Used for reimbursable orders and working capital sales.

4. The document principle

Every posting in SAP creates a numbered document that cannot be deleted. A correction is a new reversing document. Each document has a header and line items, and each carries a link back to the document that caused it. That chain is what makes transaction-level audit support possible.

  • A financial document is identified by company code, document number, and fiscal year: BUKRS + BELNR + GJAHR.
  • The header field AWTYP names the kind of source object. AWKEY holds its key. AWTYP = MKPF points to a material document. RMRP points to a logistics invoice. VBRK points to a billing document. BKPF means the posting was made directly in FI.
  • The document type BLART classifies the posting. Common values: SA general ledger, KR vendor invoice, KZ vendor payment, RE logistics invoice, WE goods receipt, ZP payment run, AA asset posting.
  • Posting keys (BSCHL) set debit or credit and the account type. 40 debits a GL account. 50 credits one. 31 credits a vendor. 25 debits a vendor for payment.
  • Changes to master data and documents are logged in CDHDR and CDPOS. These two tables answer the question of who changed what, and when.

5. Finance and Funds Management data model

Three ledgers update together when a business event posts. Financial Accounting records the proprietary entry. Funds Management records budget consumption against fund, funds center, and commitment item. Controlling records cost against a cost center, order, or WBS element. The line item in BSEG carries the account assignments for all three.

Figure S-3Entity relationships: FI documents, FM line items, FM master data, and budget
1 : Nledger viewKNBELNR = BELNRREFBNVREFBNtotalsFISTLFIPEXbudget vs. useFinancial Accounting (FI)Funds Management actuals and commitments (PSM-FM)FM master data and budget (BCS)SKA1 / SKB1 GL accountKTOPL, SAKNRBUKRS, SAKNRXBILK balance sheet flagMITKZ reconciliation typeBKPF document headerBUKRS, BELNR, GJAHRBLART document typeBUDAT posting dateAWTYP, AWKEY source objectXBLNR referenceUSNAM, TCODE, CPUDTBSEG line itemBUKRS, BELNR, GJAHR, BUZEIBSCHL, SHKZG key, D/CHKONT GL accountDMBTR, WRBTR amountsGEBER, FISTL, FIPOS, FKBERKOSTL, AUFNR, PROJKLIFNR, KUNNR, EBELNFAGLFLEXA / ACDOCARLDNR, RBUKRS, GJAHR,BELNR / DOCNR, DOCLNRACCT accountHSL local currency amountRFUND, RFAREA, PRCTRTotals: FAGLFLEXT (ECC)Commitment sourcesEBAN / EBKN requisitionEKKO / EKPO / EKKN orderKBLK / KBLP earmarked fundsFMIOI commitment itemsREFBN, REFBT, RFORG,RFPOS, RFKNT, RFETE, ...FIKRS, FONDS, FISTL, FIPEXWRTTP value type (50, 51, 65)FKBTR FM area amountBTART amount typeFMIFIIT FI line items in FMFMBELNR, FIKRS, FMBUZEI,BTART, RLDNR, GJAHR, STUNRKNBELNR, KNGJAHR, BUKRSVREFBN, VREFBT predecessorFONDS, FISTL, FIPEX, FAREAWRTTP value type (54, 57)FMIT FM totalsRLDNR, RVERS, RYEAR,RFIKRS, RFUND, RFUNDSCTR,RCMMTITEM, RFUNCAREARWRTTP value typeTSL01..16, HSL01..16FMFINCODE fundFIKRS, FINCODETYPE fund typeDATAB, DATBIS validityFMFCTR funds centerFIKRS, FICTR, DATBISHierarchy: FMHISVFMCI commitment itemFIKRS, GJAHR, FIPEXFIVOR financial trans.POTYP item categoryBCS budgetFMBH entry doc headerFMBL entry doc linesFMBDT budget totalsFMAVCT availability control

Key fields are marked at the top of each entity. Field lists are abbreviated. Confirm the full key in SE11 for the release in use.

Table S-4Financial Accounting (FI) tables
TableHoldsKey fieldsUse it to
BKPFAccounting document headerBUKRS, BELNR, GJAHRFind who posted, when, with which transaction, and from which source object.
BSEGAccounting document line itemsBUKRS, BELNR, GJAHR, BUZEIRead every debit and credit with its account assignment.
BSIS / BSASGL open and cleared item indexBUKRS, HKONT, AUGDT, GJAHR, BELNRList line items by GL account without reading BSEG.
BSIK / BSAKVendor open and cleared itemsBUKRS, LIFNR, GJAHR, BELNRAge accounts payable and prove payment clearing.
BSID / BSADCustomer open and cleared itemsBUKRS, KUNNR, GJAHR, BELNRAge receivables, including reimbursable billings.
FAGLFLEXANew GL line items per ledgerRYEAR, DOCNR, RLDNR, RBUKRS, DOCLNRead the ledger view with segment and fund on every line.
FAGLFLEXTNew GL totalsRYEAR, RLDNR, RBUKRS, RACCT, plus dimensionsBuild a trial balance by period.
GLT0Classic GL totalsBUKRS, RYEAR, RACCT, RBUSALegacy totals where the new GL is not active.
SKA1 / SKB1 / SKATGL account master: chart, company code, textKTOPL, SAKNR / BUKRS, SAKNRCheck account type, reconciliation flag, and open-item management.
LFA1 / LFB1 / LFBKVendor master: general, company code, bankLIFNRValidate payee data.
KNA1 / KNB1Customer masterKUNNRIdentify trading partners on receivables.
REGUH / REGUPPayment run header and paid itemsLAUFD, LAUFI, ZBUKR, LIFNR, VBLNRTie a payment to the invoices it cleared.
PAYRPayment medium registerZBUKR, HBKID, HKTID, CHECTTrace check or EFT numbers.
T001BPosting period controlBUKRS, account type, period rangeShow which periods were open when a document posted.
CDHDR / CDPOSChange document header and itemsOBJECTCLAS, OBJECTID, CHANGENRProve who changed a master record or document field.
Table S-5Public Sector Management: Funds Management (PSM-FM) tables
TableHoldsKey or main fieldsUse it to
FM01FM area definitionFIKRSFind the update profile and fiscal year variant.
FMFINCODEFund masterFIKRS, FINCODEMap a fund to its appropriation and validity dates.
FMFCTRFunds center masterFIKRS, FICTR, DATBISIdentify the organization that holds budget.
FMCICommitment item masterFIKRS, GJAHR, FIPEXClassify spending by object class or expenditure type.
TFKBFunctional areaFKBERClassify by program or mission.
FMMEASUREFunded programFMAREA, MEASURETrack budget below the fund for a program or project.
FMIOICommitment and funds transfer line itemsReference document fields REFBN, REFBT, RFORG, RFPOS, RFKNT, RFETERead open commitments and obligations from requisitions, orders, and earmarked funds.
FMIFIITFI line items in FMFMBELNR, FIKRS, FMBUZEI, BTART, RLDNR, GJAHR, STUNRRead invoices, payments, and other actuals against budget. KNBELNR links to the FI document.
FMITFM totalsLedger, year, FM area, fund, funds center, commitment item, value typeSummarize commitments and actuals by budget address.
FMBH / FMBLBCS budget entry document header and linesFM_AREA, DOCYEAR, DOCNRTrace each budget load, transfer, supplement, and return.
FMBDTBCS budget totalsFM area, year, budget address, budget category, budget typeRead current budget by address.
FMAVCTAvailability control totalsControl ledger, FM area, control addressCompare consumable budget to consumed amount. This is what the funds check reads.
KBLK / KBLPEarmarked funds header and linesBELNR, BLPOSTrace funds reservations, precommitments, and commitments not tied to a purchase order.
KBLEEarmarked funds consumption historyBELNR, BLPOS, reference documentSee which documents drew down a reservation.
Table S-6FM value types (WRTTP) seen on commitment and actual line items
Value typeMeaningTypical sourceBudgetary stage
50Purchase requisitionEBANCommitment
51Purchase orderEKKO / EKPOObligation
52Business trip commitmentTravel managementObligation
54InvoiceBKPF / BSEG, RBKPExpenditure accrued
57PaymentPayment documentOutlay
58Down payment requestFIAdvance requested
61Down paymentFIAdvance paid
65Funds commitmentKBLK / KBLPObligation without a purchase order
66Transfer postingFIReclassification
80 / 81 / 82Funds block, funds reservation, funds precommitmentKBLK / KBLPAdministrative reservation and commitment
95Secondary cost postingCOCost allocation with FM update

Value types are standard PSM-FM values. Which ones post, and at which date, depends on the FM update profile set in the FM area.

How SAP produces USSGL budgetary accounts

Standard FI only records proprietary accounts. The US Federal extension of Public Sector Management adds a budgetary ledger. When an FM event posts, such as an obligation or a payment, the budgetary ledger derives the matching 4000-series entry and posts it in the same FI document or a linked one. The result is that one business event carries both the proprietary and the budgetary entry, which is what FFMIA requires at the transaction level.

6. Procure-to-pay document flow

Procure-to-pay is the largest transaction population in most DoD general fund audits. The flow below shows the SAP step, the tables each step writes, and the accounting effect.

Figure S-4SAP procure-to-pay: steps, tables, and accounting effect
Business step and transaction codeTables writtenBudgetary and proprietary effectRequisitionME51Nor funds commitment FMZ1Purchase orderME21N / ME22NOften created by thecontract interfaceGoods receiptMIGOServices: ML81N entrysheetInvoiceMIRO or WAWF IDocThree-way matchPaymentF110 payment runor external disbursingreturnEBAN, EBKNBANFN, BNFPOKBLK, KBLP forearmarked fundsEKKO, EKPOEBELN, EBELPEKKN account assign.EKET schedule linesMKPF, MSEGMBLNR, MJAHR, ZEILEEKBE VGABE = 1BKPF, BSEG (WE)RBKP, RSEGBELNR, GJAHREKBE VGABE = 2BKPF, BSEG, BSIKREGUH, REGUPLAUFD, LAUFI, ...PAYR check registerBSAK cleared itemsCommitmentFMIOI value type 50 or 65USSGL 4610 to 4700ObligationFMIOI value type 51USSGL 4700 to 4801Accrued expenditureUSSGL 4801 to 4901Expense or asset, GR/IR orpayablePayableFMIFIIT value type 54USSGL 2110 accountspayableOutlayFMIFIIT value type 57USSGL 4901 to 49022110 to 1010 FBWT

USSGL accounts show the standard budgetary progression. In several DoD programs entitlement or disbursing happens outside the ERP and returns by interface.

Table S-7Materials Management and purchasing tables
TableHoldsKey fieldsLink forward
EBANPurchase requisition itemsBANFN, BNFPOEKPO-BANFN on the purchase order item
EBKNRequisition account assignmentBANFN, BNFPO, ZEBKNFund, funds center, commitment item for the commitment
EKKOPurchasing document headerEBELNEKPO, EKBE
EKPOPurchasing document itemEBELN, EBELPItem price, quantity, plant, material group
EKKNPurchase order account assignmentEBELN, EBELP, ZEKKNGL account, cost object, and FM address for the obligation
EKETDelivery schedule linesEBELN, EBELP, ETENRDelivery dates and quantities
EKBEPurchase order historyEBELN, EBELP, ZEKKN, VGABE, GJAHR, BELNR, BUZEIVGABE 1 is a goods receipt. VGABE 2 is an invoice receipt.
MKPF / MSEGMaterial document header and itemsMBLNR, MJAHR, ZEILEBKPF-AWKEY holds the material document number and year
ESSR / ESLLService entry sheet header and linesLBLNIAcceptance of services against a purchase order
RBKP / RSEGLogistics invoice header and itemsBELNR, GJAHRBKPF-AWKEY holds the invoice number and year
MARA / MARC / MARD / MBEWMaterial master: general, plant, storage location, valuationMATNRStock quantities and moving average or standard price
  1. Start from the invoice or payment in the sample. Read BKPF for the document and note AWTYP and AWKEY.
  2. If AWTYP is RMRP, split AWKEY into invoice number and year and read RBKP and RSEG. RSEG gives the purchase order and item.
  3. Read EKBE for that order item. It lists every goods receipt and invoice posted against it.
  4. Read EKKO, EKPO, and EKKN for the obligation amount and the funding line.
  5. Read FMIOI by REFBN equal to the order number for the open obligation, and FMIFIIT by KNBELNR equal to the FI document for the expenditure.
  6. Read EKPO-BANFN to step back to the requisition in EBAN, or KBLP if the commitment was an earmarked funds document.

7. Other module data models

Table S-8Controlling (CO) and Project System (PS) tables
TableHoldsKey fields
CSKS / CSKTCost center master and textKOKRS, KOSTL, DATBI
CSKA / CSKBCost element masterKTOPL, KSTAR / KOKRS, KSTAR, DATBI
AUFKOrder master: internal, maintenance, productionAUFNR
COBKCO document headerKOKRS, BELNR
COEPCO actual line itemsKOKRS, BELNR, BUZEI
COSP / COSSCO totals for primary and secondary costsOBJNR, GJAHR, WRTTP, KSTAR
COOICO commitment line itemsREFBT, REFBN, RFPOS
PROJProject definitionPSPNR, external key PSPID
PRPSWBS elementPSPNR, external key POSID
PRHIWBS hierarchyPOSNR
RPSCOProject totalsOBJNR, WRTTP, GJAHR
Table S-9Sales and Distribution (SD) tables used for reimbursable and working capital sales
TableHoldsKey fields
VBAK / VBAPSales order header and itemsVBELN, POSNR
LIKP / LIPSDelivery header and itemsVBELN, POSNR
VBRK / VBRPBilling document header and itemsVBELN, POSNR
VBFASales document flowVBELV, POSNV, VBELN, POSNN, VBTYP_N
KONVPricing conditionsKNUMV, KPOSN, STUNR

VBFA is the SD equivalent of EKBE. It links order, delivery, and bill in one table.

Table S-10Asset Accounting (FI-AA), Plant Maintenance (PM), and inventory tables
TableHoldsKey fields
ANLAAsset masterBUKRS, ANLN1, ANLN2
ANLZTime-dependent asset assignmentsBUKRS, ANLN1, ANLN2, BDATU
ANLB / ANLCDepreciation terms and annual valuesBUKRS, ANLN1, ANLN2, AFABE
ANEK / ANEPAsset document header and line itemsBUKRS, ANLN1, GJAHR, LNRAN
ANLPPeriodic depreciation postingsBUKRS, GJAHR, PERAF, ANLN1
EQUI / EQUZEquipment master and time segmentsEQUNR
IFLOTFunctional locationTPLNR
AFIH / AFKO / AFVCMaintenance order header, order header data, operationsAUFNR, AUFPL
QMELMaintenance or quality notificationQMNUM
RESBReservations and dependent requirementsRSNUM, RSPOS
MCHBBatch stockMATNR, WERKS, LGORT, CHARG
LAGP / LQUAWarehouse bins and quantsLGNUM, LGTYP, LGPLA / LQNUM

8. ECC 6.0 compared with S/4HANA

S/4HANA keeps the document principle and most table names, and changes where totals and line items live. One table, ACDOCA, holds the line items that ECC spread across FI, the new GL, CO, asset accounting, and the material ledger. Totals are computed on read.

Table S-11What changes in the data model when a program moves from ECC to S/4HANA
AreaECC 6.0S/4HANAEffect on extracts and audit queries
GL line itemsBSEG, FAGLFLEXAACDOCA universal journal. BSEG remains as the entry view.Point trial balance and universe queries at ACDOCA.
GL totalsGLT0, FAGLFLEXTNo stored totals. Same-named compatibility views read ACDOCA.Old queries still run, with different performance.
Open item indexesBSIS, BSAS, BSIK, BSAK, BSID, BSADCompatibility viewsNo longer physical tables.
CO line items and totalsCOEP, COSP, COSSActuals in ACDOCA. COEP keeps some value types.FI and CO reconcile by design because they share one line.
Asset line itemsANEP, ANLC, ANLPActuals in ACDOCA. Plan values in FAAT_PLAN_VALUES.Asset subledger ties to GL without a reconciliation program.
Material documentsMKPF, MSEGMATDOCOne table for header and item.
Vendor and customer masterLFA1, KNA1Business partner BUT000 is the lead object, linked through CVI_VEND_LINK and CVI_CUST_LINK.Payee validation must read the business partner.
Funds ManagementFMIOI, FMIFIIT, FMIT, BCS tablesSame tables remain in use.FM queries carry over.
DatabaseSeveral supportedHANA only, column store, in memoryLine-item reporting replaces batch extracts.
User interfaceSAP GUIFiori apps over OData, SAP GUI still availableAccess reviews must cover Fiori catalogs as well as roles.

Sources: SAP material on the universal journal and migration to S/4HANA Finance listed at the end of this page.

9. Integration technologies

Figure S-5How data enters an SAP ERP, leaves for analytics, and reaches departmental reporting
Inbound: business events arriveReplication for analyticsOutbound: departmental reportingFeeder systemsDTS, PIEE / WAWF, DCPSContract writing systemsBank and disbursing returnsGEX and middlewareGlobal Exchange translates androutes filesSAP PI/PO maps to IDoc or proxycallsIDoc layerEDIDC control recordEDID4 data segmentsEDIDS status historyMonitor: WE02, BD87Application postingBAPIs and function modules createpurchasing, FI, and FM documentsStatus 53 posted, 51 errorAdvanaNear-real-time copies of ERPtables for reconciliation andanalyticsSLT replicationDatabase triggers and loggingtables capture each insert,update, deleteERP document tablesBKPF, BSEG, FAGLFLEXAFMIOI, FMIFIIT, FMITEKKO, EKPO, EKBEBW extractors read the same dataGTASAdjusted trial balance bulk fileto TreasuryDDRS-B and DDRS-AFSCrosswalk, edits, journalvouchers, statementsGEXFile transfer to DFASTrial balance extractSFIS-compliant file by TAS, DoDSCOA account, and attributes

The Army has publicly described SLT streaming from GFEBS and GCSS-Army into Advana. Other programs may use different extraction methods.

Table S-12Interface technologies and where their evidence lives
TechnologyWhat it isEvidence tables or transactions
IDocStructured message with a control record, data segments, and status records. Used for inbound invoices, travel, pay, and outbound orders.EDIDC, EDID4, EDIDS. Monitor with WE02, WE05, BD87.
RFC and BAPIRemote function calls. A BAPI is a stable business interface, for example to create a purchase order.SM59 destinations, SM58 transactional RFC errors.
PI/POSAP middleware that maps and routes messages between systems.Message monitoring in the PI system.
Batch input and LSMWSimulated screen entry for mass loads.SM35 session logs.
SLTTrigger-based replication server that copies table changes to another database in near real time.Replication configuration and logging tables in the SLT system.
BW extractionDelivered extractors feed a data warehouse. Examples: 0FI_GL_14 new GL line items, 0PU_IS_PS_31 FM commitment line items, 0PU_IS_PS_32 FM actual line items.RSA3 extractor checker, delta queue ODQMON or RSA7.
OData and CDS viewsS/4HANA exposes data through Core Data Services views and OData services.Service catalog and view definitions.
Table S-13IDoc status codes most often seen in interface reconciliations
StatusDirectionMeaningAction
03OutboundData passed to portSent. Confirm receipt downstream.
12OutboundDispatch OKNone.
51InboundApplication document not postedRead the error, fix data or master data, reprocess with BD87.
53InboundApplication document postedNone. The status record names the document created.
64InboundReady to be passed to applicationWaiting for a background job. Check the job.
68InboundError, no further processingClosed manually. Needs documented justification.

10. Security and controls

  • Access is granted through roles built in PFCG. A role bundles transaction codes and authorization objects. Examples: F_BKPF_BUK controls posting by company code. F_FICB_FKR controls FM area access. M_BEST_EKO controls purchase orders by purchasing organization.
  • Role assignments sit in AGR_USERS. Role contents sit in AGR_1251. User master data sits in USR02. These three tables support a user access review.
  • Segregation of duties is tested by checking whether one user holds conflicting transactions, such as creating a vendor (XK01) and running payments (F110). SAP GRC Access Control automates the rule set.
  • The security audit log (SM20) and table change logging (DBTABLOG, read through SCU3) record sensitive actions and configuration changes.
  • Direct table maintenance through SE16N or SM30 in production is a common audit finding. Review who holds S_TABU_DIS.

11. Trial balance and universe of transactions queries

A defensible trial balance from SAP reads the ledger line items and sums them by the reporting dimensions. The universe of transactions is the same query without the sum.

  1. Pick the ledger table: FAGLFLEXA in ECC with the new GL, ACDOCA in S/4HANA.
  2. Filter on client, company code, ledger, fiscal year, and posting period.
  3. Group by GL account, fund, functional area, and any other attribute the SFIS trial balance needs.
  4. Compare the totals to FAGLFLEXT or to transaction FAGLB03. They must agree to the cent.
  5. Join the line items to BKPF for user, date, document type, and AWTYP / AWKEY. This gives every balance a path to its source document.
  6. Compare FM totals in FMIT to the budgetary accounts in the ledger. Differences point to documents that updated one ledger and not the other.

Sources

  1. SAP NetWeaver documentation: work processes and the application server
  2. SAP Press: S/4HANA Finance and the universal journal
  3. SAP Community: ECC tables after migration to S/4HANA Finance
  4. Table reference: FMIFIIT
  5. Table reference: FMIOI
  6. Table reference: FMIT
  7. Army.mil: GFEBS and GCSS-Army replication pipelines to Advana (Sept 2023)
  8. DoD FMR Volume 1, Chapter 7: DoD Standard Chart of Accounts

Educational reference. Standard product tables and public sources only. Not an official DoD, DFAS, SAP, or Oracle publication.