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

Function Module for getting address from address number

tanuja_wa
Explorer
0 Likes
5,721

Hi all,

Is there any function module for getting address from address number. kindly reply.

regards,

siya

4 REPLIES 4
Read only

Former Member
0 Likes
2,045

Hi,

Instaed of using FM u can directly select the address details through table ADRC putting adress no.

Read only

Former Member
0 Likes
2,045

Hi,

Try ADDR_GET

Regards

Stu

Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,045

There are many function modules that read an address

- ADDRESS_READ

- ADDRESS_INTO_PRINTFORM

It depend on the result format you need, and of the address type (company, private)

Regards

Read only

Former Member
0 Likes
2,045

HI,

just try this function module:

CALL FUNCTION 'HR_GET_ADDRESS'
    EXPORTING
      ankey          = ankey
      anart          = anart
      molga          = '01'
    IMPORTING
      address_detail = adr_data
    EXCEPTIONS
      not_found      = 1
      OTHERS         = 2.

HOPE IT WILL HELP YOU

regards

rahul