I need a string with concatenated "status code" and "reason code". Both should be concatenated as shown following. If Status code and reason codes are less than 2 characters, they should be left alligned and a space should be left... If they are more than 2 characters, they should be truncated to 2 characters.
If account has following status reason codes:
Status Code--Reason Code
AA -- Y
BU -- CD
B -- 9
The result string is “AAY BUCDB 9 “