SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

BP Correspondence Address

Former Member
0 Kudos

Dear all, We need a standard function to obtain the values of the BP correspondence address. It is not possible to obtain this data with the function ISU_ADDRESS_PROVIDE. We have been searching for other function modules with no success. We also have been making some research but did not found any OSS note or forum about explaining how can we solve this issue. Please, give advice. Thanks in advance. Fernando.

1 ACCEPTED SOLUTION

friedrich_keller
Contributor
0 Kudos

Fernando,

Not sure there is faster way but this approach works:

Please check the BAPI_BUPA_ADDRESSES_GET function module. Pass the address usage in the ADDRESSTYPE field. Use the returned address GUID to acess the BUT020 table ( (ADDRESS_GUID field) and retrieve the address number (ADDRNUMBER) from the BUT020 table. The address you find in the ADRC table using the found address number.

Cheers,

Fritz

View solution in original post

3 REPLIES 3

vijy_mukunthan
Active Contributor
0 Kudos

Hi Fernando

Which T-code you are using. Is the BP address are stored in any table. If not i would suggest you create a custom table in the exit call your ztable and fill the values. So you can get the details of the address.

Regards

vijay

friedrich_keller
Contributor
0 Kudos

Fernando,

Not sure there is faster way but this approach works:

Please check the BAPI_BUPA_ADDRESSES_GET function module. Pass the address usage in the ADDRESSTYPE field. Use the returned address GUID to acess the BUT020 table ( (ADDRESS_GUID field) and retrieve the address number (ADDRNUMBER) from the BUT020 table. The address you find in the ADRC table using the found address number.

Cheers,

Fritz

Former Member
0 Kudos

Dear all,

We have solved this issue following these steps:

  • Consult table BUT021_FS where the field ADR_KIND is equal to 0001.

  • Consult table ADRC where the field ADDRNUMBER = BUT021_FS-ADDRNUMBER.

Thanks!

Fernando.