BAPISDITEM SAP (Communication Fields: Sales and Distribution Document Item) Structure details

Dictionary Type: Structure
Description: Communication Fields: Sales and Distribution Document Item




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




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

BAPISDITEM 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 "Communication Fields: Sales and Distribution Document Item" 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_BAPISDITEM TYPE BAPISDITEM.

The BAPISDITEM table consists of various fields, each holding specific information or linking keys about Communication Fields: Sales and Distribution Document Item data available in SAP. These include HG_LV_ITEM (Higher-level item in bill of material structures), PO_ITM_NO (Item Number of the Underlying Purchase Order), MATERIAL (Material Number), ALTERN_TO_ITM (Item for which this item is an alternative).. 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 BAPISDITEM 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
ITM_NUMBERSales Document Item POSNR_VANUMC6VBUPPOSNRAPO
HG_LV_ITEMHigher-level item in bill of material structures UEPOSNUMC6VBUPPOSNR
PO_ITM_NOItem Number of the Underlying Purchase Order POSEXCHAR6ALPHAPOSEX
MATERIALMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
ALTERN_TO_ITMItem for which this item is an alternative GRPOSNUMC6GRPOS
CUST_MAT35Material belonging to the customer KDMATCHAR35IDNEX
BATCHBatch Number CHARG_DCHAR10MCH1CHARGCHA
DLV_GROUPDelivery group (items are delivered together) GRKORNUMC3GRKOR
PART_DLVPartial delivery at item level KZTLFCHAR1KZTLF
REASON_REJReason for rejection of quotations and sales orders ABGRUCHAR2ABGRU
BILL_BLOCKBlock FAKSPCHAR2TVFSFAKSP
BILL_DATEBilling date for billing index and printout FKDATDATS8DATUM
PLANTPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
STORE_LOCStorage Location LGORT_DCHAR4T001LLGORTLAG
TARGET_QTYTarget quantity in sales units DZMENGQUAN13(3) MENG13
TARGET_QUTarget quantity UoM DZIEMEUNIT3T006CUNITMEINS
T_UNIT_ISOTarget quantity unit of measure in ISO code ISO_ZIEMECHAR3T006IISOCD_UNIT
ITEM_CATEGSales document item category PSTYVCHAR4TVPTPSTYV
SHORT_TEXTShort text for sales order item ARKTXCHAR40TEXT40
PRC_GROUP1Material group 1 MVGR1CHAR3TVM1MVGR1
PRC_GROUP2Material group 2 MVGR2CHAR3TVM2MVGR2
PRC_GROUP3Material group 3 MVGR3CHAR3TVM3MVGR3
PRC_GROUP4Material group 4 MVGR4CHAR3TVM4MVGR4
PRC_GROUP5Material group 5 MVGR5CHAR3TVM5MVGR5
PROD_HIERAProduct hierarchy PRODH_DCHAR18T179PRODHVPR
MATL_GROUPMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
PURCH_NO_CCustomer purchase order number BSTKDCHAR35BSTKD
PURCH_DATECustomer purchase order date BSTDKDATS8DATUM
PO_METHODCustomer purchase order type BSARKCHAR4T176BSARK
REF_1Your Reference IHREZCHAR12TEXT12
PURCH_NO_SShip-to Party's Purchase Order Number BSTKD_ECHAR35BSTKD
PO_DAT_SShip-to party's PO date BSTDK_EDATS8DATUM
PO_METH_SShip-to party purchase order type BSARK_ECHAR4T176BSARK
REF_1_SShip-to party character IHREZ_ECHAR12TEXT12
PO_ITM_NO_SItem Number of the Underlying Purchase Order POSEX_ECHAR6ALPHAPOSEX
PRICE_GRPPrice group (customer) KONDACHAR2T188KONDAVKA
CUST_GROUPCustomer group KDGRPCHAR2T151KDGRPVKD
SALES_DISTSales district BZIRKCHAR6T171BZIRKBZI
PRICE_LISTPrice list type PLTYPCHAR2T189PLTYPVPL
INCOTERMS1Incoterms (Part 1) INCO1CHAR3TINCINCO1
INCOTERMS2Incoterms (Part 2) INCO2CHAR28INCO2
ORD_COMP_INOrder Combination Indicator KZAZU_DCHAR1XFELD
BILL_SCHEDInvoice dates (calendar identification) PERFKCHAR2TFACDWFCID
INVO_SCHEDInvoice list schedule (calendar identification) PERRLCHAR2TFACDWFCID
MN_INVOICEManual invoice maintenance MRNKZCHAR1XFELD
EXCH_RATE_FIExchange rate for FI postings KURRFDEC9(5) KURRF
ADD_VAL_DYAdditional value days VALTGNUMC2TAGE2
FIX_VAL_DYFixed value date VALDTDATS8DATUM
PMNTTRMSTerms of Payment Key DZTERMCHAR4ZTERM
PYMT_METHPayment Method DZLSCHCHAR1T042ZZLSCH
ACCNT_ASGNAccount assignment group for this customer KTGRDCHAR2TVKTKTGRD
EXCHG_RATEExchange Rate for Price Determination KURSKDEC9(5) EXCRTKURRF
PRICE_DATEDate for pricing and exchange rate PRSDTDATS8DATUM
SERV_DATEDate on which services rendered FBUDADATS8DATUM
DUNN_KEYDunning key MSCHLCHAR1T040MSCHL
DUNN_BLOCKDunning block MANSPCHAR1T040SMANSP
PROMOTIONCOUPON WAKTIONCHAR10WAKHALPHAWAKTIONWAK
PYMT_GAR_PROCPayment guarantee procedure ABSSCHE_CMCHAR6ABSSCHE_CM
DOC_NUM_FIFinancial doc. processing: Internal financial doc. number LCNUMCHAR10Assigned to domainALPHALCNUMAKN
DEPARTMENT_NODepartment number ABTNRCHAR4TSABABTNR
REC_POINTReceiving point EMPSTCHAR25TEXT25
CUST_COND_GRP1Customer condition group 1 KDKG1CHAR2TVKGGKDKGR
CUST_COND_GRP2Customer condition group 2 KDKG2CHAR2TVKGGKDKGR
CUST_COND_GRP3Customer condition group 3 KDKG3CHAR2TVKGGKDKGR
CUST_COND_GRP4Customer condition group 4 KDKG4CHAR2TVKGGKDKGR
CUST_COND_GRP5Customer condition group 5 KDKG5CHAR2TVKGGKDKGR
DLV_TIMEAgreed delivery time DELCOCHAR3DELCO
SALES_UNITSales unit VRKMEUNIT3T006CUNITMEINS
SALES_UNIT_ISOISO code for unit of measurement ISOCD_UNITCHAR3T006IISOCD_UNIT
TARG_QTY_NUMFactor for converting sales units to base units (target qty) UMZIZDEC5UMBSZ
TARG_QTY_DENOMFactor for converting sales units to base units (target qty) UMZINDEC5UMBSN
ROUND_DLV_QTYRounding quantity for delivery ABLFZQUAN13(3) ABLFZ
MAX_DEVIAT_AMNTAllowed deviation in quantity (absolute) ABSFZQUAN13(3) MENG13
MAX_DEV_PERCAllowed deviation in quantity (in percent) KBVERDEC3PACK2
MAX_DEV_DAYSDays by which the quantity can be shifted KEVERDEC3PACK2
USAGE_INDUnused - Reserve Length 3 VKAUSCHAR3VKAUS
FIXED_QUANQuantity is Fixed FMENGCHAR1XFELD
UNLIMITED_DLVIndicator: Unlimited Overdelivery Allowed UEBTKCHAR1XFELD
OVER_DLV_TOLOverdelivery Tolerance Limit UEBTODEC3(1) PRZ21
UNDER_DLV_TOLUnderdelivery Tolerance Limit UNTTODEC3(1) PRZ21
DIVISIONDivision SPARTCHAR2TSPASPARTSPAC_SPART
SALES_QTY_NUMNumerator (factor) for conversion of sales quantity into SKU UMVKZDEC5UMBSZ
SALES_QTY_DENOMDenominator (Divisor) for Conversion of Sales Qty into SKU UMVKNDEC5UMBSN
GROSS_WEIGHTGross Weight of the Item BRGEW_APQUAN15(3) MENG15
NET_WEIGHTNet Weight of the Item NTGEW_APQUAN15(3) MENG15
UNIT_OF_WEIGHTWeight Unit GEWEIUNIT3T006CUNITMEINS
UNIT_OF_WT_ISOUnit of weight in ISO code GEWEI_ISOCHAR3T006IISOCD_UNIT
VOLUMEVolume of the item VOLUM_APQUAN15(3) MENG15
VOLUMEUNITVolume unit VOLEHUNIT3T006CUNITMEINS
VOLUMEUNIT_ISOVolume unit in ISO code VOLEH_ISOCHAR3T006IISOCD_UNIT
DLV_PRIODelivery Priority LPRIONUMC2TPRIOLPRIO
SHIP_POINTShipping Point/Receiving Point VSTELCHAR4TVSTVSTELVST
ROUTERoute ROUTECHAR6TVROROUTE
CREATED_BYName of Person who Created the Object ERNAMCHAR12USNAM
TAX_CLASS1Tax classification material TAXMTCHAR1TSKDTAXKD
TAX_CLASS2Tax classification material TAXMTCHAR1TSKDTAXKD
TAX_CLASS3Tax classification material TAXMTCHAR1TSKDTAXKD
TAX_CLASS4Tax classification material TAXMTCHAR1TSKDTAXKD
TAX_CLASS5Tax classification material TAXMTCHAR1TSKDTAXKD
TAX_CLASS6Tax classification material TAXMTCHAR1TSKDTAXKD
TAX_CLASS7Tax classification material TAXMTCHAR1TSKDTAXKD
TAX_CLASS8Tax classification material TAXMTCHAR1TSKDTAXKD
TAX_CLASS9Tax classification material TAXMTCHAR1TSKDTAXKD
MAT_PR_GRPMaterial Pricing Group KONDMCHAR2T178KONDMVKM
VAL_TYPEValuation Type BWTAR_DCHAR10T149DBWTARBWT
FIX_DATE_QTYDelivery date and quantity fixed FIXMGCHAR1XFELD
BOMEXPL_NOBOM explosion number SERNRCHAR8SNUMSERNR
RES_ANAL_KEYResults Analysis Key ABGR_SCHLCHAR6TKKAAABGR_SCHLACS
REQMTS_TYPERequirements type BEDAECHAR4T459ABEDAEBDA
NO_GR_POSTEDCustomer has not posted goods receipt NACHLCHAR1XFELD
BUS_TRANSTBusiness Transaction Type for Foreign Trade EXARTCHAR2T605EXARTEXA
OVERHEAD_KEYOverhead key AUFZSCHLCHAR6CHAR6
CSTG_SHEETCosting Sheet AUFKALSMCHAR6T683KALSM
MATFRGTGRPMaterial freight group MFRGRCHAR8TMFGMFRGR
PLANDLVSCHEDINSPlanning delivery schedule instruction PLAVOCHAR4TVZPPLAVO
SEQUENCE_NOKANBAN/sequence number KANNRCHAR35CHAR35
BILLING_FORMBilling form FAKTFCHAR2FAKTF
DLI_PROFILEDynamic Item Processor Profile AD01PROFNRCHAR8AD01C_PROFAD01PROFNRAD0DIP_PROFILE
REVENUE_TYPERevenue recognition category RR_RELTYPCHAR1RR_RELTYP
BEGIN_DEMARC_PERIODProposed start date for accrual period RR_ACDATVCHAR1RR_ACDATV
PR_REF_MATPricing Reference Material PMATNCHAR18MARAMATN1MATNRMAT
REFOBJTYPEObject Type SWO_OBJTYPCHAR10Assigned to domainOJ_NAMEOBJ
REFOBJKEYObject key SWO_TYPEIDCHAR70SWO_TYPEID
REFLOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
ORDER_PROBOrder probability of the item AWAHRNUMC3AWAHR
MAX_PL_DLVMaximum Number of Partial Deliveries Allowed Per Item ANTLFDEC1ANTLF
CFOP_CODECFOP code and extension (old 5 char version) J_1BCFOP_OLDCHAR5Assigned to domainJ_1BCFOP_OLD
TAXLAWICMSTax law: ICMS J_1BTAXLW1CHAR3Assigned to domainALPHAJ_1BTAXLW1
TAXLAWIPITax law: IPI J_1BTAXLW2CHAR3Assigned to domainALPHAJ_1BTAXLW2
SD_TAXCODESD tax code J_1BTXSDC_CHAR2Assigned to domainJ_1BTXSDC
ASSORT_MODAssortment module W_SORTKCHAR18Assigned to domainALPHAWSORTKWBS
COMP_QUANTComponent quantity KMPMGQUAN13(3) MENGV13
TARGET_VALCurrency amount in BAPI interfaces BAPICURR_DDEC23(4) BAPICURR
PROFIT_CTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
ORDERIDOrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
WBS_ELEMWork Breakdown Structure Element (WBS Element) PS_POSIDCHAR24PROJNPS_POSIDPRO
DEPREC_PERDepreciation percentage for financial document processing AKPRZDEC5(2) PRZ32
REF_DOCDocument number of the reference document VGBELCHAR10Assigned to domainALPHAVBELN
REF_DOC_ITItem number of the reference item VGPOSNUMC6Assigned to domainPOSNR
REF_DOC_CADocument category of preceding SD document VBTYP_VCHAR1VBTYP
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
PR_REF_MAT_EXTERNALLong Material Number for PR_REF_MAT Field MGV_PR_REF_MAT_EXTERNALCHAR40MATNR_EXT
PR_REF_MAT_GUIDExternal GUID for PR_REF_MAT Field MGV_PR_REF_MAT_GUIDCHAR32MATNR_EGUID
PR_REF_MAT_VERSIONVersion Number for PR_REF_MAT Field MGV_PR_REF_MAT_VERSIONCHAR10MATNWMATNR_VERS
CFOP_LONGCFOP code and extension J_1BCFOP_LONGCHAR10Assigned to domainJ_1BCFOP_LONG
FKK_CONACCTContract Account Number CORR_VKONT_KKCHAR12ALPHACORR_VKONT_KK
SEPA_MANDATE_IDUnique Referene to Mandate per Payment Recipient SEPA_MNDIDCHAR35ID035

Key field Non-key field



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

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

How to access SAP table BAPISDITEM

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