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

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

  • Demand Planning Implementation Questionaire to the Business

    Hi All:
    We are about to implement Demand Planning SCM 5.0 for one of our businesses.  As a part of requirements gathering, I am supposed to prepare a questionaire that business would fill in.  Does anyone have any document on this that you would not mind sharing with me?  What sort of questions do I ask?  I am kind of new to DP and any help would be greatly appreciated.
    Thanks
    Ryan

    Hi Nar,
    Few questions for yor intial start up, you can go ahead with the similar questions how they want it after APO -DP.
    1.     Which vertical of business you are belong to? Specify the same.
    Ex: Manufacturing industry u2013 Pharmaceuticals.
    2.     What are the automated tools currently used for the planning purpose?
    3.     What is an objective of going to SAP APO-DP?
    4.     What are the challenges faced with the current tool?
    5.     How long the business users are using the current tools?
    6.     What are the advantages of the current tools?
    7.     Is there any Manual planning method is used for division of business or any business geographical location?
    8.     What are current data taken in to consideration for the demand planning?
    9.     Which are the departments providing an input for the planning now?
    10.     What are the base characteristics used for the current planning? Ex: Product, Location.
    11.     What is a detailed level of data are stored or reported?
    12.     What are the forecast methods used?
    13.      What are the factors considered in the planning? Ex: Seasonal, Climate, economical ect.,
    14.     How the new product introductions are handled now?
    15.     Does the planning carried out on geographical based or product line or division based?
    16.     What is an aquiracy of statistical forecast?
    17.     Is there any promotional planning and life cycle planning are done now?
    18.     What is a frequency of planning? How it is expected to be in future ?
    19.     Does that a calendar weeks or months are followed in the planning or any customized calendars are followed? If customized what is that and Why it is used?
    20.     Is there any regular back up is taken after the planning run? If so how is it carried out?
    21.     Any reporting tool is linked with the Demand Planning?
    22.     How demand planning results are analyzed and how the decisions are made?
    23.     What are the kinds of decisions are made after every planning run?
    24.     Who are all taking the decisions?
    25.     How many locations manufacturing is carried out and how many distribution centers are there?
    Regards
    Jegan

  • Spare parts Demand Planning and Forecasting SCM

    Hi ,
    I am APO DP consultant can any body help me on questions on AS-IS and To-Be analysis Of Spare Parts Demand Planning and forecasting in SAP SCM.
    If You have any Documents or links or nay information on these please give replay.
    Ram

    Dear Ram..
    SPP is purely base on BOD (Bill of Distribution)..
    following are the points u can cover in AS is TOBE..
    1. On what Level (Chs) the Client performing Spare Parts Planning?nd how u want to disagreegate on lowest level ie.Hierarchy Level?
    Ex. from Region..to Branch..to ..Customer..
    2. Have u configured Spare Parts in R/3?
    3. What is the Pattern of Sales History?Seasonal/Trend/Constant  etc?
    4. u can ask questions on Deployment...Inventory?
    5. What is the Lead Time for Procurement?Distribution?Transportation?
    for more details...
    http://help.sap.com/saphelp_scm50/helpdata/en/a3/7ed240caeb752ae10000000a155106/frameset.htm
    Rajesh Patil
    SPINNOVATION

  • 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

  • How to create a macro for a planning type in MC8b transaction

    Hi,
    I am presently working for a product allocation demand, which have a information structiure with characteristic and key field.
    the characteristic are production allocation quantity, incoming order quantity, and open order quantity.
    i have created a planning type in which the data updation takes from the excel file to the planning type in mc95.
    but i need to create a macro for this planning type .
    can any body give the details information how to create a Macro for a planning type.
    Thanks and regards
    GopalKrishna

    Dear Gopal
    May be the link would be helpful to you.
    [Planning Types and Macros|http://help.sap.com/saphelp_46c/helpdata/en/a5/631cc443a211d189410000e829fbbd/frameset.htm]
    Drill down the left tab once you opened the link, for more information.
    Thanks
    G. Lakshmipathi

  • What is best practice to do APO Demand planning

    Hi,
    My client wants to implement demand planning.
    Client has come up with one scenario like a New Customer is created in ECC, and if I use BI and then APO flow  ( ECC -> BI -> APO-BI) for Demand planning, user will have to wait for another day. (AS BI is always having one day delay).
    For this scenarios user is insisting on ECC and APO-DP interface.
    Will anybody suggest what should be the best practice for Demand planning.
    ECC -> Standalone BI -> Planning area (Planning is done in APO) -> Stand alone BI
    Or ECC -> APO-DP (Planning is done in APO) -> Standalone BI system
    I hope I am able to explain my scenario.
    Regards,
    ST

    Hi Sujoy,
    Thanks for reply.
    (1) I have to get Sales Order data from ECC into BI standalone system Cube.
    (2) Then from this cube same data is sent to SCM APO - BI Cube.
    (3) Planning will be done in SCM APO.
    (4) Planned data is again sent to BI standalone system, Using datamart on Planned area.
    (5) In BI we will have reporting on cube, which has ECC sales order data and APO Planned data.
    But in this case, there is always delay between data loads (firstly ECC -> BI, then BI -> APO, then APO -> BI).
    In this case, if a new customer is created, Client wants to see demand planning in  latest data.
    How do we do APO DP generally?
    Do we follow the route from BI, or directly between ECC and APO..
    Hope I am able to explain the scenario..

  • How to configure for the give senario where we from APO demand planning, we provide baseline forecast into TPM

    Hello Guru's,
    Request for information on smart documentation on the integration between Trade Promotion Management and SCM-Demand Planning from an architecture perspective how to configure for the give senario where we from APO demand planning, we provide baseline forecast into TPM and from TPM promotions values can be considered in to APO demand planning: can anybody give me some insight on it.
    Thanks in advance.
    Kumar

    Hi Praveen
    There are several ways you can connect a DP system to a TPM. How are your interfaces and systems setup?
    Option1:
    Extract the baseline from APO to a BW cube, extract the data out of BW, may be using infospokes/open hub and pass it on to TPM.
    2. Have a custom program written in APO-DP to extract the selected keyfigure data at the aggregation level into an interface or a .txt file into APO directory and use some data transfer service such as EDI to take this data and send to TPM.
    In my experience it is simple to define an integration process. The much larger and complicated aspects are the date adjustments and the aggregation levels.
    Date adjustments:
    Understand the basis of the data in APO and TPM. APO is usually at the requested delivery date or material availability date ( when the customer like a store wants the product). However TPMs are usually at the consumption date ( when an end customer like you and me but from store shelf). Depending on the product and business style this can mean several days difference. Let's say it is 25 days on average, you need to add 25 days to APO base line date to get the TPM consumption date.
    Aggregation level:
    This can be product or customer. If the planning in DP is at product sku level and the TPM is at packs or brand level, you need to aggregate the data up before loading to TPM. The same with customer.
    To me the most complex part of the integration is to understand and transform the data in a meaningful way and a strategy to sustain this integration by keeping both DP and TPM in sync in terms of master data. Also important to have a process for identifying exceptions and failures. you send baseline from DP to TPM and if it fails, how do you know? how do you trouble shoot?
    Hope these help.

  • Looking for a book on APO - Demand Planning Configuration

    Could anyone please recommend a book I could purchase that specifically teaches APO Demand Planning Configuration?  Any book or manuals that you could point me to would be greatly appreciated.  Thanks!

    The book SAP SCM by Daniel C Wood is reasonable. Not all the detail, but touches on DP, SNP and PPDS and if you use this in conjunction with the online help for the latest release.
    SCM 7.0 help
    http://help.sap.com/saphelp_scm70/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm
    Also another tip - search in google advanced for any topic within Website
    http://help.sap.com/saphelp_scm70*
    (asterix)
    and then when you get the detail.
    eg
    http://help.sap.com/saphelp_scm70/helpdata/en/ed/310538c7cb583ae10000009b38f8cf/content.htm
    which ends with the word
    CONTENT
    change the word content to FRAMESET
    eg
    http://help.sap.com/saphelp_scm70/helpdata/en/ed/310538c7cb583ae10000009b38f8cf/frameset.htm
    and you get the sorrounding help for this specific topic.

  • 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

  • Quick sizing for Demand Planning system

    Hi All
    Our team is required to do quick sizing for a SCM 5.0 Demand Planning system with Livecache. The DEV and QAS is already available but not being used at all but now we need the quick sizing for the production box. I have never done any quick sizing, detailed help is appreciated. I have gone through the service.sap.com/quicksizing for demand planning it shows 3 input tables only for Throughput sizing - Time Series, DP Run, DP Users. The APO functional guys entered some numbers but not sure what to do next as the Calculate Result shows information Iam not able to understand.
    What I need from sizing is CPU processor, disk size, memory size, etc in clear detail. Please suggest, Thanks in advance.
    Regards
    Ali

    Hello Ali,
    First of all I am not a BASIS consultant and hence it would not be prudent for me to comment on hardware configuration reuqired in your case.
    Secondly I do not understand what you mean by Quicksizer has been shut down. It is available online at <a href="http://service.sap.com/quicksizer">Quicksizer Tool</a> in Service Marketplace.
    There is good amount of documentation available in the website giving details on the basis of computation of different parameters. Again SCM Hardware Configuration is not just dependent on the number of users but the functional requirements as well.
    Thirdly - I cannot explain how SAPS concept is related to SCM Quicksizing. Per my understanding the SAPS concept is an hardware-independent benchmark of throughput which is an indicator of the processing capabilities required at peak loads. SAPS will determines the number and processor speed on your Application Server depending on the processor capabilities. Most hardware vendors provide datasheets with SAPS capabilities.
    Suggest you go through the document "Background: Sizing mySAP Business Suite" under Sizing Guidelines >> General Sizing Procedures.
    Thanks,
    somnath

  • Demand Planning and eSOA

    I am an SCM consultant, with particular interest in Demand Planning.
    I am experienced with SAP APO, but am now interested in how the emerging eSOA environment can help with Demand Planning solutions.
    Can anyone share thoughts/experiences of how web services in general and SAP eSOA in particular can provide 'added value' to Demand Planning?
    Thanks,
    Bob Austin, Atos Origin

    Generally speaking, the demand plan or forecast is ultimately the "image" of the demand side that the supply side wishes to "mirror" or fulfill against. This view is a consolidation of many views from several players on the demand side -- whose input is provided to a much smaller group of planner-users of the Demand Planning tool.
    What eSOA does is to essentially extend the Demand Planning process to this larger audience via a number of means:
    The new Duet/Excel capability is one example of this extensibility. Think of all the spreadsheets that are being used to do <i>something</i> associated with the demand management process that you can now start to inject some process discipline and control into.
    Another example is the ability to integrate with tools like 3rd party sales force automation or channel partners across mobile devices, etc. Because eSOA decouples the interaction layer from the data itself, I now have greater flexibility to extend and collaborate across an increasingly fragmented "demand chain" and different types of users and devices. The opportunity to add value requires some analysis and creativity -- but we are in the age of user-driven innovation and eSOA is designed for this "self service" paradigm.
    Hope this helps.

  • Link to Manage Demand Planning

    Hi
    Can anyone pls give me the link to SAP's doc. "Manage Demand Planning in SCM (5.0)" ? Not the Building blocks one. This doc depicts all the Business Process steps.
    thanks
    venkat

    Hi Venkat,
    Service.sap.com is unfortunately not always organized with logical menu paths.  Here is a  link, though, that might help you:
    http://Service.sap.com/solutionmanagerbp
    and then clik on the "Best practices for solution operations"  link.
    You also might want to try
    http://Service.sap.com/quicklinks
    which has plenty of good things to look at.
    DB49

  • History (shipment) data is missing in Demand Planning

    Hello Gurus,
    This is an unusual happened to our system recently. We have missed the history data in demand planning. But after an overnight, the histories are now available in the system. With this, can someone tell me why we do not see DP history data consistently before i.e. what causes the info cube load jobs not to run.
    Thank you,
    Sev

    Hello,
    Thank you for your answers guys, really appreciated.
    On the planning book we've been using are NO macros that write on History key kigure to zero it. But when I checked the DP time series for LCA version 000 and got the message
    "NUMBER OF SUPERFLUOUS TIME SERIES 9"
    Can someone encounter this before? thank you.
    Best regards,
    Sev

  • Demand Planning Job taking a very long time

    Hi,
    We run our demand planning job once every month. The job is taking very very long time (around 60,000 secss) to complete. When I check the job log system passes some steps and just waits in some specific steps with the message
    Step 059 started (program /SAPAPO/TS_BATCH_RUN, variant ZADAU_OFF1, user ID APP-BATCH)
    SQL: 07.01.2008 09:54:28 APP-BATCH
    TRUNCATE TABLE "/BI0/0600000002"
    SQL-END: 07.01.2008 09:54:28 00:00:00
    SQL: 07.01.2008 09:54:30 APP-BATCH
    TRUNCATE TABLE "/BI0/0600000002"
    SQL-END: 07.01.2008 09:54:30 00:00:00
    Itwaits for aorung 2 hours with thie same repeated message before it goes to the next step. Not sure what is the issue. Our fiunctional guys have tried changing the macros, etc to optimize performance. But still same issue. Any quick help would be greatly appreciated.
    Thanks in advance.
    Regards,
    PK

    Hi SB,
    No we are not managing infocube keyfigures in the planning book. Appreciate your time.
    Regards,

Maybe you are looking for