Control of Macros in APO DP

I am using APO DP V5.
I have two questions regarding the use of macros in DP:
1. Is it possible to call a macro from within a macro?
2. I believe it's possible to set up a 'collective macro', so that a group of macros can be executed together. But how do I set up a 'collective  macro' - I cannot see this mentioned in the help documentation.
Thanks,
Bob Austin

1. i suppose what you want is calling a macro if some conditions inside the main macro are satisfied..
some ideas which might give the same effect:-
instead of calling a macro from a macro can you not just add the macro you want to call as a step inside the first macro? ( unless you want a different macro level settings)
alternately you can make the first macro cause a value in a temporary row and use the value in the row to trigger the action of the second row using a condition statement in it
2. am only rephrasing what Ian said by saying the following about collective macros:
You define a macro as a collective macro when you create it, by setting the Macro type field to Collective macro. Add the macros already created within the steps. If you have already assigned other elements (steps, conditions, and so on) to it, you can no longer define the macro as a collective macro.

Similar Messages

  • Need to control demand flow from APO system in the R/3

    HI Gurus,
    Kindly help me control the demand flow from APO system in the R/3.
    We want to change the timeline where demands coming from APO are given back to APW. The idea is to have a control table in APW where we can set a number of days or weeks by sales org / customer number. Within this number of days / weeks, no demand should be created / updated from APO system.
    Kindly advise the possible solutions to control Demand in R/3 flowing from APO.
    Thanks in advance.
    Naveen.

    Check user exit CIFPIR01 (inbound from APO to SAP).
    Rgrds,

  • User exit macros in APO DP macrobuilder

    I am using APO DP V5.
    Can anyone give me an example of how 'user exit' macros are built - I cannot find any good documentation on this point.
    Thanks,
    Bob Austin, Atos Origin

    Mark,
    Thanks for your reply.
    In the APO DP macrobuilder, I specifically want to have a macro which runs some bespoke code.
    I'm not clear how to do this.
    Am I missing something in Note 380352?
    Regards,
    Bob.

  • Creating Macros in APO DP

    Hi Gurus,
             I have some questions
    1,Do Macros effect performance issues in DP?
    2,DO you guys have document on how we need to create Macros and Alerts?
    3,What are the things we needed for dollerization and how it works?
    I will be very thankful to you guys if you please let me this answers
    Thanks a Lot
    Regards,
    Raja Medabalime

    Hi Raja
    <b>Do Macros effect performance issues in DP?</b>
    Yes. If you use macros wrongly, they can greatly affect the performance of your Planning Book, Mass Processing, and uploads using BAPI_PBSVARPS_CHANGEKEYFIGVAL
    <b>DO you guys have document on how we need to create Macros and Alerts?</b>
    In DP, providing alerts functionality means using a combination of macros which generate the alerts and then viewing the alerts in the alert monitor.
    Please check this link for an example of a macro that generates an alert:
    http://help.sap.com/saphelp_scm50/helpdata/en/47/7a58398d594e1de10000000a11402f/frameset.htm
    And also this link on how to monitor alerts:
    http://help.sap.com/saphelp_scm50/helpdata/en/44/cf893744ce9c71e10000009b38f842/frameset.htm
    <b>What are the things we needed for dollerization and how it works?</b>
    I am not aware of "dollerization". Do you mean "dollarization"? DP provides unit conversions in the interactive planning area. You will have to have the unit conversion master data available in the system. In interactive planning, you can use context menu to switch between two units of measure.
    Hope this helps. Please post again if you have questions.

  • Function ROUND() in Macros with APO 4.0

    Hi,
    We are facing problems with using the Round Function in SNP Macros.
    As per SAP Documentation, ROUND( X ; Y ) rounds X to Y decimal places. The arguments can be numbers that you enter in Operator/function dialog boxes, as well as cell(s), row(s) or column(s) from the planning table or the auxiliary table.
    - Round Function is taking the constants as Argument X and giving the required output.
    - However, it doesnot give any results when used with Auxillary KF/KF given as Argument X. During the macro design, no error is provided. In the Planning Book on execution, It gives a dump with message - Unable to interpret "KF Name" as a number.
    In case anyone has worked with the function, inputs would be greatly appreciated and suitable awarded
    Thanks and Regards,
    regards,
    Sudhir

    In the first place, can you explain why you need the function through a macro when it can be done in dataview configuration. IN the transaction /SAPAPO/SDP8B, you can always enter the data view and click on edit and then right click on the auxilary KF to setup the decimal precision required. I am not sure if you are trying to achieve the same functionality through a macro.

  • Copy APO Macro ACROSS Landscape..

    Hi,
    I have a typical scenario, where in I need to write a Macro in APO-DP which is similar to thae one I did in one of the previous APO-DP projects.The Names of the key figures etc are same.. The need for modification would be very little. Subject to my previous customer's clearance, is it possible to port it from the previous landscape to the development server of the New Landscape at New Customer's site? In both places the version is SCM 5.0.
    ps: The text version doesn't have the Headers / Symbols and the HTML version of the Maco , which I am able to save, could not be pasted as active version in the workbench of different landscape.
    Pl let me know , whether there is any mechanism... Rgds.. TRR

    ask you basis guys to set a transport link from system1 to system 2
    create a new planning area and under it copy a planning book with the macros
    create a transport object for the planning book with the planning area and move it into system 2
    once the transport reaches, just "import" the macros from the new planning book to the book you want to
    close the link between system1 and 2
    I assume your old customer knows you are porting his macros and hence the basis guys will open the connection
    Edited by: Harish AN on Jul 25, 2008 1:13 PM

  • Step by step to create planning book & Macro's behind it   I am a ABAPer

    Recently I have been shifted  from R/3 to Apo ; Want to know the creation of planing book & the creation of Macro workbench playing behind planning book .
    To create planning book.
    To create Macro  & how to relate a planning book with the macro.
    Step by step process from simple to complex .
    Different process to programe a macro .
    I can understant ( rather I know ) how to relate  a badi (Enhancement spot ) to a macro & but please guide me how to define a row of a planing book : such as how to define the row 'Avg Weekly Forcast' of planing book in a single varriable as  'ZAVGWKFST' to capture it at badi in the  parameter I_T_LINES[]
    (component - FELDH).
    To create  a custom Button in a planning book & how to program.
    I have many broken links while I try to know it by myself.

    Hi amitabha,
    Please find below the detailed steps to define a planning book:
    A planning book defines the content and the layout of the interactive planning screen. Planning books are used in Demand Planning and Supply Network Planning. They allow you to design the screen to suit individual planning tasks. A planning book is based on a planning area. You can create several user-specific data views in a planning book. In this step, you create a planning book for Demand Planning.
    Procedure
    1.     Access the activity using one of the following navigation options:
    SAP SCM menu     Advanced Planning and Optimization  Demand Planning  Environment  Current settings  Define Planning Book
    Transaction code     /SAPAPO/SDP8B
    2.     Enter the planning book DP_001 and choose Create.
    The Planning Book Wizard dialog box is displayed.
    3.     Make the following entries:
    Field name     User action and values
    Planning Book     Enter the planning book DP_001
    Planning book text     Demand Planning
    Planning area     Select the planning area DP_001 and choose Enter
    Manual Proportion Maintenance     X
    Promotion     X
    Univariate forecast     X
    4.     Choose Continue.
    5.     Assign the following key figures from planning area to the planning book by using drag and drop or choose Add all new Key Figures to add all key figures:
    Description     Value     Comment
    History     9AVHISTORY     Relevant for Scenario MTS
    Forecast     9ADFCST     Relevant for Scenario MTS and VMI
    Promotion 1     9APROM1     Relevant for Scenario MTS
    Forecast (addition.)     9AAFCST     Relevant for Scenario MTS
    Planned Price     9APRICEFC     Relevant for Scenario MTS
    Sales Forecast     9AREVFC     Relevant for Scenario MTS
    Production (Planned)     9APPROD     Relevant for Scenario MTS
    Manual Correction     9AMANUP     Relevant for Scenario MTS
    Additional Field 1     9AADDKF1     Relevant for Scenario VMI
    Additional Field 2     9AADDKF2     Relevant for Scenario VMI
    Additional Field 3     9AADDKF3     Relevant for Scenario MTS
    Additional Field 4     9AADDKF4     Relevant for Scenario MTS
    Additional Field 5     9AADDKF5     Relevant for Scenario MTS
    The Proportional factor APODPDANT key figure is automatically added to your planning area when you create the planning area. You do not have to add this key figure yourself and assign it to the planning book in this step. When you create the respective view, this key figure will be automatically there for your selection.
    6.     Choose Continue.
    7.     Assign the following characteristics from the planning area to the planning book by using drag and drop:
    Description     Value
    APO Location     9ALOCNO
    APO Product     9AMATNR
    Brand     9ABRAND
    Sales Organization     9AVKORG
    APO Destination Loc.     9ALOCTO
         The characteristic 9AVERSION (APO Planning Version) will be added to the planning book automatically after you complete this step.
    9.     Choose Continue to go to the Data View tab (the Key Fig. Attrib tab is available in the change mode only after you have completed the planning book).
    10.     On the Data view tab; enter the following values:
    Field name     User action (Scenario MTS)     User action (Scenario VMI)
    Data view     DP_Standard     VMI_Standard
    Data view description     Demand Planning     Demand Planning
    TB profile ID (future)     DP_4Weeks_5Month     DP_4Weeks_5Month
    TB profile ID (history)     DP_12Month     DP_12Month
    Status     3 (Changeable)     3 (Changeable)
    11.     Choose Enter.
    12.     Select Visible and select the date as of which you wish the past planning horizon to be visible when this data view is opened.
    13.     Choose Continue, and assign the following key figures from the planning book to the data view for either the MTS or the VMI scenario, keeping the same order as in the table:
    Make-to-Stock
    Key Figures      Description
    9AVHISTORY     History
    9ADFCST     Forecast
    9APROM1     Promotion 1
    9AAFCST     Forecast (additional)
    9APRICEFC     Planned Price
    9AREVFC     Sales Forecast
    9APPROD     Production (Planned)
    9AMANUP     Manual Correction
    9AADDKF4     Additional Field 4
    Vendor-Managed Inventory
    Key Figures      Description
    9AADDKF1     Additional Field 1
    9AADDKF2     Additional Field 2
    9ADFCST     Forecast
    14.     Choose Complete.
    15.     When the Planning Wizard prompt appears, choose Yes to complete the planning book and data view.
    16.     On the initial screen, change the planning book you have just created by choosing Edit.
    17.     If you are installing the VMI scenario, continue with step 21 (entering a free text for the key figures).
    If you are installing the Make-to-Stock scenario, repeat steps 9 to 12 to create the following views:
    Views     View Description     Key Figures
    DP_CLP     COLLABORATIVE DEMAND PLANNING     
              History
              Forecast
              Forecast (additional)
    DP_RELEASE     DEMAND PLANNING - RELEASE VIEW     
              Manual Correction
    18.     On the Data View tab page, specify the following TB profile IDs for the DP_RELEASE view,
    Field name     User action and values
    TB profile ID (future)     DP_12Month
    TB profile ID (history)     blank
    19.     Create the remaining views for the Make-to-Stock scenario according to the steps 9-12:
    Views     View Description     Key Figures
    DP_LOGISTICS     DEMAND PLANNING - LOGISTICS VIEW     
              Forecast
              Production (Planned)
    DP_SALES     DEMAND PLANNING - SALES VIEW     
              History
              Forecast
              Forecast (addition.)
              Planned Price
              Sales Forecast
              Manual Correction
    DP_PROP     DEMAND PLANNING - PROPORTIONAL FACTOR VIEW     Proportional Factor
    To modify the proportional factors manually, you need to create a separate data view containing only the APODPDANT key figure to control the authorization to change these factors. This key figure is a default value in the view and is thus invisible, so you do not need to assign any key figure from the right list in this view.
    20.     Choose Complete.
    21.     Go to the Key fig. attributes tab, select the FreeText radio button and make the following entries for each key figure. Choose Save Setting after entering the data for each key figure (depending on your scenario).
    Key Figures     Free Text     Relevant for scenario
    9AVHISTORY     Historical Data     MTS
    9ADFCST     Statistical Forecast     MTS and VMI
    9APROM1     Promotion     MTS
    9AAFCST     Sales Forecast     MTS
    9APRICEFC     Planning Price     MTS
    9AREVFC     Sales Revenue Forecast     MTS
    9APPROD     Logistics Forecast     MTS
    9AMANUP     Final Forecast     MTS
    9AADDKF1     VMI Historical Data     VMI
    9AADDKF2     VMI Customer Forecast     VMI
    9AADDKF3     u2013     MTS
    9AADDKF4     Forecast Deviation     MTS
    9AADDKF5     Customer Forecast     MTS
    22.     Choose Complete and exit the planning book maintenance.
    Steps to create macros in macro wrokbench:
    3.7     Creating Macros (SAP APO)
    Use
    You can use advanced macros to perform complex calculations quickly and easily. Macros are executed either directly by the user or automatically at a predefined point in time. When defining advanced macros, you work in a special desktop environment known as the MacroBuilder.
    In total, four macros are created in the Demand Planning building block. They are all defined for the planning book DP_001. You create three macros for forecast calculation according to the following instruction. The chapter Creating the Macro for Consensus-Based Planning describes how to create the alert macro for consensus-based planning.
    In the DP_STANDARD view of the planning book DP_001, you create two macros:
    The first macro is used for the standard and consensus-based planning. The system calculates the arithmetic average of Statistical Forecast, Sales Forecast and Logistics Forecast, the result of average forecast data plus Promotion Data is inserted in the Final Forecast cell. It enables the user to consider the forecast input and the promotion plan from different departments within the company. The planner can make manual adjustments and enter the final agreed forecast into the Final Forecast cell. All of this information can be shown in the planning book screen.
    The second macro multiplies the Final forecast data with the Planned price to calculate the sales volume. The third macro is an alert macro used for highlighting exceptional situations in consensus-based planning.
    In the DP_SALES view of the planning book DP_001, you create the fourth macro. This macro multiplies the Final forecast data with the Planned price to calculate the sales volume, which is the same as the one in the standard view.
    3.7.1     Creating Macros for the Standard View
    1.     Access the activity using one of the following navigation options:
    SAP SCM menu     Advanced Planning and Optimization  Demand Planning à Environment à Current settings à Define Planning Book
    Transaction code     /SAPAPO/SDP8B
    2.     Enter the name of the planning book: DP_001
    3.     Select Data view DP_standard.
    4.     Choose Edit.
    5.     Choose    MacroBuilder  MacroBuilder   Data view.
    3.7.1.1     Creating the Macro for Consensus-Based Planning
    1.     Right-click the macro node below the planning table and choose Create New Macro  Add macro. In the APO Macro Builder dialog box, enter a descriptive text for the macro, for example, Forecast + Promotion  Final Forecast. Choose Continue.
    2.     Right-click the macro and choose Add macro Element  Step.
    In the APO Macro Builder dialog box, in the descriptive text section, enter a name for the macro step, for example, First Step and choose Continue.
    3.     Right-click the macro step and choose Add Element (Result Level) à Add results row.
    In the APO Macro Builder dialog box, choose Final Forecast in the Row field. Choose Adopt.
    4.     Right-click the result row you have just created and choose
    Add Element (Argument Level) à Add Operator/Function.
    In the APO Macro Builder dialog box, choose u201C(u201C.
    5.     Right-click the operator/function you have just created and choose
    Add Element (Argument Level) à Planning Table Element à Append argument row. In the APO Macro Builder dialog box, choose Statistical Forecast in the Row field.
    6.     Right-click the argument row you have just created and choose
    Add Element (Argument Level) à Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C+u201D.
    7.     Right-click the operator/function you have just created and choose
    Add Element (Argument Level )  Planning Table Element  Append argument row. In the APO Macro Builder dialog box, choose Sales Forecast in the Row field.
    8.     Right-click the argument row you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C+u201D.
    9.     Right-click the operator/function you have just created and choose
    Add Element (Argument Level )  Planning Table Element  Append argument row. In the APO Macro Builder dialog box choose Logistics Forecast in the Row field.
    10.     Right-click the argument row you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C)u201D.
    11.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C/u201D.
    12.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, enter u201C(u201D.
    13.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201CSIGN()u201D and change it to u201CSIGN(u201C.
    14.     Right-click the operator/function you have just created and choose
    Add Element (Argument Level )  Planning Table Element  Append argument row. In the APO Macro Builder dialog box, choose Statistical Forecast in the Row field.
    15.     Right-click the argument row you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C)u201D.
    16.     Right-click the operator/function you have just created and choose
    Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C+u201D.
    17.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201CSIGN()u201D and change it to u201CSIGN(u201C.
    18.     Right-click the operator/function you have just created and choose Add Element (Argument Level )  Planning Table Element  Append argument row.
    In the APO Macro Builder dialog box, choose Sales Forecast in the Row field.
    19.     Right-click the argument row you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C)u201D.
    20.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C+u201D.
    21.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box choose the character u201CSIGN()u201D and change to u201CSIGN(u201C.
    22.     Right-click the operator/function you have just created and choose Append argument row. In the APO Macro Builder dialog box, choose Logistics Forecast in the Row field.
    23.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C)u201D.
    24.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, choose u201C)u201D.
    25.     Right-click the operator/function you have just created and choose
    Add Element (Argument Element)  Append Operator/Function.
    In the APO Macro Builder dialog box, enter u201C+u201D.
    26.     Right-click the operator/function you have just created and choose
    Append argument row.
    In the APO Macro Builder dialog box, choose Promotion in the Row field.
    27.     Select the macro and choose   Check to check it. Generate the macro by choosing   Generate.
    28.     Move the macro by using drag and drop to the Events section and to the Default folder in the upper right screen area.
    29.     If you want to continue with the configuration, proceed with the next activity to create the Sales Volume Macro (see below).
    If you want to discontinue the configuration at this point, we recommend that you save your settings. To do this, go back to the Planning book Design screen and choose Save. Choose All Functional Areas when the confirmation prompt appears.
    Hope this should help you.
    Regards,
    Umesh

  • Dangerous APO and BI Transaction codes

    Hi experts,
    I have question Dangerous APO and  Transaction codes
    Background :
    We are in the process of implementing SOX controls for the new APO and BI Systems
    Questions :
    What are the Dangerous APO Transaction codes which should not be assigned to any one in Production system
    What are the Dangerous BI Transaction codes which should not be assigned to any one in Production system
    Additional Notes
    System which we are having
    APO
    Version  : SCM 5.0
    BI
    Version : BI 7.0

    Praveen,
    I am a puzzled that you would ask such a question.
    Authorizations ALWAYS derive from requirements.  In this case, Sarbanes-Oxley speaks of control mechanisms.  Your SOX auditors should tell you what they consider to be critical, and they should advise the client company as to which transactions should be controlled, and how best to control them.
    There is no transaction that should be disallowed to everyone.  That would eventually make the system unusable.  The question is, "how many people should have these critical transactions, and how should the execution of these transactions be monitored and controlled".
    Generally, the APO portion of SCM should require less SOX controls than ERP, since APO is mostly a planning system, and not an execution system (there are some exceptions here though).  Likewise, the BI portion of SCM usually contains no financial reports, and therefore should have relaxed controls over, say, the main BI instance used by your company.  
    Don't make the mistake of strangling yourself to satisfy your perception of what you think an auditor may require.  Make them tell you the minimum requirements for compliance.  Anything beyond minimum compliance with SOX is costly.  This question is then a matter of your company's policies.  I usually vote for 'no additional restrictions' (but my poor vote doesn't usually count for much).
    Rgds,
    DB49

  • Macro syntax for non-negativity

    Hi,
    Could some one copy past the syntax for non-negativity like this
    If KF1 < 0, then KF1 = 0 else KF1
    This condition needs to be applied on top of existing macro for KF1 that does some arithmatic whose result could be < 0.
    would appreciate if you copy paste the steps.. that you may already have in any of your macro books.
    I also take this opportunity to request the macro experts to compile a wiki document on macro syntax.. A piecemeal approach would also do without relating to WHERE such a macro could be used. I find this learning the macro syntax by trial and error a rather unproductive and painful experience.
    If some of you could volunteer lets build a fantastic reference document on the macros where everyone can contribute and come with with something really useful.
    The final list can then be classified into artithmatical, conditional, control, abap macros. A brief description alongside each macro and some expert comments on possible application can be later expanded. newer and alternate ways of realzing the same macro creatively and in lesser steps could be regularly appended. I could moderate if such a thing is correct and agreeable
    Regards,
    Loknath

    I cant have more than 10 questions open. so closing this though there arent any responses

  • ATP check for delivery in ECC & Sales order ATP check in APO

    Hi All,
    Can we do an ATP check for delivery in ECC , but for the same set of Materials- Plant combination , the ATP check when a SO is created should happen in APO .
    We do not want to remove the Business event 'B'  which is meant for delivery in  APO . For some materials we need APO ATP check to happen for delivery   & for some it should be in ECC  & for SO  the ATP check should happen in APO .
    Even if we do not have check instructions pertaining to Business event 'B' & a particular check mode (for the materials where the ATP check for delivery should happen in ECC & SO check to happen in APO)  , when we are doing an ATP check for delivery , it is still pointing to APO ATP check rather than ECC check .
    Any pointers for this is highly appreciated.
    Regards
    Surendra

    Hi Surendra,
    For SO, business event is A and for delivery it's B. When integrated with ECC, the check rule in ECC points as biz event in APO.
    You can control ATP check by customized settings for check rule in ECC.
    Also, by setting requirement class and requirement type in ECC, you control check mode in APO. So, even if you dont define for check mode in APO, the system might refer from ECC for the ATP check settings. Look into your ECC customization for how requirement class is derived and settings for requirement type. (based on MRP type, strategy grp and Item cat).
    I'm not sure how you can control ATP to happen for some sales orders/deleveries in ECC and for some in APO, since check mode is mentioned in material master.
    However, there are ATP BADIs (business add-ins) available in both ECC and APO, whch can serve your purpose.
    Regards,
    Bipin

  • Execution of Macro in Background job

    We have created a macro in APO DP that uses 4 characteristics and a key figure. As part of the macro we are executing a Z-function that we have created. The problem occurs when executing the macro in a background job. When the background job is executed the macro processes correctly (performs the correct calculations) for the first CVC that is processes, but it is not able to process the rest of the CVCs.
    <b>ERROR: "There are no plannable characteristic combinations",</b>
    The function copies data from the CVC that is being processed (source CVC) to another CVC (target CVC). The values for the target CVC to which the data has to be copied for a particular key figure are determined from the paramaters that are given to the function in the macro.
    The steps followed in the function are the following:
    1- Determine the relation between source and target CVC, ie, from the source CVC that is being processes in the macro, the function determines the target CVC to which the data has to be copied.
    2- Call BAPI "BAPI_PBSRVAPS_GETDETAIL2" to retrieve the valuesthat are in the Planning Book for the source CVC.
    3- Perform the addition of data (value retrieved from the source CVC is added to the target CVC).
    4- Write value to the target CVC using BAPI "BAPI_PBSRVAPS_CHANGEKEYFIGVAL2".
    When using the BAPIs the aggregation level used is the same aggregation as the one specified in the Background job used for the execution of the macro.
    This macro is executed in a background job, and the copy/calculation is performed correctly for the first CVC (first CVC contained in the data selection used in the background job) processed, but then it does not do anything else for the rest of CVC's. The error message given by the log of the background job is <b>"There are no plannable characteristic combinations",</b> when in fact, the characteristic combinations do exist in the Planning Object Structure.

    Hi Ian
    There are not any other macros in the planning book.
    In addition, if we execute the macro in interactive mode we have another error at the end of the execution (after doing all the combinations):
    <b>Invalid data status</b>.
    and we don't know why.
    Regards

  • Steps to create user exit Macro

    Hello,
    Can any share the step by Step procedure to create user exit macro for APO DP planning book.
    Regards,
    Manish

    Hi Manish,
    Please see OSS note 418801.
    Regards,
    Alexander

  • Is there a way to set up a form field in pages?

    I would like to add a form field to document similar to Microsoft Word, (the little gray box that you put the cursor in and add text later).  I am templating a medical report and would typically use form field boxes, (in MS WOrd), for the areas where I will dictate text into at the time the reports are dictated.
    Any assistance appreciated.
    Thanks,
    Dr. S.

    I think this is an unfortunate miscommunication of the term ”form," and I believe it has prematurely obstructed a proper answer to your problem.
    Pages can place and define text (or other media) in a template as a placeholder block. Unlike MS Word, it does not incorporate form controls or macros to achieve this functionality.
    You would position these placeholder blocks where they are needed within your document template. When you create a new document from this template, your boilerplate would have these embedded placeholder blocks, with their inherent instructions for content completion.
    Try the following in your Pages > Help:

  • Determination of First Date in Sales Order

    Hello SAP Friends, 
    Below is the issue we realised during the testing. The issue is with First date in the Sales Order which is not updated as per Unloading Point Calendar .
    As per details I received, it should refer Unloading Point Calendar for ShiptoParty and populate the next working day as First date into Sales Order.
    How is First Date determined in the sales order?  Is there any config settings which is based on Route to do this? Or Is it controlled purely based on settings done in Tcode: VOV8, Leadtime days? I do not think VOV8 settings is controlling that in our APO system.
    I have checked MAD, Pick/Pack, GI date all are populated correctly, But First Date did not follow the logic Unloading Point Calendar of ShiptoParty.
    Please let know your inputs in this regard.
    Thank you
    Satish Waghmare

    Satish,
    I unfortunately don't have a solution for you.  However, here are a few observations, and a question.
    My experience is that 'First Date' in R/3 is not determined.  In every sales order I have ever seen, First Date is proposed (matches the requested delivery date in the Sales order header) by the system, but can be overridden by any changes that the user may elect to make.
    Generally, then, after First Date is entered, the R/3 system then may be configured to determine certain master data:  Shipping Point, Unloading Point, Route, Route Schedule.  From this master data, if you are performing ATP in R/3, the system will then also calculate various dates (if configured) for the confirmed schedule proposal:  Normally these calculated dates are Delivery Date, Goods Issue Date, Loading Date, Material Availability date, Transportation Planning Date.  If you have configured Route Schedules in R/3, other dates may be determined.
    If you are performing ATP in APO, then any such scheduling must be performed in APO.  Relevant Master data that was determined in R/3 is carried across to APO during the ATP check and is then used to calculate appropriate durations.  This does not happen automatically, you have to configure the scheduling technique you wish to use in APO.
    So, my first question:  Are you performing ATP in APO?  If not, then you should probably close this post, and re-enter in one of the SD forums, since it is an SD issue.  If you are performing ATP in APO, then what scheduling technique are you using?
    Best regards,
    DB49

  • Moan about Reports ability to output to Excel

    Hi there
    This is more of a general moan on this topic, but am I the only person who thinks that Oracle Reports' ability to output to excel should be WAY better than it is at the moment?
    I've just looked at the 9i demo, showing how to get report output into excel. It was horrific - grubbing round in raw html code and setting up an Excel template with dummy data doesn't make Reports the slick reporting tool that we'd all like.
    Guys @ Oracle - have a look at Cognos Impromptu - I'm definitely no fan of Cognos, as I prefer to be able to define exactly what I want in SQL. However, one thing they have got right is the facility to save report output into formatted Excel - Oracle Reports should have this too!!
    At the moment, if I'm asked to produce a report in Excel format, I have to either use PL/SQL to generate a CSV file with the results I want, or Oracle Reports to produce a similar CSV file. I then have to open the CSV file in Excel and format it, change column widths etc, so that it looks presentable. If it's a regular-running report, I have to manually intervene every time the report is produced. Producing a similar report in Cognos (for all its faults) would require no manual intervention once it's set up, and the whole process can be controlled with macro language and the Cognos Scheduler.
    So please, improve this feature of Reports!
    Andrew Woodward
    UK

    Hello again
    All I'd like to be able to do is to write an Oracle Report and have the figures from the report delivered in an Excel spreadsheet. (A number of report users here specify that they want their reports delivered in this way.)
    Oracle Reports (I'm on version 6i) allows me to generate a .csv file which will open in Excel, but there's no formatting present. My point was simply that I have to manually intervene to produce a .xls which is formatted properly. In Cognos Impromptu, after the report has been run, you just select SaveAs->(input filename) and select 'Excel with Format' for SaveAs Type. The output is a pretty good approximation of how the output appears on the screen. You can run reports automatically using a scheduler, and with macro language, you can deliver the report in this format with no further intervention needed. If Cognos can do this, then so can Oracle!!
    Incidentally, I've noticed that every post on this forum which mentions Excel receives a plug from Lion Van for his RepExcel product. I had a look at his website and it looks pretty good - perhaps Oracle should approach him with a generous offer?! I'm not sure however that these forums should be used for advertising in this way.
    Best regards
    Andrew
    UK

Maybe you are looking for

  • Is is possible to open indesign from a script?

    Is there any way to open indesign from within a script, or does the application already need to be running before a script can access it? Thanks in advance. Jude Fisher http://www.jcfx.eu

  • E5 six problem faced in last 6 months!

    Dear All,  Before I start sorry for my english.I bought a nokia e5 approx 6 months before. Untill now I have faced many problems with the handset. I alreday owns a nokia 5320 express music. And when i Compare these two handsets I think I have made a

  • Acrobat 9 Password Protect/Email

    I recently ordered/received Acrobat 9 Pro after being assured by an employee of Adobe that what I need could be done by the program, but I can't find it in the help guide for the program.  I am trying to export Access reports into PDF format then pas

  • Trouble importing from Canon HF20 to Final Cut Express 4.0

    Took me a while trying to find the file, but after reading on another topic, i learned about menu file then log and transfer. anyways, when i try to drag footage to the lower left, i get this red exclamation mark under status and it says "Error: No D

  • Help please: setting up Moto sbg6850 to wrt160nv2

    I have a motorola cable modem+wireless in the home office.  (unfortunately the wifi doesn't reach the family room).  (I connect wireless laptops and a networked printer into the moto) I have a linksys wrt160n in the family room.   (I connect laptops