BAPISDITEM SAP (Communication Fields: Sales and Distribution Document Item) Structure details
Description: Communication Fields: Sales and Distribution Document Item
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_NUMBER | Sales Document Item | POSNR_VA | NUMC | 6 | VBUP | POSNR | APO | ||
HG_LV_ITEM | Higher-level item in bill of material structures | UEPOS | NUMC | 6 | VBUP | POSNR | |||
PO_ITM_NO | Item Number of the Underlying Purchase Order | POSEX | CHAR | 6 | ALPHA | POSEX | |||
MATERIAL | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
ALTERN_TO_ITM | Item for which this item is an alternative | GRPOS | NUMC | 6 | GRPOS | ||||
CUST_MAT35 | Material belonging to the customer | KDMAT | CHAR | 35 | IDNEX | ||||
BATCH | Batch Number | CHARG_D | CHAR | 10 | MCH1 | CHARG | CHA | ||
DLV_GROUP | Delivery group (items are delivered together) | GRKOR | NUMC | 3 | GRKOR | ||||
PART_DLV | Partial delivery at item level | KZTLF | CHAR | 1 | KZTLF | ||||
REASON_REJ | Reason for rejection of quotations and sales orders | ABGRU | CHAR | 2 | ABGRU | ||||
BILL_BLOCK | Block | FAKSP | CHAR | 2 | TVFS | FAKSP | |||
BILL_DATE | Billing date for billing index and printout | FKDAT | DATS | 8 | DATUM | ||||
PLANT | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
STORE_LOC | Storage Location | LGORT_D | CHAR | 4 | T001L | LGORT | LAG | ||
TARGET_QTY | Target quantity in sales units | DZMENG | QUAN | 13(3) | MENG13 | ||||
TARGET_QU | Target quantity UoM | DZIEME | UNIT | 3 | T006 | CUNIT | MEINS | ||
T_UNIT_ISO | Target quantity unit of measure in ISO code | ISO_ZIEME | CHAR | 3 | T006I | ISOCD_UNIT | |||
ITEM_CATEG | Sales document item category | PSTYV | CHAR | 4 | TVPT | PSTYV | |||
SHORT_TEXT | Short text for sales order item | ARKTX | CHAR | 40 | TEXT40 | ||||
PRC_GROUP1 | Material group 1 | MVGR1 | CHAR | 3 | TVM1 | MVGR1 | |||
PRC_GROUP2 | Material group 2 | MVGR2 | CHAR | 3 | TVM2 | MVGR2 | |||
PRC_GROUP3 | Material group 3 | MVGR3 | CHAR | 3 | TVM3 | MVGR3 | |||
PRC_GROUP4 | Material group 4 | MVGR4 | CHAR | 3 | TVM4 | MVGR4 | |||
PRC_GROUP5 | Material group 5 | MVGR5 | CHAR | 3 | TVM5 | MVGR5 | |||
PROD_HIERA | Product hierarchy | PRODH_D | CHAR | 18 | T179 | PRODH | VPR | ||
MATL_GROUP | Material Group | MATKL | CHAR | 9 | T023 | MATKL | MKL | S_WBWG | |
PURCH_NO_C | Customer purchase order number | BSTKD | CHAR | 35 | BSTKD | ||||
PURCH_DATE | Customer purchase order date | BSTDK | DATS | 8 | DATUM | ||||
PO_METHOD | Customer purchase order type | BSARK | CHAR | 4 | T176 | BSARK | |||
REF_1 | Your Reference | IHREZ | CHAR | 12 | TEXT12 | ||||
PURCH_NO_S | Ship-to Party's Purchase Order Number | BSTKD_E | CHAR | 35 | BSTKD | ||||
PO_DAT_S | Ship-to party's PO date | BSTDK_E | DATS | 8 | DATUM | ||||
PO_METH_S | Ship-to party purchase order type | BSARK_E | CHAR | 4 | T176 | BSARK | |||
REF_1_S | Ship-to party character | IHREZ_E | CHAR | 12 | TEXT12 | ||||
PO_ITM_NO_S | Item Number of the Underlying Purchase Order | POSEX_E | CHAR | 6 | ALPHA | POSEX | |||
PRICE_GRP | Price group (customer) | KONDA | CHAR | 2 | T188 | KONDA | VKA | ||
CUST_GROUP | Customer group | KDGRP | CHAR | 2 | T151 | KDGRP | VKD | ||
SALES_DIST | Sales district | BZIRK | CHAR | 6 | T171 | BZIRK | BZI | ||
PRICE_LIST | Price list type | PLTYP | CHAR | 2 | T189 | PLTYP | VPL | ||
INCOTERMS1 | Incoterms (Part 1) | INCO1 | CHAR | 3 | TINC | INCO1 | |||
INCOTERMS2 | Incoterms (Part 2) | INCO2 | CHAR | 28 | INCO2 | ||||
ORD_COMP_IN | Order Combination Indicator | KZAZU_D | CHAR | 1 | XFELD | ||||
BILL_SCHED | Invoice dates (calendar identification) | PERFK | CHAR | 2 | TFACD | WFCID | |||
INVO_SCHED | Invoice list schedule (calendar identification) | PERRL | CHAR | 2 | TFACD | WFCID | |||
MN_INVOICE | Manual invoice maintenance | MRNKZ | CHAR | 1 | XFELD | ||||
EXCH_RATE_FI | Exchange rate for FI postings | KURRF | DEC | 9(5) | KURRF | ||||
ADD_VAL_DY | Additional value days | VALTG | NUMC | 2 | TAGE2 | ||||
FIX_VAL_DY | Fixed value date | VALDT | DATS | 8 | DATUM | ||||
PMNTTRMS | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
PYMT_METH | Payment Method | DZLSCH | CHAR | 1 | T042Z | ZLSCH | |||
ACCNT_ASGN | Account assignment group for this customer | KTGRD | CHAR | 2 | TVKT | KTGRD | |||
EXCHG_RATE | Exchange Rate for Price Determination | KURSK | DEC | 9(5) | EXCRT | KURRF | |||
PRICE_DATE | Date for pricing and exchange rate | PRSDT | DATS | 8 | DATUM | ||||
SERV_DATE | Date on which services rendered | FBUDA | DATS | 8 | DATUM | ||||
DUNN_KEY | Dunning key | MSCHL | CHAR | 1 | T040 | MSCHL | |||
DUNN_BLOCK | Dunning block | MANSP | CHAR | 1 | T040S | MANSP | |||
PROMOTION | COUPON | WAKTION | CHAR | 10 | WAKH | ALPHA | WAKTION | WAK | |
PYMT_GAR_PROC | Payment guarantee procedure | ABSSCHE_CM | CHAR | 6 | ABSSCHE_CM | ||||
DOC_NUM_FI | Financial doc. processing: Internal financial doc. number | LCNUM | CHAR | 10 | Assigned to domain | ALPHA | LCNUM | AKN | |
DEPARTMENT_NO | Department number | ABTNR | CHAR | 4 | TSAB | ABTNR | |||
REC_POINT | Receiving point | EMPST | CHAR | 25 | TEXT25 | ||||
CUST_COND_GRP1 | Customer condition group 1 | KDKG1 | CHAR | 2 | TVKGG | KDKGR | |||
CUST_COND_GRP2 | Customer condition group 2 | KDKG2 | CHAR | 2 | TVKGG | KDKGR | |||
CUST_COND_GRP3 | Customer condition group 3 | KDKG3 | CHAR | 2 | TVKGG | KDKGR | |||
CUST_COND_GRP4 | Customer condition group 4 | KDKG4 | CHAR | 2 | TVKGG | KDKGR | |||
CUST_COND_GRP5 | Customer condition group 5 | KDKG5 | CHAR | 2 | TVKGG | KDKGR | |||
DLV_TIME | Agreed delivery time | DELCO | CHAR | 3 | DELCO | ||||
SALES_UNIT | Sales unit | VRKME | UNIT | 3 | T006 | CUNIT | MEINS | ||
SALES_UNIT_ISO | ISO code for unit of measurement | ISOCD_UNIT | CHAR | 3 | T006I | ISOCD_UNIT | |||
TARG_QTY_NUM | Factor for converting sales units to base units (target qty) | UMZIZ | DEC | 5 | UMBSZ | ||||
TARG_QTY_DENOM | Factor for converting sales units to base units (target qty) | UMZIN | DEC | 5 | UMBSN | ||||
ROUND_DLV_QTY | Rounding quantity for delivery | ABLFZ | QUAN | 13(3) | ABLFZ | ||||
MAX_DEVIAT_AMNT | Allowed deviation in quantity (absolute) | ABSFZ | QUAN | 13(3) | MENG13 | ||||
MAX_DEV_PERC | Allowed deviation in quantity (in percent) | KBVER | DEC | 3 | PACK2 | ||||
MAX_DEV_DAYS | Days by which the quantity can be shifted | KEVER | DEC | 3 | PACK2 | ||||
USAGE_IND | Unused - Reserve Length 3 | VKAUS | CHAR | 3 | VKAUS | ||||
FIXED_QUAN | Quantity is Fixed | FMENG | CHAR | 1 | XFELD | ||||
UNLIMITED_DLV | Indicator: Unlimited Overdelivery Allowed | UEBTK | CHAR | 1 | XFELD | ||||
OVER_DLV_TOL | Overdelivery Tolerance Limit | UEBTO | DEC | 3(1) | PRZ21 | ||||
UNDER_DLV_TOL | Underdelivery Tolerance Limit | UNTTO | DEC | 3(1) | PRZ21 | ||||
DIVISION | Division | SPART | CHAR | 2 | TSPA | SPART | SPA | C_SPART | |
SALES_QTY_NUM | Numerator (factor) for conversion of sales quantity into SKU | UMVKZ | DEC | 5 | UMBSZ | ||||
SALES_QTY_DENOM | Denominator (Divisor) for Conversion of Sales Qty into SKU | UMVKN | DEC | 5 | UMBSN | ||||
GROSS_WEIGHT | Gross Weight of the Item | BRGEW_AP | QUAN | 15(3) | MENG15 | ||||
NET_WEIGHT | Net Weight of the Item | NTGEW_AP | QUAN | 15(3) | MENG15 | ||||
UNIT_OF_WEIGHT | Weight Unit | GEWEI | UNIT | 3 | T006 | CUNIT | MEINS | ||
UNIT_OF_WT_ISO | Unit of weight in ISO code | GEWEI_ISO | CHAR | 3 | T006I | ISOCD_UNIT | |||
VOLUME | Volume of the item | VOLUM_AP | QUAN | 15(3) | MENG15 | ||||
VOLUMEUNIT | Volume unit | VOLEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
VOLUMEUNIT_ISO | Volume unit in ISO code | VOLEH_ISO | CHAR | 3 | T006I | ISOCD_UNIT | |||
DLV_PRIO | Delivery Priority | LPRIO | NUMC | 2 | TPRIO | LPRIO | |||
SHIP_POINT | Shipping Point/Receiving Point | VSTEL | CHAR | 4 | TVST | VSTEL | VST | ||
ROUTE | Route | ROUTE | CHAR | 6 | TVRO | ROUTE | |||
CREATED_BY | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
TAX_CLASS1 | Tax classification material | TAXMT | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS2 | Tax classification material | TAXMT | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS3 | Tax classification material | TAXMT | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS4 | Tax classification material | TAXMT | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS5 | Tax classification material | TAXMT | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS6 | Tax classification material | TAXMT | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS7 | Tax classification material | TAXMT | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS8 | Tax classification material | TAXMT | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS9 | Tax classification material | TAXMT | CHAR | 1 | TSKD | TAXKD | |||
MAT_PR_GRP | Material Pricing Group | KONDM | CHAR | 2 | T178 | KONDM | VKM | ||
VAL_TYPE | Valuation Type | BWTAR_D | CHAR | 10 | T149D | BWTAR | BWT | ||
FIX_DATE_QTY | Delivery date and quantity fixed | FIXMG | CHAR | 1 | XFELD | ||||
BOMEXPL_NO | BOM explosion number | SERNR | CHAR | 8 | SNUM | SERNR | |||
RES_ANAL_KEY | Results Analysis Key | ABGR_SCHL | CHAR | 6 | TKKAA | ABGR_SCHL | ACS | ||
REQMTS_TYPE | Requirements type | BEDAE | CHAR | 4 | T459A | BEDAE | BDA | ||
NO_GR_POSTED | Customer has not posted goods receipt | NACHL | CHAR | 1 | XFELD | ||||
BUS_TRANST | Business Transaction Type for Foreign Trade | EXART | CHAR | 2 | T605 | EXART | EXA | ||
OVERHEAD_KEY | Overhead key | AUFZSCHL | CHAR | 6 | CHAR6 | ||||
CSTG_SHEET | Costing Sheet | AUFKALSM | CHAR | 6 | T683 | KALSM | |||
MATFRGTGRP | Material freight group | MFRGR | CHAR | 8 | TMFG | MFRGR | |||
PLANDLVSCHEDINS | Planning delivery schedule instruction | PLAVO | CHAR | 4 | TVZP | PLAVO | |||
SEQUENCE_NO | KANBAN/sequence number | KANNR | CHAR | 35 | CHAR35 | ||||
BILLING_FORM | Billing form | FAKTF | CHAR | 2 | FAKTF | ||||
DLI_PROFILE | Dynamic Item Processor Profile | AD01PROFNR | CHAR | 8 | AD01C_PROF | AD01PROFNR | AD0 | DIP_PROFILE | |
REVENUE_TYPE | Revenue recognition category | RR_RELTYP | CHAR | 1 | RR_RELTYP | ||||
BEGIN_DEMARC_PERIOD | Proposed start date for accrual period | RR_ACDATV | CHAR | 1 | RR_ACDATV | ||||
PR_REF_MAT | Pricing Reference Material | PMATN | CHAR | 18 | MARA | MATN1 | MATNR | MAT | |
REFOBJTYPE | Object Type | SWO_OBJTYP | CHAR | 10 | Assigned to domain | OJ_NAME | OBJ | ||
REFOBJKEY | Object key | SWO_TYPEID | CHAR | 70 | SWO_TYPEID | ||||
REFLOGSYS | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
ORDER_PROB | Order probability of the item | AWAHR | NUMC | 3 | AWAHR | ||||
MAX_PL_DLV | Maximum Number of Partial Deliveries Allowed Per Item | ANTLF | DEC | 1 | ANTLF | ||||
CFOP_CODE | CFOP code and extension (old 5 char version) | J_1BCFOP_OLD | CHAR | 5 | Assigned to domain | J_1BCFOP_OLD | |||
TAXLAWICMS | Tax law: ICMS | J_1BTAXLW1 | CHAR | 3 | Assigned to domain | ALPHA | J_1BTAXLW1 | ||
TAXLAWIPI | Tax law: IPI | J_1BTAXLW2 | CHAR | 3 | Assigned to domain | ALPHA | J_1BTAXLW2 | ||
SD_TAXCODE | SD tax code | J_1BTXSDC_ | CHAR | 2 | Assigned to domain | J_1BTXSDC | |||
ASSORT_MOD | Assortment module | W_SORTK | CHAR | 18 | Assigned to domain | ALPHA | WSORTK | WBS | |
COMP_QUANT | Component quantity | KMPMG | QUAN | 13(3) | MENGV13 | ||||
TARGET_VAL | Currency amount in BAPI interfaces | BAPICURR_D | DEC | 23(4) | BAPICURR | ||||
PROFIT_CTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
ORDERID | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
WBS_ELEM | Work Breakdown Structure Element (WBS Element) | PS_POSID | CHAR | 24 | PROJN | PS_POSID | PRO | ||
DEPREC_PER | Depreciation percentage for financial document processing | AKPRZ | DEC | 5(2) | PRZ32 | ||||
REF_DOC | Document number of the reference document | VGBEL | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
REF_DOC_IT | Item number of the reference item | VGPOS | NUMC | 6 | Assigned to domain | POSNR | |||
REF_DOC_CA | Document category of preceding SD document | VBTYP_V | CHAR | 1 | VBTYP | ||||
MATERIAL_EXTERNAL | Long Material Number for MATERIAL Field | MGV_MATERIAL_EXTERNAL | CHAR | 40 | MATNR_EXT | ||||
MATERIAL_GUID | External GUID for MATERIAL Field | MGV_MATERIAL_GUID | CHAR | 32 | MATNR_EGUID | ||||
MATERIAL_VERSION | Version Number for MATERIAL Field | MGV_MATERIAL_VERSION | CHAR | 10 | MATNW | MATNR_VERS | |||
PR_REF_MAT_EXTERNAL | Long Material Number for PR_REF_MAT Field | MGV_PR_REF_MAT_EXTERNAL | CHAR | 40 | MATNR_EXT | ||||
PR_REF_MAT_GUID | External GUID for PR_REF_MAT Field | MGV_PR_REF_MAT_GUID | CHAR | 32 | MATNR_EGUID | ||||
PR_REF_MAT_VERSION | Version Number for PR_REF_MAT Field | MGV_PR_REF_MAT_VERSION | CHAR | 10 | MATNW | MATNR_VERS | |||
CFOP_LONG | CFOP code and extension | J_1BCFOP_LONG | CHAR | 10 | Assigned to domain | J_1BCFOP_LONG | |||
FKK_CONACCT | Contract Account Number | CORR_VKONT_KK | CHAR | 12 | ALPHA | CORR_VKONT_KK | |||
SEPA_MANDATE_ID | Unique Referene to Mandate per Payment Recipient | SEPA_MNDID | CHAR | 35 | ID035 |
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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects