BAPISOLDTO SAP (Sold-to Party View of the Customer Master Record) Structure details
Description: Sold-to Party View of the Customer Master Record
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_TO | Sold-to party | KUNAG | CHAR | 10 | KNA1 | ALPHA | KUNNR | VAG | |
NAME | Name 1 | NAME1_GP | CHAR | 35 | NAME | ||||
STREET | House number and street | STRAS | CHAR | 30 | TEXT30 | ||||
PO_BOX | PO Box | PFACH | CHAR | 10 | PFACH | ||||
POSTL_CODE | Postal Code | PSTLZ | CHAR | 10 | PSTLZ | ||||
POBX_PCD | P.O. Box Postal Code | PSTL2 | CHAR | 10 | PSTLZ | ||||
CITY | City | ORT01 | CHAR | 25 | TEXT25 | ||||
LANGU | Language Key | SPRAS | LANG | 1 | T002 | ISOLA | SPRAS | SPR | H_T002 |
COUNTRY | Country Key | LAND1 | CHAR | 3 | T005 | LAND1 | LND | ||
TELEPHONE | First telephone number | TELF1 | CHAR | 16 | TEXT16 | ||||
STAT_GROUP | Statistics group | VERSG | CHAR | 1 | TVSG | VERSG | |||
ORDER_BLCK | Customer blocked for orders | AUFSD | CHAR | 2 | TVAST | KAUFS | |||
PRC_PROCED | Pricing procedure assigned to this customer | KALKS | CHAR | 1 | TVKD | KALKS | |||
CUST_GROUP | Customer group | KDGRP | CHAR | 2 | T151 | KDGRP | VKD | ||
SALES_DIST | Sales district | BZIRK | CHAR | 6 | T171 | BZIRK | BZI | ||
PRICE_GRP | Price group (customer) | KONDA | CHAR | 2 | T188 | KONDA | VKA | ||
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 | ||||
COMPL_DLV | Complete delivery defined for each sales order? | AUTLF | CHAR | 1 | XFELD | ||||
MAX_PL_DLV | Maximum Number of Partial Deliveries Allowed Per Item | ANTLF | DEC | 1 | ANTLF | ||||
ORDER_COMB | Order Combination Indicator | KZAZU_D | CHAR | 1 | XFELD | ||||
BTCH_SPLIT | Batch split allowed | CHSPL | CHAR | 1 | XFELD | ||||
DLV_PRIO | Delivery Priority | LPRIO | NUMC | 2 | TPRIO | LPRIO | |||
CURRENCY | SD Document Currency | WAERK | CUKY | 5 | TCURC | WAERS | FWS | ||
EXCHG_RATE | Exchange Rate Type | KURST | CHAR | 4 | TCURV | KURST | KUT | ||
SHIP_COND | Shipping Conditions | VSBED | CHAR | 2 | TVSB | VSBED | |||
PART_DLV | Partial delivery at item level | KZTLF | CHAR | 1 | KZTLF | ||||
ORDER_PROB | Order probability of the item | AWAHR | NUMC | 3 | AWAHR | ||||
DLV_BLOCK | Customer delivery block (sales area) | LIFSD_V | CHAR | 2 | TVLS | LIFSP | |||
PROD_PROP | Item proposal | VSORT | CHAR | 10 | VBUK | ALPHA | VBELN | ||
ACC_1_TIME | Indicator: Is the account a one-time account? | XCPDK | CHAR | 1 | XFELD | ||||
SALES_OFF | Sales Office | VKBUR | CHAR | 4 | TVBUR | VKBUR | VKB | ||
SALES_GRP | Sales Group | VKGRP | CHAR | 3 | TVKGR | VKGRP | VKG | ||
VAT_REG_NO | VAT Registration Number | STCEG | CHAR | 20 | STCEG | ||||
TAX_CLASS1 | Tax classification 1 for customer | TAXK1 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS2 | Tax classification 2 for customer | TAXK2 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS3 | Tax classification 3 for customer | TAXK3 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS4 | Tax Classification 4 Customer | TAXK4 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS5 | Tax classification 5 for customer | TAXK5 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS6 | Tax classification 6 for customer | TAXK6 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS7 | Tax classification 7 for customer | TAXK7 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS8 | Tax classification 8 for customer | TAXK8 | CHAR | 1 | TSKD | TAXKD | |||
TAX_CLASS9 | Tax classification 9 for customer | TAXK9 | CHAR | 1 | TSKD | TAXKD | |||
COMPANY_ID | Company ID | VBUND | CHAR | 6 | T880 | ALPHA | RCOMP |
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 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