SAP TABLES | Logistics - General | Global Trade | Trading Execution Workbench(LO-GT-TEW) SAP LO

SAPI_SIV_HEADER SAP Step API: Header Data For Sales Invoices Structure and data







SAPI_SIV_HEADER is an SAP Structure so does not store data like a database table does but can be used 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 .

Below is the documentation avaialable and full details of the fields which make up this Structure.

You can view further information about this via relevant transactions such as SE11 or SE80. Also check out the Comments section below to view or add related contributions and example screen shots.



Display/Maintenance via SM30: Yes but with Restrictions

Enhancement category i: Can be enhanced (character-type or numeric)
See here for more information about this and other SAP enhancement categories


SAP SAPI_SIV_HEADER Structure fields within data Dictionary





Field
Component Type
Data Typelength (Decimals)Check tableDescriptionConversion Routine
DOC_KEYWB2_DOC_KEYCHAR42 Document Key
VBELNVBELN_VFCHAR10
*
Billing DocumentALPHA
VBRKWB2_VBRKSTRU Step API: Header Data For Sales Invoices
.INCLUDEWB2_DATA_DYN Dynamic Part of Data for Subsequent Action
ASSOC_QUAN_BWB2_ASSOCIATED_QUANQUAN15(3) Assoc. Mngt: Actually Associated Quantity of an Item
UNIT_OF_QUAN_BMEINSUNIT3
*
Base Unit of MeasureCUNIT
ASSOC_QUAN_SWB2_ASSOCIATED_QUANQUAN15(3) Assoc. Mngt: Actually Associated Quantity of an Item
UNIT_OF_QUAN_SMEINSUNIT3
*
Base Unit of MeasureCUNIT
ASSOC_QUAN_PWB2_ASSOCIATED_QUANQUAN15(3) Assoc. Mngt: Actually Associated Quantity of an Item
UNIT_OF_QUAN_PMEINSUNIT3
*
Base Unit of MeasureCUNIT
PORTFOLIOWB2_PORTFOLIOCHAR10 Global Trade: (Internal) Portfolio Number
.INCLUDEBAPIVBRK Communication Fields for Billing Header Fields
SALESORGVKORGCHAR4 TVKOSales Organization
DISTR_CHANVTWEGCHAR2
*
Distribution Channel
DIVISIONSPARTCHAR2
*
Division
DOC_TYPEAUARTCHAR4
*
Sales Document TypeAUART
ORDBILLTYPFKARACHAR4 TVFKProposed billing type for an order-related billing document
BILL_DATEFKDATDATS8 Billing date for billing index and printout
SOLD_TOKUNAGCHAR10 KNA1Sold-to partyALPHA
ITEM_CATEGPSTYVCHAR4 TVPTSales document item category
ACCTASGNMTKTGRMCHAR2 TVKMAccount assignment group for this material
PRICE_DATEPRSDTDATS8 Date for pricing and exchange rate
COUNTRYALANDCHAR3 T005Departure country (country from which the goods are sent)
PLANTWERKS_DCHAR4 T001WPlant
BILL_TOKUNRECHAR10 KNA1Bill-to partyALPHA
PAYERKUNRGCHAR10 KNA1PayerALPHA
SHIP_TOKUNWECHAR10 KNA1Ship-to partyALPHA
REF_DOCVGBELCHAR10
*
Document number of the reference documentALPHA
MATERIALMATNRCHAR18 MARAMaterial NumberMATN1



REQ_QTYKWMENGQUAN15(3) Cumulative Order Quantity in Sales Units
CURRENCYWAERKCUKY5
*
SD Document Currency
SHORT_TEXTARKTXCHAR40 Short text for sales order item
TAXCL_1MATTAXM1CHAR1
*
Tax classification material
REF_ITEMVGPOSNUMC6
*
Item number of the reference item
STAT_GROUPVERSGCHAR1 TVSGStatistics group
NO_MATMASTNO_MARACHAR1 Do not check material master
ADDR_NOCADNRCHAR10
*
Addresses: Address NumberALPHA
TITLEANREDCHAR15 Title
NAMENAME1_GPCHAR35 Name 1
NAME_2NAME2_GPCHAR35 Name 2
POSTL_CODEPSTLZCHAR10 Postal Code
CONSUMCTRYELANDCHAR3 T005Country key of the consumer
CITYORT01_GPCHAR35 City
DISTRICTORT02_GPCHAR35 District
STREETSTRAS_GPCHAR35 House number and street
PROD_HIERPRODH_DCHAR18 T179Product hierarchy
SALES_UNITVRKMEUNIT3 T006Sales unitCUNIT
PROFIT_CTRPRCTRCHAR10
*
Profit CenterALPHA
TAXJURCODETXJCDCHAR15
*
Tax Jurisdiction
PURCH_ORDBSTKDCHAR35 Customer purchase order number
DOC_NUMBERVBELN_VACHAR10
*
Sales DocumentALPHA
ITM_NUMBERPOSNR_VANUMC6
*
Sales Document Item
ORIGINDOCVBELVCHAR10
*
Originating documentALPHA
ITEMPOSNVNUMC6
*
Originating item
CREATED_BYERNAMCHAR12 Name of Person who Created the Object
MATERIAL_EXTERNALMGV_MATERIAL_EXTERNALCHAR40 Long Material Number for MATERIAL FieldMATNL
MATERIAL_GUIDMGV_MATERIAL_GUIDCHAR32 External GUID for MATERIAL Field
MATERIAL_VERSIONMGV_MATERIAL_VERSIONCHAR10 Version Number for MATERIAL FieldMATNW
INCOTERMS1BAPIINCO1CHAR3
*
Incoterms (Part 1)
INCOTERMS2BAPIINCO2CHAR28 Incoterms (part 2)
EXCHANGE_RATEBAPIKURSKDEC9(5) Exchange Rate for Pricing and StatisticsEXCRT
PAYMENT_TERMSDZTERMCHAR4 Terms of Payment Key
HG_LV_ITEMBAPIUEPOSNUMC6
*
Higher-level item in bill of material structures
.APPENDBAPIVBRK_APPEND Append Structure to BAPIVBRK for Foreign Key
REF_DOC_CAVBTYP_VCHAR1 Document category of preceding SD document
ORDERIDAUFNRCHAR12
*
Order NumberALPHA
PROFIT_SEGM_NORKEOBJNRNUMC10 Profitability Segment Number (CO-PA)
COSTCENTERKOSTLCHAR10
*
Cost CenterALPHA
WBS_ELEMPS_PSP_PNRNUMC8
*
Work Breakdown Structure Element (WBS Element)ABPSP
TAX_DEPART_CTYLANDTXCHAR3
*
Tax departure country
TAX_DEST_CTYLAND1TXCHAR3
*
Tax Destination Country
CONT_ACCTCORR_VKONT_KKCHAR12 Contract Account NumberALPHA
SERV_DATEFBUDADATS8 Date on which services rendered
PARALLEL_QTY/CWM/MENGEQUAN13(3) Quantity in Parallel Unit of Measure
PARALLEL_UOM/CWM/MEINSUNIT3
*
Parallel Unit of MeasureCUNIT



Key field
Non-key field