Hi,
Please check the DATA TYPE of the fields *SOLDTO / SHIPTO / REPORT *whether they are defined as characters i.e. TYPE c.
I guess that is the reason you are facing this issue.
Please find the attached code which is similar to you code ( which is causing the issue ).