Skip to Content
0
Former Member
Jun 16, 2014 at 12:12 PM

ABAP program is not working

31 Views

I am using ABAP stage in Datastge job and new requirement is only add a new column where the column length is 25.

Previously the program was below

IF d_len < 16000.

d_pack+d_offset(77) = it_1.

d_offset = d_offset + 77.

d_len = d_offset + 77.

but now after adding new column

change the program as

IF d_len < 16000.

d_pack+d_offset(102) = it_1.

d_offset = d_offset + 102.

d_len = d_offset + 102.

it's not working if I use below code then it works but getting data small amount with some data is shift from one colum to another.

IF d_len < 16000.

d_pack+d_offset(102) = it_1.

d_offset = d_offset + 102.

d_len = d_offset + 102.

d_pack+d_offset(77) = it_1.

d_offset = d_offset + 77.

d_len = d_offset + 77.

Ant idea how to solve the issue