WZRE_S_HEADER_FIELDS SAP (Header Fields Needed to Create an Agency Document) Structure details

Dictionary Type: Structure
Description: Header Fields Needed to Create an Agency Document




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




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

WZRE_S_HEADER_FIELDS 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 "Header Fields Needed to Create an Agency Document" 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_WZRE_S_HEADER_FIELDS TYPE WZRE_S_HEADER_FIELDS.

The WZRE_S_HEADER_FIELDS table consists of various fields, each holding specific information or linking keys about Header Fields Needed to Create an Agency Document data available in SAP. These include AGENCY_ID_CODE (AB: Agency of Standard ID for Invoice Document), ARC_DOC_ID (SAP ArchiveLink: Document ID), BAPI_ACTIV (Selection flag), BLDAT (Document Date in 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 (Deep)


SAP WZRE_S_HEADER_FIELDS 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
ABART_SLSettlement Type NAFKTCHAR1NAFKT
AGENCY_ID_CODEAB: Agency of Standard ID for Invoice Document WLF_AGENCY_ID_CODECHAR3CHAR3
ARC_DOC_IDSAP ArchiveLink: Document ID SAEARDOIDCHAR40SADC40
BAPI_ACTIVSelection flag SELKZCHAR1SELKZ
BLDATDocument Date in Document BLDATDATS8DATUM
BOARTAgreement type BOARTCHAR4Assigned to domainBOARTVBA
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
BUKRS_DEBAB: Company Code - Customer WLF_BUKRS_CUSTOMER_REGUCHAR4Assigned to domainBUKRSWLF_BUKRS_DEB
COMPOSITE_ACTIVECheckbox XFELDCHAR1XFELD
CONTRACTReferencing Contract Number WCONTRACTCHAR10ALPHAWCONTRACT
CONTRACT_TYPEContract Type for Contract Number WCONTRACT_TYPECHAR1WCONTRACT_TYPE
CORR_DOCUMENTAB: Adjustment Document WLF_CORR_DOCUMENTCHAR1WLF_CORR_DOCUMENT
CPDK_ADDRAgency Business: Address of One-Time Customer WLF_CPDK_ADDRCHAR10Assigned to domainALPHAAD_ADDRNUM
CPDL_ADDRAgency Business: Address - One-Time Vendor WLF_CPDL_ADDRCHAR10Assigned to domainALPHAAD_ADDRNUM
DIEKZService Indicator (Foreign Payment) DIEKZCHAR1DIEKZ
ESOA_MODEMode in eSOA Case WLF_ESOA_MODECHAR1WLF_ESOA_MODE
ESTATUSAgency business: Application status WSTATECHAR4Assigned to domainWSTATE
IDOBJ_CUSTOMERAB: Identification Object Customer WLF_IDOBJ_CUSTOMERCHAR30WLF_IDOBJ
IDOBJ_PAYEEAB: Identification Object Vendor WLF_IDOBJ_VENDORCHAR30WLF_IDOBJ
IDOBJ_PAYERAB: Identification Object Customer WLF_IDOBJ_CUSTOMERCHAR30WLF_IDOBJ
IDOBJ_TYPE_CAB: Identification Object Type Customer WLF_IDOBJ_TYPE_CUSTOMERCHAR4Assigned to domainWLF_IDOBJ_TYPE_CUSTOMER
IDOBJ_TYPE_PAYEEAB: Identification Object Type Vendor WLF_IDOBJ_TYPE_VENDORCHAR4Assigned to domainWLF_IDOBJ_TYPE_VENDOR
IDOBJ_TYPE_PAYERAB: Identification Object Type Customer WLF_IDOBJ_TYPE_CUSTOMERCHAR4Assigned to domainWLF_IDOBJ_TYPE_CUSTOMER
IDOBJ_TYPE_VAB: Identification Object Type Vendor WLF_IDOBJ_TYPE_VENDORCHAR4Assigned to domainWLF_IDOBJ_TYPE_VENDOR
IDOBJ_VENDORAB: Identification Object Vendor WLF_IDOBJ_VENDORCHAR30WLF_IDOBJ
INCO1Incoterms (Part 1) INCO1CHAR3Assigned to domainINCO1
INCO2Incoterms (Part 2) INCO2CHAR28INCO2
INCOMP_REASONIncompleteness Reason WLF_INCOMPLETENESS_REASONCHAR4Assigned to domainWLF_INCOMPLETENESS_REASON
INVOICE_IDBusinessTransactionDocumentID WLF_BTD_IDCHAR35
KALSMProcedure (Pricing, Output Control, Acct. Det., Costing,...) KALSM_DCHAR6Assigned to domainKALSM
KALSMDProcedure (Pricing, Output Control, Acct. Det., Costing,...) KALSM_DCHAR6Assigned to domainKALSM
KAPPLApplication KAPPLCHAR2Assigned to domainKAPPLKAP
KIDNOPayment Reference KIDNOCHAR30CHAR30
KKBERCredit control area KKBERCHAR4Assigned to domainKKBERKKB
KNUMAAgreement (various conditions grouped together) KNUMACHAR10Assigned to domainALPHAKNUMAVMBO
KUFIXIndicator: Fixing of exchange rate WKUFIXCHAR1XFELD
KUNRGPayer KUNRGCHAR10Assigned to domainALPHAKUNNR
KURSTExchange Rate Type KURSTCHAR4Assigned to domainKURSTKUT
LAND1TXTax Destination Country LAND1TXCHAR3Assigned to domainLAND1LND
LANDLSupplying Country LANDLCHAR3Assigned to domainLAND1
LANDTXTax departure country LANDTXCHAR3Assigned to domainLAND1LND
LFARTAgency business: Billing document type WFARTCHAR4Assigned to domainWFARTWFA
LFART_RLRemuneration List Type, Vendor Billing Document WFART_RLCHAR4Assigned to domainWFART
LFARVCopy control: source vendor billing document type WFART_VONCHAR4Assigned to domainWFART
LFGRUAgency business: Reason for activity WFGRUCHAR3Assigned to domainWFGRU
LFTYPAgency business: Billing category WFTYPCHAR2WFTYP
LFTYPVCategory of document preceding vendor billing document WFTYP_VONCHAR1WFTYP_VON
LIFNR_FIAlternative Creditor WLF_LIFNR_FICHAR10Assigned to domainALPHALIFNR
LNRZBAgency business: Payee W_LIFZECHAR10Assigned to domainALPHALIFNR
LOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
LZBKZState Central Bank Indicator LZBKZCHAR3Assigned to domainLZBKZ
MWSBP_STax amount in document currency MWSBPCURR13(2) WERTV7
NETWR_SAgency business: Net invoice amount in doc. currency WNETWCURR15(2) WERTV8
NO_INCOTERM_DETERMINATIONAgency Business: No Incoterm Determination WLF_NO_INCOTERM_DETERMINATIONCHAR1XFELD
OLDNRDocument number of the reference document OLDNR_LFCHAR10CHAR10
POST_PARTYPosting Partner WLF_POST_PARTYCHAR1WLF_POST_PARTY
POSTING_RULE_DAB: Debtor Posting Rule WLF_POSTING_RULE_DCHAR2Assigned to domainWLF_POSTING_RULE
POSTING_RULE_KAB: Creditor Posting Rule WLF_POSTING_RULE_KCHAR2Assigned to domainWLF_POSTING_RULE
RBRTWRAgency business: Gross invoice amount in doc. currency WBRTWCURR15(2) WERTV8
REF_USE_CASEUse Case WLF_REF_USE_CASECHAR2WLF_REF_USE_CASE
REFERENCE_IDBusinessTransactionDocumentID WLF_BTD_IDCHAR35
REPLACEMENT_ACTIVE_ITEMCheckbox XFELDCHAR1XFELD
RFBSKStatus for transfer to accounting WFBSKCHAR1WFBSK
SCHEME_A_IDAB: ID of the Organization that Maintains the ID Scheme WLF_SCHEME_A_IDCHAR60CHAR60
SCHEME_IDAB: Identifier for the ID Scheme WLF_SCHEME_IDCHAR60CHAR60
SETTL_BLOCK_CAB: Settlement Block - Customer WLF_SETTLEMENT_BLOCK_CCHAR2Assigned to domainWLF_SETTLEMENT_BLOCK
SETTL_BLOCK_VAB: Settlement Block - Vendor WLF_SETTLEMENT_BLOCK_VCHAR2Assigned to domainWLF_SETTLEMENT_BLOCK
SETTL_DOCTYPE_CAB: Settlement Document Type - Customer WLF_SETTLEMENT_DOCTYPE_CCHAR1WLF_SETTLEMENT_DOCTYPE_C
SETTL_DOCTYPE_VAB: Settlement Document Type - Vendor WLF_SETTLEMENT_DOCTYPE_VCHAR1WLF_SETTLEMENT_DOCTYPE_V
SETTL_METHODAB: Settlement Procedure WLF_SETTLEMENT_METHODCHAR1WLF_SETTLEMENT_METHOD
SETTL_PARTYAB: Settlement Partner WLF_SETTLEMENT_PARTYCHAR1WLF_POST_PARTY
SETTL_STATUS_CAB: Settlement Status - Customer WLF_SETTLEMENT_STATUS_CCHAR1WLF_SETTLEMENT_STATUS
SETTL_STATUS_VAB: Settlement Status - Vendor WLF_SETTLEMENT_STATUS_VCHAR1WLF_SETTLEMENT_STATUS
SETTLE_CATEGORYSettlement Attributes WSETTLE_CATEGORYCHAR1WSETTLE_CATEGORY
SETTLEMENT_DATESettlement Date WLF_SETTLEMENT_DATEDATS8DATS
STCEGVendor VAT registration number LIEFRUINRCHAR20STCEG
STCEGDCustomer VAT registration number KUNDEUINRCHAR20STCEG
TESTRUNSwitch to Simulation Session for Write BAPIs TESTRUNCHAR1BAPIFLAG
USE_CASE_GUIDAB: GUID for Use Case WLF_USE_CASE_GUIDRAW16
VALDTFixed value date VALDTDATS8DATUM
VALDTDFixed Value Date (Customer) WVALDDDATS8DATUM
VALTGAdditional value days VALTGNUMC2TAGE2
VALTGDAdditional Value Days (Customer) WVALTDNUMC2TAGE2
VKBURSales Office VKBURCHAR4Assigned to domainVKBURVKB
VKGRPSales Group VKGRPCHAR3Assigned to domainVKGRPVKG
VKONTContract Account Number CORR_VKONT_KKCHAR12ALPHACORR_VKONT_KK
WBELNAgency Business: Document Number WBELN_LFCHAR10Assigned to domainALPHAWBELNWLF
WBTYPSettlement request: Payment type WBTYPCHAR1WBTYP
WDTYPAgency Business: Document Category DOCTYPECHAR1DOCTYPE
WFDATAgency business: Posting date WFDATDATS8DATUM
WFDAT_RLAgency Business: Posting Date for the Remuneration List WFDAT_RLDATS8DATUM
WKURSExchange Rate WKURSDEC9(5) EXCRTKURSP
WKURS_DATTranslation Date WWERT_DDATS8DATUM
WRARTAgency business: Payment type WRARTCHAR4Assigned to domainWRARTWRA
WRTYPEntry category: payment WRTYPCHAR1WRTYP
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
XEGDRIndicator: Triangular deal within the EU ? XEGDRCHAR1XFELD
ZBD1PCash Discount Percentage 1 DZBD1PDEC5(3) PRZ23
ZBD1PDCash discount percentage 1 customer WZBD1PDDEC5(3) PRZ23
ZBD1TCash (Prompt Payment) Discount Days DZBDETDEC3ZBDXT
ZBD1TDCash Discount Period for Customer WZBD1TDDEC3ZBDXT
ZBD2PCash Discount Percentage 2 DZBD2PDEC5(3) PRZ23
ZBD2PDCash Discount Percentage 2 Customer WZBD2PDDEC5(3) PRZ23
ZBD2TCash discount days 2 DZBD2TDEC3ZBDXT
ZBD2TDCash discount period 2 customer WZBD2TDDEC3ZBDXT
ZBD3TNet Payment Terms Period DZBD3TDEC3ZBDXT
ZBD3TDDeadline for Customer Net Condition WZBD3TDDEC3ZBDXT
ZLSCHPayment Method SCHZW_BSEGCHAR1Assigned to domainZLSCH
ZLSCHDCustomer payment method SCHZW_BSEGDCHAR1Assigned to domainZLSCH
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
ZTERMDTerms of Payment Key for Customer WZTERMDCHAR4ZTERM
ZUONRAssignment Number DZUONRCHAR18ZUONR
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
EKGRPPurchasing Group EKGRPCHAR3Assigned to domainEKGRPEKG
LIFREDifferent Invoicing Party LIFRECHAR10Assigned to domainALPHALIFNRLRE
KUNREBill-to party KUNRECHAR10Assigned to domainALPHAKUNNRKUN
WAERLCurrency of Agency Document WAERLCUKY5Assigned to domainWAERSFWS
USE_CASEUse Case Type WLF_USE_CASE_TYPECHAR2WLF_USE_CASE_TYPE
T_SOURCE_REF 0
AGENCY_DOC_CATEGORYAgency Document Category WZRE_AGENCY_DOC_CATEGORYCHAR1WZRE_AGENCY_DOC_CATEGORY
T_PARTNER 0

Key field Non-key field



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

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

How to access SAP table WZRE_S_HEADER_FIELDS

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