Skip to Content
Author's profile photo Former Member

如何让弹出的BSP搜索帮助组件带默认值

效果如下图,可以自动带出活动类型为指定的类型。

QQ20150826-2@2x.png

只需要在获取到对应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为指定的活动类型编码

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.