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

Similar Messages

  • 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.

  • Add new variable in Selection ID for planning book

    Hello,
    Need your suggestion-
    We have requirement to add new variable -like SNP Planner in SNP Selection ID of Planning book. Please suggest steps to configure this
    Regards
    Pandit

    Pandit
    There are more than one ways of doing this.
    The best option is to create a freely definable attribute (Spro  --- APO >> Master data >> Freely definable attributes) at material location level and now you will  automatically be able to see the attribute when your create a selection id. But you have to make sure you add logic in your material cIF user exit or create a custom program in APO to populate the desired values for the freely definable attribute for all materials in the selection
    Thanks
    Saradha

  • 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.

  • Error in updating ALV field catalog in selection tool for Planning Book

    Hi ,
    I am Implementing BADI  '/SAPAPO/SDP_SELECTOR' to upload Custom Fields Data in Planning Book Selection Window under APO Location Product. These Custom Fields are maintained in Custom Table.So from Table whatever Custom Fields are availabe all the fields needs to be available in for selection. Once selection is done the same data to be uploaded into Planning Book.
    This BADI is working Fine upto 4 fields but if any extra fields are added in the table 'Error in updating ALV field catalog in selection tool' error Pop Up is coming. Here i am using Folloowing Methods
    1). INIT_OBJECT_LIST
    2). F4
    3). LOC_PROD_VALUE_LIST
    Please help on the same if u have any idea or clue.
    Thanks.

    Hi Srinivas!
    Where did you get your implementation from?
    It would be nice if you could debug your code!
    For the F4 method, have you seen this note?
    Note 544904 - Sample source code f.BAdI /SAPAPO/SDP_SELECTOR ('F4'method)
    Also check this note. It contains selection modifications in the BAdI:
    Note 376902 - SDP selector: Basis corrections for BADI
    I do not know your release and support package in your SCM, but you can find a lot of notes related to this BAdI.
    Thank you!
    Will
    SCM Support Consultant

  • How to know which user created a given Selection ID in Planning Book

    Dear Expert
    Do you know if there is a way to trace who created a given selection ID in DP or SNP planning books?
    Thanks!

    Hi,
    You will get details of of the user who created the selection IDs   and date /time  details  from the database table   /SAPAPO/TS_SELKO   (Header Selection Variants) .
    You may create a simple query for this or an elaborate ABAP report.
    Regards
    Datta

  • 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.

  • 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

  • Periodicities of forecast profile and planning book are incompatible

    Hi
    In my DP 5.0, I have setup master fcst prfl, with M as period indicator. and my Data view has all weekly bkts (hist & future).Now i have changed the Master fcst prfl, period indicator to W (week). even later deleted this prfl and created new(with same name) with W, when this error was coming.
    I am running the stat fcst for first time in this new PA. But when i ran the job with this Fcst Prfl, in this pl  book, in the spool, i see this error.
    Why am i getting this error ? Never came across this type of error. I have Prop Factors in place. now when i calculate the stat fcst, in BG, it gives this error.
    Anything to concern in Horizon periods in MC96B ? I just gave normal dates in From and To. & nothing to check in Univariate prfl. Where and what else i should check for ?
    Any hints pls ?
    thx
    venkat

    Venkat,
    You can choose the time bucket profile defined with periodicity as weeks in your data view.
    You can create storage bucket profile with TCode: TR32 with periodicity as  Weeks
    While you create planning area /SAPAPO/MSDP_ADMIN it is required to choose the storage bucket profile.
    Regards,
    Manish

  • How to select multiple row of table using check box?

    hi,
             i am having table on view having first field as checkbox. what i want, when i click on checkboxes in multiple rows, and i click on any button i need to use those content to next view...
              my problem is if i select only one row , i can use onlead select property of table..but when i select multiple rows  through check box how should i read contents of table....?
    Plz solve it.
    Thanks,
    Saurin Shah

    Hello Saurin,
    You are right using LeadSelection you can select only 1 row at a time. You will have to make use of Selection for achieving this. First you will have to change the selection mode of the table to multiple & also change the selection property for the related context to 0..n . Please find a code extract which might help you. (However this facility is only available from SP 14.) The main part is using the set_selected method of if_wd_context_node.
    data: node_zcourse_details type ref to if_wd_context_node,
             node_course_assign type ref to if_wd_context_node,
             elem_course_assign type ref to if_wd_context_element,
             stru_course_assign type if_v_details=>element_course_assign ,
             item_popin_selected like stru_course_assign-popin_selected.
    "     navigate from <CONTEXT> to <ZCOURSE_DETAILS> via lead selection
    node_zcourse_details = wd_context->get_child_node( name = if_v_details=>wdctx_zcourse_details ).
    "     navigate from <ZCOURSE_DETAILS> to <COURSE_ASSIGN> via lead selection
    node_course_assign = node_zcourse_details->get_child_node( name = if_v_details=>wdctx_course_assign ).
    "     @TODO handle not set lead selection
    if ( node_course_assign is initial ).
    exit.
    endif.
    data elem_set type wdr_context_element_set.
    field-symbols <wa_elem> like line of elem_set.
    elem_set = node_course_assign->get_elements( ).
    loop at elem_set assigning <wa_elem>.
       <wa_elem>->set_selected( TRUE OR FALSE ). " Supply either TRUE/FALSE in here
    endloop.

  • How i can Insert selected records in database table using check box.

    Hi Friends,
    I have non database block, which displayed multiple records, now I add a Check Box to this block and now I want to insert the records in a database table which I checked. So when I press a button, all the checked records are inserted in the table.
    Please send me the code of this solution.
    Thanks in advance.
    Shahzad

    I have almost the exact scenario but instead of inserting into the DB, I want to find the Checked records and process them in PL/SQL script.
    I currently have a cursor that looks for all the checked records. It's only getting the first record, so I figured I need to loop through the block looking for checked records.
    Also can I save them to a temp or PL/SQL table to process later?

  • User is unable to view the selection window in the planning book

    Hi Friends,
    I am able to view the selection window in the planning book.
    User is unable to view the selection window in the planning book.
    Is it authorization issue or any settings issue?
    Please explain me in detail.
    With regards,
    Balu

    HI Balu
    Can you check if ''Selection profile" is checked in the ''view selection" option in the top left of the planning book for the user?
    you can choose the hide/show the Selection profile tab, planning book/data view and macros tab using that function.
    Check if this helps.
    Rgds, Sandeep

  • [ZT] Important points of creating planning book

    From one SAP site:
    Some hints on the design and usage of macros for background processing:
    u2022 Create a separate planning book for each macro background job. The planning book should
    contain only key figures used by the macro itself, and only macros executed as activities by
    the mass-processing job. Use a different planning book whenever different key figures are
    needed by two macros, and a different data view whenever the time periods are different.
    u2022 Remove all unused macros from planning books associated with mass processing jobs, as
    they are loaded in an unorganized manner which can be performance-intensive. Unused
    macros are not helpful to your business process.
    u2022 Only those macros that are called by an activity are executed in background. These activities
    are: Start, End, Level change. Default macros are not executed automatically, as they are in
    dialog. When defining a job, you must therefore first establish which start and default macros
    have to be executed and in which sequence, so that your own self-defined macro can work
    correctly. Macros for background should not involve actions like setting colors, hiding fields,
    display icons, or sending popup windows that are frequently included in default macros for
    online use.
    u2022 The planning book used for background macros should have only the functionality it uses, i.e.
    application demand planning and no other functionality.
    u2022 For performance reasons, run macros for a delta period rather than the entire horizon
    wherever possible. Under most circumstances, historical data is not changed, other than
    adding new periods, one time bucket profile at a time. Rather than performing the full
    calculation over a long historical period, run a macro to do this once, and then design a new
    macro that only performs the calculation for the u201Cdeltau201D period, or the period that has just
    entered the historical horizon.
    u2022 If you want to speed up the processing in the APO releases 3.0A, 3.10 and SCM 4.0, you can
    create several background jobs with roughly equal numbers of characteristic combinations
    and run them in parallel. Make sure that no individual characteristic combination belongs to
    more than one selection variant, as this can cause lock issues. For optimum performance the
    selections for parallel processing should be roughly of the same size.
    u2022 From release mySAP SCM 4.1 you can use parallel processing profiles for running macros,
    e.g. for the adjustment of historical data. You can navigate from transaction /SAPAPO/MC8E
    directly to the maintenance of parallel processing profiles or start transaction
    /SAPAPO/SDP_PAR for direct access. After defining block size and number of maximum
    parallel processes you have to assign the parallel processing profile to the selection variant.
    The next time you run this selection as background job it will automatically run with parallel
    processing.
    u2022 If you need to run two macros on the same key figures with the same level of aggregation, put
    both into one planning book and execute them as two actions within the same background
    activity (defined with transaction /SAPAPO/MC8T, see below). You thus save the time needed
    for loading the data for a second time.

    This explanation sounds very good. I think this is a very first things that we face while implementing.
    Thanks for posting this.
    My

  • Planning Book lock

    Hi Gurus,
    The users get locked out if they select the same planning book even if they are using different selection profiles. Is there a way not to?
    Really hoping for your help.
    Thanks. Sincerely,
    Ria

    Ria
    To avoid locking issues, Its not sufficient that users are using different selections - Its necessary they be using non-overlapping selections so that each user does not pull up the same set of CVC's.
    See the help and examples here:
    http://help.sap.com/saphelp_scm70/helpdata/en/ed/f061c18ddd79448c49064f0e645725/frameset.htm
    Rishi Menon

  • DP - Selection profile creation

    Hi all,
    I am trying DP. I created a planning book. However, I can't assign any selection profile to it. I don't see any objects and I couldn't see any way to create a new one on TC /SAPAPO/SDP94.
    I have already activated the planning book by creating time series objects, and maintained the planning object structure on /SAPAPO/MC62 with some entries.
    I appreciate any help.
    Best regards
    Cihan Polat

    Thanks for your reply Visi, I found in the documentation.
    Best regards
    4.6     Creating Selection Profiles for the Planning Book
    Use
    For your planning process, you need to make a selection that restricts the range of products and locations. To do this, you create one or more selection profiles.
    The demand planner uses the selection profile to quickly access frequently used selections.
    Procedure
    1.     To access the planning book choose one of the following navigation options:
    SAP SCM menu     Advanced Planning and Optimization &#61614; Demand Planning &#61614; Planning &#61614; Interactive Demand Planning
    Transaction code     /SAPAPO/SDP94
    2.     In the Planning Book: SAP Standard Demand Planning screen, choose   Selection window in the left screen area.
    The Object Selection dialog box is displayed.
    3.     From the possible entries list in the Show field, select APO Product.
    4.     Enter the planning version 000 in the field to the right of the APO Planning Version field.
    5.     In the second row, restrict the range of products by specifying only those products that you actually need for your planning task. To do this, select APO Product and use the   multiple object selection :
    For the Make-to-Stock scenario, for example, select APO-FERT-01 and APO-FERT-02, for other scenarios, specify the respective products.
    6.     Choose   Save selection in the Objects Selection dialog box.
    7.     Enter for example, MTS_CPG or VMI_CPG as the selection description and choose Save.
    8.     Choose   Adopt
    9.     To store the saved selection in your selection profile, choose   Maintain selection profile in the left screen area. In the Maintain Selection Profiles for Users dialog box, use drag and drop to transfer the saved selection from the right area to your selection profile on the left.
    10.     Choose   Save and   Copy.
    11.     To display objects that belong to a selection profile, double-click the selection. The system displays the objects in the upper left screen area.

