ABAP顾问
分类:
2007-09-04 17:51:59
nanyunjian2009-04-10 17:20:55
TYPE-POOLS: vrm. DATA:matno(8). DATA:f. DATA: it_val TYPE vrm_values WITH HEADER LINE . CALL SCREEN 100. MODULE status_0100 OUTPUT. SET PF-STATUS 'MAIN100'. IF f = ''. SELECT mnr ltx FROM t247 INTO TABLE it_val WHERE spras = sy-langu. f = 'X'. ENDIF. CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = 'MATNO' values = it_val[]. ENDMODULE. " STATUS_0100 OUTPUT MODULE user_command_0100 INPUT. CASE sy-ucomm. WHEN 'D
chinaunix网友2009-03-19 20:49:17
REPORT z_barry_test122. TYPE-POOLS: vrm. TABLES sscrfields. DATA: it_val1 TYPE vrm_values, it_val2 TYPE vrm_values, w_line LIKE LINE OF it_val1. DATA: flag . PARAMETERS: p_bukrs LIKE t001-bukrs AS LISTBOX VISIBLE LENGTH 25 OBLIGATORY, p_month LIKE t247-mnr AS LISTBOX VISIBLE LENGTH 12 OBLIGATORY. SELECTION-SCREEN FUNCTION KEY 1." INITIALIZATION. SELECT bukrs butxt FROM t001 INTO (w_line-key, w_line-text). APPEND w_line TO it_val1. CHECK p