REPORT ZDEMO01.
TABLES PROJ.
SELECT-OPTIONS:S_PS FOR PROJ-PSPNR.
DATA: GT_PRPS TYPE TABLE OF prps_co.
RANGES: WBS_TO_SELECT FOR PRPS-PSPNR,
WBS_TO_SELECT_UP FOR PRPS-PSPNR.
REFRESH:
GT_PRPS,
WBS_TO_SELECT,
WBS_TO_SELECT_UP.
CLEAR :
GT_PRPS,
WBS_TO_SELECT,
WBS_TO_SELECT_UP.
CALL FUNCTION 'CJDB_FILL_HIERARCHY'
TABLES
I_PROJ = S_PS[]
E_PRPS_CO = GT_PRPS
E_PRPS_NOT_YET_READ = WBS_TO_SELECT
E_PRPS_NOT_YET_READ_UP = WBS_TO_SELECT_UP.
WRITE: 'OK'.
阅读(3362) | 评论(0) | 转发(0) |