SAPCE AFTER CHARACTERS
I am downloading a txt file for E payment but i am having one query...
when i download a txt file in header data i have one query
in header my last field is 20 character long but it has 4 character 'ABCD' (FOR EXAMPLE )
So now i want other 16 character should be space
I had done
DATA : SRC_CD(20). SHIFT SRC_CD RIGHT DELETING TRAILING SPACE. TRANSLATE SRC_CD USING '* '. WA_HEADER-SRC_CD = SRC_CD. TRANSLATE WA_HEADER-SRC_CD USING '* '. APPEND WA_HEADER TO IT_HEADER. CLEAR WA_HEADER.
But when i open the txt file it does not put last 16 space
Pls help me on this.