Exclusion of stock categories from SNP Planning

HI All,
I am trying to exclude specific stock categories from SNP Planning (Heuristics/CTM). These categories include 'CI' (Blocked stock) and 'CF' (Stock in Quality Inspection). According to note 487166, Blocked Stock is not relevant for planning and Quality Inspection stock is relevant for planning. Apparently this is hard coded. Still, the system seems to be taking both Blocked and Quality Stock into consideration when executing heuristics or CTM.
I have also attempted to deselectu2019 Stock in Quality Inspection' and 'Blocked Stock' in the product master > Demand > Available Stock tab, but the system still considers them during planning.
I have also read that the user exit APOCF011 can be used to change the stock category and change the Planning Relevance. However, the down side of this is that not all business unites want to use this same logic and this is a system wide change.
I was hoping there was an easier way then the user exit (e.g. setting in product master > Demand tab), but there does not seem to be any other options? At the very least, I would expect Blocked Stock not to be considered as relevant to planning (according to OSS Note 487166). However, this does not seem to be the case in our system.
Any assistance would be appreciated.
Kind Regards,
Paul

Hi Paul,
There is a way to exclude some stock categories in SNP Planning. You can create a ATP category group just with those stock elements that you want to consider and assignt this category group in location, SNP tab. I use this configuration for SNP optimizer, and it should work for SNP heuristics.
I worked in few CTM projects, but if I were you I would create a order selection without some stock categories and assign this order seelction in planning scope/CTM profile.
Noriaki Kimoto

