11-27-2009 3:52 PM
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.
11-30-2009 2:40 PM
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
11-30-2009 9:29 AM
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
11-30-2009 2:40 PM
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
11-30-2009 2:54 PM
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.