cancel
Showing results for 
Search instead for 
Did you mean: 

Use of BADI /SAPAPO/SDP_FCSTERR in APO DP

Former Member
0 Kudos

I want to use the BADI called /SAPAPO/SDP_FCSTERR in APO DP to calculate a forecast error.

Does anyone have any screenshots showing how to code some example logic, showing how the importing and exporting parameters are used?

Thanks, Bob Austin (email: bob.austin@atosorigin.com)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Bob,

This BADI will provide you an internal table called IT_FCSTVIEW which shows the history and forecast specific keyfigures. You can do your manipulations as you wish on these values to calculate EV_FCST_ERRPR, shown as "Customer-Spec. Forecast Errors" in the output.

In case of mass processing the error is stored in the table field /SAPAPO/FCSTACCU-USERE if the BADI /SAPAPO/SDP_FCST4 is activated to set the flag EV_FLAG_ACTIVE

rgds,

SB.

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Bob,

This BAdI works with only one method ERROR_CALCULATE.

In implementation type I suggest you to choose: Formula.

It should be quite simple to define a user formula for calculate the error based on Forecast and History.

Best regards,

Carlos Rodríguez