Similar Messages

  • Read data from SNP planning book

    Hi Frnds,
    We are faced with a situation in which we need to read certain key figures such as PIR's, Goods Issue from SNP Planning book.
    We tried using BAPI "BAPI_PBSRVAPS_GETDETAIL" to retreive data. But it seems that we are giving wrong input data to the BAPI. Could you please let us know what to be fed into the BAPI in simple terms? If there is any example code for the same , would be very much appreciable.
    Orelse if there is some other way to retreive this data kindly suggest us accordingly...
    Many thanks in advance.
    Regards,
    Karthick

    Hi Karthick,
    The parameters for calling BAPI_PBSRVAPS_GETDETAIL really depends on your Planning Area and Planning Book configurations. The planning book configuration will limit what Characteristics and Key Figures will you be able to read using BAPI_PBSRVAPS_GETDETAIL. Let me give you an example.
    Assumptions: The planning book is configured as follows:
    Name = ZPB1
    Data view  = DV1
    The DV1 data view contains the characteristics 9AMATNR and ZCNTRY and Key Figures ZKF1 and ZKF2.
    Assuming also that we have the following data currently in livecache:
    9AMATNR-ZCNTRY-ZKF1-ZKF2
    000001234-PH       - 143  - 567
    000007891-PH       - 245  - 782
    000007891-US       - 124  - 890
    Let's further assume that you want the data aggregated to country level (e.g. char ZCNTRY), you have 1 planning version 'ZPAV1' and you only want the data for Country=PH, then here are the parameters that you need to pass to  BAPI_PBSRVAPS_GETDETAIL:
    PLANNINGBOOK = 'ZPB1'
    DATA_VIEW = 'DV1'
    SELECTION =  9AVERSION I EQ ZPAV1, ZCNTRY  I EQ 'PH'
    GROUP_BY = 'ZCNTRY'
    KEY_FIGURE_SELECTION  = ZKF1, ZKF2
    Hope this helps. Please post again if you have any questions. I can give you sample code if you can post your email address.
    Message was edited by:
            Emmanuel Nepomuceno (added planning version to selection)

  • BAPI or FM needed to retrive data from SNP Planning Area

    Hi All,
                 There is a planning area created for SNP ,now I need to retrive key figure values present in this SNP Planning area.Does any know of BAPI or FM which can be used to retrive data from SNP Planning Area?
    Thanks,
    Venu

    Hi Venu,
    A)  Please try this BADI Implementation
        /SAPAPO/EXTRACT_EX             Sample implementation
        /SAPAPO/SDP_EXTRACT             Definition name
        /SAPAPO/IF_EX_SDP_EXTRACT   Interface name
        /SAPAPO/CL_IM_EXTRACT_EX     Class name
    The Uses of this BADI are;
    1) You can interrrupt the data extraction process from the planning area.
    2) You can use the CHANGE_INPUT method to override the input parameters for the extractor (sent from the requesting system).
    3) You can use the CHANGE_OUTPUT method to alter the extracted data, derive the values of certain InfoObjects  , for example.
    4) You can use the CHANGE_SELECTION method to modify the selection table that is used for extracting data using a  BAdI method. This is particularly useful when extracting data from an SNP planning area because you cannot specify a location product in the standard selection.
    B)  You can also try the below function modules
    /SAPAPO/CL_IM_EXTRACT_EX - Load key figures of Demand Planning
    /SAPAPO/CDI_TSDMID_KEYFS_LOAD - Load key figure data from TSDM
    Regards
    R. Senthil Mareeswaran.

  • How to extract data from SNP Planning Area

    Hi All,
    I am trying to extract data from SNP Planning Area. i had created the data source as it is given in help document but when i try to test the data source for the data through extractor checker it gives a message "0 data records selected".
    So please help me out if some body have some document in the regard pl forward it to my mail id [email protected]
    Thanks in Advance.
    Best Regards.
    rahul

    Hi Ganesh,
    In SNP you do not have to go to RSA6 u can create datasource in S&DP Administration>change planning area>Extras-->Data Extraction Tools.
    from there u can do all the settings and can as well test.so there is no use of either RSA6 or RSA3.
    bets regards,
    rahul

  • Exclusion of Sales Orders from CTM Planning

    Gurus,
    Without customizing, is there a way to exclude selective sales orders, say by certain delivery priority number, from CTM planning? Is there any standard configuration setting that SAP APO offers for this?
    I want to exclude the SOs with delivery priority no. X from being identified and planned by CTM.
    Appreciate a quick response on this.
    Thanks,
    Chandra

    Hi Chandra,
    1) If the sales orders that you want exclude are falling under certain
    fixed time period, then you can restrict selecting those orders
    using transaction /SAPAPO/CTMORDSEL - Order Selection
    and in the selection tab, you can filter those under radio
    button "fixed time period" and select the ATP categories
    2) In material master, if you provide very low priority and also if
    you maintain time based priority in SNP 2 tab, till that period with
    that low priority, the system will consider that item for lowest
    priority during planning
    Regards
    R. Senthil Mareeswaran.

  • Stock not in SNP Planning Book

    Hi
    We are doing a global implementation and we have seen the issue where stock exists in live cache, and is correctly considered in SNP Heuristics, but the stock on hand is not displayed in the SNP planning book.
    This is NOT an issue with the stock category, as the same stock category is displayed for Poland and the UK locations.
    This is leading me to think this might be a time zone issue?
    What possible reasons can people think of where stock of the CC category is in live cache but not displayed in the SNP planning book. But another plant location is performing correctly for CC stock.
    S SB

    I have answered my own issue. The stock on hand macro is initial stock + Receipts - Demands.
    Deployment is running in the evening and pushing out the stock, the day rolls over to the next day and then the deployment STR demand is considered history and as per the above formula is netting off the stock.
    This is a symptom of running the SNP run in the evening, not at 00.01am. (Deployment STRs of stock are instantly in the past) which then affects the stock on hand balance.
    Hope that is clear to anyone else having this issue.
    Simon.

  • Deployment of SNP Planned orders

    Dear Expert,
    We have one scenario where there is a requirement to deploy SNP Planned orders. How much it is advisable to deploy SNP Planned orders?
    What will be the impact on the dates of shipment proposals made by TLB, when SNP Planned order will get converted in Planned order and production order.
    Also I observed one strange behaviour of deployment, when I try to deploy planned order by putting ATD receipts as planned order in SNP2 tab, some times it considers the planned order for deployment but many time it doesn't.
    Is there any specific settings other than ATD reciepts in SNP2 tab of product location master data?
    Thanks & Regards

    Dear Samuel/Amol,
    Thanks for your reply. Let me frame this question again
    Letu2019s consider that I have maintained SNP planned orders in ATD Receipts. After running deployment, system will look for SNP Planned order as receipt element in Pull deployment horizon and create DepConRel .  TLB only considers DepConRel for conversion into STO, irrespective of stock is available or not.
    Now consider the situation where STO is ready with some specific Delivery & committed dates but there is no stock. When SNP Planned order will get converted into planned order and Production order, its date will change and actual stock may not be ready on that specific committed date.
    So my entire intension is to know how much it is advisable to deploy SNP Planned order.
    Samuel/Amol, did you get a chance to work on SNP Planned order deployment and its impact on the dates of STO?
    Thanks & Regards,
    Chetan

  • SNP Planned Order without PPM

    Hi Gurus,
    I have a small confusion, Some of my products in a Production Plant donot have a  SNP PPM. and when i run network heuristic on that location product. It creates SNP Planned orders.
    Just for information the product location master has procurement type E (In House Production).
    Please help me out if this is a normal behavior of the system.
    Thanks,
    M

    Default behavior is to generate Orders without a source of supply.
    "If there is neither a valid transportation lane (for procurement type F; external procurement) nor valid PPM/PDS (for procurement type E; in-house production), the system creates an SNP stock transfer or SNP planned order with no reference to a source of supply. The same applies if there is no product at the source location of the transportation lane"
    if you dont want planned orders there,
    Try using the SDP relevance indicator for the location - product . Am not sure but you can use option 1 in it (though it sounds like it will not plan in DP too)

  • Problem in getting data in SNP Planning Area Data Source

    Hi All,
    Problem Statement: To fetch data from SNP Planning Area for reporting in SAP BW.
    Approach: Followed the standard SAP Help Document. Link:http://help.sap.com/saphelp_scm40/helpdata/en/e0/9088392b385f6be10000000a11402f/content.htm
    First Step: To create a DataSource on the Planning Area (Z9ASNP02) and Aggregate(9AMALO).
    For that
    Go to SAP Easy Access>Click on /SAPAPO/MSDP_ADMIN/ you are on S&DP Administration>Select the planning Area Z9ASNP02 double click on it
    You are on Change Planning Area Screen>Go to Extras left click>DP/SNP Data Extraction Tool-->Click on Generate Data Source, Provide the
    Data Source Name & Select the Aggregate 9AMALO and click on continue. Data Source is generated.
    But now when i go for Test Data Source-->Extractor Checker Screen and then providing the version 000 and then when i click on extraction Button
    It gives a Message "0 data records selected".
    Thanks in Advance,
    rahul

    Hi Somnath,
    Please correct me if my understanding is wrong; you are saying that, we cannot extract data from order series keyfigures. In that case how many key figures you maintain for time series, performance miight come down for planning area if you maintain huge no of keyfigures.
    Is there any way to extract data from Order series Planning area?
    Thanks & Regards,
    Jagadeesh.

  • 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

  • Exclude Reservation stock type from MRP Run

    Dear All,
    I need to exclude Reserved Stock Type from MRP Planning.
    Please guide me with the steps to perform the above.
    Just for your information, the reservation is coming from Plant Maintenance module, not Production Planning.
    I tried changing the Availability check 02 - PM checking rule to exclude reservation, but it doesnt seem to work. Maybe i did it wrong.
    Please help.

    Nazrin,
    Availability check configuration (OVZ9) has no impact on MRP.  MRP relies on its internal rules when it is performing its net requirements calculation.  You have very little control over which elements are included/excluded.
    You can exclude selected storage locations from MRP planning.  Stock and reservations against these storage locations will therefore also be excluded. 
    You can exclude a material from planning, change the material master MRP type to ND.
    Your best bet, though, would be to set your PM planning process up such that these materials never create the reservation in the first place.
    Regards,
    DB49

  • Releasing demand plan from DP into custom categories in SNP.

    Hi Gurus,
    I need to release the demand plan from DP into SNP custom categories Z1 thru Z4. The key figures that I mapped to these custom categories are created in a non-standard planning area (copied from 9ASNP02).
    I am able to release the demand plan using category FA only. Can anyone help me in releasing demand plan into these custom categories in SNP.
    Thanks,
    Shiv.

    Shiv
    I did a F1 help on target category  field in tcode /n/sapapo/mc90 and this is what i found
    For the release of the demand plan to Supply Network Planning, you can specify a category that tells the system which category of orders to release to. An entry in this field is optional, but if you do enter a category it must be a category that represents sales orders or forecasts, such as FA or FB.
    You can also release to categories you have created yourself. This allows you to distinguish, for example, between different forecast priorities.
    The system proceeds as follows:
    1. Has a category been entered in the release profile? If yes, this category is used.
    2. If no, has a category been set in the definition of the requirements strategy in Customizing? (You define the product's strategy in the Proposed strategy field on the Demand tab of the product master record.) If yes, this category is used.
    3. If no, category FA (forecasts) is used.
    So as the F1 help says in the release transaction /n/sapapo/mc90  did you try giving the custom categories ? Also i have one more idea - after the forecast gets released to category FA , copy it to a key figure that is assigned custom cateogries Z1 to Z4.
    But just want to understand something . Why do you want to release it to a custom cateory instead of FA ? How are you going to handle the consumption of forecasts by sales orders if you release it to custom category. I think releasing it to a custom category will make your process more complicated since you are altering the standard SAP functionality.
    Thanks
    Aparna

  • Error /SAPAPO/TSM 041 when loading from InfoCube to SNP planning area

    I am using APO V5.1.
    I have a 'backup' InfoCube with characteristics 9ARNAME and 9AVERSION which I'm loading to an SNP planning area via trans /SAPAPO/TSCUBE. The InfoCube is itself populated from the 9ARE aggregate of the SNP planning area.
    But I get error /SAPAPO/TSM 041when I run the load, suggesting absence of a required characteristic or navigation attribute in the Cube. Do I need 9ALOCNO for instance?
    Can anyone advise me here?...

    Hi,
    I am not very sure about the 9ARE aggregate (haven't used it in backups), but RTSCUBE is used to copy time Series (TS) KF data from cube to planning area (SNP or DP).
    Are you trying to restore some time series data from your backup cube to the planning area? If yes, then do a mapping of characteristic from cube to planning area in RTSCUBE, and also map the TS KF between cube and planning area.
    If your KF is not a time series KF, then you can't copy it from cube to planning area. You could get data to cube for some reporting, otherwise I am not sure what use the backup is for you. For SNP, most of the data would be received from R/3, so there's not much point in having a backup.
    Hope this helps.
    Thanks - Pawan

  • Pegging relation for stock got lost once we do changes to the SNP planned order.

    Hello Experts,
    Pegging relation for stock got lost once we do changes to the SNP planned order.
    We are using a BAPI  "BAPI_MOSRVAPS_CREATESNPORDER" to make changes to the planned order as per our business requirement.
    However after changes the pegging relation got lost.
    Please help, why and how to solve this.

    Dear Krish,
    While creating orders using BAPI pegging relationship will be lost.
    Could you be more clear which orders you are creating?
    Some times dynamic pegging is possible.
    Regarding pegging relationship please check the link, it may help you.
    Pegging - SAP Library

  • Release Planned Orders from SNP to R/3

    Hello Experts:
    I have a business request to release the Production Planned KF from SNP into a frozen MPS (or even an inactive fcst version) in R/3.  Since we have only released a forecast from the DP side to R/3 in the past, can anyone tell me the best practice to release from SNP to R/3?  Do I need to create an info cube to perform the release?
    The business runs a Heuristic in SNP at the finished good level and the makes modifications and would like to release this to be used in the R/3 MRP run for some groups of materials, as opposed to releasing the forecast for MRP to run on.
    Currently, I can send the data from SNP Production Planned KF to a time series KF in DP and release to MD63 from there, but they would like to release directly from SNP in the future.
    Any suggestions are greatly appreciated!
    Andrea

    Hi Andrea,
    If you want to release SNP planning data to ECC, you need to make following settings.
    In customizing
    Maintain Distribution definitions
    Maintain Settings in Configure transfer to OLTP system in SNP customizing-Global Settings.
    If you maintain periodic setting in SNP setting, you need to run transaction /SAPAPO/C5 to transfer data.
    As well as u can do this also :
    1) You need to create a release profile using transaction /sapapo/mc8s
    2) In release profile, you need to maintain planning area,  key figure to
    be transformed, plg version, category, etc.,
    3) Once it is created, using transaction /sapapo/mc8t, maintain the
    R/3 transfer steps
    4) Then create a planning job in background using transaction
    /sapapo/mc8d

Maybe you are looking for

  • Combine Columns From Separate Arrays Into One Formatted Table

    What I'm trying to do is make two WMI queries with 2 different classes for a list of machines and then patch the columns together into one single array that is formatted as a table with columns and rows. I seem to keep banging my head against the wal

  • BT vision box

    Hi my BT vision box has broken the HDMI port won't work, I've tried multiple cables and its defiantly not the cable or the TV that has a fault. I have just spoken to a VERY rude customer advisor who actually asked to speak to "the man" as I didn't un

  • What do I need to add Airport to an early-2009 Mac Pro?

    The wife's MB871LL/A. She wants to "get rid of all the wires". I'm pretty sure that just about any Apple Airport Extreme desktop card will work, but do I need to also get an antenna cable, etc.?

  • ICloud and Contact lists

    Hi! My mum has an iPhone 5 she's sending away for repairs and was told to (of course) back her phone up on iTunes. The only problem is my mother has never connected her phone to her computer. Never. Now my mother believes that she will plug her phone

  • Reg : Type changes in Idoc

    Hi Frens, There are some characteristic value exists for material. Characterstic values are in numc , date , time format. But ir stores in CAWN table in Internal floating point format.( field : ATFLV ) when issuing output , I am getting the same Inte