Hi Gurus!
I build a view with data from /SEPMRA_C_SalesOrder table.
For get data and show the item data, into a same view, example: table control and click event,
i know that is to_SalesOrderItem the Alias name, as well as the table name is /SEPMRA_C_SalesOrderItem. The problem is that don´t work.
Can you help me?
<Table noDataText=“Drop column list items here and columns in the area above” id=“table0” items=“{path:‘/SEPMRA_C_SalesOrder’,parameters:{expand:‘to_SalesOrderItem’,select:‘to_SalesOrderItem/ActiveSalesOrder,to_SalesOrderItem/ActiveSalesOrderItem,to_SalesOrderItem/Product,to_SalesOrderItem/TransactionCurrency,to_SalesOrderItem/GrossAmountInTransacCurrency’}}“>
<items>
<ColumnListItem type=“Active” id=“item0”>
<cells>
<Text xmlns=“sap.m” text=“{to_SalesOrderItem/ActiveSalesOrder}” id=“text4”/>
<Text xmlns=“sap.m” text=“{to_SalesOrderItem/ActiveSalesOrderItem}” id=“text5”/>
<Text xmlns=“sap.m” text=“{to_SalesOrderItem/GrossAmountInTransacCurrency}” id=“text6”/>
<Text xmlns=“sap.m” text=“{to_SalesOrderItem/Product}” id=“text7”/>
</cells>
</ColumnListItem>
</items>
<columns>
<Column id=“column0”>
<header>
<Label text=“Ordem” id=“label0”/>
</header>
</Column>
<Column id=“column1”>
<header>
<Label text=“Item” id=“label1”/>
</header>
</Column>
<Column id=“column2”>
<header>
<Label text=“Valor” id=“label2”/>
</header>
</Column>
<Column id=“column3”>
<header>
<Label text=“Produto” id=“label3”/>
</header>
</Column>
</columns>
</Table>
Best regards.
Marcio PAixao