BAPISOLDTO SAP (Sold-to Party View of the Customer Master Record) Structure details

Dictionary Type: Structure
Description: Sold-to Party View of the Customer Master Record




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




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

BAPISOLDTO 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 "Sold-to Party View of the Customer Master Record" 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_BAPISOLDTO TYPE BAPISOLDTO.

The BAPISOLDTO table consists of various fields, each holding specific information or linking keys about Sold-to Party View of the Customer Master Record data available in SAP. These include NAME (Name 1), STREET (House number and street), PO_BOX (PO Box), POSTL_CODE (Postal Code).. 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 BAPISOLDTO 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
SOLD_TOSold-to party KUNAGCHAR10KNA1ALPHAKUNNRVAG
NAMEName 1 NAME1_GPCHAR35NAME
STREETHouse number and street STRASCHAR30TEXT30
PO_BOXPO Box PFACHCHAR10PFACH
POSTL_CODEPostal Code PSTLZCHAR10PSTLZ
POBX_PCDP.O. Box Postal Code PSTL2CHAR10PSTLZ
CITYCity ORT01CHAR25TEXT25
LANGULanguage Key SPRASLANG1T002ISOLASPRASSPRH_T002
COUNTRYCountry Key LAND1CHAR3T005LAND1LND
TELEPHONEFirst telephone number TELF1CHAR16TEXT16
STAT_GROUPStatistics group VERSGCHAR1TVSGVERSG
ORDER_BLCKCustomer blocked for orders AUFSDCHAR2TVASTKAUFS
PRC_PROCEDPricing procedure assigned to this customer KALKSCHAR1TVKDKALKS
CUST_GROUPCustomer group KDGRPCHAR2T151KDGRPVKD
SALES_DISTSales district BZIRKCHAR6T171BZIRKBZI
PRICE_GRPPrice group (customer) KONDACHAR2T188KONDAVKA
PRICE_LISTPrice list type PLTYPCHAR2T189PLTYPVPL
INCOTERMS1Incoterms (Part 1) INCO1CHAR3TINCINCO1
INCOTERMS2Incoterms (Part 2) INCO2CHAR28INCO2
COMPL_DLVComplete delivery defined for each sales order? AUTLFCHAR1XFELD
MAX_PL_DLVMaximum Number of Partial Deliveries Allowed Per Item ANTLFDEC1ANTLF
ORDER_COMBOrder Combination Indicator KZAZU_DCHAR1XFELD
BTCH_SPLITBatch split allowed CHSPLCHAR1XFELD
DLV_PRIODelivery Priority LPRIONUMC2TPRIOLPRIO
CURRENCYSD Document Currency WAERKCUKY5TCURCWAERSFWS
EXCHG_RATEExchange Rate Type KURSTCHAR4TCURVKURSTKUT
SHIP_CONDShipping Conditions VSBEDCHAR2TVSBVSBED
PART_DLVPartial delivery at item level KZTLFCHAR1KZTLF
ORDER_PROBOrder probability of the item AWAHRNUMC3AWAHR
DLV_BLOCKCustomer delivery block (sales area) LIFSD_VCHAR2TVLSLIFSP
PROD_PROPItem proposal VSORTCHAR10VBUKALPHAVBELN
ACC_1_TIMEIndicator: Is the account a one-time account? XCPDKCHAR1XFELD
SALES_OFFSales Office VKBURCHAR4TVBURVKBURVKB
SALES_GRPSales Group VKGRPCHAR3TVKGRVKGRPVKG
VAT_REG_NOVAT Registration Number STCEGCHAR20STCEG
TAX_CLASS1Tax classification 1 for customer TAXK1CHAR1TSKDTAXKD
TAX_CLASS2Tax classification 2 for customer TAXK2CHAR1TSKDTAXKD
TAX_CLASS3Tax classification 3 for customer TAXK3CHAR1TSKDTAXKD
TAX_CLASS4Tax Classification 4 Customer TAXK4CHAR1TSKDTAXKD
TAX_CLASS5Tax classification 5 for customer TAXK5CHAR1TSKDTAXKD
TAX_CLASS6Tax classification 6 for customer TAXK6CHAR1TSKDTAXKD
TAX_CLASS7Tax classification 7 for customer TAXK7CHAR1TSKDTAXKD
TAX_CLASS8Tax classification 8 for customer TAXK8CHAR1TSKDTAXKD
TAX_CLASS9Tax classification 9 for customer TAXK9CHAR1TSKDTAXKD
COMPANY_IDCompany ID VBUNDCHAR6T880ALPHARCOMP

Key field Non-key field



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

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

How to access SAP table BAPISOLDTO

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