APO DP - validation of correct forecast profile

We are using APO DP V5.0.
In interactive DP, we forecast at the level of 'product at customer'. For the 'product at customer' characteristic we have navigation attributes, such as 'history type' (eg EPOS, despatch)
The 'history type' determines which key figure we use as history, and so we have forecast profiles which are relevant for the different history types.
If a user assigns a forecast profile in interactive DP to a 'product at customer', we want to get the system to check that the forecast profile is actually valid for the relevant 'history type'. We have named the profiles carefully so that, for example, the first x characters of the profile name reflect the history type; so we could have validation logic saying 'if history type = EPOS, check that forecast profile starts with 'EPOS'.
But how could this validation logic be triggered?
Any ideas?
Thanks,
Bob Austin, Atos Origin

Hi Bob,
Wow, what a brain bender!
I think this would require some fairly serious ABAP...
You can't get the value of an attribute interactively (via a macro function, for example using ACT_IOBJNM_VALUE()).  You would need a Function Module that could manipulate the Planning Object Structure to grab the attribute of the characteristic in question, based on the current selection. 
The name of the forecast profile also can't be done with a standard APO macro function.  We had something similar where we wanted to get the name of the forecast strategy via a macro function, but we ended up needing to create a short Function Module in ABAP that could called as a User Exit Macro.  The trick with the Function Module is that you will need is to tell the system to get the GUID of the current selection, then use that to find the name of the Forecast Profile (field PRPFL) from the /SAPAPO/DP_FCST2 table. 
Once you have that, you could tell the Function Module to pass just the first four letters ('EPOS') back to the planning book user exit macro so that you could then compare that with the attribute value.
Probably you didn't need me to write this short functional spec, but it was a very interesting problem to consider.  Hopefully somebody else will read this and tell us a much simpler way to do it.
Dan

