How to Retrieve Totals in APO DP Planning Book

Hi All
I want to see the totals coulmns in planning book data view. I know I can check the totals from settings> row totals
But this row totals disappears as soon as I log out of the planning book. Is there any way this row totals is permanently attached to the data view?
Is there any BAPI, I can use to read the KF totals?
Any pointers on this will be highly helpful
Thanks

Dear Vijay,
I doubt if there is any standard settings or configuration is there for this functionality. What i can suggest is either you add seperate key-figures for displaying total of all the periods and write macros to populate key-figure values in it. The second option is initiallize the key-figures for an extra bucket which is really required by the business and populate the total in that extra period by writing macro. By second method there will not be extra key figure required. Apart from writing macros you can use BAPIs for reading the key-figure and adding it and finally populating the key figure values in the key-figure but this is not required as macro is sufficient for populating the key-figure in both the cases.
Please let me know if you think any other better way of doing it.
Regards,
Mukesh Pandey

Similar Messages

  • How to manage Execution of APO-DP planning on portal ?

    Hi all,
    See the scenario is like this :-
    -There is a planning area, in that planning area there are planning books.
    -If I select a particular one it is giving me screen which is proper.
    -On that screen I have two drop down selection fields which are the main concern of this issue(take them as group and subgroup).
    -So if I do selection from subgroup first it is showing me details of subgroups.
    -But after this selection if I go to group selection it is wiping the subgroup selection and only givin info about groups. It is not showing hierarchy as Group->Subgroup-> Data.
    -I want the above execution (<u><b>Group->Subgroup->Data</b></u>)after going 1st to subgroup and then to group will this is possible???
    Its urgent If anyone has idea about how to manage the execution of DP planning books please revert back.
    note- it is working properly on backend but it is showing this problem on portal screen.
    Should I go for new transaction iview for that???
    Regards,
    Aditya

    Dear Vijay,
    I doubt if there is any standard settings or configuration is there for this functionality. What i can suggest is either you add seperate key-figures for displaying total of all the periods and write macros to populate key-figure values in it. The second option is initiallize the key-figures for an extra bucket which is really required by the business and populate the total in that extra period by writing macro. By second method there will not be extra key figure required. Apart from writing macros you can use BAPIs for reading the key-figure and adding it and finally populating the key figure values in the key-figure but this is not required as macro is sufficient for populating the key-figure in both the cases.
    Please let me know if you think any other better way of doing it.
    Regards,
    Mukesh Pandey

  • Validity of exchange rates are not considered in APO DP planning books

    Dear SAP Gurus
    There are couple of posts on this topic without any conclusive reply and so I am posting this again.
    We plan and manage data in multiple currencies and wish to maintain the same in APO DP. We have defined an exchange rate type in the planning area  which is used for planning purposes. Please note that we have defined only one planning area  for all global products hence data is stored in one currency only.Exchange rates between different currencies for this exchange rate type are maintained in ECC and then transferred to APO via RSA1 using standard functionality. While exchange rates are maintained with validity (valid from date) in this table, APO DP planning books only consider latest exchange rates. This behaviour changes the data in the planning book every time there is a change in the exchange rates and is a complete nonsense.
    I believe there is a macro function CURR_CONV_FACTOR() which can be used to bring exchange rates as key figures in the planning book based on validity but given that this macro works only between 2 exchange rates and we use 10 different currencies, its not feasible to use this macro function for all combinations.
    Is there any other way to have exchange rates based on validity ? Does SAP has any guidelines / best practice on how to handle multiple currency scenarios in DP.
    We are on APO V5.1.
    Thanks
    Zorba

    Dear Nitish
    Thanks for the message.
    Unfortunately your observation is not correct. If you change an exchange rate with future validity,
    currency data in the entire horizon (past and future) adopts to that exchange rate.
    It doesn't matter whether KF is ready for input or not as data is stored in any one currency only in PA and conversion happen only when you change the currency in the planning book (column 0)
    Do some more testing and you will notice the above behaviour.
    btw, which version of SCM are you on ?
    Cheers
    Zorba, the Budha

  • How to retrieve total number of pages in a report of Instance - RAS SDK ?

    Hello All,
    Hope all is well. I am using BOXI R2 Enterprise and was wondering how to get total # of pages of an Crystal Report Instance using RAS SDK.
    Thanks in advance,
    Sam

    How do i retrieve the total number of pages in a report-- via RAS SDK
    Sincerely,
    Ted Ueda

  • How to "roll back" SAP APO PPDS planning batch run from infeasible batch mid-point to before start of planning batch run?

    Hi Experts,
    We are investigating if any SAP customer that implemented SAP APO PPDS has ever attempted to establish a "roll back" of the SAP APO PPDS created supply plan to a defined point before the start of the SAP APO PPDS planning batch run?  
    We have a situation where - in the middle of the planning batch run - randomly or intermittent the batch run hangs or runs a step for multiple hours that normally, at most days, takes only a few minutes to run.  In a situation like this, the supply plan is not in a state where customer sales orders can be promised  (using GATP CTP) or planned orders can be converted to production orders and published to SAP ECC, etc since the plan may be capacity infeasible or simply partial or incomplete.   To not hold the business operations hostage to wait resuming operations (promise customer sales orders, convert and release and execute orders to transfer, deliver, produce, or purchase) for hours or days, we need to find a way back to the original plan right before the nightly PPDS batch planning job started.
    We already close all the queues from ECC to APO, thus, no CIF traffic from ECC to APO.  We also shut down the customer sales order feed into ECC as normal process for duration of the APO PPDS batch planning run.  Thus, functionally,  we are theoretically in a situation to simply go back to a PPDS and active planning version save prior to the run.  Yet, many more technical and BASIS-related questions remain on how to roll back to a state where the plan was not compromised.
    This inquiry is to learn if any other SAP customer has ever established a process to roll back SAP APO PPDS to a previous point in time supply plan to resume operations?  Whatever the reasons are, be it after a failed  batch run, or any time during the normal interactive plan day.  
    Additional information about our design and plan:  
    1.  We have a two year horizon supply plan in PPDS
    2.  We only publish to ECC 14 days worth of planned orders, stock transfer requirements, and purchase requirements
    3.  We convert planned orders to production orders and release production orders in ECC 2 days before first operation starts
    4.  We convert PR's to PO's and STR's to STO's in ECC  2 days before execution (ship or submit to vendor)
    Any indication where a SAP customer has developed and uses a process to roll back an SAP APO PPDS- planned supply plan to an earlier point in time or version would be helpful to know.
    Regards,
    Manimaran M.

    Hi  Manimaran,
    Saving in Simulation means in DS board when you click on save it provides you option to save sim version or adopt to active version. If you copy to inactive version you cannot copy back  trasaction data specially PPDs orders back to active version again while if you save in simulation you can adope it to active version at any point of time. YOu can adopt simulation version changes to active version using T-code /SAPAPO/CDPSS0
    Copying to active version means you copy data from version 000 to some other active version while here results are kept simulation,

  • 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

  • Unit of measure in APO DP planning Book

    Hi All,
    We are using LB as Base unit of measure in product master and same is used as Unit of measure for DP planning area. I would like to use two different key figures in DP planning book where one key figure should display LB as UoM and other should display CS.
    How do I achieve this? I tries check box option in keyfigure details screen in planning area but it does not help since Base unit of measure is same in product master and planning area.
    Any help would be greatly appreciated.
    Regards,
    Harshil Desai

    Harshil,
    Maintain alternate unit of measurement in the Product master and then assign the alternate unit-CS in Planning book for the 2nd KF as CS by going to the design tab/option from Planning book.
    Thanks
    Hari Vomkarey

  • Transport of APO DP planning books

    I am using APO V5.
    Is it possible to transport individual data views of a planning book?
    The standard transaction /sapapo/tsobj suggests that transporting is only possible at the planning book level.
    Thanks for any advice...

    Well NO. There is no "legal" way to do so. Alternatively You can try and play around with the objects in your transport request. This would be the backdoor entry :).
    Find out the DVIEW / MVIEW internal names and locate them under the object listin your TR.
    Please try this in a test system before proceeding to production.
    Cheers!
    Abhi

  • APO-SNP Planning book BAPI_PBSRVAPS_CHANGEKEYFIGVAL2

    Hello experts,
    In the BAPI "BAPI_PBSRVAPS_CHANGEKEYFIGVAL" for locking and unlocking the planning area there is an error message "Locking planning area for planning book & has failed" .
    This is urgent ,can anybody please help me out why this error message appears.
    Thanks in advance.
    Sandhya

    Hi Srinivas,
    Thank you very much for reply
    This error is getting in APO SNP. In the BAPI
    The FM /sapapo/ts_dm_lock  is calling FM Enque_report and if this function module is filling the table "enq" then the locking is failing .
    Can you please tell me what this table contains.is this table is filling with the both the users who are trying to edit the keyfigure values.
    Thanks and Regards,
    Sandhya

  • APO SNP Planning Book Show Product View alternative UoM

    Hi,
    I have a base UoM of BTL and an alternative UoM of CAS.
    I can change/save in my users settings the in transactions /SAPAPO/RRP3 (Product View) and /SAPAPO/SDP94 (Planning Book) to show the alternative UoM CAS as default.
    The problem I have is when I enter the Planning Book, load a product, right click on the product (in Selected Objects), select Show Product View and then look at the stock tab, this always shows as the base UoM BTL.  Can this be saved to show the alternative UoM CAS?

    Hi Linda,
    Try changing you user settings for a product in RRP3 Screen.
    Page Menu --> Settings -->General Tab -->General Panel -->enter AUOM value (CAS in your case).
    Note - The conversion only takes place for the products, for which the alternative unit of measure entered is also entered as the alternative unit of measure in the product master, or for the products, for which the base unit of measure has the same dimension as the alternative unit of measure.
    Caution: Test it , how its affecting for other products which doesnt have CAS as AUOM.
    All products which have BUOM as BTL will be changed to CAS when AUOM is maintained for them in product master.
    Thanks
    Vinoth

  • How to reflect consignment stock in the planning book

    Hi
    I have an issue were I am trying to pull through unrestricted consignment stock to the SNP planning book.
    I am only able to view the unrestricted stock, and not the unrestricted consignment stock when I am working in the planning book.
    However I am able to see the unrestricted consignment stock in the Product View in APO
    (/SAPAPO/RRP3 - Product View).
    The key figure we use to reflect physical stock is ATD Receipts in the planning book.
    I have included the category type CD in the category group ATR, which is assigned to this key figure ATD Receipts
    Please can you assist me with this issue.
    Thanx in advance
    Keegan

    Keegan
    It is not enough if you associate the category group with the key figure used to display stock. Go to the location for which you are trying to display stock and in the SNP tab stock category group field give this category group. It should work.
    The opening stock gets displayed based on the category group assigned in the location master and if the category group in loc master is blank then all stock categories in the default category group ST1 will get displayed
    Thanks
    Saradha

  • Meaning of CONDET key figure in standard 9ASNP94 APO SNP planning book

    I am trying to clarify the use and meaning of the CONDET (capacity consumption details) key figure in the SAP standard SNP planning book 9ASNP94.
    Any advice appreciated...

    Hi  Frank,
    This indeed is practical requirement wih no simple solution ( at least we  did not find).
    We created a background job for deletion of the stocks ( which were updated through IDOCs like your situation) at specific periodicity. The jobs were made as per planners with specific variants and when planner would like to delete the stocks, the job will be run.
    Another option could to be copy the standard program /SAPAPO/RLCDELETE to a module program and check validation at the input screen, before calling the deletion program.
    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 book cell entry or exit - macro way to validate business rules

    Dear All,
    We have requirement from business that Demand planner will key in forecast in respective KF, when comes out of one cell and go to another cell to enter forecast, we have to validate the cell value with 3 months average and if it is deviated certain percent we need to highlight with different color.
    Note: Planner do not want to enter/save in between moving between planning book cells.
    For example: 3 months average is 100. Planner wants to enter forecast in cells continuously for next 12 months without hitting Enter key or save. I want to compare the cell value with average and if its deviated beyond certain level we need to highlight the cell with different color.
    I know that we have macro events will work when we hit enter key or save or exit or level change.
    I am not sure this is possible, wanted to know any other way possible.
    Thanks in advance.
    Please share your thoughts.
    Sreeni

    This will be quite difficult to achieve because the planning books are designed so that macros execute after you press enter.  There are 3 possibilities that I see
    1 - If you allowed the planner to make all their inputs into the required key figure and then press enter, you could easily design a macro to read each cell in the input key figure and compare it to the 3 months average of another key figure then highlight the input cell accordingly using the CELL_BG() functionality as described above.  
    2 - Alternately you could create a dynamic alert on the input key figure using much the same logic but again these will not generate until enter is pressed.
    3 - Another option is to create a macro that asks the user to enter data into a pop-up box which is read into a layout variable.  This macro could be triggered from a push button.  You could then do the comparison between the value in the layout variable and the 3 months moving average for that particular time bucket and present an error message if it is outside the tolerances that you set.  Such a macro could run for all time buckets or for a range of time buckets that the user highlights.  Your user will still have to press enter however.  The use of some of the macro operators is below:
    Overall I think you have to go with option 1 or 2 and generate the alerts at the end of user input
    Hope this helps
    Laurence

  • APO DP Planning book - Missing Unit values

    Hi,
    I have an issue with the planning book display. I find that the Unit Column is sometimes blank while sometimes, it displays "EA". I am not able to find a pattern in this toggling of display of Unit column.
    I went to the data view/design and found the Unit Column is ticked. However, the display of Unit column is very strange. Sometimes "EA, sometimes blank.
    Can anybody help me to resolve this issue?
    Thanks in advance
    Ehsan Ahmed

    Hi,
    If you select unit colum in the dataview then it display Base unit of messure from product master. There are two reasons.
    1. If you are loading different materials which contain different BUOM then it will be blank cause conflict of BUOM from product to product.
    2. In the product master (/SAPAPO/MAT1) Properties tab SDP relevance should be blank (Relevant for DP and SNP). Otherwise there may be chance of Blank UOM.
    Hope this clarifies.
    Regards,
    Kishore Reddy.

Maybe you are looking for

  • How do I find the path to a pdf file I have found in Spotlight?

    I downloaded a pdf file, and a few days later couldn't remember where I put it on my HD.I found it easily using spotlight, but that brings up the file as a full pdf in Preview, and I can't see any way of finding the patrent folder, or the path to it,

  • HT4061 can't get into my ipad, enter passcode. I never had a passcode from day one

    I can not get into my iPad. The iPad is saying Enter Passcode. I thought they ment my Password so I tried meny times then it kiked me out. I never did have a Passcode at anytime.

  • Lock Button doesn't work after iOS 7 update?

    Hello! ive noticed that ever since ive updated my iphone 5 to ios 7 the lock button sometimes takes more then one attempt to lock my phone, this has never happened when i was on ios 6. Is this to do with ios 7 or is it just a coincicdence that when i

  • Hi can any one help me how to work on this.

    With the SQL contained in this XML .. hi please let me know how to create a chart report with it with using of answers. Edited by: 889058 on Oct 3, 2011 5:38 AM

  • ASA 5585x reload by self

    Dear, I have Cisco ASA 5585 x, its working normally from two years ago, but before two month something strange start happened, its reloaded suddenly, and after week again happened and continue but in different times. what its the causes of make FW re