文章目录
- 创建类型组
- 使用类型组
- 运行结果
创建类型组
使用类型组
*&---------------------------------------------------------------------*
*& Report Z_TEST_TYPEPOOL
*&---------------------------------------------------------------------*
*&
*&---------------------------------------------------------------------*
REPORT Z_TEST_TYPEPOOL.
DATA: GS_SPFLI TYPE ZTYP_SPFLI,
GS_SFLIGHT TYPE ZTYP_SFLIGHT.
GS_SPFLI-CARRID = 'AA'.
GS_SFLIGHT-PRICE = 200.
WRITE:''.