02-16-2016 6:56 AM
Hello All, I have one scenario, in which the field of description has 35 character which is SAP Standard and data which is passing is 40 char. So 5 char is not visible. There is one customized exit , in which the field value has been move into that field. There is one table it_data which has structure type CATS_COMM, so in the table one of the field PRPOST1 has 40 character, I need to truncate the this field and than assign into it_data internal table. as this is 40 char , need to truncate the 5 char so it will be 35 char which can accommodate into screen. So before looping the table it_data , need to truncate the PRPOST1 and assign the field with 35 char again to it_data. so can we use any variable of 35 char used it out or there is some other way.please help . Thanks
02-16-2016 7:40 AM
PRPOST1 = PRPOST1+0(35).
I think this code will solve the problem.