Demand Planning : Macros -drilldown functionality

Hi All,
I am trying to use the function DRILLDOWN (DRILL_DOWN( 'characteristicu2019 , <'internal'> )and trying to drilldown to characteristic eg MARKET (to get forecast values with respect to different markets ) .How can I access the drilled down values for each markets after the execution of this macro? The drilldown is internal and it is not displayed to the user.Is there a functionality in macro or user exit macro to access the values so that I can do additional checks and give a message to the user?
Thanks & Regards,
Savitha

Do you want to run this as a background job and send messages to the user or do you want to do it interactively
if youw ant to do it in the background...
Just copy the book and run the same macro without the internal in it
you can use this book for generating the messages.
you just drill down and dont have to drill up
just make sure your users dont have access to it
Interactively, you can create a combination macro(this option appears when you create the maco) that has the following macros as the steps in sequence
1. Drill down
2. Calculation/ Checks/warning  --> save this to some place that can be extracted later - for eg a table
3. Drill up
use anther macro that will then extract the table values and display or mail to users or create a program that can read the table with selections

Similar Messages

  • How to use user exit macros in demand planning?

    Hi all,
    I am have created an user exit macros? but then can anyone guide me how to use the abp code there in the User exit macros in demand planning.
    Thanks
    Pooja

    Hi Pooja,
    The ABAP code can be written inside the functional module assigned to user exit macro.
    Start Transaction SMOD.Enter APODM005 in the 'Enhancement' field. Select 'Display'.
    Then choose 'Components' or Shift+F11 and double-click the name of the function module.
    Double-click the include contained in the function module to enter the source code.
    For step by step details you can refer to SAP note 418801.
    Let me know if it helps.
    Regards
    Gaurav

  • Macros in Demand Planning SCM 7.o

    Dear Friend,
    Please give me the link where I can learn about Macros of Demand Planning in SCM 7.o.
    Please brief me about the Macros.
    My intention is to learn about Macros.
    With regards,
    Balu

    Balu,
    Macros are used for performing complex calculations easily. They are basically used to manipulate the Key Figure values. They are also used for genertaing alerts. You can execute macros either interactivekly or by a background job. Go terough the following link:
    http://help.sap.com/saphelp_scm50/helpdata/en/17/a5216532a111d398260000e8a49608/frameset.htm
    I believe the best way to learn about macros is to create them and test them. You have the standard 9AEXAMPLES macro workbook which contains examples of all the macro functions available. Very handy tool!
    Try and go through the macros in standard SAP books and refer to the link above and 9AEXAMPLES to understand the flow. I am sure you will learn in no time.
    Happy Learning!
    Cheers!
    Abhi

  • Use of function module to update Realignment data: Demand Planning

    Hi,
    Can anyone explain how the function module /SAPAPO/TS_RLG_STEP_CREATE works? I need to use it to update Realignment table(of CVC creation in Demand Planning).
    Thanks !

    I also need information about this bapi /SAPAPO/TS_RLG_STEP_CREATE
    Thanks

  • Using the Demand Planning functionality in TEM

    Good  afternoon
    I have been trying to use (in our test client) the Demand Planning functionality of TEM, I am wanting to create demand based on last year's bookings however I get no results. I have courses, which are firmly booked with attendees on them in last year. Is there a minimum number of courses and/or attendees required before a demand can be created? What am I missing?
    Many thanks
    Dawn

    Hi Dawn,
    Try this:
    Run the demand planning report using either S_AHR_61016220 or PSV2. Choose the event type which you want to create demand for, or if you have used PSV2 that is already defaulted. If the location is mandatory then put that in and run the report for the year 2010 (with all or the specified quarters checked). If you are running this for the first time, then you should get a screen which says No demand exists. Click on the name of the event type such that it is highlighted (where the cursor is on the name of the event type). Click on the Plan button (F5) and then click on the Plan button button again (F5). This should give you the various options of prebookings or bookings from the previous yea. Select the one you want, and it should determine the demand which you will transfer and save.
    Regards,
    Priya.

  • Unfreezing the Months in Demand Planning book.

    Hello Experts,
    User has limited access of change mode (6 months) in a particular demand planning book. User wants to extend the change access horizon to 10 months.
    Please guide me what necessary steps to be taken so that user has access to do changes for next 10 months instead of 6.
    Thank you in advance, points assured .
    Regards
    Rahul Chitte

    Hi Rahul,
    We really need more information here to help you.
    Let me try and help in guiding you towards that.
    Question: Is the user able to see 12 months (May to Apr), but able to change only 6 months (May to Oct ), or the user is able to see only 6 months (may to oct) and unable to see next 6 months (nov to apr).
    Scenario 1: User is able to see all 12 months but able to change only 6 months.
    Possible Cause - There is no standard setting that lets lockout few periods alone. However pls do check for some default macros that might be setup to lockout specific periods. Look for the use of function cell_input() in the macros within the planning book.
    Scenario 2: User is able to see only 6 months.
    Possible Cause - The time bucket profile is set for only 6 months.
    How to check this?
    Go to /sapapo/sdp8b go to dataview tab. Look for the TB Profile ID (Future). Make a note of this name.
    Go to /SAPAPO/TR30 - "Maintain Time Buckets Profile for Demand Plng and Supply Network Plng". In this txn give that name. Then click periods. You should be able to see how many months are configured. You need to change the number of periods here. This is assuming you have sufficient time series created to go thru all 12 months.
    Pls revert back with your findings incase the problem is not resolved.
    Hope this makes sense.
    Thanks
    Mani
    Edited by: Mani Suresh on Apr 9, 2010 2:11 PM

  • Not able to Upload data in Demand Planning data view

    Hi
    I am trying to upload a csv  file in to Demand planning interactive planning through " Upload Data " functionality
    First I exported data from interactive planning , updated some data in file and again trying to upload same file.
    I am getting following error
    File cannot be uploaded
    Message no. /SAPAPO/SDP_UPLOAD009
    Diagnosis
    File  has no technical information or incorrect technical information.
    Procedure
    Save the file again locally. Make sure that the file has the technical information.
    Could u please suggest what needs to be done
    Thanks and regards,
    Nitin Lavhe

    Hello,
    For using the upload data functionality from interactive planning grid, you need to first download the data. While downloading the data, please check the check box for "Prepare the file for upload at later time", and then select the option of putting the technical setting into the file or into the system. Either way is okay. Then try uploading the same file.
    This should solve your problem.
    Thank you.
    Regards,
    Jacky Jain.
    SAP APO Architect.

  • Issue in creating Duet  Demand Planning Sheet on the basis of Dataview

    Hi all,
    We are using following landscape
    Landscape Details-
     SAPAPO = SCM 700 0002 - SAPKY7002
     Duet 1.5 - 150.700 SP3
     Duet Demand Planning u2013 1000.150.700.3.0 (Server Component), 1000.150.700.3.0 (Client Component)
    There are 2 ways available to create Duet Demand Planning Sheet
    1. On the basis of existing Demand Planning Scenario
    2. On the basis of existing Data views( with SAP macros)
    We are able to create Duet planning Sheet with 1 option. But we got erro with second Option that is on the basis od Data view(with macros).
    Planning area, Planning Book/Data view and Selection Ids are existing and active.All the Webservices given by SAP are released.
    Duet is able to retrive the list of Dataviews avilable for the Planning Area. But it is failing to retrieve the Data View Details the Error is as follow
    "No view Details were found Please choose another dataview."
    Web Service Call (PlanningViewDetails):
    java.rmi.RemoteException:Service call exception; nested exception is:
    java.rmi.UnmarshalException: Attribute schemeAgencyID is required in element ID !
    Data: TYPEID DUET_JAVA_ADDON
    Data: SEVERITYCODE 2
    Exception of type 'System.Exception' was thrown.
    Is there any SAPNOTE for this ?Any specific configuration requirement from SAPAPO side?
    Any webservices to be applied?
    Please help in this Issue
    Thanks &  Regards
    Rahul

    Hi
    There are couple of OSS  notes, you might have already seen:
    1371328 Internal Error using Planning Book with Aux. KF
    1431661 Duet Demand Planning 1.5 SP4.
    Regards
    Datta

  • Changing the Chart Title in Graphic View in Interactive demand Planning

    Hi All,
    Is it possible to change the Chart title in Graphic View in interactive demand planning screen.
    When we go to interactive planning after loading the data we go to Univariate forecast then switch to graphic, the chart title shows the selection at which the planning is done. For eg; If I plan at die level and i select a particular sap material, the chart title displays Die value and not the material value.
    Is it possible to change the chart title such that it displays all the selections made in selection winodw, like in the above case both Die value as well as SAP Material Number.
    Thanks and Regards,
    Diana

    Dear Diana,
    unfortunately this is not possible.
    The chart title is build from the planning book name + the Show characteristic in the shuffler (+ available nav. attributes of the Show char).                                                           
    The functionality you requested doesn't exist in standard.            
    Regards,
    Tibor

  • Demand Planning: How to create a forecast in ODP

    Our client is using Oracle Financials OM etc however it currently uses a separate tool for forecasting. We are planning to start forecasting in Oracle Demand Planning.
    Following is the simplified calculation for forecasting, how can this be done in ODP:
    Calculation is done for item type, 2 calculations are done for every month (X and Y changes every month):
    JAN:
    1. A= X% of Jan sales
    2. B= Y% of last year sales
    The forecast should pick greatest number among A and B (it should not pick A+B).
    Is this possible in ODP, how to setup the forecast and its calculations.
    Thanks in advance.

    You could do this in ODP using the absolute value function and some formula measures.
    I assume you are familiar with formula measures in ODP and hence I will focus only on the math behind the formula measures. I am ignoring the percentage aspect that can be easily achieved using formula measure capabilities.
    The result set that you want is the following:
    if X > Y return X else Y
    Formula measure 1 = FM1 = X + Y
    Formula measure 2 = FM2 = = |X - Y| (absolute value)
    Formula measure 3 = (FM1 + FM2) / 2
    How does this work?
    |X - Y|
    returns Y - X if Y > X
    returns X - Y if X > Y
    if X > Y then the result is
    (X + Y + X - Y)/2 = X
    if X < Y, then the result is
    (X + Y + Y - X)/2 = Y
    This will give you the results you want.
    Note: the formula measures apply at all levels of the hierarchy and is not the aggregation from the lowest levels.
    Please be careful and validate this solution against your total set of requirements.

  • Transfer Demand Plan to R/3

    Hi All,
    I need to transfer the Demand Plan to R/3.
    Please let me know the importance of Period Split profile in the transfer profile screen.
    we are using the posting periodicity in the planning book.
    What is the use of Distribution Function?
    Is it possible to transfer the demand in days for first 3/4 weeks and then in weeks for rest of the period.
    Your input/suggestions are highly appreciated.
    Regards,
    Prabhat
    Edited by: Prabhat Sahay on Sep 29, 2010 3:37 PM

    Prabhat ,
    Period split profile is used when your demand plan is calculated in a particular periodicity (say month) and you want to see the result in ERP with a more detailed periodicity(say weeks or days).  In case your demand plan periodicity is the same as the periodicity in which you want to see the results in R/3 then there is no need for a period split profile. As the name implies period split , splits the value to a finer level.
    Distribution function is used to assign weightage to the different periods. We divide the value of a period equally so iam not very sure about the distribution function concept. But i think , if you have demand plan of 100 CS for  a month and you are splitting it into weeks  (defined in period split profile) , and decide to give more weightage to weeks 1 and 2 compared to 3 and 4 then the distribution function comes into play . Not sure about it though.
    Also refer to consulting note 403050 . It talks about releasing forecast to sNP, but then the concept of period split profile / distribution function is the same irrespective of the target to which the demand plan is released.
    Thanks
    Saradha

  • Business Objects and Demand Planning Book

    Has anyone combined the functionality of Business Objects and Demand Planning into a single view?   The requirement is to provide enhanced analytics (near real-time) within DP.  We are on version 5.0.  Ideally, it will a single view (table and graph -similar to standard layout) where both DP and BO are called with the same selection.  I have a method to access the data near real time.  What are the options to acheive this?  Any ideas will be helpful.
    Regards,
    James

    Thanks Dave.  I created a virtual cube in APO to connect BO.  I can retrieve the data fine.  I was wondering if there is a way to integrate BO and the planning book so that I will have one view to see both applications.  For example, I called /zsapapo/sdp94 and get the planning book and BO analytics.  Essentially, I want the BO to replace the standard graphics in the planning book.  So, I would have a table at the top and BO dashboard at the bottom of the planning view.  Any ideas how to achieve this?
    The other question is around using a function module or BAPI to connect a virtual cube to LC to retrieve real time information.  Are you aware of any drawbacks to using a function module or BAPI to retrieve data instead of the DataSource?

  • Demand Planning : Event import

    Hello,
    Is-it possible to import Events through interface into Demand Planning ? In MSD scheme, there are some staging tables for Events, but I found no documentation on how to fill these tables (MSD_ST_EVENTS ...).
    Thanks in advance.

    Hi ct,
    AFAIK there is no official format available to carry data into those tables but no doubt a template or sql loader technique could be developed if the client was willing / needy enough. What kind of Event data are you thinking of loading? The Event forms look impressive when presenting the functionality of the tool but are a bit of a nightmare in terms of data maintenance and management (thus, no doubt, prompting your question). Have you thought of bypassing the event functionality and using a custom measure instead?
    Regards
    Simon.

  • Can i access the Oracle Demand Planning Cubes using the AWM?

    Hi All,
    Is it possible to access the Oracle Demand planning data which is stored as Express server using the Analytic workspace manager?
    Any information regarding this is really appreciated.

    Abdul Hafeez,
    Is ODP using Express Server or Oracle OLAP Analytical workspaces?
    If Express Server is being used by ODP, then you cannot create sql views for OBIEE.
    If Oracle database is being used for ODP data, then it is storing the data in Analytical workspaces. In that case, you can manually create OLAP views using OLAP_TABLE function. To do that, you will first have to know all the required structures inside the Analytical workspaces. Without that knowledge, you will not know what olap structures to "expose" in the OLAP views.
    You can read about OLAP_TABLE function from Oracle 10g documentation http://download.oracle.com/docs/cd/B19306_01/olap.102/b14350/olap_table.htm
    If you are using 9i database for ODP, then read about OLAP_TABLE function from 9i documentation http://download.oracle.com/docs/cd/B10501_01/olap.920/a95295/olap_tab.htm
    - Nasar

  • Customer Forecast Management vs. Collaborative Demand  Planning

    Hello,
    Currently my client is trying to replace 40-50 raw excel format forecast which they receive from multiple customers with SAP APO.
    They use a consolidated format and upload it into another 3rd party tool currently.
    My question is which best suits the purpose in short term as they are very limited on resources. I would also like to know the difference between using Customer forecast management vs. Collaborative demand planning in this context.
    Thank you all,
    Sai.

    You can use the GATP functionality known as Product Allocation for this scenario. This will basically mean that you need to maintain product allocations against each customer in your GATP planning book and every time you create a sales order in R/3, the quantity will be checked against the allocated quantity in APO GATP. If the quantity exceeds the allocated quantity for that given month, then sales order cannot be confirmed.
    You will need to explore this funcionality in APO GATP and this should help your requirement.
    Cheers,
    Srinidhi

Maybe you are looking for

  • EXPLAIN SORT KEY IN G/L MASTER

    Can anyone tell in detail what is the use of sort key in G/L master. When we choose to sort suppose by posting date, what is its impact on a G/L document. I am still not clear on this. Another question what is the field Open Item Managed used for in

  • Itunes 7  downloading probs & authorization probs

    I wish I'd checked this forum before updating! I am getting error -50 on purchased music downloads and since I changed my log in password I keep getting the 'not autorised' message on every track I try to play despite authorising the computer and get

  • Block interactivity but keep left/right page change...?

    Hi all I have an auto play video, and I'm trying to block the user from tapping to play / pause I know it can be done with a pan and zoom overlay, but then this blocks the user from swiping left/right to change page anyone know a way around this? Tim

  • To clarify something

    Once i ge another graphics card, i can put an additional 2 monitors on my computer right? So i could have a total of 4 monitors right? Will 4 monitors change the way my computer works at all? like slow it down? should i get more memory?

  • Help  Correction

    How do I correct spelling in Lightroom 4  watermarks Thank You