Ansicht
Dokumentation

APO_SDP_BATCH - Enhancements for Planning in the Background

APO_SDP_BATCH - Enhancements for Planning in the Background

Fill RESBD Structure from EBP Component Structure   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Demand Planning (SCM-APO-FCS) component. You can use this BAdI to enhance the Demand Planning mass processing functions.

You can use the FILTER_SELECTIONS method to filter the selections that are available when creating, changing, or deleting a Demand Planning background job. You can also use this method to hide the Select All Selection IDsoption.

You can use the SET_USER method to specify the user in whose name the system is to create a background job. This can be important, for example, if user-specific settings are used in a job.

You can use the SET_USE_ALL_SEL_COND method, if you want to apply all selection conditions (the Use all selection conditions option is set to false by default). If you switch on this option, the global selection table (gt_sel_tab) will be updated at the end of the preparation step (in form prepare_batchrun), adding those selection conditions of the original selection, that were left out, because their characteristic was not used in the aggregation level. The method is only called in the following cases:

  • The DP job has a single selection.
  • The planning area is neither CBF-relevant nor SNP-relevant.
  • Some characteristics of the selection you have chosen are not used in the aggregation level.

You can use the SET_FCST_PROF_SELECTION method to change the selection used to determine the forecast profile. It is called in the form prepare_prognose_batch, to change the selection passed to form read_fcst_profil. Therefore it has no effect on the global selection (gt_sel_tab) used for reading and writing key figure values. It can be useful, for example, if you have already switched on the Use all selection conditions option, but want to exclude the conditions not used in aggregation level for forecast profile determination.

For more information about the standard settings (filters, single or multiple uses), see the Attributes tab of the BAdI Definition in the BAdI Builder (transaction SE18).

An example implementation is available for the FILTER_SELECTIONS method.

An example implementation is available for the SET_FCST_PROF_SELECTION method.






ROGBILLS - Synchronize billing plans   General Material Data  
This documentation is copyright by SAP AG.

Length: 2507 Date: 20240523 Time: 235651     sap01-206 ( 45 ms )