2、----------------**& Report ZTEST_COLLECT*&*&---------------------------------------------------------------------**& Create By : flying*& Create Date : 2009-12-31*& Descriptions : 测试collect的用法*&---------------------------------------------------------------------*REPORT ZTEST_COLLECT.
3、*----------------------------------------------------------------------** define internal tables or workarea* 定义内表或者工作区*----------------------------------------------------------------------*data: begin of w_test,key type string, "这是关键字段,用于根据这列来统计的V1、V2的值(这个关键字段可以是多个)v1 type i,v2 type i
4、,end of w_test.data: t_data like w_test occurs 0 with header line. "定义数据内表data: t_test like HASHED TABLE OF w_test with UNIQUE key key with header line. "定义统计结果内表(必须是哈希内表)*----------------------------------------------------------------------** assign value to internal tables* 给内表赋值用于测试