SAPI_SIV_HEADER SAP (Step API: Header Data For Sales Invoices) Structure details

Dictionary Type: Structure
Description: Step API: Header Data For Sales Invoices




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




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

SAPI_SIV_HEADER 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 "Step API: Header Data For Sales Invoices" 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_SAPI_SIV_HEADER TYPE SAPI_SIV_HEADER.

The SAPI_SIV_HEADER table consists of various fields, each holding specific information or linking keys about Step API: Header Data For Sales Invoices data available in SAP. These include VBELN (Billing Document), VBRK (), MANDT (Client), VBELN (Billing 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 SAPI_SIV_HEADER 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
DOC_KEYDocument Key WB2_DOC_KEYCHAR42
VBELNBilling Document VBELN_VFCHAR10Assigned to domainALPHAVBELNVF
VBRK 0
MANDTClient MANDTCLNT3MANDT
VBELNBilling Document VBELN_VFCHAR10ALPHAVBELNVF
FKARTBilling Type FKARTCHAR4FKART
FKTYPBilling category FKTYPCHAR1FKTYP
VBTYPSD document category VBTYPCHAR1VBTYP
WAERKSD Document Currency WAERKCUKY5WAERSFWS
VKORGSales Organization VKORGCHAR4VKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2VTWEGVTWC_VTWEG
KALSMSales and Distribution: Pricing Procedure in Pricing KALSMASDCHAR6KALSM
KNUMVNumber of the document condition KNUMVCHAR10KNUMV
VSBEDShipping Conditions VSBEDCHAR2VSBED
FKDATBilling date for billing index and printout FKDATDATS8DATUM
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
POPERPosting period POPERNUMC3POPERPOPR
KONDAPrice group (customer) KONDACHAR2KONDAVKA
KDGRPCustomer group KDGRPCHAR2KDGRPVKD
BZIRKSales district BZIRKCHAR6BZIRKBZI
PLTYPPrice list type PLTYPCHAR2PLTYPVPL
INCO1Incoterms (Part 1) INCO1CHAR3INCO1
INCO2Incoterms (Part 2) INCO2CHAR28INCO2
EXPKZExport indicator EXPKZCHAR1EXPKZ
RFBSKStatus for transfer to accounting RFBSKCHAR1RFBSK
MRNKZManual invoice maintenance MRNKZCHAR1XFELD
KURRFExchange rate for FI postings KURRFDEC9(5) KURRF
CPKURID:Exchange rate setting (no new rate determ.in bill.doc.) CPKURCHAR1CPKUR
VALTGAdditional value days VALTGNUMC2TAGE2
VALDTFixed value date VALDTDATS8DATUM
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
ZLSCHPayment Method SCHZW_BSEGCHAR1ZLSCH
KTGRDAccount assignment group for this customer KTGRDCHAR2KTGRD
LAND1Country of Destination LLANDCHAR3LAND1VLL
REGIOSTATE (State, Province, County) REGIOCHAR3REGIO
COUNCCounty Code COUNCCHAR3COUNC
CITYCCity Code CITYCCHAR4CITYC
BUKRSCompany Code BUKRSCHAR4BUKRSBUKC_T001
TAXK1Tax classification 1 for customer TAXK1CHAR1TAXKD
TAXK2Tax classification 2 for customer TAXK2CHAR1TAXKD
TAXK3Tax classification 3 for customer TAXK3CHAR1TAXKD
TAXK4Tax Classification 4 Customer TAXK4CHAR1TAXKD
TAXK5Tax classification 5 for customer TAXK5CHAR1TAXKD
TAXK6Tax classification 6 for customer TAXK6CHAR1TAXKD
TAXK7Tax classification 7 for customer TAXK7CHAR1TAXKD
TAXK8Tax classification 8 for customer TAXK8CHAR1TAXKD
TAXK9Tax classification 9 for customer TAXK9CHAR1TAXKD
NETWRNet Value in Document Currency NETWRCURR15(2) WERTV8
ZUKRICombination criteria in the billing document DZUKRICHAR40CHAR40
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
ERZETEntry time ERZETTIMS6UZEIT
ERDATDate on Which Record Was Created ERDATDATS8DATUM
STAFOUpdate group for statistics update STAFOCHAR6ALPHASTAFOMCF
KUNRGPayer KUNRGCHAR10ALPHAKUNNR
KUNAGSold-to party KUNAGCHAR10ALPHAKUNNRVAG
MABERDunning Area MABERCHAR2MABER
STWAEStatistics currency STWAECUKY5WAERS
EXNUMNumber of foreign trade data in MM and SD documents EXNUMCHAR10EXNUM
STCEGVAT Registration Number STCEGCHAR20STCEG
AEDATChanged On AEDATDATS8DATUM
SFAKNCancelled billing document number SFAKNCHAR10ALPHAVBELNVF
KNUMAAgreement (various conditions grouped together) KNUMACHAR10ALPHAKNUMAVMBO
FKART_RLInvoice list type FKART_RLCHAR4FKART
FKDAT_RLBilling date for the invoice list FKDAT_RLDATS8DATUM
KURSTExchange Rate Type KURSTCHAR4KURSTKUT
MSCHLDunning key MSCHLCHAR1MSCHL
MANSPDunning block MANSPCHAR1MANSP
SPARTDivision SPARTCHAR2SPARTSPAC_SPART
KKBERCredit control area KKBERCHAR4KKBERKKB
KNKLICustomer's account number with credit limit reference KNKLICHAR10ALPHAKUNNR
CMWAECurrency key of credit control area WAERS_CMCUKY5WAERS
CMKUFCredit data exchange rate at billing document rate CMKUFDEC9(5) KURRF
HITYP_PRHierarchy type for pricing HITYP_PRCHAR1HITYP
BSTNK_VFCustomer purchase order number BSTKDCHAR35BSTKD
VBUNDCompany ID of trading partner RASSCCHAR6ALPHARCOMPPGS
FKART_ABAccrual billing type FKART_ABCHAR4FKART
KAPPLApplication KAPPLCHAR2KAPPLKAP
LANDTXTax departure country LANDTXCHAR3LAND1LND
STCEG_HOrigin of sales tax ID number STCEG_HCHAR1STCEG_H
STCEG_LCountry of Sales Tax ID Number STCEG_LCHAR3LAND1LND
XBLNRReference Document Number XBLNR_V1CHAR16XBLNR1
ZUONRAssignment number ORDNR_VCHAR18ZUONR
MWSBKTax amount in document currency MWSBPCURR13(2) WERTV7
LOGSYSLogical system LOGSYSCHAR10ALPHALOGSYS
FKSTOBilling document is cancelled FKSTOCHAR1XFELD
XEGDRIndicator: Triangular deal within the EU ? XEGDRCHAR1XFELD
RPLNRNumber of payment card plan type RPLNRCHAR10FPLNR
LCNUMFinancial doc. processing: Internal financial doc. number LCNUMCHAR10ALPHALCNUMAKN
J_1AFITPTax type J_1AFITP_DCHAR2J_1AFITP
KURRF_DATTranslation Date WWERT_DDATS8DATUM
AKWAECurrency key for letter-of-credit procg in foreign trade AKWAECUKY5WAERSFWS
AKKURExchange rate for letter-of-credit procg in foreign trade AKKURDEC9(5) KURRF
KIDNOPayment Reference KIDNOCHAR30CHAR30
BVTYPPartner Bank Type BVTYPCHAR4BVTYP
NUMPGNumber of pages of invoice J_1ANOPGNUMC3J_1ANOPG
BUPLABusiness Place BUPLACHAR4J_1BBRANCH
VKONTContract Account Number CORR_VKONT_KKCHAR12ALPHACORR_VKONT_KK
FKK_DOCSTATAdditional Status Transfer to Fin. Accounting (Res. RFBSK) DOCSTAT_KKCHAR1DOCSTAT_KK
NRZASCharacter Field of Length 12 CHAR12CHAR12CHAR12
SPE_BILLING_INDEWM Billing Indicator /SPE/DE_BILLING_INDCHAR1/SPE/DE_BILLING_IND
VTREFReference Specifications from Contract CORR_VTREF_KKCHAR20ALPHACORR_VTREF_KK
FK_SOURCE_SYSSource System FK_SOURCE_SYSCHAR10ALPHALOGSYS
FKTYP_CRMBilling Category in CRM FKTYP_CRMCHAR1FKTYP
STGRDReason for Reversal STGRDCHAR2STGRDFSG
VBTYP_EXTExtension of SD Document Category TDD_VBTYP_EXTCHAR4DOM_VBTYP_EXT
.INCLU--AP 0
DPC_RELFlag: DPC relevant /SAPPCE/DPC_RELCHAR1CHAR01
.INCLU--AP 0
AD01BASDOCInitial document AD01BASDOCCHAR10ALPHAVBELN
AD01FAREGRule for billing AD01FAREGCHAR1AD01FAREG
.INCLU--AP 0
VCHRNMBRVoucher Number AD04VCHNRNUMC8AD04VCHNR
.INCLU--AP 0
SWENRBusiness Entity Number HB_SWENRCHAR8SWENRSWENRWEH
SMENRNumber of Sales Unit HB_SMENRCHAR8SMENRSMENRMEH
PHASESales Phase HB_SPHSECHAR11HBS_PHASE
MTLAURMarker for Low Income Housing HB_MTLAURCHAR1HBS_MTLAUR
STAGEConstruction Stage HB_STAGEINT410INT4
HB_CONT_REASONContingency data HB_CONTCHAR2CHAR2
HB_EXPDATEExpiration date HB_EXPDATS8DATS
HB_RESDATEResolution date HB_RESDATS8DATS
.INCLU--AP 0
J_3GKBAULETM-Relevant Indicator J_3GKBAULCHAR1J_3GKBAUL
J_3GKENIEIndicator for I(nternal) or E(xternal) Posting J_3GKENIECHAR1J_3GKENIE
KUNWEShip-to party KUNWECHAR10ALPHAKUNNR
.INCLU--AP 0
MNDIDUnique Referene to Mandate per Payment Recipient SEPA_MNDIDCHAR35ID035
PAY_TYPESEPA: Transaction Type SEPA_PAY_TYPECHAR1SEPA_PAY_TYPE
SEPONSEPA-Relevance SD_SEPA_FLAGCHAR1SD_SEPA_FLAG
MNDVGSEPA-Relevance SD_SEPA_FLAGCHAR1SD_SEPA_FLAG
.INCLU--AP 0
SPPAYMPayment Form for Special Payment Method SPPAYMCHAR2SPPAYM
SPPORDSales Order for Special Payment Method SPPORDCHAR10ALPHAVBELN
.INCLU--AP 0
.INCLU-_GT 0
FILTERED_OUT_GTFiltered Out WB2_FILTERED_OUTCHAR1WB2_FILTERED_OUT
EXTERNAL_NO_GTTrading Contract: External Document Number TKONN_EXCHAR30TKONN_EXWKN_EX
SCENARIO_GTBusiness Scenario WB2_BUSINESS_SCENARIOCHAR2WB2_BUSINESS_SCENARIO
ASSOC_QUAN_BAssoc. Mngt: Actually Associated Quantity of an Item WB2_ASSOCIATED_QUANQUAN15(3) MENGV15
UNIT_OF_QUAN_BBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
ASSOC_QUAN_SAssoc. Mngt: Actually Associated Quantity of an Item WB2_ASSOCIATED_QUANQUAN15(3) MENGV15
UNIT_OF_QUAN_SBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
ASSOC_QUAN_PAssoc. Mngt: Actually Associated Quantity of an Item WB2_ASSOCIATED_QUANQUAN15(3) MENGV15
UNIT_OF_QUAN_PBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
PORTFOLIOGlobal Trade: (Internal) Portfolio Number WB2_PORTFOLIOCHAR10KNUMB
SALESORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
DISTR_CHANDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
DIVISIONDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
DOC_TYPESales Document Type AUARTCHAR4Assigned to domainAUARTAUARTAAT
ORDBILLTYPProposed billing type for an order-related billing document FKARACHAR4TVFKFKART
BILL_DATEBilling date for billing index and printout FKDATDATS8DATUM
SOLD_TOSold-to party KUNAGCHAR10KNA1ALPHAKUNNRVAG
ITEM_CATEGSales document item category PSTYVCHAR4TVPTPSTYV
ACCTASGNMTAccount assignment group for this material KTGRMCHAR2TVKMKTGRM
PRICE_DATEDate for pricing and exchange rate PRSDTDATS8DATUM
COUNTRYDeparture country (country from which the goods are sent) ALANDCHAR3T005LAND1VAL
PLANTPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
BILL_TOBill-to party KUNRECHAR10KNA1ALPHAKUNNRKUN
PAYERPayer KUNRGCHAR10KNA1ALPHAKUNNR
SHIP_TOShip-to party KUNWECHAR10KNA1ALPHAKUNNR
REF_DOCDocument number of the reference document VGBELCHAR10Assigned to domainALPHAVBELN
MATERIALMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
REQ_QTYCumulative Order Quantity in Sales Units KWMENGQUAN15(3) MENG15
CURRENCYSD Document Currency WAERKCUKY5Assigned to domainWAERSFWS
SHORT_TEXTShort text for sales order item ARKTXCHAR40TEXT40
TAXCL_1MATTax classification material TAXM1CHAR1Assigned to domainTAXKM
REF_ITEMItem number of the reference item VGPOSNUMC6Assigned to domainPOSNR
STAT_GROUPStatistics group VERSGCHAR1TVSGVERSG
NO_MATMASTDo not check material master NO_MARACHAR1XFELD
ADDR_NOAddresses: Address Number CADNRCHAR10Assigned to domainALPHACADRNR
TITLETitle ANREDCHAR15TEXT15
NAMEName 1 NAME1_GPCHAR35NAME
NAME_2Name 2 NAME2_GPCHAR35NAME
POSTL_CODEPostal Code PSTLZCHAR10PSTLZ
CONSUMCTRYCountry key of the consumer ELANDCHAR3T005LAND1
CITYCity ORT01_GPCHAR35TEXT35
DISTRICTDistrict ORT02_GPCHAR35TEXT35
STREETHouse number and street STRAS_GPCHAR35TEXT35
REGIONSTATE (State, Province, County) REGIOCHAR3T005SREGIO
PROD_HIERProduct hierarchy PRODH_DCHAR18T179PRODHVPR
SALES_UNITSales unit VRKMEUNIT3T006CUNITMEINS
PROFIT_CTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
TAXJURCODETax Jurisdiction TXJCDCHAR15Assigned to domainTXJCDTXJ
PURCH_ORDCustomer purchase order number BSTKDCHAR35BSTKD
DOC_NUMBERSales Document VBELN_VACHAR10Assigned to domainALPHAVBELNAUN
ITM_NUMBERSales Document Item POSNR_VANUMC6Assigned to domainPOSNRAPO
ORIGINDOCOriginating document VBELVCHAR10Assigned to domainALPHAVBELN
ITEMOriginating item POSNVNUMC6Assigned to domainPOSNR
CREATED_BYName of Person who Created the Object ERNAMCHAR12USNAM
MATERIAL_EXTERNALLong Material Number for MATERIAL Field MGV_MATERIAL_EXTERNALCHAR40MATNR_EXT
MATERIAL_GUIDExternal GUID for MATERIAL Field MGV_MATERIAL_GUIDCHAR32MATNR_EGUID
MATERIAL_VERSIONVersion Number for MATERIAL Field MGV_MATERIAL_VERSIONCHAR10MATNWMATNR_VERS
INCOTERMS1Incoterms (Part 1) BAPIINCO1CHAR3Assigned to domainCHAR3
INCOTERMS2Incoterms (part 2) BAPIINCO2CHAR28TEXT28
EXCHANGE_RATEExchange Rate for Pricing and Statistics BAPIKURSKDEC9(5) EXCRTBAPIKURRF
PAYMENT_TERMSTerms of Payment Key DZTERMCHAR4ZTERM
HG_LV_ITEMHigher-level item in bill of material structures BAPIUEPOSNUMC6Assigned to domainPOSNR
.INCLU--AP 0
REF_DOC_CADocument category of preceding SD document VBTYP_VCHAR1VBTYP
ORDERIDOrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
PROFIT_SEGM_NOProfitability Segment Number (CO-PA) RKEOBJNRNUMC10RKEOBJNR
COSTCENTERCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
WBS_ELEMWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
TAX_DEPART_CTYTax departure country LANDTXCHAR3Assigned to domainLAND1LND
TAX_DEST_CTYTax Destination Country LAND1TXCHAR3Assigned to domainLAND1LND
CONT_ACCTContract Account Number CORR_VKONT_KKCHAR12ALPHACORR_VKONT_KK
SERV_DATEDate on which services rendered FBUDADATS8DATUM
PARALLEL_QTYQuantity in Parallel Unit of Measure /CWM/MENGEQUAN13(3) MENG13
PARALLEL_UOMParallel Unit of Measure /CWM/MEINSUNIT3Assigned to domainCUNITMEINS

Key field Non-key field



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

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

How to access SAP table SAPI_SIV_HEADER

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