• F4IF_INT_TABLE_VALUE_REQUEST


    F4IF_INT_TABLE_VALUE_REQUEST 这个搜索帮助的时候,get_field 画面上绑定的字段的值里最好不要带* 和+,这两个字符会被认为是特殊字符,影响搜索

    form f4if_int_table  tables pt_help structure ls_f5
                                        using give_field
                                              get_field.
      data:field_value   like dynpread,
           dynpro_values type table of dynpread,
           return_tab    type table of ddshretval,
           ls_return_tab type ddshretval.
      data:mapping type table of dselc.
      clear:field_value,
            dynpro_values[],
            return_tab[],
            ls_return_tab.

      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
          retfield         = give_field "lt内表里面的字段
          dynpprog         = sy-repid
          dynpnr           = sy-dynnr
          dynprofield      = get_field "画面上绑定字段
          value_org        'S'
          callback_program = sy-repid
          callback_form    'FRM_SOINFO_FORM'
        tables
          value_tab        = pt_help "需要显示帮助的值内表
          return_tab       = return_tab
        exceptions
          parameter_error  1
          no_values_found  2
          others           3.

    endform.

    ******frm_soinfo_form 用于显示多列搜索相关的数据

    form frm_soinfo_form tables record_tab structure seahlpres
                     changing shlp type shlp_descr
                              callcontrol like ddshf4ctrl.
      datainterface like line of shlp-interface.
      read table shlp-interface into interface index 1.
      interface-shlpfield+4(1'1'."字段
      interface-valfield 'VBAK-ZCID'.
      append interface to shlp-interface.
      interface-shlpfield+4(1'3'."字段
      interface-valfield 'VBAK-ZTELEP'.
      append interface to shlp-interface.
      interface-shlpfield+4(1'4'."字段
      interface-valfield 'GV_ZSHXH'.
      append interface to shlp-interface.
      interface-shlpfield+4(1'5'."字段
      interface-valfield 'GV_ZSHDZ'.
      append interface to shlp-interface.
    endform.

  • 相关阅读:
    微信小程序使用wxParse解析html
    git基本操作
    thinkphp 静态缓存设置
    phpstudy 安装memcached服务和memcache扩展
    CSS超出部分显示省略号…代码
    小程序支付
    phpstorm 快捷键2
    thinkphp session设置
    cookie与session
    微信小程序 setData动态设置数组中的数据
  • 原文地址:https://www.cnblogs.com/QIANQIANHAPPY/p/11527055.html
Copyright © 2020-2023  润新知