1. First call to BAPI_CUBE_GETDETAIL, to get all infoobjects of a cube, it returns a list of infoobjects in INFOOBJECTS parameter.
2. Then built an internal table with all the characteristics required from INFOOBJECTS table. and an internal table with all the key figures. In INFOOBJECTS table there is a field which indicates the infoobject type.
3. Call to RSDPL_CUBE_DATA_READ function call, filling in I_T_CHA the list of characteristics, and I_T_KYF the list of key figures. The function returns in tablename a dictionary table that has all the information. 4. Make a select to the (tablename) table and get all contents. This is the content of the infocube.