FAGL_S_SREP_DOCUMENTS SAP (Documents, Compact (Entry View)) Structure details

Dictionary Type: Structure
Description: Documents, Compact (Entry View)




ABAP Code to SELECT data from FAGL_S_SREP_DOCUMENTS
Related tables to FAGL_S_SREP_DOCUMENTS
Access table FAGL_S_SREP_DOCUMENTS




Structure field list including key, data, relationships and ABAP select examples

FAGL_S_SREP_DOCUMENTS 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 "Documents, Compact (Entry View)" 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_FAGL_S_SREP_DOCUMENTS TYPE FAGL_S_SREP_DOCUMENTS.

The FAGL_S_SREP_DOCUMENTS table consists of various fields, each holding specific information or linking keys about Documents, Compact (Entry View) data available in SAP. These include ANLN1 (Main Asset Number), ANLN2 (New asset subnumber, 4 characters), AUFNR (Order Number), AUGBL (Document Number of the Clearing Document).. 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 (character-type or numeric)


SAP FAGL_S_SREP_DOCUMENTS 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
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
ANLN2New asset subnumber, 4 characters ANLN2_4CHAR4ALPHAANLN2_4AN2
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
AUGBLDocument Number of the Clearing Document AUGBLCHAR10ALPHABELNR
AUGDTClearing Date AUGDTDATS8DATUM
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
BLARTDocument Type BLARTCHAR2T003BLARTBAR
BLDATDocument Date in Document BLDATDATS8DATUM
BSCHLPosting Key BSCHLCHAR2TBSLBSCHL
BSTATDocument Status BSTAT_DCHAR1BSTAT
BUDATPosting Date in the Document BUDATDATS8DATUM
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
BWWRTValuated Amount in Local Currency BWWRT_X8CURR15(2) WRTV8
BWWR2Amount Valuated in Local Currency 2 BWWR2_X8CURR15(2) WRTV8
BWWR3Amount Valuated in Local Currency 3 BWWR3_X8CURR15(2) WRTV8
DMSHBAmount in Local Currency with +/- Signs DMSHB_X8CURR15(2) WRTV8
HWAERLocal Currency HWAERCUKY5TCURCWAERS
DMBE2Amount in Second Local Currency DMBE2_X8CURR15(2) WRTV8
HWAE2Currency Key of Second Local Currency HWAE2CUKY5Assigned to domainWAERS
DMBE3Amount in Third Local Currency DMBE3_X8CURR15(2) WRTV8
HWAE3Currency Key of Third Local Currency HWAE3CUKY5Assigned to domainWAERS
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
ETEN2Delivery Schedule Line Number ETENRNUMC4Assigned to domainETENR
FAEDTNet Due Date FAEDT_FPOSDATS8DATUM
FILKDAccount Number of the Branch FILKDCHAR10ALPHAMAXKK
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
GSBERBusiness Area GSBERCHAR4TGSBGSBERGSB
JAMONFiscal Year/Posting Period from Posting Date JAMON_XPOCHAR7JAMON_XPO
KOARTAccount Type KOARTCHAR1KOART
KONTOAccount Number KTONR_AVCHAR10ALPHAKTONR
KOSTLCost Center KOSTLCHAR10CSKSALPHAKOSTLKOS
MABERDunning Area MABERCHAR2T047MMABER
MADATLast dunned on MADATDATS8DATUM
MANSPDunning block MANSPCHAR1T040SMANSP
MANSTDunning level MAHNS_DNUMC1MAHNS
MONATFiscal Period MONATNUMC2MONAT
MSCHLDunning key MSCHLCHAR1T040MSCHL
MWSKZTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
POSN2Sales Document Item POSNR_VANUMC6Assigned to domainPOSNRAPO
PRCTRProfit Center PRCTRCHAR10CEPCALPHAPRCTRPRCPRCTR_EMPTY
QBSHBWithholding Tax Amount in Document Currency QBSHB_X8CURR15(2) WRTV8
QSFBTWithholding Tax Exempt Amount in Document Currency QSFBT_X8CURR15(2) WRTV8
QSSHBWithholding Tax Base Amount in Document Currency QSSHB_X8CURR15(2) WRTV8
REBZGNumber of the Invoice the Transaction Belongs to REBZGCHAR10ALPHABELNR
SAMNRInvoice List Number SAMNRNUMC8SAMNR
SGTXTItem Text SGTXTCHAR50TEXT50
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
SKFBTAmount Eligible for Cash Discount in Document Currency SKFBT_X8CURR15(2) WRTV8
WSKTOCash Discount Amount in Document Currency WSKTO_X8CURR15(2) WRTV8
SKNTOCash Discount Amount in Local Currency SKNTO_X8CURR15(2) WRTV8
STAKZIndicator: Statistical document ? XSTKZCHAR1XFELD
UMSKSSpecial G/L Transaction Type UMSKSCHAR1UMSKS
UMSKZSpecial G/L Indicator UMSKZCHAR1T074UUMSKZ
UZAWEPayment Method Supplement UZAWECHAR2Assigned to domainUZAWE
VALUTValue date VALUTDATS8DATUM
VBEL2Sales Document VBELN_VACHAR10Assigned to domainALPHAVBELNAUN
VBELNBilling Document VBELN_VFCHAR10Assigned to domainALPHAVBELNVF
VBEWAFlow Type SBEWARTCHAR4Assigned to domainSBEWART
VBUNDCompany ID of trading partner RASSCCHAR6T880ALPHARCOMPPGS
VERTNContract Number RANLCHAR13ALPHARANLRAN
VERTTContract Type RANTYPCHAR1RANTYP
VERZ1Days in Arrears for Cash Discount Terms 1 VERZ1DEC5WRTV3
VERZNDays in Arrears by Net Due Date VERZNDEC5WRTV3
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
WRSHBAmount in Document Currency (Foreign Currency) WRSHB_X8CURR15(2) WRTV8
WAERSDocument Currency (Key) WAER_DOCCUKY5TCURCWAERSFWS
WVERWBill of exchange usage type WVERWCHAR1WVERW
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
XSTRPIndicator: Disputed item? XSTRPCHAR1XFELD
XZAHLIndicator: Is the posting key used in a payment transaction? XZAHLCHAR1XFELD
ZALDTProbable Payment Date (Cash Discount 1 Due) DZALDTDATS8DATUM
ZBD1PCash Discount Percentage 1 DZBD1PDEC5(3) PRZ23
ZBD1TCash discount days 1 DZBD1TDEC3ZBDXT
ZBD2PCash Discount Percentage 2 DZBD2PDEC5(3) PRZ23
ZBD2TCash discount days 2 DZBD2TDEC3ZBDXT
ZBD3TNet Payment Terms Period DZBD3TDEC3ZBDXT
ZFBDTBaseline Date for Due Date Calculation DZFBDTDATS8DATUM
ZINSZInterest Calculation Numerator (Days in Arrears * Amount) DZINSZCURR15(2) WRTV8
ZLSCHPayment Method DZLSCHCHAR1T042ZZLSCH
ZLSPRPayment Block Key DZLSPRCHAR1T008ZAHLSSPE
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
ZUONRAssignment Number DZUONRCHAR18ZUONR
XREF1Business partner reference key XREF1CHAR12CHAR12
XREF2Business partner reference key XREF2CHAR12CHAR12
XARCHIndicator: Document already archived ? XARCHCHAR1XFELD
RSTGRReason Code for Payments RSTGRCHAR3T053RRSTGR
ASKTOCurrent Cash Discount Amount in Document Currency ASKTO_X8CURR15(2) WRTV8
KURSEEffective Exchange Rate in the Line Item KURSEDEC9(5) EXCRTKURSF
REBZTFollow-On Document Type REBZTCHAR1REBZT
PSWSLUpdate Currency for General Ledger Transaction Figures PSWSLCUKY5TCURCWAERS
PSWBTAmount for General Ledger Update (Absolute) PSWBT_X8CURR15(2) WERT8
HKONTGeneral Ledger Account HKONTCHAR10Assigned to domainALPHASAKNR
XNEGPIndicator: Negative posting XNEGPCHAR1XFELD
ZBFIXFixed Payment Terms DZBFIXCHAR1ZBFIX
RFZEIPayment Card Item RFZEI_CCNUMC3NUM03
CCBTCPayment cards: Settlement run CCBTCCHAR10ALPHACCBTC
KKBERCredit control area KKBERCHAR4T014KKBERKKB
XREF3Reference key for line item XREF3CHAR20CHAR20
DTWS1Instruction key 1 DTAT16NUMC2Assigned to domainDTWSX
DTWS2Instruction key 2 DTAT17NUMC2Assigned to domainDTWSX
DTWS3Instruction key 3 DTAT18NUMC2Assigned to domainDTWSX
DTWS4Instruction key 4 DTAT19NUMC2Assigned to domainDTWSX
ABSBTCredit Management: Hedged Amount (Absolute) ABSBT_X8CURR15(2) WERT8
KKBWRCurrency of Credit Control Area KKBWRCUKY5Assigned to domainWAERS
PROJKIndividual Structural Element (WBS Element) in Ext. Format PROJK_EXTCHAR24CHAR24
XPYPRIndicator: Items from Payment Program Blocked XPYPRCHAR1XFELD
KIDNOPayment Reference KIDNOCHAR30CHAR30
XAUGPIndicator: Item has been cleared? XAUGPCHAR1XFELD
BUPLABusiness Place BUPLACHAR4Assigned to domainJ_1BBRANCH
SECCOSection Code SECCOCHAR4Assigned to domainSECCOSECCO_ABA
GKARTOffsetting Account Type GKARTCHAR1GKART
GKONTOffsetting Account Number GKONTCHAR10ALPHAGKONTGKONT
PYCURCurrency for Automatic Payment PYCURCUKY5Assigned to domainWAERS
PYAMTAmount in Automatic Payment Currency (Absolute) PYAMT_X8CURR15(2) WERT8
PYORDPayment Order PYORDCHAR10ALPHAPYORD
XRAGLIndicator: Clearing was Reversed XRAGLCHAR1XFELD
CESSION_KZAccounts Receivable Pledging Indicator CESSION_KZCHAR2TCESSIONCESSION_KZ
BUZIDIdentification of the Line Item BUZIDCHAR1CHAR1
AUGGJFiscal Year of Clearing Document AUGGJNUMC4GJAHRGJAHR
AGZEIClearing Item AGZEIDEC5AGZEI
LONGNUMSmart Number /SAPPSPRO/LONGNUMCHAR40/SAPPSPRO/LONGNUM/SAPPSPRO/LONG_BES/SAPPSPRO/MEKK
AWSYSLogical System LOGSYSTEMCHAR10TBDLSALPHALOGSYS
AWTYPReference Transaction AWTYPCHAR5TTYPAWTYP
BDIFFValuation Difference BDIFFCURR13(2) WRTV7
BDIF2Valuation Difference for the Second Local Currency BDIF2CURR13(2) WRTV7
BDIF3Valuation Difference for the Third Local Currency BDIF3CURR13(2) WRTV7
BEWARTransaction Type RMVCTCHAR3T856RMVCT
DABRZReference Date for Settlement DABRBEZDATS8DDAT
DMBTRAmount in Local Currency DMBTR_X8CURR15(2) WRTV8
DOCNRDocument Number of a General Ledger Document BELNR_D_POSCHAR10ALPHABELNR
DOCLNSix-Character Posting Item for Ledger DOCLN6_POSCHAR6DOCLN6
FKBERFunctional Area FKBER_SHORTCHAR4FKBER_SHORTFBE
FKBER_LONGFunctional Area FKBERCHAR16TFKBFKBERFBE
GLVORBusiness Transaction GLVORCHAR4CHAR4
IMKEYInternal Key for Real Estate Object IMKEYCHAR8IMKEY
KOKRSControlling Area KOKRSCHAR4TKA01CACCDCAC
KSTARCost Element KSTARCHAR10CSKBALPHAKSTARKAT
KUNNRCustomer Numbers KUNNRCHAR10KNA1ALPHAKUNNRKUNC_KUNNR
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10LFA1ALPHALIFNRLIFKRED_C
MEINSBase Unit of Measure MEINSUNIT3T006CUNITMEINS
MENGEQuantity MENGE_DQUAN13(3) MENG13
PARGBTrading partner's business area PARGBCHAR4TGSBGSBERGSB
PERIOPeriod/year JAHRPERNUMC7PERI7JAHRPER
PFKBERPartner Functional Area SFKBERCHAR16TFKBFKBER
PKOSTLPartner cost center PKOSTLCHAR10CSKSALPHAKOSTLKOS
POPERPosting period POPERNUMC3POPERPOPR
PPRCTPartner Profit Center PPRCTRCHAR10CEPCALPHAPRCTRPPC
PSEGMENTPartner Segment for Segmental Reporting FB_PSEGMENTCHAR10FAGL_SEGMALPHAFB_SEGMENT
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
RLDNRLedger RLDNRCHAR2V_FAGL_T881_DBALALPHARLDNRGLNH_T881
RYEARGeneral Ledger Fiscal Year GJAHR_POSNUMC4GJAHRGJAHR
SAKNRG/L Account Number SAKNRCHAR10SKB1ALPHASAKNRSAKC_SAKNR
SEGMENTSegment for Segmental Reporting FB_SEGMENTCHAR10FAGL_SEGMALPHAFB_SEGMENT
WRBTRAmount in Document Currency WRBTR_X8CURR15(2) WRTV8
XOPVWIndicator: Open item management? XOPVWCHAR1XFELD
LDGRPLedger Group FAGL_LDGRPCHAR4Assigned to domainFAGL_LDGRPGLDGRP_FLEX
XLGCLRClearing Specific to Ledger Groups XLGCLRCHAR1XFELD
XREORGDoc. Contains Open Item that Was Transferred During Reorg. FAGL_R_XDOC_REORGCHAR1FLAG
AWKEYReference Key AWKEYCHAR20AWKEY
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
TIMESTAMPUTC Time Stamp in Short Form (YYYYMMDDhhmmss) TIMESTAMPDEC15TZNTSTMPS
MWARTTax Type MWARTCHAR1MWART
MANDTClient MANDTCLNT3Assigned to domainMANDT
UPMODBW Delta Process: Record Mode RODMUPDMODCHAR1RODMUPDMOD
RRCTYRecord Type RRCTYCHAR1RRCTY
RVERSVersion RVERSCHAR3Assigned to domainALPHARVERSGVS
FISCVARFiscal year variant RSFISCVARCHAR2RSFISCVAR
FISCPERFiscal year / period RSFISCPERNUMC7PERI7RSFISCPER
RFISCVARFiscal year variant RSFISCVARCHAR2RSFISCVAR
RFISCPERFiscal year / period RSFISCPERNUMC7PERI7RSFISCPER
KTOPLChart of Accounts KTOPLCHAR4Assigned to domainKTOPLKPLC_KTOPL
PS_POSIDWork Breakdown Structure Element (WBS Element) PS_POSIDCHAR24PROJNPS_POSIDPRO
CURT2Currency Type of Second Local Currency CURT2CHAR2CURTP
CURT3Currency Type of Third Local Currency CURT3CHAR2CURTP
DMHABCredit Amount in Local Currency DMHABCURR13(2) WERT7
DMHA2Credit Amount in Second Local Currency DMHA2CURR13(2) WERT7
DMHA3Credit Amount in Third Local Currency DMHA3CURR13(2) WERT7
DMSOLDebit Amount in Local Currency DMSOLCURR13(2) WERT7
DMSO2Debit Amount in Second Local Currency DMSO2CURR13(2) WERT7
DMSO3Debit Amount in Third Local Currency DMSO3CURR13(2) WERT7
DMSH2Amount in Second Local Currency with +/- Sign DMSH2CURR13(2) WRTV7
DMSH3Amount in Third Local Currency with +/- Sign DMSH3CURR13(2) WRTV7
WRHABCredit Amount in Document Currency WRHABCURR13(2) WERT7
WRSOLDebit Amount in Document Currency WRSOLCURR13(2) WERT7
PCGRPProfit Center Group FAGL_SREP_PCGRPCHAR15GRPNAME
AUGSTClearing Status of Line Item AUGST_SREPCHAR1AUGST_SREP
ALLGSTIDOpen Items at Key Date ALLGSTIDDATS8DATUM
BSTAT_SDocument Status BSTAT_D_SREPCHAR1BSTAT_SREP
BWSHBValuated Amount in Local Currency with Sign BWSHB_SREPCURR13(2) WRTV7
BWSH2Valuated Amount in Second Local Currency with Sign BWSH2_SREPCURR13(2) WRTV7
BWSH3Valuated Amount in Third Local Currency with Sign BWSH3_SREPCURR13(2) WRTV7
USNAMUser name USNAMCHAR12Assigned to domainXUBNAMEUSR
STBLGReverse Document Number STBLGCHAR10ALPHABELNR
STJAHReverse document fiscal year STJAHNUMC4GJAHRGJAHR
BKTXTDocument Header Text BKTXTCHAR25TEXT25
KOTXTAccount Name KOTXT_SREPCHAR50TEXT50
KOART_APARAccount Type KOARTCHAR1KOART
KONTO_APARAccount Number KTONR_AVCHAR10ALPHAKTONR
BSCHL_APARPosting Key BSCHLCHAR2Assigned to domainBSCHL
DMSHB_APARAmount in Local Currency with +/- Signs DMSHB_X8CURR15(2) WRTV8
MWSKZ_TAXTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
DMSHB_TAXAmount in Local Currency with +/- Signs DMSHB_X8CURR15(2) WRTV8
MWSKZ_GLTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
BSCHL_GLPosting Key BSCHLCHAR2Assigned to domainBSCHL
KONTO_GLGeneral Ledger Account HKONTCHAR10Assigned to domainALPHASAKNR
DMSHB_GLAmount in Local Currency with +/- Signs DMSHB_X8CURR15(2) WRTV8

Key field Non-key field



How do I retrieve data from SAP structure FAGL_S_SREP_DOCUMENTS using ABAP code?

As FAGL_S_SREP_DOCUMENTS 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 FAGL_S_SREP_DOCUMENTS as there is no data to select.

How to access SAP table FAGL_S_SREP_DOCUMENTS

Within an ECC or HANA version of SAP you can also view further information about FAGL_S_SREP_DOCUMENTS 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!