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.

Similar Messages

  • SNP Planned Order with BOM having component with MRP type "PD".

    Hi experts,
    Just a quick query.
    We have a BOM for a material FG. FG's MRP type is "X0".
    All the components for this FG in BOM are not planning related thus they have MRP type "PD".
    The question here is after SNP planning run SNP planned order is cifed in ECC.
    When we see this planned order in Ta: MD13 will it show all the component list or only those component list which were in apo.
    P.S: We are not running any MRP run in ECC.
    Regards,
    AKS

    Hi GK,
    Thanks for your response.
    We don't have any other system connected to our ECC system.
    We have all valid SNP PPM for APO relevant material.
    one thing i would like to add that we are getting this issue when there are more than one ppm for FG material. Like say there are PPM1 and PPM2 both having bom with few different component material.
    Now after SNP planning run if planned order is created with PPM2. When we see this order in ECC it shows production version as PPM1 and neither the complete list of bom 1 or bom 2.
    Can you give some idea on RCIFMTDE.
    Regards,
    AKS

  • How to use partial number of PPMs to generate SNP planned order

    Hi all,
    I have a requirement for SNP where I have got X number of identical work centers, on which an SKU can be manufactured. Now there are limitations at the operational level on the labour force or any other constraints, due to which only Y number of work centers can be operational on any day (X>Y). So effectively an SKU can use only Y number of PPMs out of X PPMs in the system on any particular day. X and Y are fixed.
    I have tried to map the same by creating a bucket resource with bucket capacity Y and attached to all X PPMs and taken SNP optimizer run. It restricts the output quantity of the planned order by that of the bucket resource defined.
    Is there a way to map this requirement, i.e. restricting the number of PPMs which the SKU can use on any day?
    regards,
    biplab

    Hi,
    You can try this by defining the down time for the particular resource in APO under downtime tab page.
    Ex for a entire week.
    I tried by locking the resource for the entire week and also removed the Maximum delay specified in the product master in our case.
    Took the opt run and system is not suggesting the plans.
    Or
    You can make the PPM inactive before your run.
    Request you to test and confirm this
    Thanks,
    nandha
    Edited by: S.Nandakumar on Oct 4, 2010 9:34 AM
    Edited by: S.Nandakumar on Oct 4, 2010 9:38 AM

  • How to generate a pulse train with different pulse width and delay?

    How to generate a triggered pulse train with different pulse width. for example, after each trigger signal, let's say 2 ms, then the counter output a pulse with pulsewidth of 1 ms, and then after 3 ms delay after the first pulse, the second pulse was generated with a pulse width of 4 ms.  Next cycle when the trigger signal comes, the same two pulses will be generated and so on. Is it possible to achieve this by using 6601 counter card? and if yes, how to achieve this? Thanks!

    Unfortunately you can not create a hardware timed pulse train with different widths on each pulse from a counter. Whilst it can be changed on the fly using software, since you require a hardware triggered signal getting the software involved will not give a huge amount of accuracy when the pulse will actually change.
    So in short you can't use your 6601 card (or a counter timer) to achieve this
    There are three possible Alternative solutions
    1 You could use a high speed digital IO device such as the (6533/34) to generate your variable signal which would require setting up the pulse train as a series of states based around the burst transmission mode where the clock would give you your specific timing.
    2 A timed analogy output (for example on a MIO card with a clock (PCI-6220 / 62xx), i.e. Not the 6704 style static analogy output cards)
    3 A high speed digital waveform card such as the (, 656x , 655x, 654x, 6534, 6533 (http://www.ni.com/modularinstruments/find_right.ht​m) ) this could then be scripted to work with your triggering and also there is a digital waveform editor which will enable you to set up the pattern you wish to generate (http://sine.ni.com/nips/cds/view/p/lang/en/nid/135​55) 
    Hope that helps
    Tim Matthews
    NI (UK)

  • Issue in Deployment of SNP Planned orders

    Hi Experts,
    I am trying to deploy SNP Planned orders and I have made relevant settings in SNP2 i.e. ATP category in ATD Receipt.
    When I run deployment, it creats deployment stock transfer (DEP: PReq / DEP:ConRl) based on available stock first. When I run deployment second time, then it creats deployment stock transfer( DEP: PReq / DEP:ConRl)  for SNP Planned order with the same quantity of stock & not for entire quantity of SNP Planned order. Please refer below example to make it clear
    Total Demand at destination location = 600
    Stock at supply location = 100
    After planning run, Purchase requsition of 600 is generated at destination location.
    At supply location, SNP Planned order of 500 is generated considering 100 stock is available against PReqRel of 600.
    When I run Deployment first time, it forms DEP: PReq / DEP:ConRl  of 100 based on available quantity of 100.
    After running Deployment second time it forms again DEP: PReq / DEP:ConRl  of 100 and it continues to create deployment stock transfer till it completes the quantity of SNP planned order.
    So all together it creates 6 deployment stock transfers instead of forming one deployment stock transfer (stock+ SNP Planned order).
    There is no lot size setting for product master.
    Can anyone suggest whether I need to do some settings to get one deployment order instead of 6.
    Thanks & Regards,
    Chetan
    Edited by: Chetan Patil on Nov 10, 2010 4:45 PM

    Hi Chetan,
    It looks the SNP planned order is not being considered in the receipts quantities  to be available for deploying against requirements.
    Please check SNP order  ATP type( it  is normally EE)  is included in the appropriate Categroy group
    IMG >> APO > Supply Chain Planning  > SNP > Basic Settings > Maintain Category Groups
    Example :  ATD Receipts:   ATR
    Typical values :    AI, AJ, BF, CC,EE,EF, EI
    Secondly, in the transaction /SAPAPO/MSDP_ADMIN, in the Key Figure detailed  tab, ATD Receipts should have assigned the Category Group(say  ATR).
    Regards
    Datta

  • 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 when creating planned order with MRP run

    Hello,
    I create a material with a fix reorder point, MRP type VB. When I run MRP with MD03 on this material I have several problems :
    - planned order is created with an opening date in the past, so I have error 'Opening date in the past' in MD04. How can I generate a planned order with opening date not in the past
    - when changing manually opening date, after running again MD03, I have error 'No BOM selected'. Material is configurable, has a text BOM, a routing and a configuration profile. What is the problem? When modifying planned order, I have message :
    Material requires configuration
    Message no. 61259
    Diagnosis
    Orders and requirements for a configurable material must have characteristic values.
    Usually, you should create a variation for configurable materials managed in inventory management which has the default variant configuration.
    System Response
    MRP: Requirements without characteristic values for a material cannot be planned in MRP.
    Procedure
    Check requirements or orders.
    Create a configuration evaluation for the material in the material master record if necessary.
    Thanks in advance.

    Hi
    I am facing the problem. Could you please tell me if you have resolved the above problem? If yes, Could you please provide me as how you resolved? Thanks in advance.
    Thanks
    Nagesh.

  • Creating SNP planned order using ''BAPI_MOSRVAPS_SAVEMULTI3'

    Hi Experts,
                      I am new to SAP-APO, kindly clarify my question. I am using 'BAPI_MOSRVAPS_SAVEMULTI3' with source of supply PDS for creating SNP planned order by passing 'EE' in the  table parameters 'ORDER_HEAD-MASTER_ATPCAT'. It is creating a planned order which is PPDS planned order with number range starting from '1000...' rather than creating SNP planned order with number range starting from '8000..'. Please let me know what might be the reason for the BAPI misbehaving incorrectly. Also kindly let meknow what are specific parameters to pass to above bapi to create SNP planned order.

    Hi,
    The BAPI BAPI_MOSRVAPS_SAVEMULTI3 is used for creating PPDS inhouse orders.
    You will have to use BAPI_MOSRVAPS_CREATESNPORDER for SNP inhouse orders creation from SNP PPMs( there is no explict mention of SNP PDS- you may please check).
    Regards
    Datta

  • Where/ how do I set SNP to create Planned orders with multiple line items?

    Hi
    Currently our SNP is generating planned orders on a daily basis, it creates a single order with a single line item per location.
    Where/ how do set SNP to create planned orders on a daily basis to generate a single order with multiple line items per location, so therefore one planned order with multiple line items for a single location.
    Thanx
    Keegan

    Hi Keegan,
                   In SNP (APO) it is not possible to create order with multiple line items.
    But you can do some settings so that while planning system can do aggregation and disaggregation.
    But your requirment should be set on Aggregation/Dis-aggregation logic.
    Please follow the follwing links:
    http://help.sap.com/saphelp_scm2007/helpdata/en/2c/c557e9e330cc46b8e440fb3999ca51/content.htm
    Aggregation:
    http://help.sap.com/saphelp_scm2007/helpdata/en/42/f731d078e73ee4e10000000a1553f6/content.htm
    Disaggregation:
    http://help.sap.com/saphelp_scm2007/helpdata/en/a6/ebefaf32e22e468355da304cc59387/content.htm
    Please be sure that the setting of this logic will be at planning area level.
    You can't change aggregation/disaggregation logic further.
    Regards,
    Santosh

  • 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 delete planned orders with partial quantities -reg.

    Dear Friends,
    the issue is
    we are not able to delete the old planned orders in MD16 for which partial quantities are existing.
    we require to delete these planned orders which are partially serviced to avoid creation of schedule lines  for excess quantities.
    Is there any way to delete the planned orders for which partial quantities are existing ?
    is there need to change any strategy to make MRP not to consider these planned orders with partial quantities for MRP run ?
    thanks
    Madhu Kiran.

    Hi Madhu,
    Are you getting any error message from MD16? if yes then please send us the messsage number with class. if you do not want that MRP to consider the planned orders then change the startegy 11 for these parts with mixed MRP indicator 1.
    try this deletion from MD12 also..planned order change mode. Let us know the fresh update.
    Regards
    TAJUDDIN

  • Converting SNP Planned Order /Purch Req to Prod.Order/Purch.Order

    Guys
    What is the standard process to Convert the SNP Planned Order /Purch Req. into a Prod.Order/Purch.Order ?
    Can the conversion indicator be set in APO for SNP Planned Order /Purch Req.and then transferred to R3 as Prod.Order/Purch.Order  or can the convesrion of Planned Order /Purch Req to Prod.Order/Purch.Order  can be done in R3 itself ?
    I am not clear on how exactly this works. Would appreicate if you could provide me with the standard process and any config involved in the same such as Number Ranges and how to set the conversion indicator automatically through SNP planning runs ?
    Thanks

    When you set this indicator for a planned order or a purchase
    requisition, the system automatically converts the order into a
    Production order or purchase order after the transfer to the
    connected SAP R/3 system.
    The converted orders are then retransferred to the SAP APO system with a
    different category; a purchase requisition with category BS-ANF becomes
    a purchase order delivery schedule line with category BS-EIN.
    Please check configuration setting in SPro for transfer setting to R/3.
    1. Configure Transfer to OLTP Systems(SNP)
    2.Maintain Global Parameters and Defaults(PPDS)
    Also on R/3 side you can see it in MD04/MD07 collectively for a product . or individually on
    MD13 : planned order
    MB51n: PR
    Manish

  • MRP: how to segregate the planned orders by dependent requirements

    Hello SAP Guru's,
    I would like to know if this is possible to make the MRP work is this way:
    - generate global planned orders (by date) for several dependent requirements, for inhouse production;
    - AND generate individual planned orders for each dependent requirement, for external procurement;
    For the moment, it is grouping the quantities of all the dependent requirements to generate a unique planned order by date.
    But we would like to get separate planned orders for each dependent requirements that are externally procured.
    Do you think it is possible to do so? and if yes, how?
    Thanks in advance for your help on this subject.
    Regards,
    Rudy

    In MD04 the demand n supply that is seen is considered as plant segment. In some cases when you plan demand n supply for a given storage location separately it is called as SLoc segment, also if you're working with MRP areas then its called mrp area segment, likewise for project & sales order.
    In short it is just a way MRP would do its planning. In normal cases, the demand n supply is in plant segment, so in this segment the least resolution that you can work with is a day, so all demand on a given day is clubbed together and a supply proposal is made (depending on the lot size).
    If you want further split on a given day, then MRP needs some way to identify the difference & this is provided by the special stock segment such as project segment. To see how it works, if you're working with PS module, ask your PS colleague to create a demand for the material from different projects for a given day. Then in MD04 you will see each project demand show up in different segment & when you run MRP, you will see the results.
    I guess more than me writing quite a lot out here, a simple test at your end should help clarify... good luck

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

  • 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

Maybe you are looking for