我使用 CDS 注释创建了一个 FIORI 元素 APP。我的应用程序包含多选列表报告。
我使用 lineItem 注释创建了一个操作按钮,如下所示
{type: #FOR_ACTION, position:10, dataAction: 'que_post', label: 'tre', invocationGrouping: #CHANGE_SET }
并在行为定义中创建了动作。
任何人都可以帮助解决这个问题吗?我想选择多行并将其传递到我的 ABAP RAP 操作中。
更新
我的元数据片段用于函数导入:
<FunctionImport Name="que_post" ReturnType="cds_z_p_quality_status_serv_def.DummyFunctionImportResult" m:HttpMethod="POST" sap:action-for="cds_z_p_quality_status_serv_def.DelQualityDetailsType">
<Parameter Name="matnr" Type="Edm.String" Mode="In" MaxLength="40"/>
<Parameter Name="lifnr" Type="Edm.String" Mode="In" MaxLength="10"/>
<Parameter Name="charg" Type="Edm.String" Mode="In" MaxLength="10"/>
<Parameter Name="sernr" Type="Edm.String" Mode="In" MaxLength="18"/>
<Parameter Name="prueflos" Type="Edm.String" Mode="In" MaxLength="12"/>
</FunctionImport>