Hi!
I am trying to concatenate two fields into one separated by a space and placing that value into a field in my output.SO the output looks something like this "SLGYD N' but the problem is that if either of the field is blank meaning theer is no value in it the output becomes distorted. Like if the filed 1 is blank and the field 2 is having a value 'N' the the output becomes 'N'. I want it to show the first 5 places which si the first field as 5 blank spaces instead of wiping out the space itself , so the output shown is like ' N' and not just 'N'.
lv_zeubcd = s_final-zzeubcd.
if lv_mvgr1 = '001'.
lv_mvgr1 = 'D'.
else.
lv_mvgr1 = 'N'.
endif.
if lv_zeubcd = ' '.
lv_zeubcd = ' '. <<<< not sure if this works or not
concatenate lv_zeubcd lv_mvgr1 into lv_wascode separated by space.
Thanks