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.
本文详细介绍了通过BAPI_CUBE_GETDETAIL和RSDPL_CUBE_DATA_READ函数调用获取InfoCube内容的过程。首先,使用BAPI_CUBE_GETDETAIL获取所有InfoObjects信息,然后构建包含所需特性和关键指标的内部表。最后,通过RSDPL_CUBE_DATA_READ函数读取并选择信息到字典表中。
81

被折叠的 条评论
为什么被折叠?



