Skip to Content
0
Former Member
Apr 16, 2014 at 10:26 PM

BADI Macro for Disaggregation in DP(APO)

174 Views

Hi,

I have a planning book in APO with CVC combination Material , Program and Location.

I need to consider lowest level of history data for calculation of forecast weeks.

Hence created a BADI macro and fetching data from planning book.

Using BAPI_PBSRVAPS_GETDETAIL2 BAPI for keyfigure data in key_figure_value.

Also using

C_T_TAB

C_T_TAB_OLD for retrieving planning book data.

I am able to get highest level data(total value for key figures) but I need lowest level (material,program and location wise disaggregated) data.

Any suggestions on this?

Regards

Kota