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

BAPI

Former Member
0 Likes
587

Is there any BAPI that shows the list of districts when the country and state name are mentioned ?

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
553

Hello Sri

I do not think so because district is only part of an address. Address data are no business object (accessible by BAPIs). The corresponding business object will be the entire customer.

Thus, if you require this information then you either have to write your own RFC-enabled function module or define an appropriate search help.

Regards

Uwe

4 REPLIES 4
Read only

uwe_schieferstein
Active Contributor
0 Likes
554

Hello Sri

I do not think so because district is only part of an address. Address data are no business object (accessible by BAPIs). The corresponding business object will be the entire customer.

Thus, if you require this information then you either have to write your own RFC-enabled function module or define an appropriate search help.

Regards

Uwe

Read only

0 Likes
553

<b>define an appropriate search help.</b>

Can I know how to do it?

Read only

0 Likes
553

Basically what he means to say is that you have to define the selection criteria yourself.

You can do that in a FM so that it can be reused ot you can go to se11 and create a new Search help if you require the value's to be shown to the user based on the entries of country and state.

regards

Nishant

Read only

0 Likes
553

Hello Sri

There is a search help available for DISTRICT: <b>CITY_PART</b>

This search help allows to search for districts using country and language.

The search help uses the DB view V_ADRCTPRT as selection method. On our IDES system the underlying tables are empty. Thus, I do not know if you have to popuplate these tables yourself or whether this is some kind of customizing.

Regards

Uwe