Skip to Content
0
Former Member
Jul 31, 2008 at 10:03 AM

Probelem with submit program

12 Views

Hi All,

Im facing problem in the following code kindly help me to debug the same.

Internal table ( itab1 )in ZSAN_TEST_102 program is not filled

Report ZSAN_TEST_101.

data:itab type table of scarr,

id(100) TYPE c .

select * from scarr into table itab.

export itab to MEMORY ID 'ZID'.

break-point.

REPORT ZSAN_TEST_102.

data:itab1 type table of scarr,

itab type table of scarr,

wa type scarr,

id(100) type c.

SUBMIT ZSAN_TEST_101 AND RETURN.

FREE: itab1.

import itab1 from MEMORY ID 'ZID'.

if sy-subrc eq 0.

endif.

loop at itab1 into wa.

write:wa-carrid,wa-carrname.

endloop.