SAP table T7PLE3 (Keys for GUS TERYT codes conversion to municipality names)

SAP table T7PLE3 has 6 primary key fields being MANDT,LAND1,REGIO,COUNC,TERY2,TERSR.

If you're only analyzing data from a single SAP instance you may omit field MANT in your relationships as it will we the same across the entire dataset. On the other hand, if you're combining data from multiple SAP instances you need to take MANDT into account.

Field Description Data Type Length Decimals Checktable Data Element
MANDT Client CLNT 3 0 T000 MANDT
LAND1 Country/Region Key CHAR 3 0 T005 LAND1
REGIO Region (State, Province, County) CHAR 3 0 T005S REGIO
COUNC County Code CHAR 3 0 T005E COUNC
TERY2 Municipality key according to GUS - TERYT CHAR 3 0 T7PLE2 PPL_TERY2
TERSR Municipality name usage NUMC 2 0 PPL_TER_SRC
00 Any usage
01 Usage for tax office
02 Usage for ZUS

T7PLE3 foreign key relationships

Table Field Check Table Check Field
0 T7PLE3 COUNC T005E County MANDT
0 T7PLE3 COUNC T005E County LAND1
0 T7PLE3 COUNC T005E County REGIO
0 T7PLE3 COUNC T005E County COUNC
1 T7PLE3 LAND1 T005 Countries MANDT
1 T7PLE3 LAND1 T005 Countries LAND1
0 T7PLE3 REGIO T005S Taxes: Region (Province) Key LAND1
1 T7PLE3 TERY2 T7PLE2 Municipality code according to GUS - TERYT LAND1
1 T7PLE3 TERY2 T7PLE2 Municipality code according to GUS - TERYT REGIO
1 T7PLE3 TERY2 T7PLE2 Municipality code according to GUS - TERYT COUNC