BAPI_IDENTIFICATIONDETAILS_GET returns wrong COUNTRYISO
[BAPI_IDENTIFICATIONDETAILS_GET] [BUPA_IDENTIFICATIONDETAILS_GET] [Business] [country] [COUNTRYISO] [IDENTIFICATION] [ls_identificationdetail] [numbers] [Partner]
Symptom
When a Business Partner has 2 identification details maintained, for first record, country field is maintained and for second no country field is maintained, then the output of FM BAPI_IDENTIFICATIONDETAILS_GET contains the field COUNTRYISO filled for both the records. Even though COUNTRY is not maintained for the second it is copied [...]