S401 SAP (RE standard analysis partner) Table details
Dictionary Type: Table
Description: RE standard analysis partner
Description: RE standard analysis partner
Table field list including key, data, relationships and ABAP select examples
S401 is a standard SAP Table which is used to store RE standard analysis partner data and is available within R/3 SAP systems depending on the version and release level.
The S401 table consists of various fields, each holding specific information or linking keys about RE standard analysis partner data available in SAP. These include SSOUR (Statistic(s) origin), VRSIO (Version number in the information structure), SPMON (Period to analyze - month), SPTAG (Period to analyze - current date).. 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: Can be enhanced (character-type or numeric)
SAP S401 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 | |||
SSOUR | Statistic(s) origin | SSOUR | CHAR | 4 | SSOUR | ||||
VRSIO | Version number in the information structure | VRSIO | CHAR | 3 | Assigned to domain | VRSIO | MCV | ||
SPMON | Period to analyze - month | SPMON | NUMC | 6 | PERI | MCPERIOD | |||
SPTAG | Period to analyze - current date | SPTAG | DATS | 8 | DATUM | ||||
SPWOC | Period to analyze - week | SPWOC | NUMC | 6 | PERI | MCPERIOD | |||
SPBUP | Period to analyze - posting period | SPBUP | NUMC | 6 | PERI | MCPERIOD | |||
PARTNR_01 | Business Partner Number | BP_PARTNR | CHAR | 10 | Assigned to domain | ALPHA | BP_PARTNR | BPN | |
ROLE_02 | Business Partner Role Type | BP_ROLE | CHAR | 4 | Assigned to domain | BP_ROLE | |||
VWDAT | Pointer to administrative data | VWDAT | NUMC | 10 | VWDAT | ||||
PARTNR | Business Partner Number | BP_PARTNR | CHAR | 10 | Assigned to domain | ALPHA | BP_PARTNR | BPN | |
ROLE | Business Partner Role Type | BP_ROLE | CHAR | 4 | Assigned to domain | BP_ROLE | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
SWENR | Site Number | SWENR | CHAR | 8 | Assigned to domain | SWENR | SWENR | WEH | MCWE |
SGRNR | Property Number for BE | SGRNR | CHAR | 8 | Assigned to domain | SGRNR | SGRNR | GRS | MCGR |
SGENR | Building Number | SGENR | CHAR | 8 | Assigned to domain | SGENR | SGENR | GEB | MCGE |
SMENR | Number of Rental Unit | SMENR | CHAR | 8 | Assigned to domain | SMENR | SMENR | MEH | MCME |
SMIVE | Lease-Out Number | SMIVE | CHAR | 13 | ALPHA | VVSMIVE | MIV | MRTA | |
E_SMIVE | Contract No. of Collective Lease-Outs | VVESMIVE | CHAR | 13 | ALPHA | VVSMIVE | MVE | ||
XWETEXT | Business entity identification | XWETEXT | CHAR | 30 | XMBEZ | ||||
XGRTXT | Text for property | XGRTXT | CHAR | 60 | XLBEZ | ||||
XGETXT | Building text | XGETXT | CHAR | 60 | XLBEZ | ||||
XMETXT | Text for rental unit | VVXMETXT | CHAR | 30 | XMBEZ | ||||
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 |
TYPE | Partner category | BP_TYPE | CHAR | 1 | BP_TYPE | ||||
GROUP_ID | Business Partner Grouping | BP_GRP_ID | CHAR | 4 | Assigned to domain | BP_GRP_ID | |||
NAME1 | Name 1 (surname for persons, otherwise company name) | BP_NAME1 | CHAR | 40 | TEXT40 | ||||
NAME2 | Name 2 (Continuation of NAME 1) | BP_NAME2 | CHAR | 40 | TEXT40 | ||||
NAME_LAST | Last Name | BP_NAMLAST | CHAR | 40 | TEXT40 | ||||
NAME_FIRST | First Name | BP_NAMFRST | CHAR | 40 | TEXT40 | ||||
LANGU | Language Key | LANGU | LANG | 1 | Assigned to domain | ISOLA | SPRAS | ||
TITLE | Form of Address (Key) | BP_TITLE | NUMC | 2 | Assigned to domain | BP_TITLE | |||
TITLE_LET | Salutation | BP_TITL_LT | NUMC | 2 | Assigned to domain | BP_TITL_LT | |||
XORT | Address: City | VVXORT | CHAR | 35 | TEXT35 | ||||
XPLZ | Address: Postal code | VVXPLZ | CHAR | 10 | PSTLZ | ||||
XSTRASSE | Address: Street/house number | VVXSTRASSE | CHAR | 35 | TEXT35 | ||||
ANZPT | No. of partners | VVAPT | DEC | 5 | DEC5 | ||||
TITLE_AC | Academic Title | BP_TITL_AC | CHAR | 20 | TEXT20 | ||||
N_PREFIX | Name Prefix | BP_PREFIX | CHAR | 20 | TEXT20 | ||||
N_ADDITION | Name Affix | BP_ADDITN | CHAR | 20 | TEXT20 | ||||
NICKNAME | Known As | BP_NICKNAM | CHAR | 20 | TEXT20 | ||||
SEX | Gender of business partner | BP_SEX | CHAR | 1 | BP_SEX | ||||
PROFESSION | Description of Occupation for Business Partner | BP_PROFESS | CHAR | 40 | TEXT40 | ||||
NATION | Nationality | BP_CNTR_N | CHAR | 3 | Assigned to domain | LAND1 | |||
STATE | Citizenship | BP_CNTR_ST | CHAR | 3 | Assigned to domain | LAND1 | |||
PERS_NR | Personnel Number | BP_PERS_NR | CHAR | 15 | CHAR15 | ||||
STAFF_GRP | Employee Group | BP_STAFF_G | CHAR | 4 | Assigned to domain | BP_STAFF_G | |||
HR_ORG_REF | HR Org. Link | HR_ORG_REF | CHAR | 1 | XFELD | ||||
XUBNAME | User Name in User Master Record | XUBNAME | CHAR | 12 | Assigned to domain | XUBNAME | XUS | ||
STAFF_REF | Employee | BP_STAFF_R | CHAR | 1 | XFELD | ||||
ADR_REF_K | Address ID | BP_ADR_REF | CHAR | 10 | Assigned to domain | BP_ADR_REF | ADK | ||
ADR_DAT | Business partner address relationship valid from | BP_ADR_DAT | DATS | 8 | DATUM | ||||
ADRNR | Address Number | BP_ADRNR | CHAR | 10 | Assigned to domain | SADRNR | |||
ADR_D_E | Business Partner Address Relationship Valid Until | BP_ADR_D_E | DATS | 8 | DATUM | ||||
ADR_LOC | Partner: Building | VV_ADR_LOC2 | CHAR | 20 | CHAR20 | ||||
FLOOR | Partner: Storey | VV_FLOOR | CHAR | 10 | CHAR10 | ||||
ROOM_NR | Partner: Room number | VV_ROOM_NR | CHAR | 10 | CHAR10 | ||||
XOBJTXT | Text for Real Estate object | VVXOBJTXT | CHAR | 30 | XMBEZ | ||||
DBEBEZ | Date of start of relationship | DBEBEZ | DATS | 8 | DATUM | ||||
DENBEZ | Date of end of relationship | DENBEZ | DATS | 8 | DATUM | ||||
ROLETYP | Business Partner Role Category | BP_ROLETYP | CHAR | 4 | Assigned to domain | BP_ROLETYP | BPR | ||
LAND1 | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
XORT2 | District | ORT02_GP | CHAR | 35 | TEXT35 | ||||
PSTBZ | Post delivery district | PSTBZ | CHAR | 15 | PSTBZ | ||||
REGIO | STATE (State, Province, County) | REGIO | CHAR | 3 | Assigned to domain | REGIO | |||
XSTRASSE2 | House number and street | STRAS_GP | CHAR | 35 | TEXT35 |
Key field | Non-key field |
How do I retrieve data from SAP table S401 using ABAP code
The following ABAP code Example will allow you to do a basic selection on S401 to SELECT all data from the tableDATA: WA_S401 TYPE S401.
SELECT SINGLE *
FROM S401
INTO CORRESPONDING FIELDS OF WA_S401
WHERE...
How to access SAP table S401
Within an ECC or HANA version of SAP you can also view further information about S401 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