如何让弹出的BSP搜索帮助组件带默认值
效果如下图,可以自动带出活动类型为指定的类型。
只需要在获取到对应popup之后敲入相关的代码即可:
lr_cnode = ischevaluehelp_popup->get_context_node( iv_cnode_name = ‘BTQACT’ ).
CHECK lr_cnode IS BOUND.
lr_dquery ?= lr_cnode->collection_wrapper->get_current( ).
CHECK lr_dquery IS BOUND.
lr_dquery->add_selection_param( iv_attr_name = ‘PROCESS_TYPE’ iv_low = ‘ACTI’ iv_sign = ‘I’ iv_option = ‘EQ’ ). “ACTI为指定的活动类型编码
Be the first to leave a comment
You must be Logged on to comment or reply to a post.