小编Pet*_*ter的帖子

字段"GET_ATTRIBUTE("是未知的.它既不在指定的表之一中,也不在"DATA"语句中定义

我正在开发我的第一个webdynpro应用程序.我使用向导从我的componentcontroller调用一个功能模块.我使用另一个向导从视图方法调用componentcontroller方法.之后我尝试使用节点属性作为参数,但是我得到了标题中的错误.错误指向第一个参数(Activestatus).

这是view方法的代码.

method DOREFRESHDATA .
  DATA lo_nd_filternode TYPE REF TO if_wd_context_node.
  DATA lo_el_filternode TYPE REF TO if_wd_context_element.

  lo_nd_filternode = wd_context->get_child_node( name = wd_this->wdctx_filternode ).
  lo_el_filternode = lo_nd_filternode->get_element( ).

  DATA lo_componentcontroller TYPE REF TO ig_componentcontroller .
  lo_componentcontroller =   wd_this->get_componentcontroller_ctr( ).
  lo_componentcontroller->execute_getorders(
    activestatus = lo_el_filternode->get_attribute( name = 'ACTIVESTATUS' )
    batch = GETFILTERSTRING( ATTRIBUTENAME = 'BATCH' )
    cancelstatus = lo_el_filternode->get_attribute( name = 'CANCELSTATUS' )
    completestatus = lo_el_filternode->get_attribute( name = 'COMPLETESTATUS' )
    confirmstatus = lo_el_filternode->get_attribute( name = 'CONFIRMSTATUS' )
    enddate = lo_el_filternode->get_attribute( name = …
Run Code Online (Sandbox Code Playgroud)

abap webdynpro

1
推荐指数
1
解决办法
359
查看次数

标签 统计

abap ×1

webdynpro ×1