S401 SAP (RE standard analysis partner) Table details

Dictionary Type: Table
Description: RE standard analysis partner




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




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
MANDTClient MANDTCLNT3Assigned to domainMANDT
SSOURStatistic(s) origin SSOURCHAR4SSOUR
VRSIOVersion number in the information structure VRSIOCHAR3Assigned to domainVRSIOMCV
SPMONPeriod to analyze - month SPMONNUMC6PERIMCPERIOD
SPTAGPeriod to analyze - current date SPTAGDATS8DATUM
SPWOCPeriod to analyze - week SPWOCNUMC6PERIMCPERIOD
SPBUPPeriod to analyze - posting period SPBUPNUMC6PERIMCPERIOD
PARTNR_01Business Partner Number BP_PARTNRCHAR10Assigned to domainALPHABP_PARTNRBPN
ROLE_02Business Partner Role Type BP_ROLECHAR4Assigned to domainBP_ROLE
VWDATPointer to administrative data VWDATNUMC10VWDAT
PARTNRBusiness Partner Number BP_PARTNRCHAR10Assigned to domainALPHABP_PARTNRBPN
ROLEBusiness Partner Role Type BP_ROLECHAR4Assigned to domainBP_ROLE
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
SWENRSite Number SWENRCHAR8Assigned to domainSWENRSWENRWEHMCWE
SGRNRProperty Number for BE SGRNRCHAR8Assigned to domainSGRNRSGRNRGRSMCGR
SGENRBuilding Number SGENRCHAR8Assigned to domainSGENRSGENRGEBMCGE
SMENRNumber of Rental Unit SMENRCHAR8Assigned to domainSMENRSMENRMEHMCME
SMIVELease-Out Number SMIVECHAR13ALPHAVVSMIVEMIVMRTA
E_SMIVEContract No. of Collective Lease-Outs VVESMIVECHAR13ALPHAVVSMIVEMVE
XWETEXTBusiness entity identification XWETEXTCHAR30XMBEZ
XGRTXTText for property XGRTXTCHAR60XLBEZ
XGETXTBuilding text XGETXTCHAR60XLBEZ
XMETXTText for rental unit VVXMETXTCHAR30XMBEZ
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
TYPEPartner category BP_TYPECHAR1BP_TYPE
GROUP_IDBusiness Partner Grouping BP_GRP_IDCHAR4Assigned to domainBP_GRP_ID
NAME1Name 1 (surname for persons, otherwise company name) BP_NAME1CHAR40TEXT40
NAME2Name 2 (Continuation of NAME 1) BP_NAME2CHAR40TEXT40
NAME_LASTLast Name BP_NAMLASTCHAR40TEXT40
NAME_FIRSTFirst Name BP_NAMFRSTCHAR40TEXT40
LANGULanguage Key LANGULANG1Assigned to domainISOLASPRAS
TITLEForm of Address (Key) BP_TITLENUMC2Assigned to domainBP_TITLE
TITLE_LETSalutation BP_TITL_LTNUMC2Assigned to domainBP_TITL_LT
XORTAddress: City VVXORTCHAR35TEXT35
XPLZAddress: Postal code VVXPLZCHAR10PSTLZ
XSTRASSEAddress: Street/house number VVXSTRASSECHAR35TEXT35
ANZPTNo. of partners VVAPTDEC5DEC5
TITLE_ACAcademic Title BP_TITL_ACCHAR20TEXT20
N_PREFIXName Prefix BP_PREFIXCHAR20TEXT20
N_ADDITIONName Affix BP_ADDITNCHAR20TEXT20
NICKNAMEKnown As BP_NICKNAMCHAR20TEXT20
SEXGender of business partner BP_SEXCHAR1BP_SEX
PROFESSIONDescription of Occupation for Business Partner BP_PROFESSCHAR40TEXT40
NATIONNationality BP_CNTR_NCHAR3Assigned to domainLAND1
STATECitizenship BP_CNTR_STCHAR3Assigned to domainLAND1
PERS_NRPersonnel Number BP_PERS_NRCHAR15CHAR15
STAFF_GRPEmployee Group BP_STAFF_GCHAR4Assigned to domainBP_STAFF_G
HR_ORG_REFHR Org. Link HR_ORG_REFCHAR1XFELD
XUBNAMEUser Name in User Master Record XUBNAMECHAR12Assigned to domainXUBNAMEXUS
STAFF_REFEmployee BP_STAFF_RCHAR1XFELD
ADR_REF_KAddress ID BP_ADR_REFCHAR10Assigned to domainBP_ADR_REFADK
ADR_DATBusiness partner address relationship valid from BP_ADR_DATDATS8DATUM
ADRNRAddress Number BP_ADRNRCHAR10Assigned to domainSADRNR
ADR_D_EBusiness Partner Address Relationship Valid Until BP_ADR_D_EDATS8DATUM
ADR_LOCPartner: Building VV_ADR_LOC2CHAR20CHAR20
FLOORPartner: Storey VV_FLOORCHAR10CHAR10
ROOM_NRPartner: Room number VV_ROOM_NRCHAR10CHAR10
XOBJTXTText for Real Estate object VVXOBJTXTCHAR30XMBEZ
DBEBEZDate of start of relationship DBEBEZDATS8DATUM
DENBEZDate of end of relationship DENBEZDATS8DATUM
ROLETYPBusiness Partner Role Category BP_ROLETYPCHAR4Assigned to domainBP_ROLETYPBPR
LAND1Country Key LAND1CHAR3Assigned to domainLAND1LND
XORT2District ORT02_GPCHAR35TEXT35
PSTBZPost delivery district PSTBZCHAR15PSTBZ
REGIOSTATE (State, Province, County) REGIOCHAR3Assigned to domainREGIO
XSTRASSE2House number and street STRAS_GPCHAR35TEXT35

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 table
DATA: 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 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!