Maybe you are looking for

  • How to embed fonts in ePub (Pages 09)

    ^ That's my question, basically. I want to self publish an ebook, but it has some unusual fonts for the chapter headers, and I know that unless I embed them somehow, ereaders won't automatically pick up on them. Is this possible? And if so, could som

  • Help me in getting Script

    Hi all, I am trying to get Script to get the details of below requirment in single shot. any one help me providing these. Database Name, Database Size, Tablesapce_name, Tablespace_size, Table_name, Table_size,Index_name,Index_size. Please some one pr

  • OS and databas time setting with sysdate value

    Hi Experts: Oracle claims "SYSTIMESTAMP returns the system date, including fractional seconds and time zone, of the system on which the database resides. The return type is TIMESTAMP WITH TIME ZONE." Last week on this site, I got the confirmation tha

  • How to replace # in the query output ?

    Hi experts, In the query output and for a particular field in a record if there is no value then it is displaying as '#'. Can  we replace '#' with any text or with any other value ? Regards, Nishuv V.

  • Please make it possible to permanently disable tear-off tabs within the browser.

    Hi and good afternoon. Since I upgraded to FF4, the tear-off tab feature has been driving me INSANE. I don't want the feature at all and have no use for it, and it is especially irritating not only because it is so sensitive--it is literally making i