cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi!

I implemented that you get the ID of the selected line (responive table) with one click and send them to another view.

With the help from mio.fujita

https://answers.sap.com/questions/13111243/smart-table-press-on-column-and-change-view.html#

onItemPress: function (oEvent) {
	var id = oEvent.getSource().getBindingContext().getProperty("ProductID");
	this.getOwnerComponent().getRouter().navTo("Detail", {
		id: id
	});
}

How do I get all entries that exist (of each line with this ID) with the read ID?

For example, I now have the ProductID from an order. How do I get the ordered goods or the quantity that is in a row with the read out ProductID?

0 Likes
View Entire Topic
truckla
Explorer
0 Likes

Hi mio.fujita,

maybe the example will make it clearer:

I have sent order ID 4 from the first view to the second view (already solved with your help).

Now the new view shows everything that exists for order ID 4:


Now I want to pass on this data or further process.
Everything about order ID 4.
In the form order ID = 4; product IDs = 1,2,3,4; names= A,B,C,H; quantity= 1,1,2,56

How do I do that?

How do I get the data?