Skip to Content
Former Member
Jul 29, 2009 at 02:40 PM

select last line item from VBAP


Dear SAP experts,

This might sound very silly question but I am new to SAP world.

is there a simple select statement to select only higest line item.

Say for example in VBAP, I have 9 line items.

then my select statement should find the last line item. ie. 9th item.

Actually, I have a situation where a custom table has 2 key fields and I want to select the only 1 line with higest number in 2nr column. Thank you.