Let's say we have 5 dimension :
ACCOUNT,TIME,AUDIT,RPTCURRENCY,COMPCODE.
Now in code we are getting the data to be written back into a workarea : <lt_data_out>.
This <lt_data_out> contains all the dimesnions in string form concatenated along with SIGNEDDATA and separated by comma like below :
ACCOUNT1,2012.01,AUDIT1,LC,COMP001,2000.00.
we do the following to assign to a er_data.
append <lt_data_out> to a table <lt_data>.
and after appending all the records in the loop we do this :
get reference of <lt_data> to er_data.
Now in Transformation file we do like this :
OPTIONS
...
..
..
*STARTROUTINE = ZSTART_ROUTINE1
MAPPING
ACCOUNT = *COL(1)
TIME = *COL(2)
AUDIT = *COL(3)
RPTCURRENCY = *COL(4)
COMPCODE = *COL(5)
SIGNEDDATA = *COL(6)
*****************************************************************************************************
Now while debugging we see all records in <lt_data> referred by er_data.
But only first record gets written to backend.
What are we missing ??
Regards,
SHUBHAM