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

Similar Messages

  • 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

  • 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

  • Drill down performance issue in APO SNP Planning Book

    We have a requirement where planners would want to do a Details All on the header for 1000+ products in selection.
    For a situation where there are 54 products to drilldown to, we get the following performance in seconds.
    Time Bkt Profile      180 Days      60 Days     30 Days
    Loading                  14           9.98           8.2
    Details All                 262            90.18           56
    So for a dataview of  180 days, it takes 262 s to do a details all on a selection with 54 products.
    We think we have the latest LC (KERNEL    7.5.0    BUILD 044-123-149-413)
    We think we have required LC config
    liveCache server has 32GB physical memory with 45GB swap space
    CACHE_SIZE= 1572864 x 8kb pages ~ 12.5GB
    OMS_HEAP_SIZE= 23GB (approx 75% of main memory)
    MAXDATAVOLUMES=16, ~ 63GB total
    Is there anything we can do to improve the response times further ?

    Thanx Charlie.
    I will check the notes and let you know.
    We are doing a forecasting at the wholeseller,SKU Level.
    We have 1 planning area, 1000 WPs, 1000 wholesellers & 800 SKUs for each wholeseller.
    Do you think that SEM 4.1 will have any problem in handling data at this level?
    For forecasting purpose we are using 3 years of past data at SKU level.

  • Key figure Explaination in SNP planning books 9ASNP94

    Dear Experts ,
    I am curious to know regarding SNP planning books key figures
    when i am exploring sap standard  Planning book
    9ASNP94
    Data view : SNP94(1)
    I can able to see many KEY FIGURES  Please refer below
    I AM NOT SURE how they are used in planning , i mean  what is clear definition of those key figures and i see some key figures are grey out and some or open for entry
    how to find those detail information
    when i go  to T code SDP84 - define planning book
    i can able to see those descrption and infocubes but not sure how to understand clearly , would be more thankful if some give me a clear explaination of it
    Forecast     TXT                                                                                                                   
    Sales Order     TXT                                                                                                                   
    Distribution Demand (Planned)     TXT                                                                                                                   
    Distribution Demand (Confirmed)     TXT                                                                                                                   
    DistrDemand (TLB-Confirmed)     TXT                                                                                                                   
    Dependent Demand     TXT                                                                                                                   
    Total Demand     TXT                                                                                                                   
    Distribution Receipt (Planned)     TXT                                                                                                                   
    Distribution Receipt (Confirmed)     TXT                                                                                                                   
    Distribution Receipt (TLB-Confirmed)     TXT                                                                                                                   
    In Transit     TXT                                                                                                                   
    Production (Planned)     TXT                                                                                                                   
    Production (Confirmed)     TXT                                                                                                                   
    Manufacture of Co-Products     TXT                                                                                                                   
    Total Receipts     TXT                                                                                                                   
    Stock on Hand     TXT                                                                                                                   
    Supply Shortage     TXT                                                                                                                   
    Safety Stock     TXT                                                                                                                   
    Reorder Point     TXT                                                                                                                   
    Target Days´ Supply     D                                                                                                                   
    Target Stock Level     TXT                                                                                                                   
    Days´ Supply     D                                                                                                                   
    ATD Receipts     TXT                                                                                                                   
    ATD Issues     TXT                                                                                                    
    Many thanks & Regards
    Raj

    Hi
    Please find below the short summary of each key figures.
    Forecast TXT  :- FCST which has been released from APO DP to APO SNP
    Sales Order TXT :- Sales order transferred from ECC to APO via CIF.
    Distribution Demand (Planned) TXT :- Dependent demand coming from other location to this location for same product. Network planning
    Distribution Demand (Confirmed) TXT :- In case deployment , we confirm the Distribution Demand (Planned) will appear her.
    DistrDemand (TLB-Confirmed) TXT :- Mainly used in case of TLB.
    Dependent Demand TXT :- Dependent demand coming from parent product in case of BOM
    Total Demand TXT :- The sum of all above demands is called as Total Demand.
    Distribution Receipt (Planned) TXT :- SNP created Purchase req will appear in this key figure.
    Distribution Receipt (Confirmed) TXT :- In case of deployment Distribution Receipt (Planned) will be get confirmed in the Distribution Receipt (Confirmed) key figure.
    Distribution Receipt (TLB-Confirmed) TXT :- Mainly used in case of TLB.
    In Transit TXT :- In will contain the in transit stock which will transfer for ECC via CIF.
    Production (Planned) TXT :- Planned order will get created via SNP in case of domestic mfg.
    Production (Confirmed) TXT :- In case of SNP deployment Production (Planned) will be get confirmed in the Production (Confirmed)) key figure.
    Total Receipts TXT  :- Total of all the receipt elements as been used.
    Stock on Hand TXT :- Stock has transferred from ECC or R3 via CIF.
    Supply Shortage TXT :- This will be calculated with macro based on total demand and total receipt.
    Safety Stock TXT :- Based on SNP master data, safety stock will get calculated during planning run.
    Reorder Point TXT :- Based on SNP master data, Reorder Point will get calculated during planning run. . There are different methods of calculating safety stock.
    Target Days´ Supply D :- The safety stock defined in number of days appears based on SNP master data in APO.
    Target Stock Level TXT :- Get calculated by macro  based on Target Days´ Supply D and total demand in future.
    ATD Receipts TXT :- Mainly used for Deployment.
    ATD Issues TXT :- Mainly used for Deployment
    If you require any specific information for any key figure please do let me know.
    I hope this will be useful for you.
    Thanks
    Amol

  • Show Sales orders, STOs, & Deliveires in SNP planning book by Shipping Poin

    We are using ECC 6.0 and SCM 7.0.
    We have a requirement to model the Shipping point as a location in SNP. By this functionality we want to show Sales orders, STOs, & Deliveires in SNP planning book by Shipping Point in addition to Delivering Plant which is default now.
    When I create Sales Orders in ECC system always perform shipping point determination and passon to APO per schedule line via CIF. These Sales Orders always show up in SNP under delivering plant/location. We also want to show them under Shipping Point location.
    Here is what I have done so far:
    1. I have created a CIF integration model for all required shipping points and CIFed over to APO. These locations are showing up in SNP planning book.
    2. I have created Sales Orders and verified the shipping points are determined correctly and sent Sales Orders to APO successfully.
    3. I see all the Sales Orders in SNP planning book at delivering plant/location.
    4. But I don't see any sales orders under shipping point. They also don't show in RRP3 screen.
    5. If I create a forecast in RRP3 at Shipping Point location they show-up in SNP planning book at Shipping point location.
    Any idea how to model shipping points in SNP for planning?

    check what the ATP order type is of these orders are (from RRP3)
    then check what ATP group these order types are assigned to (from SPRO)
    then in the SNP Planning are make sure the Keyfigure you want to see them in refers to the ATP group from above
    Which planning book are you using? Is it a standard book/ copy of a standard book? What KF are you expecting to see it under... the standard book has KF for planned production that will be same as your PPDS planned orders

  • Demand on VC material not visible in SNP planning book

    Hi Experts,
    Is there any way to plan VC (Variant Configuration ) materials in SNP at the group level ?
    I will explain the scenario more in details below
    I have an VC material say X. Material X has end product Y attached to it (material variant). When material X is cifed to APO, it appears as configurable product in APO & is a top level product. Now when I create a demand on material X through DP, the demand appears in product view (RRP3). However the demand does not appear in the SNP planning book nor it gets selected during background planning run. The system is configured as Variant Configuration & not CDP.
    Is it possible to plan material X in SNP ? If possible how can the demand be read in SNP ?
    Thanks in advance
    Regards
    Sandeep

    Hi Sandeep,
    One of the limitations of Characteristics Based Forecasting is, CBF results can only be used in PPDS and not in SNP, hence it is not possible to plan that material X in SNP. Even though you use MC90 transaction which is release DP to SNP, but the data will not be available in SNP
    That material X will be planned only in PPDS, there are two ways to plan, those are
    1. one way is by releasing CBF results to active version using MC90 transaction, during this release, you should maintain consumption group in release settings and in product master, in this case you have to use Forecast Check/Allocation check as a part of ATP/GATP, here you can not use CTP or MATP
    2.the other way is by releasing CBF results to inactive version using MC90 transaction, during this release you should not define consumption groups,  generate the dependent requirements in inactive verison using heuristics in PPDS , and convert dependent requirements from inactive version to Forecast - active version using /SAPAPO/DMP2 transaction, in this case you can use MATP/CTP as a part of GATP
    -Deepak

  • Purchase requisition date in SNP planning book and product view not in sync

    Hello Experts,
    We have an issue with display of purchase requisition date in SNP planning book.
    We are manually entering the PR's for a perticular week from Monday - Sunday(01.09.2014- 07.09.2014), when the last PR is entered on 07.09.2014, it does not appear on the same day in planning book(cell becomes empty) and moves to 06.09.2014, thus quantity on 06.09.2014 is the summation of the quantities present on 06th and 07th.
    The PR dates are appearing correct when we click on display details in planning book and they are correct in product view, MD04 as well.
    Additionally, this is the same date on which daylight saving time comes  into effect.
    Kindly advise if anyone has faced similar situation earlier.
    Many thanks,
    Aditi

    Hi Aditi,
    Check the time zone that you have in your location in ECC and APO.
    Also note it is recommended that you maintain the same system time zone in APO and in ECC. (check tcode STZAC in both systems).
    Different time zones should generate this kind of inconsistencies.
    Kind Regards,
    Mariano

  • 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

  • How to create a custom Button in a SNP planning book

    Hi Experts,
    I created my own Planning Book and Dataview in SNP with 3 Key Figures: KF1, KF2, KF3. Now I want to create one my own button with Macro so that when I press that button, the Macro will run to calculate: KF3 = KF1 + KF2.
    I know that I can drag this Macro to one of default events like: Default, Level Change, Start. But actually, I want to create my own button so that I can handle the event as I want.
    My question are:
    1. How to create a custom button on the toolbar of SNP Planning book and writing macro for the button?
    2. Please give me any document, material teaching about writing macro and relating to my above scenario.
    Thanks very much!
    Duyennx
    Edited by: xuanduyen on Sep 6, 2011 9:20 AM

    Hi,
    Access the transaction "/n/sapapo/advm". In the list select your planning book/ data view and click 'Start Macro Builder' button.
    In the Macro builder screen, drag and drop your macro from Macro depot to the work area.
    Right click on your macro name and select 'properties'. In the pop up, next to the Assigned Push button field, there is a button 'Choose'. Click that. It will display all the available icons. In standard system, it displays more than 1000 icon. Choose any one icon which is suitable for your macro function. Close the pop up and save the macro. This will assign a push button to your macro.
    In the Planning book tool bar, you can see the selected icon in the header tool bar. Just by clicking that icon, you can execute the macro interactively.
    And I don't know whether we can include/design our own icon. But there are already 1000+ standard icons to choose.
    Regards,
    Manimaran M.

  • How can you block production for a specific product in SNP planning book

    Hi All,
    Looking for a way to manually indicate a decision to prevent production in a specific cell for a product in the SNP planning book utilizing the supply planning and capacity leveling heuristics.  For this requirement the resource would have available capacity during that time period.  It also could plan other products in that time period.  The requirement is for a planner to manually go into the planning book to somehow indicate that the heuristic should not consider that time period as available for a specific product, while still leaving the resource available for other products.
    Has anyone run into this before?  Any experience on how to stop a heurisitc from considering a specific time bucket  for a specific product as available for orders?
    Thanks
    -Mike

    Hello Mike,
    I haven't tried it yet myself but I kow that there is the option in the Planning Book to manually fix several periods for a specific location product. This will prevent the heuristic from planning these periods for the specified product. For details please have a look in the Online Help for SNP under key word "Order Fixing".
    regards
    Christian

  • Process orders not reflecting in SNP planning book

    Hi,
    I am facing a problem here that the SNP planned orders once converted into process orders in ECC are not reflecting in the SNP planning book.
    However if i check the /sapapo/rrp3 product view, the process orders are visible here.
    Kindly help me understand if i am missing out something here.
    Thanks,
    Nalin

    Hi,
    Please Check whether the ATP category is assigned to the Category group which is assigned to KF in the planning.
    If that is assigned rightly then run TS cons check.
    Regards,
    Kishore Reddy.

  • 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 manually enter forcast/demand in SNP Planning Book

    Hi experts,
    Kindly help me there are two questions on my mind. First
    1. How to create manually forecast in SNP planning book? and also in RRP3? (if the product is in house it automatically creates planned order, if externally procured PREQ but how about forecast using product view?
    2. If the forecast is in the past but I want to upload that in the SNP Planning book?
    Even if I change the period structure date it does not reflect the past dates in the planning book.  Since the planning book of SNP is standard how am I be able to change the planning book time bucket start date.
    Thanks and Best Regards!!!!

    Hi,
    in /SAPAPO/SJKTST04 you set the type of order FCST, then you planning area and version, keyfigure to populate (your forecast keyfigure, probably 9ADFCST), the order type (usually FA)
    In the details you set product, date to start, in horizon - the number of orders to create, if you set 10, you'll get 10 orders starting from your start date).
    Unfortunately through here, you gan create orders with fixed quantity only and also for only one product/location combination.
    If you already have DP available, even for testing I find it more easy to release forecast from there.
    For your second question - at least for 4.1 (I don't have a 5.0 system to check) you cannot have past dates in a column other than "Initial"
    Hope that helps,
    br,
    Mikhail

  • User are getting kicked out of SNP planning book

    Hello Experts
    I hope you can help me out here!
    From time to time we are experiencing strange issue for SNP user's .. User are getting kicked out from SNP planning book
    Please help us.
    Thanks
    Ramesh

    Hi Ramesh,
    As far as I know, users should not get kicked out unless someone terminates their session.
    Even if they lock some data and the same data is needed by some job, it's the job that would fail showing data lock. Similarly, if some other uses tries to access the locked data, the user who is accessing later would face the issue of not being able to go to edit mode.
    It's possible to write programs that could specifically do this work of kicking out users before we run batch jobs, but let me assume that this is not the case with you.
    One possibility is that there is issue in livecache and so users are not able to access livecache or get kicked out from their active session (e.g. your log area gets full, then users would soon get kicked out after seeing the system hanging initially). This you would need to check at the time when users face issue. This would also mean that other processes that need livecache should also fail e.g. GATP, or SNP planning or PPDS planning related jobs would fail at the same time.
    If you could share exactly what error message the users are seeing, that could be helpful in resolving the issue.
    Thanks - Pawan

Maybe you are looking for

  • How to i send a Sound File that made to itunes

    Hi created a sound file in soundtrack pro 2 and i want to send it to itunes. I created the sound useing my built in microphone on my macbook pro and actually it is lyrics to a song i made anyway i wanna send it to itunes so i can send it to friends E

  • Lsmw error - no fields with the same name

    Dear Experts, I am trying to upload master data through LSMW through Standard Batch/Direct Input but when i am executing the step READ DATA it is throwing me error as File 'C:\Documents and Settings\Guest\Desktop\DMS.TXT' and source structure 'ZEQUI_

  • I want to display one field in first page only

    Hi All I have a tipical question. I am working on invoice report in which i need to display one field which should display in the first page only. For a second invoice that field should not get displayed. In the first page only it should get display.

  • How do I make a simple voice recording that can be attached to an email?

    I want to record a short message, mp3 or any format is fine, and attach it to an email. I've tried opening Garage Band to do it, and downloaded Audacity, but I have no idea how to use either one. I have a microphone that plugs into the audio port, an

  • T540p Energiesparmodus

    Hi Leute. Ich habe ein T540p mit Windows 8.1. Wenn ich nachdem mein Thinkpad in Energiesparmodus ist und ich wieder rauswill, bleibt mein Bildschirm schwarz und ich kann ihn nur mit Hardreset neustarten. Bios ist aktuell und Fingerprint ist auch auf