*&---------------------------------------------------------------------*
*& Report ZTEST_REPORT
*& 报表练习
*&---------------------------------------------------------------------*
*&create by 冲击波 date : 2007.08.22
*&
*&---------------------------------------------------------------------*
report ztest_report.
*=========================定义===================================
tables : ztrain01 .
*定义内表 jj , itab2 参考数据库表 z1854train01
data : begin of jj occurs 0 .
include structure z1854train01 .
data : end of jj .
data : begin of itab2 occurs 0 .
include structure z1854train01 .
data : end of itab2 .
data : begin of itab3 occurs 0 .
include structure z1854train01 .
data : end of itab3 .
*建立检索条件ID和SEX 性别默认值为‘男’ID 默认值为 '0000000000' 到‘0500000000’
selection-screen begin of block dd with frame title text-001.
select-options id for z1854train01-id default '0000000000' to '0500000000' .
parameters : sex like z1854train01-sex default '男' .
selection-screen end of block dd.
*&