Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to populate minimum value

Former Member
0 Likes
318

Hi

I have an extractor with 2 primary keys, Indkey and Indcode.

I need to get the minimum value of Indcode and populate the relevant Indkey.

ex, Indkey Indcode

IND001 20

IND002 30

IND003 40

I only need to get the record IND001 20, populated and not the other two. I am populating these values to a DSO in BW.

How can I acheive this? Please give the algorithm or sample code.

Thanks

Sirisha

1 REPLY 1
Read only

Former Member
0 Likes
297

sort table by key1 key2 and read table index1