Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

ABAP program is not working

$
0
0

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


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>