I have figured it out.
I made a silly mistake of keeping the length =80 .One can only keep it at max of 79 if the length of screen is 80.
Also I reduced the WS-variable length to 79. Hence making the mapping appropriate.
Each field has its own attribute character, that is why field length should be 79 instead of 80.
The attribute character comes to the left of the field.
In your example, the expected result should look like: