Aba*_*ito 2 abap sap-data-dictionary
我正在使用该line_index函数,并且想搜索两个值,不仅是carrid,而且是connid。是否可以?如果真是这样,那么是以哪种方式?
因为现在,这是有效的:
lv_index = line_index( lt[ carrid = 'LH' ] ).
Run Code Online (Sandbox Code Playgroud)
[ connid = '2407' ]但是添加这样的代码后:
lv_index = line_index( lt[ carrid = 'LH' ][ connid = '2407' ] ).
Run Code Online (Sandbox Code Playgroud)
我收到语法错误:
LT[ ] 不是内表
所有字段(条件)都在一个括号内一个接一个:
lv_index = line_index( lt[ carrid = 'LH'
connid = '2407' ] ).
Run Code Online (Sandbox Code Playgroud)