after reading all this (testing BAPI_BUPA_ADDRESS_CHANGE), I tried to change the city of a BuPa.
So what I did is
- setting BUSINESSPARTNER to a certain number
- setting ADDRESSGUID.GUID to a GUID I got from BAPI_BUPA_ADDRESSES_GET
- setting ADDRESS.CITY = "myNewCity"
- setting ADDRESS_X.CITY = "X"
But before calling BAPI_TRANSACTION_COMMIT I get the following error from the export RETURN.
"Jurisdiction code 0508525201 does not correspond to address entered"
I am doing the entire thing from Ruby with Piers' great saprfc library, but I think this is more an unterstanding-the-ABAP-world problem.
I would appreciate your help