Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FM Or BAPI to get County Code

Former Member
0 Likes
3,141

Hi,

Is there's any FM or BAPI to return the County Code associated with County Name?

Thzs for the help

regards

Jaime Cordeiro

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,935

SPP01_GET_COUNTRY_CODES

DR_GET_COUNTRY_NAME

Message was edited by:

Swathi

8 REPLIES 8
Read only

Former Member
0 Likes
1,936

SPP01_GET_COUNTRY_CODES

DR_GET_COUNTRY_NAME

Message was edited by:

Swathi

Read only

Former Member
0 Likes
1,935

Hi,

You can use the table T005T to get the country code associated with the country name..

THanks

Naren

Read only

Former Member
0 Likes
1,935

Hi,

thzs for the quick answer's but it COUNTY and not COUNTRY. There's the table T005F this may be the solution for my problem let's see.

Thzs again

Regards

Jaime Cordeiro

Read only

0 Likes
1,935

Try this

IGN_COUNTYNAME_GET

Read only

0 Likes
1,935

T005F is the table, but you have to bear in mind that the descriptions are case sensitive when you build your SELECT.

Rob

Read only

Former Member
0 Likes
1,935

write simple select query on T005 and T005T Table

read_t005t to get country name

Read only

Former Member
0 Likes
1,935

Hi

County or Region both are stored in the same field ADRC-REGION

try the fun mdule

I_SMPM_ADDRESS_GET

which returns the address fields like REGION etc for the given address number

Reward points for useful Answers

Regards

Anji

Read only

Former Member
0 Likes
1,935

Thank's to all.

The problem is solved, a select solved the problem.

Regards

Jaime Cordeiro