Skip to Content

How to write customer exit to get Latest Date in SAP BW ?

Oct 22, 2017 at 12:43 PM


avatar image
Former Member


I have a requirement to display the latest date data in report based on the month value which i pass in Variable.


CustID Date Month Quantity

100 10.09.2017 09.2017 100

101 11.09.2017 09.2017 200

Now i will enter the Month in Variable 09.2017 then out put should be 11.09.2017

Kindly suggest me how to write the Variable Customer Exit with I_STEP = 2

to get this Logic.

Thanks in Advance.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member
Oct 23, 2017 at 01:00 PM

Hi Vijay,

you can use function module RSDRI_INFOPROV_READ to read the available values of the underlying infoprovider. Get them back sorted and pick the first entry.

regards, Simon

10 |10000 characters needed characters left characters exceeded