How to exclude batches in SNP planning

Hello Experts,
I have scinario where I want to exclude certain batches(stock) for net requirement claculation in SNP run. Does anybody know how to do that in SCM?
Edited by: Rajiv Dhumal on Oct 27, 2009 11:56 PM

Hi Rajiv,
1)  I do not have documentation on the same but providing below the menupath
as to how to carry out the same
Category will be created in APO customisation under the following link
spro > SAP guide > APO > GATP > General settings > Maintain category
Category group will be defined in APO customisation as follows:-
spro > SAP guide > APO > Supply chain planning > SNP > basic
settings > Maintain category groups
2) Also you can try leveraging the enhancements APOCF011 and
APOCF027
Please confirm
Regards
R. Senthil Mareeswaran.

Similar Messages

  • How to activate batch field in Planned Order

    Hi all Gurus,
    My customer asked me to activate batch field in Planned Orders (MD12) so that they can enter batch number before converting planned order to production order. By entering a variant in the table I could make it display in the table but not in change mode.
    Is it something to do with screen variant or do you have any suggestions?
    Thanks in Advance
    Sree...

    Hi,
    Please maintain following config...
    1. Go to Production --> Material Requirements Planning --> Procurement Proposal --> Planned Orders --> Define Layout for components list.
    2. Then go to Field Selection Profile. Select the profile and click on profile field selection fields
    3. Click on Change Field Selection and Select Batch or any other required field. Save the changes.
    This should work, pl come back to me in case you have any further doubts.
    Regards,
    Gaurav

  • 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

  • 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 to reflect auto-rebranding of Sales Order in SNP Planning?

    Hi Experts,
    We have a scenario wherein we have branded product and unbranded  product.
    -Customers are billed for branded product
    -Demand Planning forecast for the branded product
    -Invetory will be on unbranded product and I can say that we plan for the unbranded product.
    Sales order document will have the branded product in the document. Before the creation of delivery and GI, there will be a stock movement from unbranded to branded product..
    In terms of how to model this in APO SNP Planning, I am thinking of using either
    (1) Form Fit Function --> branded and unbranded in one class and the unbranded as leading prouct
    (2) phantom assembly --> unbranded as component of branded product.
    The trick now is that there are cases that they stock for the branded product. So in case there is stock in branded product and its enough to cover the whole quantity of sales order, there will be no rebranding and they will ship for the branded product.
    This is where I am having problem modellign in APO SNP. I hope you can help me. Thanks.
    Regards,
    Mylene

    Hi everyone,
    I created an OSS message to SAP and this is their reply:
    " A sales BOM is not a
    planning relevant BOM hence the components must not be transfered in
    standard to SCM system. This was introcued with note 398610.
    If you need to transfer this items to APO, even if the BOM is not
    planning relevant then your have to use a BADI to overwrite here the
    standard behavior. Check here note 929975 and related notes.
    The filtering is done in prgramm SAPLCUSLNTRTO
    FORM CUSLNTRTOX_CHECK_APO_RELEVANCY
    IF is_itm_data-sanfe <> marked
    OR is_itm_data-objty EQ gc_obj_3.
    ev_delete_flag = marked.
    So you have to overwrite here this value to get this items transfered.
    But anyway is is then out of standard, as a planning system needs only
    planning relevant data. "
    Hope this helps. Thanks.
    Mylene

  • 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

  • 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

  • How to exclude restricted-use batch from batch-determination in backflushin

    Hello,
    In the Goods-Movement screen during confirmation transaction (i.e. backflushing), we see that SAP has selected some batches that are restricted-use stock.  This must be due to some setting in batch-determination functionality.  We want to know how to exclude restricted-use stocks from being considered in batch-determination.  What setting, in which config transaction, can help us achieve this ?  Kindly help.  Thanks.
    - Chetan

    Thanks Manoj,
    That was a very good information and I learnt something new.
    However, I checked, and in that config, we are already "not-allowing" restricted-use stock for MvT-261.  So what else can be used to prohibit its selection during backflushing.  Thanks.
    - Chetan

  • How to Change Component on a SNP Planned Order ( Just 1 time )

    Hello,
    We are trying to change a component on a SNP Planned Order just 1 time.
    So we do not want to change the PDS since this is one time change only.
    We tried changing it in R/3. Once we do that, R/3 shows new component but APO still shows dependant demand on old component ( May be because APO SNP Planned order is still connected with the PDS ) .
    Then we went to APO and tried to change the component in /sapapo/rrp3. Here you can delete the old component but doesn't let me add new component.
    Next thing we tried was to convert it to PPDS Order. Once converted, we went to change mode and tried to remove old component and add new component. It lets me do this. Only issue with this route is that, it puts correct start and end dates on the order dependning on the order quantity and so order moves the dates which we do not like.
    Is there any other better way to fix this issue ?.
    Thanks.
    Ketan Doshi.

    This being a very unique requirement, I would use one-off approaches usually not followed. You may need to explore the use of BAPI BAPI_MOSRVAPS_CREATESNPORDER. This will help you point the source of planned order to a PPM or a PDS that you may want to create in APO system on a one-off basis. PPMs can be maintained in APO, however PDS are usually CIFed from R3. You can try to create PDS (based on the new component) in APO system only using backend tables. Try do some little research on /sapapo/curto tables to create the PDS in APO. Then use the BAPI to point the source to this new PDS. (better you also try the PPM approach since there are no issues keeping the PPM in APO)

  • How to change SNP Plan name?

    Hi,
    In transaction /sapapo/oo_ppm_conv 'During mode combination for generation of SNP plans', the system create SNP plan name automatically once you click button 'SNP Name'. However, the system generated name is not intuitive. Do you know if there is any user exit or badi can change the 'SNP name'? I can only find out badi /sapapo/PPM_GEN which is used for PPM conversion. But not sure it will work for mode selection program /sapapo/oo_ppm_conv' which is one step ahead of conversion.  Appreciate if you can provide some insight!
    Thanks,
    Rick

    Hi,
    While generating SNP ppm from PPDS ppm, even though system suggest SNP plan name, you have a choice to change the same and input .
    Are you not in a position to change while creation of the plan itself ?
    However, once created the plan name may not be changed.
    The BAPI for PPM maimtenance plans is BAPI_PPMSRVAPS_SAVEMULTI_30A, but this can not be used for plan name change.
    Regards
    Datta

  • How to generate SNP planned order with different category

    Our SNP system receives Forecast and Salse Order from DP system.
    and we'd like to generate SNP planned order with different category..for example, 'AI' for Forecast Demand and 'AL' for Sales Order..
    currently, If we run CTM, system generate SNP planned order with the
    same category 'AI'..
    another system(APS) in Our company receives planned order from SNP
    and they want to receive planned order for forecast and planned order for sales order seperately..

    It is not directly achievable however can be done through BADIs and two CTM profile. I am assuming that sales orders are planned ahead of Forecast demands. So have two CTM profiles - one for Sales Orders (regenerative mode) and the other for Forecast Demands (net change mode). You may have to invoke two BADIs in the first run for Sales Orders - one that changes master data by putting a temperory Forecast Horizon in SNP2 tab (BADI /sapapo/ctm_matloc). The other BADI (BADI /sapapo/ctm_orders) changes the ATP category just before saving. in the second run though you just need to run the latter BADI by saving it in the ATP category required. BADIs can be invoked based on CTM profiles used.

  • Creation of SNP planned order based on PDS

    Hi,
    I'm a APO developer and I have the following problem:
    I would like to create a SNP planned order based on a PDS (like e. g. in the planning book when you input a number into a cell in the "Production (Planned)" line).
    Up to now I've only managed to create such an order without using the PDS.
    Can you name me a function module which allowes me to do that?
    Thanks in advance.

    Hi,
    I've now managed to create this kind of order.
    I set a breakpoint at the function module /SAPAPO/DM_PROD_ORDER_CHANGE and checked how it was filled in the planning book.
    For those who want to know:
      INCLUDE /sapapo/constants_om.
      CONSTANTS:
        lc_order_type_1f        TYPE /sapapo/om_order_type VALUE '1F'.
      DATA:
        ls_prod               TYPE /sapapo/msnp_prod,
        lt_prod               TYPE /sapapo/msnp_prod_tab,
        ls_sources            TYPE /sapapo/sources,
        lt_sources            TYPE /sapapo/sources_tab,
        lv_matid              TYPE /sapapo/matid,
        lv_locid              TYPE /sapapo/locid,
        lv_vrsioid            TYPE /sapapo/vrsioid,
        lv_tstfr              TYPE /sapapo/timestamp,
        lv_tstto              TYPE /sapapo/timestamp,
        lv_simsession         TYPE /sapapo/om_simsession.
    lv_vrsioid = '000'.
    * Create SimSession
    CALL FUNCTION '/SAPAPO/TSIM_SIMULATION_CONTRL'
        EXPORTING
          iv_simversion              = lv_vrsioid
          iv_simsession             = lv_simsession
          iv_simsession_method = 'N'
          iv_perform_commit       = space
        EXCEPTIONS
          lc_connect_failed        = 1
          lc_com_error             = 2
          lc_appl_error            = 3
          multi_tasim_registration = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Get PDS
      CALL FUNCTION '/SAPAPO/MSDP_SNP_PPM_VALIDITY'
        EXPORTING
          iv_vrsioid      = lv_vrsioid
          iv_matid        = lv_matid
          iv_locid        = lv_locid
          iv_tstfr        = lv_tstfr
          iv_tstto        = lv_tstto
          iv_planstart    = lv_tstfr
          iv_planend      = lv_tstto
        CHANGING
          ct_sources      = lt_sources
        EXCEPTIONS
          wrong_interface = 1
          error_occured   = 2
          OTHERS          = 3.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE lt_sources INTO ls_sources INDEX 1.
      ls_prod-version       = lv_vrsioid.
      ls_prod-matid         = lv_matid.
      ls_prod-locid         = lv_locid.
      ls_prod-plobid        = '9AMALO'.
      ls_prod-tstmp         = lv_tstfr.
      ls_prod-catgr         = 'PP1'.
      ls_prod-categ         = 'EE'.
      ls_prod-categ_prku    = 'EE'.
      ls_prod-categ_prse    = 'EL'.
      ls_prod-kz_prod       = '9APPROD'.
      ls_prod-kz_prku       = '9APPROD'.
      ls_prod-kz_prse       = '9ADMDSE'.
      ls_prod-produ         = '1000'.
      ls_prod-proid         = ls_sources-trpid.
      ls_prod-mosta         = gc_new.
      ls_prod-order_type    = lc_order_type_1f.
      ls_prod-is_fixed      = 'X'.
      ls_prod-snp_is_header = 'X'.
      APPEND ls_prod TO lt_prod.
      CALL FUNCTION '/SAPAPO/DM_PROD_ORDER_CHANGE'
        EXPORTING
          ic_database           = 'LC'
          ic_application        = '4'
          iv_simsession         = lv_simsession
          it_prod               = lt_prod
          iv_netch              = 'X'
        EXCEPTIONS
          material_not_supplied = 1
          location_not_supplied = 2
          OTHERS                = 3.
    * Merge simulation version (to commit order changes)
      CALL FUNCTION '/SAPAPO/TSIM_SIMULATION_CONTRL'
        EXPORTING
          iv_simversion                = lv_vrsioid
          iv_simsession                = lv_simsession
          iv_simsession_method         = 'M'
        EXCEPTIONS
          lc_connect_failed            = 1
          lc_com_error                 = 2
          lc_appl_error                = 3
          multi_tasim_registration     = 4
          target_deleted_saveas_failed = 5
          OTHERS                       = 6.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

  • 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

  • To build query related to SNP: Planned Order

    Hi,
    System: SCM 5.0
    Scenario: SO received at plant and planning creates PR against SO at plant and accordingly SNP:Planned Order at Vendor location. If SO is cancelled/deleted (manually), sometime only the PR gets cancelled/deleted (automatically during planning run) but corresponding SNP:Planned Orders still remains at vendor location and so the dependent requirements. PR and Planned Orders are pegged to SO so one-to-one relation is maintained.
    I could not find any reason why system is not deleting Planned Order at vendor location despite SO and PR is deleted at plant location. So I am planning to build query where SNP:Planned Orders are not pegged to any PR or SO.
    Can anyone help with list of SNP:Planned Order tables so that I can build query around it to identify ghost Planned Orders.
    Hope I was clear with my query but let me know if any further information is require.
    Thanks and regards,
    Devang

    HI Marius,
    Sorry for delay reply.
    I was working on on some other more critical issues to business.
    Finally we decided to built report to identify obsolete Planned Orders for which PR is not available in ordering plant. I have listed below logic for that report:
    Get Location ID from table /SAPAPO/LOC based on Location entered in selection screen
    Get PEGIDs from FM /SAPAPO/DM_MATLOC_GET_PEGIDS based on IV_SIMID as 000 and location id from step 1
    In FM /SAPAPO/OM_PEG_CAT_GET_ORDERS, use SIMVERSION as 000 and in Import Para IS_GEN_PARAMS insert all PEGIDs from step 2.
    From Export Para ET_PEG_INPNODE take From_OrderID and store in internal table.
    Execute T.Code /SAPAPO/RRP4 with following selection (Use Selection Variant: OBSOLETE PR and add Location as entered in Selection Screen)
    Planning Version: 000
    From: Current date – 60 days
    To: Current date +180 days
    Location: 0000201328
    Product: *
    Order Type: 1F
        6. Compare output of step 4 and step 5 and display result.
    From FM /SAPAPO/DM_MATLOC_GET_PEGIDS the output (step 4) will be Order ID (22 characters) while step 5 (T.Code /SAPAPO/RRP4) will give Planned Order number (8 character). I am not sure how to compare Internal Order ID (22 characters) for corresponding Planned Order Nos. (8 characters).
    I have not marked your post as correct answer as still need to find answer of above query.
    Thank you in advance for your guidance.
    Regards,
    Devang Shah

  • 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

Maybe you are looking for