I noticed that the PAN number is blank in Location Master. If I try to enter the PAN number or update any other field like Address and try to save, I get the same error.

I tried to create a new location, and link the existing warehouses to the new location, and then update the GSTIN number in the original Location, but still the same error.

It seems it was a bug in the earlier SAP PL where it allowed me to create a Location without a PAN number; but now due to this issue, I am unable to update the GSTIN number and all the AP and AR transactions are held up.