cancel
Showing results for 
Search instead for 
Did you mean: 

FM to add address attributes to a BP

Former Member
0 Kudos

Hi All,

Is there any function module which can be used to add Address Overview attribs to a BP?

Thanks in advance,

Navitha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi! Navitha

U can use the following piece of code for adding address overview to the BP.

CALL FUNCTION 'BAPI_BUPA_ADDRESS_ADD'

EXPORTING

BUSINESSPARTNER = business partner number

ADDRESSDATA = address_data_structrue

TABLES

ADDRESSUSAGE = add_type_table

BAPIADTEL = telephone number

BAPIADFAX = fax number

BAPIADTLX = telephone extn

BAPIADSMTP = email address

RETURN = return_table.

Here in address usage u have to pass the address type i.e whether it is a bill to addres , Ship to address or main address (by default) this u can find in table TB009 and in the address structure u have to pass the complete address i.e street city reigon postal code etc. and hwatever u require example telephone number email address fax number and extension.

Hope u find this helpful.

Regards

Mayank

Former Member
0 Kudos

Ya thanks Mayank... my problem is solved

Answers (1)

Answers (1)

former_member200342
Active Contributor
0 Kudos

Hi,

Use the FM:BAPI_BUPA_ADDRESS_ADD.

Give all the address details to be maintained for a BP in respective fields.

Regards,

PePe