1、 PBO
MODULE init_screen_100 OUTPUT.
SET PF-STATUS 'M100'.
ENDMODULE.
2、PAI
MODULE user_command_0100 INPUT.
DATA: v_field(20) TYPE c,
v_offset TYPE i,
v_line TYPE i ,
v_value(20) TYPE c,
v_length TYPE i .
CASE ok_code.
WHEN 'PICK'.
GET CURSOR FIELD v_field OFFSET v_offset
LINE v_line VALUE v_value LENGTH v_length .
.....
ENDCASE.
ENDMODULE.
重点:把M100的F2设置Fcode: PICK
3、
阅读(4285) | 评论(0) | 转发(0) |