SAP-BP: Error R11 401 during address creation for country

[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []

Symptom
When creating an address using BUPA_ADDRESS_ADD (or any application that makes use of BAPI_BUPA_ADDRESS_ADD , e.g. CRM PCUI ) , error R11 401 may be encountered- “Enter a value for field Country ISO code”. However, the field ‘Country’ has already been filled.
Other terms
R11 401, R11401, BUPA_ADDRESS_ADD, BAPI_BUPA_ADDRESS_ADD, COUNTRY, COUNTRYISO, TBZ3R_BD, COUNTRY_CODE_SAP_TO_ISO, “Enter [...]

SAP BP: Cannot add or change address to a Business Partner

[] [] [] [] [] [] [] [] [] [] [] []

Symptom
Add/change of an address to a Business Partner is not possible when there is an RFC communication error
Other terms
BUPA_ADDRESS_ADD, ADDR_DUPLICATE_CHECK_FOR_BAPI, RFC error, communication error, BAPI_ADDESS_CHANGE, BAdI ADDRESS_SEARCH
Reason and Prerequisites
When a foreign application tries to add/change an address to a BP, the process ends if there is an RFC communication error while calling the [...]

R1 273 when creating BP using WEB UI or BAPIs

[] [] [] [] [] [] [] [] [] [] [] []

Symptom
The error occurs in the following scenario :
The user has an authorization profile such that creation of BP in a particular authorization group is allowed, but change of a BP in that authorization group is restricted.
While creating a BP using the CRM WEBUI or using BAPI BUPA_ADDRESS_ADD, the error R1 273 is thrown [...]

FS_CHECKMODE: BUPA_CREATE_FROM_DATA does not export address

[] [] [] [] [] [] [] [] [] []

Symptom
When FS Business Partners are created using the module BUPA_CREATE_FROM_DATA,and address data is also passed to the module,the save of the business partner aborts with the error /BA1/AL_FG_PR_FT409 Error mapping object type “BP”.
Other terms
BUPA_CREATE_FROM_DATA /BA1/AL_FG_PR_FT409 FS_CHECKMODE BUPA_ADDRESS_ADD BUPA_ADDR_EXPORT lv_check_only_external_data
Reason and Prerequisites
The Address add module BUPA_ADDRESS_ADD was not getting called in Checkmode scenarios.
Solution
BUPA_ADDRESS_ADD should be [...]

FS_CHECKMODE: Check for duplicate address guid

[] [] [] [] [] [] [] [] [] [] []

Symptom
1)Duplicate address guid in but020.
2) Same address guid refers to two different addresses in but020 and bptime_but020
Other terms
bupa_conv_ei2bapi bupa_address_upd_consistent bupa_address_add bupa_create_from_data but020 address guid
Reason and Prerequisites
Address guid in but020 and bptime_but020 should refer to the same address. But no such check is done to ensure this.
Solution
Please apply the corrections of the note