Similar Messages

  • APO DP - loading of selections and forecast profiles assigned to selections

    I am using APO DP V5.
    I am forecasting at a 'product at customer' level.
    I have a flat file containing the 'product at customer' combinations - of which there are several thousand - and the proposed forecast profile for each combination.
    Is there a good way for:
    1.  loading these combinations as a set of 'selection ids' into APO DP?
    2.  loading the set of 'selections assigned to forecast profiles'
    I note that the 'selections assigned to forecast profiles' are in table /sapapo/dp_fcst2, but this table includes the GUID for selection ids, so I assume the selection ids must be generated first.
    Thanks for any advice.
    Regards,
    Bob Austin

    Hi Bob,
    There was a similar question asked sometime back in this forum, and am attaching the replies given to that.
    Re: APO DP assignment of selections to forecast profiles
    Check this link, it might help you.
    Regards,
    Jagadeesh.

  • APO DP Forecast profile consistency check

    I am using APO DP V5.
    Has anyone any experience of using the 'forecast profile consistency check' pgm /sapapo/rmdp_fcst_prpfl_consis?
    What exactly does it do?
    Thanks,
    Bob Austin, Atos Origin

    Hello,
    This report /SAPAPO/RMDP_FCST_PRPFL_CONSIS is  consistency for forecast profiles
    While there is no need to schedule the report automatically at regular intervals, there are some special situations in which it can be very useful.
    When must this report be run?
    1. When you transport forecast profiles from a system A to a system B. In this case, you must convert the internal version indicator (Id).
    2. If you are having problems with the date display or if the system changes from the relative date specification to the absolute specification for no obvious reason.
    When should you run this report?
    1. If you are working with generated forecast profiles (user parameter /SAPAPO/FCST_GUIDS).
    2. If you are using a manual forecast.
    What exactly does this report do?
    1. The internal version ID is checked.
    2. Date fields are checked. Fields filled with 00000000 are initialized.
    3. Overall profiles without any single profiles are deleted.
    4. Generated forecast profiles that are no longer assigned to a selection are deleted.
    5. The assignment of forecast profiles to a selection is deleted if the forecast profile no longer exists.
    6. Parameters for the manual forecast are deleted for any forecast profiles that no longer exist.
    Source of above details : Note 558995 - Advice on consistency report for forecast profiles

  • Behaviour of field: "Adjust Corrected histoty"  in DP Forecast profile

    Hi All:
    I have KF's
    1 Forecast
    2 Sales History and
    3 Corrected History
    --KF's are assigned tcorrectly to PArea and also in the Forecast profile.
    --Profile Field "Outlier Correction" is checked as "None"
    --Profile Field "Read Correcetd History from PArea" is checked
    --Profile Field "Adjust Corrected History is checked"
    Planner has updated Corrected History except for two months where it is zero. When Stat Forecast is run I expect that system updates Corrected History for these two months by values in the KF Sales History.
    This did not happen.
    Any thoughts about what I am missing?
    Thanks in advance for any help.
    Anton

    Hi Anton,
    I guess you have defined the corrected history key figure in the planning area...
    Are you using like profile? If yes try to deactivate to see if working better.
    (deactivate even if no profile define for this combination)
    I heard that this functionality does not work with life cycle planning...
    Thanks and Regards
    Julien

  • SCM 5.1 APO -DP Master Forecast Profile - Change Details

    Hi All
    If existing Master Forecast Profile has been changed by some authorised user, will it possible to view What changes has been made,when,by whom..etc....??...need functionality which should give all details.
    Current functionality giving only changed user name and date.
    Regards
    Poongunran

    It is not available.

  • Apply custom GUID forecast profile to reforecasting activity?

    Hi APO Experts,
    My company currently uses only one master forecast method (auto model selection 2, forecast method 56) for every individual customer that we have in APO (~10,000 customers.)  I would like to fine tune the process and be able to specify a forecast for certain individual accounts.  We use SAP APO version 3.1.
    In interactive forecasting mode, I have found the option to "Save assignment with unique forecast profile" (under Settings -> Forecast Profile) and I am now able to create customer specific forecasts with a unique "GUID."  However, I am not sure how to utilize these forecasts through a roll forward.  I roll my customer forecast window forward every month (ie, i change it from April 2011 - April 2012 to May 2011 - May 2012) by running a Mass Processing activity.  But I can not find the GUID forecast profiles when I set up the mass processing activity.  I tried deactivating the "always use job profile" button but that still doesn't work - instead of using the GUID specific forecast profiles during the reforecasting, APO will populate those customers with the default master forecast profile.  Is there a step that I am missing?
    I appreciate your time and help,
    -- K

    Hi arun,
    If i understand your situation,
    You put
    Validity start date as may and validity end date as dec
    constant factor before start date  '0'
    constant factor after end date      '100'
    still you see forecast for march april.
    if that is the issue, This might happen as per default settings, i think the default settings are constant factor before start date as 100%.
    do the following
    I dont know how the screens look in 4.1
    But in the phase in profiles go to Menu option GOTO> settings
    there you can define if constant factor by default should be zero or hundred.
    The main reason why this happens is if you try to put 0 as the constant factor before the start date, it does not save anything. so you need to make the default settings that constant factor before the start date is 0 %.
    let me know if this helps you or if the problem still persists.
    Thanks,
    Mythilee

  • Creating a New Forecasting profile for MRP

    Hi there,
    Please can somebody let me know how do I create a new Forecasting profile for MRP. 
    I want to see this in table MRPR once created.  (field PROPR).
    Kind Regards,

    Dear marelizen
    Use transactio code MP80.
    Creating a Profile  
    The information contained in this info object is relevant to the material master for industry and to the article master for retail. Retail customers are requested to substitute:
      article for material
      requirements planning for material requirements planning or MRP
    1. In the Material Master menu, choose Profile ® MRP profile or Forecast profile ® Create.
    The initial screen appears.
    2. Enter the name you want to give the profile.
    If you want to use an existing profile as a reference, enter its name under Copy from so that the system can copy its values to the new profile.
    3. Choose Selection screen.
    The selection screen appears. It shows all the fields that can be copied to the MRP or Forecasting screen in the material master record.
    4. Enter a profile description and select the fields you want the profile to contain, specifying whether each field is to be copied to the material master record as a fixed value or as a default value.
    It is not possible to select Fixed lot size and Maximum stock level in a single MRP profile. However, if you select Maximum stock level, you must also select Lot size (materials planning).5. Choose Data screen.
    MRP profile data is spread over two screens. To switch from one screen to the other, choose Data screen 1 or Data screen 2.
    When you access the data screen from the selection screen, the system checks whether the fields selected are allowed to appear in the same profile.
    The data screen appears, containing only the fields you selected on the selection screen. The fixed values and default values are displayed in different colors. All fixed values are required fields except where the field can also be left blank.
    If, in the forecast profile, you enter N or 0 as the forecast model, no forecast is made.
    Like forecast model N, if you enter forecast model 0 when maintaining a forecast profile, you will be unable to maintain any other field in the profile.
    Unlike forecast model N, forecast model 0 deletes any existing forecast values when you change the material. This ensures that these values are no longer included in materials planning.
    6. Enter the corresponding values and save the profile.
    If the system detects inconsistencies or errors, it asks you to change the fields selected on the selection screen and/or to correct the values. Otherwise, the initial screen appears, where you can begin to create another profile.
    warm regards
    Ramakrishna

  • Best way to know correct forecast model - process chain set up with multiple forecast models

    Hi Experts,
    I need your help in selecting best forecast model for our company. We have some of the models already used for our company, and because of multiple models used it is taking very long time for process chain to finish. There is no existing documentation available on which model was used why initially. Please help me to make out forecasting process smooth.
    - What is the best way to know, which forecast model is correct and should be used for our forecasting process.
    - In case multiple forecasting models are really required to be used, please suggest ways to optimally schedule them in process chain.
    - At times we get messages like "not enough data available" for specific model - any way to avoid this.
    - How to optimally use parallel processing profiles forecasting process in process chain.
    - Things which should be avoided.
    Request your help, please share your experiences.
    Regards
    NB

    Hi Neelesh,
    There are many points you need to consider to redesign forecast process for your company/client.
    You need to select the best suited forecast model first depending on the business. This has to be well tested & agreed by business users. Complexity will be an outcome of this exercise with business users. Best id to give then a brief intro on all available models & then help them selection the best one as per their requirement.
    Auto selection models are generally more time taking & should be used only when you have no idea at all on the business/demand pattern.
    Run time will depend how you are clubbing the CVCs to get the forecast generated & also parallel processing. For parallel processing profile you will need to do trial & error testing along with help from Basis team on how many free dial up processes are available.
    Even you can run many forecast calculations in parallel if the product/cvcs are totally different. - As per my personal experience maximum run time reduction can be achieved here.
    Daily run is not advisable except only for businesses where you have too much dynamism in demand planning i.e. you expect the demands to be changed overnight. Most of the companies run forecast on monthly basis or at weekly basis at the max.
    "Not Enough data" will be a problem if you are having the irrelevant models used in forecast profiles. This means users are not bothered to maintain the needed data for he forecast calculations or they are not aware at all of the situation. Running such models on daily basis is not advised at all. Better users should use interactive forecasting & saving the results in such cases.
    Just to give a crude example we get forecast calculated on monthly basis for approximately 4 lac cvcs in less than 3 hrs using moving avg, seasonal linear regression, seasonal trend, croston models. We use parallel profiles also everywhere with 10 blocks & 500 cvc/block.
    Hope this helps. Let me know if you have nay more questions & also the results using any of this.
    Regards,
    Rahul

  • Demand Planning - Forecast Profile .

    Hi SAP GURUS,
    Need to modify the Forecast Profile for to have different weightages for each month because of holidays and different working days.
    Any solutions for modifications.
    Thank you
    Rahul Chitte

    Hi Rahul :
    There is a fetaure called "Workday adjustments"  which you can use to account for varying no of workdays in a month .
    System claculates statistical forecast baased on avergae no of days in a month . You speicfy this in average no of days in vnivariate forecfast profile . The no of workdays in any month is determined by factory calenadr in planning area . System adjusts the uncorrected forecast based on following formula
    Corrected forecast = (uncorrected forecast/average no of days) * actual no of days .
    So You should ahve an additional key fig for corrected forecast

  • Issue with Creating Forecast Profiles/Forecasting

    Hello Experts,
    We are facing an issue with creating forecast profiles.
    We have two FYVs defined in our system, one with 52/53 fiscal weeks (Fiscal Variant W1) and the other with 12 fiscal months (FYV M1), Our storage buckets profile (STP) uses W1,  since we have many dataviews that use W1 as the FYV in the attached Planning buckets profile(PBP). We also have dataviews that display in fiscal months (use FYV M1 in the attached PBP), data from Fiscal weeks will be aggregated and shown in Fiscal months . We need to do forecasting using FYV M1, that is forecast in Fiscal Months , but since the storage bucket profile has W1 which is used in the Planning Area config. We are unable to create any Forecast profiles with FYV M1 . Please note that we cannot use M1 in STP because when we used M1 in STP, we could not create  dataviews in fiscal weeks (using W1)
    1. Is there any way we can forecast using M1 while having assinged W1 to the Planning area/STP ?
    2. OR we are willing to assing M1 to PA, provided we can use W1 in some of the dataviews, unfortunately we were unable to do this, though the vice versa is possible i,e. we could have W1 in STP and M1 in some of the related PBPs/ Weekly Dataviews.
    Please let me know if any of these are possible or if there is any alternative way to do forecasting in Fisc Months.
    Thanks
    Tej

    Hi,
    You are correct, the Storage bucket profile always has to be at a detailed level. Time bucket profile can be at higher levels like monthly, quarterly etc.,
    Coming to the root of your problem, which is you are unable to forecast at a level other that what is specified in your Storage bucket profile, unfortunately the answer is no.
    You can do a forecast only at the level at which the data is stored and not at the level at which the data is viewed.
    One work around for this is to create an additional planning area with the same MPOS and this addl PA can contain only those bare minimum KF required for your forecast. After you generate your forecast, you can copy it to your Weeks based PA and then proceed from there. This copy of KF between PA is much faster as it will happen at LC level and should not cause time delays.
    NOTE - You have to exercise caution when you are using 2 periodicities i.e., weeks and months, if you are using standard SAP calendar then you are good to go. If you are creating custom Fiscal variants pls ensure the start and end of a month is same in both the weekly and monthly variants. Failing which, there will be mismatch of data between the two dataviews.
    Hope this helps.
    Thanks
    Mani Suresh

  • Steps to transport the forecast profiles from development server to the pro

    Hello All,
    We have a scenario wherein we need to transport forecast profiles from APO development server to the APO production sever.
    Can anyone suggest me proper steps to include the forecast profiles into the transport request.
    Thanks in advance.
    Regards,
    Jacky.

    Hi Sujay ,
    Thanks again.
    I did check the transaction mentioned by you. But it din't help in my scenario.
    I got the sloution for my problem,
    we have two tables for forecast profiles, i,e /SAPAPO/DP440G and /SAPAPO/DP440P (these gets updates as and when we create a forecast profiles ) ,
    we have to add the entries from this table for the particular forecast profile into the transport request and then we have to transport those requesets , then the profiles would be transported accordingly.
    Anyways thanks for replying.. i am giving you points for helping me..:-)
    Regards,
    Jacky Jain.

  • Consumption Forecast: Forecast Profile

    Hi everyone,
    I am dealing with consumption forecast and I would like to correct outliers in the historical data on which the forecast is based.
    I have found transaction MC96 where you can define different forecast profiles and there you can define a Sigma Factor for this purpose.
    However, this profile seems to apply only to SOP (Sales and Operation Planning) and not to consumption forecast in MM. Am I right?
    Does everyone know how can I define a profile which is applicable to consumption forecast in MM so I can apply that mentioned Sigma Factor?
    I would be very grateful if someone could help me.
    Thanks a lot in advance and best regards,
    Ben.

    In R/3 you cannot do what you want.  Regards, Richard

  • Coverage profile and Forecast profile together

    Dear all,
    Can we use coverage profile and forecast profile together.What are the requirements for the same.
    We are using coverage profile with following details
    No. of periods=20
    Type of period per length=1
    Range of coverage in first period= 10
    The forecast profile is set for
    Historical periods=12
    Initialisation period=2(Automatic,X)
    Periods /season=12
    Forecast periods=12
    with different weighting groups.
    But whenever forecasting is executed with some historical data for the 3 profiles it is giving same forecast values for all 3 profiles with different weighting groups.
    Also the MRP type used here is a copy of the PD MRP type and not VV or VS.
    Where can the problem lie?
    Regards
    Manisha

    Dear
    Coverage Profile and Forecast profile are two different subject  !
    If it is range of coverage profile , then The range of coverage profile contains the parameters for calculating the dynamic safety stock. This is a statistical calculation on the basis of average daily requirements.With the dynamic safety stock, you can determine a safety stock based on requirements and range of coverage. The dynamic safety stock adapts automatically to the changed requirements and is fully available for planning purposes. You can limit the quantities used in the calculation of the dynamic safety stock by defining maximum and minimum ranges of coverage. You can also limit the period of time by defining different time periods in which the range of coverage is valid.
    I hope you are asking about saferty caverage profile,,here basicalli we are setting the system to see how the safety stock is to be covered and calculated.See the help link below and come back if required
    http://help.sap.com/saphelp_47x200/helpdata/en/f3/dbbb16b36111d1a6770000e83235d4/frameset.htm
    https://wiki.sdn.sap.com/wiki/display/ERPLO/Dynamicsafetystock+calculation
    Where as Forecasting Profile , please refer the below :
    Profiles
    One more query : Also the MRP type used here is a copy of the PD MRP type and not VV or VS.
    I think you should use Forecast Base MRP type like VV  rather PD.PD does not carry out any Forcasting Functionality .Please check wether you replicate PD from VV , then it is possible to execute Forecast specially Total Consumption set up in MRP type .
    Hope this will be useful
    Regards
    JH

  • Transport of forecast profile

    Hello,
    I setup a forecast profile in APO Demand Planning. But I do not know how to tranport this new forecast profile. There was no popup with a transport assignment after creating the profile.
    The forecast profile is included in an activity and a job - the job is assigned to a transport.
    I do not know whether the forecast profile will be transported within the job transport.....
    Does anybody know how to transport this forecast profile?
    Thanks for your help!
    Kind regards
    Heinz

    Hello Heinz,
    Use the transaction /sapapo/tsobj. In this transaction you will have a check box below the planning area which reads "with forecast profile transport". This would transport the forecast profiles along with your plannign area.
    Cheers!
    Jacky.

  • Correct Color Profile in Keynote '09 (or '08)

    I have been tasked with putting together a photography presentation for six photographers. The presentation will be projected (with two Epson projectors and six color monitors) in Keynote ’09 (and ’08) for a one-night photographer’s gallery exhibit. One of the concerns raised by one of the photographers who has used Keynote (not sure the version, but probably ’08 or earlier) is that there is a "*color shift*" that occurs from the original saved image. All images are exported from (Apple) Aperture, (Adobe) Lightroom, and (Adobe) PhotoShop CS3-CS5 using the Adobe RGB 1998 Color Profile.
    All photographers (including myself) are working with Aperture, Lightroom, or PhotoShop and are saving their final images with the Adobe RGB (1998) ICC color profile.
    Is there a way to ensure “correct” color profiles are used in Keynote ’09 (and ’08)? If so, how is this done?
    Any help would be appreciated.

    Welcome to the discussions, anthonysan.
    There isn't a way within the program to do it, however it IS possible I think. I'll give you some tips to start down that path, and, if you have any questions, just post back here.
    First, go to Keynote preferences and, under General Preferences, choose "Save new documents as packages". Next, create a new document (white theme), change the Master to blank, and place three rectangles on the first slide, each with an EASY to define color. (By "easy to define" I mean pick colors that you would be able to discern numerically, for example 100% red, 100% black, 100% green, etc.) Finally, double click inside each shape and add some unique text. I'm using "firstone", "secondone", "thirdone".
    Now, save that document, then right-click (two-finger-click, control-click) on it's icon in the Finder. You should see an option to Show Package Contents. Select that and you should then see a few folders and some files. You're looking for index.apxl.zip. Double click that one to unzip it, then put the .zipped version in the trash (Keynote can read either just as well). Now, you should have an index.apxl file.
    When you double-click the index.apxl file, you'll have to choose to open it with TextEdit, then search for your unique text "firstone".
    Things get more detailed from this point, but it does lead to a potential solution. Let me know if you're following so far, and we can look at the mysteries within they Keynote file

Maybe you are looking for

  • Error message when downloading video from itunes

    It keeps saying that my disk cannot be read or written to. I've already purchased the video (episode of the Office). Does anyone know what I can do to solve this? Thanks.

  • Best practice: self referencing table

    Hallo, I want to load a self referencing table to my enterprise area in the dwh. I am not sure how to do this. What if a record references to another record which is inserted later in the same etl process? There is now way to sort, because it is poss

  • Overriding methods and attributes

    can a subclass override a method in its superclass even if it changes the method`s access modifier? can attributes be "overriden" as well?for instance: //superclass class A implements Serializable{ public int attr; public void run () { //subclass cla

  • Java.lag out of memory error

    my x2 cannot work with the pdf reader i downloaded from nokia store as there is java.lag out of memory error what should i do

  • Any efficient way to select data with limit?

    HI I want to select some rows of my table for showing in a webpage number of rows is very very much and all of them cannot be showed in one page, so i used paging for my webpage every page has just 20 rows problem is here , how to select rows between