Latest Version data to be displayed in the report

Hi,
We are maintaining Version as a Char in the Cube. While displaying data in BEx report I need to display latest version data based on the 2 Info Objects. (These 2 Info Objects are keys..say Project, Its sequence Number).
EX: Proj     SQ Version
     123        1       v1
     123        1       v2
     131        1       v1
                 Here I need to display only 2 & 3rd records         123        1       v2 ,     131        1        v1.
PLease suggest me what is the best way to achieve this in BEx.
Thanks,
Swathi

Hi Swathi,
Directly reading data form infocube using SELECT statement will be a tedious task as fact table stores only DIM ID's so it's better if you use FM RSDRI_INFOPROV_READ  to read data from infocube.
Execute this FM in SE37 first and check how it works and then accordingly you can write code in EXIT to read data from cube.
Regards,
Durgesh.

Similar Messages

Maybe you are looking for