on 11-14-2007 7:52 PM
hi SD experts,
i have city, state and zip, and i have to find country key(data element land1).
please tel me table where i can find these fields.
thanks in advance.
abhishek.
The table ADRC should be self sufficient for all address related details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhi,
Try table ADRC, you shoud input address number in to this table and you can get Country key. you get the Address number in all the master records.
Ex: Customer Master
Input Customer number to KNA1
Get ADRNR
Input Address number to ADRC
Get the country Key.
Hope it helps.
Cheers,
Chak.
Message was edited by:
Kalyan Veerapaneni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Abishek,
Standard SAP has direct link between Country key (Land1) and state(REGIO).
You can find this link in T005S, They both are key fields and the entries should be unique, system even checks whether you are entering the state of the corresponding country or not.
But standard SAP never stores the list of Zip codes and the City's allowed under a State.
Its hard to get all that information isn't it ?
For your requirement just STATE is enough to find out the Country. Just go to T005S table.
Hope it solves ur issue.
Regards,
Ajai.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Using T005U and the description (and language key) of the state you can find the country (if the spelling in description is correct) .
With T005S there is a problem. It do not have the description (text) field -BEZEI. The field for region/state ie BLAND stores the code like 01, 20 etc. If you put 20 in the selection screen then for different countries it will refer to different region. For India 20 is Rajasthan, for Russia (RU) it is Chechenskaya Republ.
Hi,
If this is about address related fields in customer master, you can find these fields in KNA1 table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.