NO_OPEN ---控制smartforms的调用
NO_CLOSE ---控制假脱机系统
例子:
control_parameters-no_close = 'X' . "打开假脱机
if smartforms_1 eq 'X'.
perform call_smartforms_1.
control_parameters-no_open = 'X' . "form关闭
endif .
if smartforms_2 eq 'X' .
perform call_smartforms_2.
control_parameters-no_open = 'X' . "关闭
endif .
if smartforms_3 eq 'X' .
perform call_smartforms_3 .
control_parameters-no_open = 'X' . "关闭
endif .
if smartforms_4 eq 'X' .
perform call_smartforms_4.
control_parameters-no_open = 'X' . "关闭
endif .
control_parameters-no_close = space. "最后一张票据需要先关闭假脱机
if smartforms_5 eq 'X' .
perform call_smartforms_5.
control_parameters-no_open = 'X' . "关闭
endif .
原贴地址:http://hi.baidu.com/sap_sky/blog/item/1b46312b6042d4ffe6cd40ce.html