VTPA SAP (Shipping Partner) Table details
Dictionary Type: Table
Description: Shipping Partner
Description: Shipping Partner
Table field list including key, data, relationships and ABAP select examples
VTPA is a standard SAP Table which is used to store Shipping Partner data and is available within R/3 SAP systems depending on the version and release level.
The VTPA table consists of various fields, each holding specific information or linking keys about Shipping Partner data available in SAP. These include VBELN (Sales and Distribution Document Number), POSNR (Item number of the SD document), PARVW (Partner Function), KUNNR (Customer Numbers).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP VTPA table 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
POSNR | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
PARVW | Partner Function | PARVW | CHAR | 2 | Assigned to domain | PARVW | PARVW | PAR | |
KUNNR | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
PERNR | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
PARNR | Number of contact person | PARNR | NUMC | 10 | PARNR | VPA | |||
ADRNR | Address | ADRNR | CHAR | 10 | Assigned to domain | ALPHA | ADRNR | ||
ABLAD | Unloading Point | ABLAD | CHAR | 25 | TEXT25 | ||||
LAND1 | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
ADRDA | Address indicator | ADRDA | CHAR | 1 | ADRDA | ||||
XCPDK | Indicator: Is the account a one-time account? | XCPDK | CHAR | 1 | XFELD | ||||
HITYP | Customer hierarchy type | HITYP_KH | CHAR | 1 | Assigned to domain | HITYP | |||
PRFRE | Relevant for price determination ID | PRFRE | CHAR | 1 | XFELD | ||||
BOKRE | Indicator: Customer Is Rebate-Relevant | BOKRE | CHAR | 1 | XFELD | ||||
HISTUNR | Level number within hierarchy | HISTUNR | NUMC | 2 | NUM2 | ||||
KNREF | Customer description of partner (plant, storage location) | KNREF | CHAR | 30 | KNREF | KNREF | |||
LZONE | Transportation zone to or from which the goods are delivered | LZONE | CHAR | 10 | Assigned to domain | ZONE | |||
HZUOR | Assignment to Hierarchy | HZUOR | NUMC | 2 | HZUOR |
Key field | Non-key field |
How do I retrieve data from SAP table VTPA using ABAP code
The following ABAP code Example will allow you to do a basic selection on VTPA to SELECT all data from the tableDATA: WA_VTPA TYPE VTPA.
SELECT SINGLE *
FROM VTPA
INTO CORRESPONDING FIELDS OF WA_VTPA
WHERE...
How to access SAP table VTPA
Within an ECC or HANA version of SAP you can also view further information about VTPA 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