Hide row in planning book using BADI /SAPAPO/ADVX USER_EXIT_MACRO

Dear All,
   I would like to have your suggestion how to hide row in planning book using BADI USER_EXIT_MACRO
   the requirement is when I drill down the object by region, the first line will be "total" and the second and third line
   will be region like "north" and "south".
   I want to show only "total" line and hide region detail.
   Would it be possible to do this using the badi USER_EXIT_MACRO?
Thank you in advance,
Boonsom

Hi,
In the Interactive Planning, you see a Cap-like icon on the top-left...... click on it and choose the characteristic (say, region) and say ok. You will then be able to see the Region just on top of the planning table. When you load the data, by default, it will have "Total" as option, and with your wish, you can choose to see the data for a particular region (North, South etc).
Regards,
Guru Charan.

Similar Messages

  • Hide row in planning book

    Hi experts,
    I have the following requirement in DP planning book. the planning book has 3 KF (KF1, KF2 & KF3) and 2 characteristics (CHAR1 & CHAR2).  Now for KF1 I need to display drill down for all the values in CHAR1 and then to all the values in CHAR2. For KF2 drill down will be only at the level of CHAR1. Total row will be displayed instead of CHAR2. I have achieved upto this step using macro. Now for KF3 I need to drill down for all the values in CHAR2 but not for CHAR1. How can I do this in the same planning book. The Macro I have written for KF2 is -
    IF
    Check planning objects
    PLOBS_FOR_LEVEL( 2 ) > 0
    Row: KF2 ( Attributes ) =
    ROW_VISIBLE( 0 )
    ELSE
    Row: KF2 ( Attributes ) =
    ROW_VISIBLE( 1 )
    ENDIF
    The desired output would be
    KF                         CHAR1                         CHAR2                 M 08.2010
      KF1     A1             Total
      ..         ..                    A2
      ..       ..                   B2
       ..         B1               Total   
       ..         ..                  A2
       ..         ..                   B2
    KF2    A1               Total    
    ..           B1              Total
    KF3      total              A2
    ..          ...                     B2
    Please suggest if this is possible.
    Thanks in advance,
    Soumick Chanda
    Edited by: showmix on Aug 20, 2010 8:18 AM
    Edited by: showmix on Aug 20, 2010 8:22 AM

    First of all your subject and what you mentioned in body of the thread are different.
    If will only confuse other users.
    Anyway what you mentioned is NOT possible even with macro.
    Somnath

  • Possible to call a transaction from a planning book using a macro button?

    Hi All,
    Is it somehow possible to call a transaction using a macro button in the planning book? Also, the current selection should be passed as input parameters to the transaction.
    In my example, I am trying to run the transaction /SAPAPO/MC90 - Release to Supply Network Planning from the Demand Planning  Planning Book/Data View. This way if planners need to change forecasts mid month for specific selections, they can easily transfer to SNP without having to go out of interactive planning.
    Thank you,
    Maria

    Hello Maria,
              It's possible to call a transaction from a planning book using a macro button.
    What you can do is ..... Create a function module and inside it use the command "Call Transaction Tcode"  (ABAPer can do this) to call ur specific transaction. And this module can in turn be called from your macro. Please find the below link which explanis how to call a function module from a macro. Do let me know if you need more information on this.
    Calling a function module from APO Macro
    Regards,
    Siva.

  • Deletion of Total(Aggregated Sum) rows in planning book

    I want to get rid of 'Total(Aggregated Sum)' rows in planning book tables.
    'Total' line is useful but too many lines are uncomfortable for planners, so we're searching for the method not to use it.
    If you know how to configure or use macro for it, please let me know.
    Thank you,
    HyeRee

    Hi,
    I can delete totals, but I can´t delete subtotals.
    Macro Delete Totals
    IF
    New condition
       PLOBS_FOR_LEVEL( ACT_LEVEL ) = 1
    Step 1 iterations
       ROW Ratio 1
          ROW_VISIBLE( 0 )
       ROW Ratio 2
          ROW_VISIBLE( 0 )
       ROW Ratio n
          ROW_VISIBLE( 0 )
    ENDIF
    This macros works ok to deleting row totals.
    Raúl.

  • Ability to call selection profiles in planning book using popup box

    Hello does anyone know if it is possible to call a selection profile in a planning book using a popup box?
    i.e. perhaps using a macro ?
    Any help is greatly appreciated.
    Thanks
    Edited by: Ballance Agri-Nutrients on Feb 17, 2009 3:10 AM

    Just wondering what is the business need this pop-up, based on user settings list of selection profiles already filtered and displayed in the planning book. User can select the profile just by clicking the list of selection profiles provided.
    For the web enabled users, they can select data view, and selection profiles before they view the planning book screen. Check with your technical person they should be able to tell you if the same can be used and built a pop-up.
    Hope this helps

  • Implementation for BADI - /SAPAPO/ADVX

    Hi,
    I have created and activated an implementation for the BADI /SAPAPO/ADVX for the method USER_EXIT_MACRO. But this implementation is not triggering when i execute a macro in Transaction /SAPAPO/SDP94. Could you please let me know how to achieve this? (I am implementing this BADI to display the Units in SUOM instead of Base UOM).
    Do we have any other BADI for changing the stock from UOM to SUOM?
    Thanks,
    Rajinikanth

    Hello Experts,
             I have created one Z class in which i am using the methods of BADI /sapapo/advx , i have hard coded my macro id ,layout id and view id so that it will execute my code on execution of that particular macro.now my problem is how to read the data for particular keyfigure from the internal tables of this interface.i am not getting how to read te data and process it.
    please help me on this.
    Regards,
    Saurabh Kulkarni

  • APO DP planning books - use of 2 grids in view

    I am using APO DP V5.
    I know that it's possible to have 2 grids in a planning book view.
    Can anyone give good examples of where 2 grids have been found to be useful?
    Would it be possible to have 1 grid for 'forecast' and 1 grid for 'history'?
    Thanks,
    Bob Austin

    The definition of two grids in a data view (not sure if you mean that by planning book view) is only possible when creating a data view for the first time. Once a data view is created you cannot add the second grid as the Table 2 option is grayed out under Title section of Data View tab.
    Good example of using 2 grids is while using DP BOM functionality and also in those cases where the top grid keyfigures are to be drilled down but the bottom grid keyfigures remain at aggregate level. So if you want to compare the forecast numbers in detail with the total budget then use the total budget keyfigure in Grid 2. Remember while drilling down, keyfigures in Grid 2 are not drilled down.
    In you case of having forecast in one grid and histroy in another can be effective since the data in the keyfigures are in two different time horizons. But remember if you have history in Grid 2 then the data will be aggregate (assuming you have loaded multiple CVCs) and will not be drilled down which the Forecast keyfigure in Grid 1 is drilled down to lower levels.
    Hope this helps.
    Thanks,
    somnath

  • How to show an ALV grid in planning book (using macro-exit)

    Hi Expertss,
    I am using a macro-exit. Now in the execution flow of this macro-exit I am required to shaow an ALV grid. I tried calling a Zreport in which i am calling alv screen(screen type dialog box). It is giving a short-dump saying Exception condition "CNTL_ERROR" raised.
    If i comments the fieldcatlog and structure name while calling the ALV in my Zreport then the alv is coming but then planning book is not vivible.
    Kindly tell what thing I am missing and what probable thing I can do to make it work.
    Thanks a lot in advance.

    I got the solution.

  • Split SNP PDS using BADI /SAPAPO/CURTO_SNP Method CIF_IMPORT

    Hello APO ABAP experts,
    The requirement is to split SNP PDS based on the number of modes. Meaning, the PDS should have only Mode per Activity in the Operations.
    My plan was to change the changing internal tables in the method CIF_IMPORT to create number of SNP PDS depending up on Modes. But, i am not sure whether it is possible or not. Please suggest.
    Note: BADI will be triggered once per each PDS.
    Thanks,
    Shaun.

    Saurabh,
    Let me explain you what i am doing:
    Since i need to split one PDS into multiple PDS, I am changing the fields EXT_PLANNR and EXT_NAME just by appending a counter. Once after i change them, adding the entries to the changing internal tables (CT_*). At the end of CIF_IMPORT, i am deleting the original PDS entries.
    Example code:
      LOOP AT ct_planactz INTO ls_planactz.
        ls_planactz-ext_plannr = lv_new_ext_plannr.
        APPEND ls_planactz TO lt_planactz.
      ENDLOOP.
      APPEND LINES OF lt_planactz TO ct_planactz.
    Right now, for testing purpose - i am not splitting the PDS. I am just trying to create 2 SNP PDS by using one PDS. I want to test my code first to create multiple PDS.
    When doing this, i get the following error:
    Error: Activity 250006007010001-012 000600000004 P  does not exist
    Message no. /SAPAPO/CURTO005
    Piece of standard code cuasing the problem:
    LN 64 in method GET_APO_GUIDS.
        READ TABLE ct_cif_planactz INTO ls_cif_planactz
                  WITH KEY actnr   = ls_apo_planactz-r3actnr
                           plnkn   = ls_apo_planactz-plnkn
                           zaehl   = ls_apo_planactz-zaehl
                           phasenr = ls_apo_planactz-phasenr
                           uvorn   = ls_apo_planactz-uvorn
                  BINARY SEARCH.
    Call stack:
    METHOD     GET_APO_GUIDS
    METHOD     CREATE_RTO
    METHOD     CREATE_SNP_RTO
    FUNCTION     /SAPAPO/CUSLNTRTO_CREATE_RTO
    Question:
    May i know what is the significance of other fields in internal table ct_cif_planactz ? Since i am chaning only EXT_PLANNR field, above binary search is picking up the same entries and ignoring my second PDS.
    I would appreciate if you can share your ideas.
    Thanks,
    Shaun.

  • SNP - Planning Book/Data View not showing up in /SAPAPO/SNP94

    Hi All:
    I created a planning Book out of a custom SNP planning area. While I could see the Planning Book in the list of Planning Book in the /SAPAPO/SDP94 - Interactive Supply Network Planning (all Books)   I could not see the custom planning book in /SAPAPO/SDP94 - Interactive Supply Network Planning (all Books) .  I could ony see the SAP supplied PB there.  Will SDP94 transaction display only the standard SNP Planning book?  How can I make sure that the custom PB is displaed in /SAPAPO/SDP94?
    pl. help
    Thanks
    Ryan

    Hi Narayanan,
    a couple of simple checks..
    can you please check that you have not set a filter critera in the shuffler in planning book/data view?
    you can also check if by mistake only a limited number of users are assigned to this planning book and data view ?
    else you may want to check note : , 327371
    Let me if this helps.
    Rgds, Sandeep

  • APO DP - use of BADI /sapapo/sdp_fcst4

    I am wanting to use BADI /sapapo/sdp_fcst4 to store forecast errors in mass processing.
    My question is:
    How do I see/use these stored forecast errors when I am working in interactive DP.
    Thanks,
    Bob Austin, Atos Origin

    Dear Bob
    I suggest you to check this document: to extract the forecasting results from SAP APO
    I also suggest you to look at this [thread: APO DP - BADI for storing forecast error in mass processing.|;
    Best regards,
    Carlos Eduardo Rodríguez

  • 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

  • Dump for custom planning books in SDP94

    Hi,
            We are having a fresh SCM APO 5.0 installation. We used to get a dump whenbever the SDP 94 transaction  was executed. We found a SAP note 889989 and applied. Now the problem is it is dumping for any other planning book except the standard SAP delivered ones when the SDP94 transaction is executed. I found a note 498861 but does it help?
    Here is the dump:
    Runtime Errors         MESSAGE_TYPE_X
    Date and Time          10/10/2007 16:39:31
    Short text
         The current application triggered a termination with a short dump.
    What happened?
         The current application program detected a situation which really
         should not occur. Therefore, a termination with a short dump was
         triggered on purpose by the key word MESSAGE (type X).
    Error analysis
         Short text of error message:
         Control Framework : Error processing control
         Long text of error message:
          Diagnosis
              An error occurred when the system tried to process the commands
              from the Automation Queue on the presentation server.
              There are several possible reasons for this:
              - The installation of the SAP GUI on the presentation server is
              faulty or obsolete.
              - There is an error in the application program
              - There is an error in the SAPGUI or an integrated control
          Procedure
              1. Make sure that you have imported the appropriate Support
              Package, the current kernel, and GUI patch for the release of your
              system
              2. Check whether the error occurs locally on one or a few PCs, or
              generally on all PCs. Note whether the error only occurs for some
              users, for example because of a specific Customizing setting.
              If it only occurs locally, this suggests an installation problem
              with the PC. Check the installation; if necessary, reinstall thesoftware. In the dump, search for the SY-MSGLI field, since it may
    point to the cause of the error.
    3. Activate the Automation Trace (in accordance with SAP Note
    158985).
    4.Start the transaction and continue until the screen immediately
    before the dump.
    5. From the System -> Utilities menu, choose Autom. Queue,
    Synchronous Processing.
    The status bar of the GUI displays the text:
       "Automation synchron flush mode on"
    6. If you now proceed with the application, the short dump will
    display the ABAP call that caused the error; the Automation Trace
    will contain the error on the presentation server.
    7. If necessary, load the short dump and trace files on to
    sapservX, so that SAP can analyze them.
    Trigger Location of Runtime Error
        Program                                 SAPLOLEA
        Include                                 LOLEAU02
        Row                                     29
        Module type                             (FUNCTION)
        Module Name                             AC_SYSTEM_FLUSH
             Can any one suggest me a solution please?
    Thanks.

    hi Raj,
    this normally happens for all the new installations when opening the planning books with tcode /SAPAPO/SDP94. every new installation gives different dump with the above tcode. the best option is to contact the SAP team.
    regards,

  • APO DP Using BAdI SDP_SELECTOR

    Hi experts,
    I am trying to use BAdI /SAPAPO/SDP_SELECTOR but I can not get any method of it to stop at a breakpoint.
    What I want to implement: By opening a planning book and loading a specific selection profile, some fields in selection shuffler have to be grayed out or become invisible at all. I thought this BAdI could be used for this, but after many attempts I have to give up and ask experts for advise.
    Kind regards
    Aban

    Hi Aban - the method INIT_OBJECT_LIST is called when you load a planning book either by first entering SDP94 or changing planning book while in SDP94. This method allows you to manipoulate what fields will apear as selections depending on the object selected - you can grey out the left side by making a field required but not the values on the right side of the selection. None of the methods are called when creating changing or saving selection profiles - the other methods are called for F4 or after selection is chosen to filter the selected data or to add fields to the selected data ALV. If you want to grey out the values in a selection then you may want to create an enhancement implementation to do so. It sounds like there may be other options to limit what users are doing such as authorization or filtering the selection using the above BADI. Also you may be able to set up profiles users can select that have prepopulated values then train or require users to choose those profiles and add additional criteria.
    Andy

  • Planning book Cell colours are not displayed correctly in upgarded SCM 7.0

    Hi All
    WE have recently upgarded SCM 4.1 to SCM 7.0 system and I am testing new system. I am stuck in one issue . We have some keys figure rows which are open of inout/output. WE have macros for this key figures to close for certian period. After closing we defined cell Background colour to be same as default colour of other rows in planning book. For SCM 4.1 we used colour no 9 for this.
    But in New System SCM 7.0 looks like colour numbers have changed. So I changed macros for background colour , we have an option when changing system gives colour palett and we can select, I tested the whole pallett fo matching colour with default planning book celllc colours- no colour is matching , when I look at palett it looks same but when I  select that in macro the shade looks diferent . 
    Can some one advice how can we get exact colout number to match defult colour of palnning book cells.
    Thanks
    KV

    Hi Kristin,
    You can always change the cell color to default by using 0 as argument of the macro function. For instance, the following macro change the color of cell to red if the corresponding prop factor value is negative. On the other hand, for a positive value or zero, the default background color is retained.
    Thanks,
    Rajesh

Maybe you are looking for

  • How can I remove the autorization from my old computer when it is broken and can not be started?

    my old computer has broken down and therefore I got a Macbook. Then I wanted to synkronize my iphone with Itunes but i can cause i have used all five authorization. How can i remove my old computer which has broken down and can not be started so I ca

  • Attach two Cinema Displays to MBP?

    can i attach two 2004 Apple Cinema Displays (23"   20") to my 15" 2011 MBP? I see some community references to external devices (Matrox or EVGA). Is there no way to do it using just some combination of DVI / miniDV / USB cables adapters? Thanks!

  • What if my MB Pro dies ?

    Probably a stupid question, but i wonder whether time machine is also a 'pure' back up tool - and not only a tool go back in the history of the internal drive. I'll try to be more clear. 1. In case my MacBook dies tomorrow for whatever reason and i p

  • IPhone only displays messages in Inbox dated within the last month

    I tried searching but couldn't find an answer. My iPhone only shows messages that I received in the previous month even if there are older messages actually in the Inbox (still visible in Mail.app and webmail). This is an Exchange account. Is this a

  • New MBP owner with a question about OS disks.

    Just got a new mac book pro, I didn't get the OS disks in the box with the computer. Did I get short changed? A lot of the what I've read, there seems to be a need to use the OS disks, specially when partitioning the drive. Is it normal for the Macs