MSR1_CUSTOMER SAP (MSR: Customer Master) Structure details
Description: MSR: Customer Master
Related tables to MSR1_CUSTOMER
Access table MSR1_CUSTOMER
Structure field list including key, data, relationships and ABAP select examples
MSR1_CUSTOMER 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 "MSR: Customer Master" 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_MSR1_CUSTOMER TYPE MSR1_CUSTOMER.
The MSR1_CUSTOMER table consists of various fields, each holding specific information or linking keys about MSR: Customer Master data available in SAP. These include SORT_FIELD (Search Term 1), FORM_OF_AD (Form of address for contact person (Mr, Mrs...etc)), NAME (Name 1), NAME_2 (Name 2).. 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: Not classified
SAP MSR1_CUSTOMER 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 |
CUSTOMER_CODE | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
SORT_FIELD | Search Term 1 | AD_SORT1 | CHAR | 20 | CHAR20 | ||||
FORM_OF_AD | Form of address for contact person (Mr, Mrs...etc) | ANRED_AP | CHAR | 30 | TEXT30 | ||||
NAME | Name 1 | AD_NAME1 | CHAR | 40 | TEXT40 | ||||
NAME_2 | Name 2 | AD_NAME2 | CHAR | 40 | TEXT40 | ||||
NAME_3 | Name 3 | AD_NAME3 | CHAR | 40 | TEXT40 | ||||
NAME_4 | Name 4 | AD_NAME4 | CHAR | 40 | TEXT40 | ||||
DATE_BIRTH | Date of Birth | GBDAT | DATS | 8 | PDATE | GBDAT | |||
HOUSE_NO | House Number | AD_HSNM1 | CHAR | 10 | TEXT10 | ||||
STREET | Street | AD_STR_OLD | CHAR | 40 | TEXT40 | ||||
POSTL_COD1 | City postal code | AD_PSTCD1 | CHAR | 10 | CHAR10 | ||||
CITY | City | AD_CITY1 | CHAR | 40 | TEXT40 | CLCITYNAME | |||
REGION | STATE (State, Province, County) | REGIO | CHAR | 3 | T005S | REGIO | |||
COUNTRY | Country Key | LAND1 | CHAR | 3 | T005 | LAND1 | LND | ||
COUNTRYISO | Country ISO code | INTCA | CHAR | 2 | INTCA | F4_INTCA | |||
E_MAIL | E-Mail Address | AD_SMTPADR | CHAR | 241 | SXIDN | AD_SMTPADR | |||
FAX_NUMBER | First fax no.: dialling code+number | AD_FXNMBR1 | CHAR | 30 | CHAR30 | ||||
FAX_EXTENS | First fax no.: extension | AD_FXXTNS1 | CHAR | 10 | CHAR10 | ||||
TEL1_NUMBR | First telephone no.: dialling code+number | AD_TLNMBR1 | CHAR | 30 | CHAR30 | ||||
TEL1_EXT | First Telephone No.: Extension | AD_TLXTNS1 | CHAR | 10 | CHAR10 | ||||
LANGU | Language Key | SPRAS | LANG | 1 | Assigned to domain | ISOLA | SPRAS | SPR | H_T002 |
LANGU_ISO | 2-Character SAP Language Code | LAISO | CHAR | 2 | LAISO | ||||
CURRENCY | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
CURRENCY_ISO | ISO code currency | WAERS_ISO | CHAR | 3 | ISOCD | ||||
ONLY_CHANGE_COMADDRESS | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
ONE_TIME_FLAG | Indicator: Is the account a one-time account? | XCPDK | CHAR | 1 | XFELD | ||||
BLOCKED | Central order block for customer | AUFSD_X | CHAR | 2 | Assigned to domain | KAUFS | |||
SAL_DIS | Distribution Channel | VTWEG | CHAR | 2 | Assigned to domain | VTWEG | VTW | C_VTWEG | |
SAL_DIV | Division | SPART | CHAR | 2 | Assigned to domain | SPART | SPA | C_SPART | |
SALES_ORG | Sales Organization | VKORG | CHAR | 4 | Assigned to domain | VKORG | VKO | C_VKORG | |
ZTERM | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
VWERK | Delivering Plant | DWERK | CHAR | 4 | Assigned to domain | WERKS | |||
VSORT | Item proposal | VSORT | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
SHIPPING_COND | Shipping Conditions | VSBED | CHAR | 2 | Assigned to domain | VSBED | |||
PARTNER_EMPLOYEE | Partner in SD document | PARTNER_VB | CHAR | 25 | CHAR25 | ||||
PAR_EMP_UNAME | User name | USNAM | CHAR | 12 | Assigned to domain | XUBNAME | USR |
Key field | Non-key field |
How do I retrieve data from SAP structure MSR1_CUSTOMER using ABAP code?
As MSR1_CUSTOMER 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 MSR1_CUSTOMER as there is no data to select.How to access SAP table MSR1_CUSTOMER
Within an ECC or HANA version of SAP you can also view further information about MSR1_CUSTOMER 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