Skip to Content
0

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

Oct 22, 2017 at 12:43 PM

75

avatar image
Former Member

Hi,

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

Ex:

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.

AVMutyala.

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
0

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.

https://wiki.scn.sap.com/wiki/display/BI/OT-DBIF-RSDRI_INFOPROV_READ

regards, Simon

Share
10 |10000 characters needed characters left characters exceeded