开发过程细节可参考上一篇、这里主要是关键步骤 建spfli的no..." />
当前位置: 代码迷 >> 综合 >> webnbsp;dynpronbsp;fornbsp;ab…
  详细解决方案

webnbsp;dynpronbsp;fornbsp;ab…

热度:5   发布时间:2024-01-18 13:46:43.0
这里做了一个简单的测试例子:
根据选中的spfli 航项目自动更新booking表格的值
效果如下;
web <wbr>dynpro <wbr>for <wbr>abap <wbr>:Display <wbr>Bookings <wbr>of <wbr>Selected <wbr>Fligh


开发过程细节可参考上一篇、这里主要是关键步骤
建spfli的node     0:N
在SPFLI下建子node 0:N
web <wbr>dynpro <wbr>for <wbr>abap <wbr>:Display <wbr>Bookings <wbr>of <wbr>Selected <wbr>Fligh


效果:
web <wbr>dynpro <wbr>for <wbr>abap <wbr>:Display <wbr>Bookings <wbr>of <wbr>Selected <wbr>Fligh

添加supply method for booking node
web <wbr>dynpro <wbr>for <wbr>abap <wbr>:Display <wbr>Bookings <wbr>of <wbr>Selected <wbr>Fligh
默认代码都是注释掉的,打开注释
加上取数逻辑
web <wbr>dynpro <wbr>for <wbr>abap <wbr>:Display <wbr>Bookings <wbr>of <wbr>Selected <wbr>Fligh

创建 attribute
web <wbr>dynpro <wbr>for <wbr>abap <wbr>:Display <wbr>Bookings <wbr>of <wbr>Selected <wbr>Fligh
在view上添加两个table控件


绑定数据

web <wbr>dynpro <wbr>for <wbr>abap <wbr>:Display <wbr>Bookings <wbr>of <wbr>Selected <wbr>Fligh



web <wbr>dynpro <wbr>for <wbr>abap <wbr>:Display <wbr>Bookings <wbr>of <wbr>Selected <wbr>Fligh


search 的代码跟上篇完全一样。
效果如下:
web <wbr>dynpro <wbr>for <wbr>abap <wbr>:Display <wbr>Bookings <wbr>of <wbr>Selected <wbr>Fligh

web <wbr>dynpro <wbr>for <wbr>abap <wbr>:Display <wbr>Bookings <wbr>of <wbr>Selected <wbr>Fligh