Reuse Planned Order no.

Dear All,
We are facing the issue about number range PLAF nearly exhausted. We have defined solution to atleast extend the range or create a new number range.
However we are thinking if the number range can be re-use.
Example
NR       From                  To
01        001000000        001999999  - old already used
02        002000000        002999999  - new
We plant to delete NR 01
After NR02 exhausted.
Maintain again NR 01 same range and re-use.
Appreciate any inputs/info to be share. Thank you in advance.

Yun,
Like most NR strategies, yours will work if it is coupled with an archiving policy.  Eventually, you will have to re-use numbers that have already been used once.  You shouldn't allow SAP to attempt to automatically create a new planned order if the number it will use already exists in the database - the transaction will generate an error.  MRP runs may stop....
Archiving and deleting existing planned orders prevents this from happening.
For planned orders in a non-repetitive environment, it is a bit simpler, since they are generally deleted physically from the database by the system automatically when the system has no further use for them.  You can see which order numbers are in use by reviewing table PLAF.  Whenever you elect to re-use a number range, you should eliminate all existing entries from the database that belong to that range...if possible.
If the number range is large enough, and the number of entries in PLAF relatively much smaller, it is sometimes possible to get by just by resetting the "current number" back to an open portion of the range.
Best Regards,
DB49

Similar Messages

  • Error while creating a Planned Order

    Hi SAP Experts,
    I have an error encountered while creating a Planned Order which is "Mode linkage problem with mode number".
    Diagnosis:
        An application program called an LCA routine and the following error occurred:
        An order has at least one condition with mode linkage with the same mode number. The activities of this condition must have compatible modes. The modes are compatible when each mode of one activity has a mode for the other activity with the same mode number. The first activity that violates the condition is given in the return code table in ABAP.
    Please enlighthen me what is this error and what should be done to this error.
    Thanks in advance,
    Raymond

    Check the PPM or PDS being used in the Planned Order.
    Most likely you have a Setup Activity followed by Produce Activity. However the Mode (i.e. Resource) used in the two activities are different. The same Mode needs to be used both in Setup and corresponding Produce activity.
    Hope this helps,
    somnath

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

  • Issue in creation of Planned Order

    Hi all,
    There is a customer requirement on 08.02.2010 and there is shortage quantity as we don't have enough stock in the warehouse to cover the cust req. So when I run the MRP, planned orders are not getting created on 8th. Can you please tell me what could be the reason?
    Regards,
    Brijesh

    Hi,
    Are you saying that the planned order is not getting created at all or is it being created for an earlier date?
    If it is not being created at all, check in your sales order, whether the schedule line category is CP i.e. MRP relevant & in MD04 you notice the demand. Also check if the material is MRP planned & has a planning file entry (check using MD21, if no entry, make an entry via MD20).
    If it is being created, but at an earlier date, then check the lot sizing procedure. It could be that the lot sizing procedure is weekly or monthly & system has combined the needs & put a supply proposal at an earlier date.
    Check the above & revert with additional info if it does not resolve the issue.
    Regards,
    Vivek

  • User exit/ badi needed for planned order create/change,collective ATP check

    Dear All,
    I'm looking for a user exit/ badi which can be used for planned orders at the stage of
    mass collective availability check (COMAC tcode) update; or at some other relevant stages of mass update of planned orders.
    I need after collective availability check to perform the following:
    1) to copy date from "total comitment" field on header tab of planned order and paste it (replace old date) to order finish date on header screen
    then
    2) to start a scheduling.
    Very appreciate your help.
    Best Regards,
    Andrey
    Edited by: Andrey Kruglov on Apr 15, 2010 3:06 PM
    Edited by: Andrey Kruglov on Apr 15, 2010 3:07 PM

    Dear,
    Use the BAPI : BAPI_PLANNEDORDER_CHANGE
    Or use the function module MD_SET_ACTION_PLAF for Schedule planned order.
    and the transaction MDAC Execute action for planned order
    This function module includes the following actions:
    Explode BOM
    Explode BOM, check availability
    Check availability, only explode BOM in the case of a requirement
    Check availability, do not explode BOM
    Reset availability
    Change planned order data
    Schedule planned order
    Delete planned order
    Assign the key for the respective action control to the materials in the material master (MRP 4 view).
    Please refer this thread,
    Re: MDVP for collective orders
    Regards,
    R.Brahmankar

  • MD06  Issue - Planned orders not getting displayed

    Hello,
    Planned order with the exception "Newly created order proposal" does not get displayed in MD06 with the option "Only Unprocessed MRP Lists" in the processing indicator.
    I am running MD06 report with the following parameters:
    Plant
    MRP Controller
    Exeception Group - All exception selected except 8-Terminations
    Processing indicator - Only unprocessed MRP LIsts, Only with new exceptions
    My material which has a newly created planned order thorugh MRP run with exception "1 - Newly created order proposal" does not get displayed.
    Only when I specify Only processed MRP lists or All MRP LIst in the processing indicator, this material gets displayed. The planned order is for a Stock Transfer order to this plant (receiving plant). How is the MRP LIst processed?
    Please help me out with this issue.
    Sincerely,
    Ketan

    Hi Ketan,
    When you execute the MD06 report, you would find a column with the heading CI, if am right it would be just after the MRP cntlr, here you would find a Pencil & a tick mark. If you find them both, it means the row is unprocessed, but if you find only a tick mark it means that the row is processed.
    So now check for the planned order, it would be just a tick mark & hence would be showing only for the processed MRP list or all MRP lists.
    To process a row or unprocess, just click on the icon & it changes.
    Check & revert if it answers your query.
    Regards,
    Vivek

  • Restrict Product Allocation if Planned order is not getting created

    Hello All,
    We have a scenario that when ever a Sales Order is getting created, Product allocation assignment will be done automatically and planned orders will be created for that requirement in APO.
    There are some cases where in because of wrong Variant Configuration, Planned orders wont be created. Our requirement is to delete the Product Allocation automatically or to stop the product allocation assignment if the planned orders are not created.
    Do we have any standard setting for doing so or Kindly suggest me some BADI's which can be used for it.
    Thanks in advance.
    Best Regards,
    Srinivas.D

    Srinivas,
    A rather odd requirement.
    Have you tried in SCM APO 'Maintain check instructions' to perform the product check first, then allocation?  I would think that if the product check failed, then allocation would not be consulted, and no allocation therefore assigned.
    IMG > APO > GATP > General Settings > Maintain check instructions
    Best Regards,
    DB49

  • Planned Order to Purchase Order report in SAP

    Dear All
    The Business process is Planned Order - Converted to Purchase Requsition - Converted to purchase order .
    Is there any report in SAP , which shhows the direct link between Planned order to Purchase Order ?
    Regards
    Shyam

    I have never seen a standard report, build a query based on tables PLAF, EBAN and EKET should be involved

  • Production order and planned order qty should not consider in MRP

    Dear All,
    i do not want to consider the previous month production order qty and plenned order qty (Nothing but WIP qty) in the current momth MRP, but the stock has to consider in MRP.
    Example,
    Before MRP,
    material : XYZ
    Stock : 1000
    Prod Qty : 500 for 02.04.2008
    PIR Qty : 2000 for 02.05.2008
    After MRP, the requirement should be as below said,
    material : XYZ
    Stock : 1000
    Prod Qty : 500 for 02.04.2008
    PIR Qty : 2000 for 02.05.2008
    Pld OrdQty : 1000 for 02.05.2008
    For the above requirement ,i have done settings in the availabilty check like , for include planned order and include production order are "DO NOT TAKE IN ACCOUNT".
    Even then also the planned order qty is generating for the "500" only.
    please give the solution for the above said requirement.
    thanx in advance
    Regards
    Srinivas

    hi
    MRP will always consider the prod order qty while doing nert req calculation.One thing u can do is TECo the prod orders and un MRP then it wont consider prod order qty.
    The Availability check will check whether the components r avalaible or not based on ur scope of check
    Reward points if useful
    Amit

  • Planned order and Production order Not appearing cm21 transaction code

    Hi
    I have created a planned order for a material through MRP run
    As soon as the planned order is created its available in the cm21 transaction code . But once i dispatch the planed orders , the planned orders can be seen only as a BAR in the upper right side of the screen .
    1.Can any body please let me know how i can view the details of this dispatched planned orders in the same way when the planned orders were un dispatched ?
    2.If i create a production order manually or convert a planned order to production order i cannot see these production orders in cm21 neither on cm22 , can any body please let me know what i have to do so that i can view these production orders as well in cm21 or cm22 transaction code.
    Thanks and regards
    Sankar N

    Hi Pradeep
    I have checked the generate capacity requirements and it worked ,Thank you
    Presently i can view only the work centre details in cm21 screen extreme left , how can i see the details of the orders that are dispatched at this work centre ,in the similar way we see in the order pool, bottom left of cm21 screen .
    Thanks
    Sankar

  • Planned Order Report for WBS

    Hi expert,
    Is there any standard report to list planned order for one WBS ?
    Thanks and Regards
    Shubin

    Hi Balachandar,
    Thanks a lot for your support, I would like to have report which could be export to Excel. By MD16, we see there are more than 50 pages, we could not export to Excel easily.
    Thanks and Regards
    Shubin

  • Planned Order creation for Sales Order and Purchase Order

    Hi
    We have a following requirement.
    In normal scenario when we have demand for material  which was created by MD61 and in addition to that if there is Sales Order the 1st planned order gets revised.To better expalin this consider possible scenario
    You create plan via MD61 for 200 qty .The system creates Planned Order for 200.
    Now there is Sales Order for 150 peices.Then what happens is original  Planed Order of 200 is changed to 50 and another planned order is created for 150 peices.The requirement is not summed.
    Now in new scenario instead of Sales Order there is Intercompany Purchase Order of 150 peices.
    Now the system is not changing original Planned Order of 200,but it created another planned order of 150.So now there are 2 Planned Orders of 150 and 200.
    What I want to know is there any way wherein the system will reduce the original planned order (similar to Sales Order scenario)
    Regards

    Hi,
    Use Strategy 52 in urs case.
    PIR witll be created .
    None convertable planned order will be created.
    Once you get sales order for that material.
    New planned order will be created which will consume PIR( planned order ).
    Eg.
    PIR 10.
    Planned order 10 qty.
    Sales oder 6
    Planned order for SO 6 qty
    Planned order through pir will become 4 qty.
    Regards,
    Vishal

  • Purchase order vs planned order vs process order vs production order

    Hi,
    Kinldy explain difference between the  Purchase order,  planned order,  process order and production order?
    Thanks & Regards
    Ravi kumar

    Hi Ravi,
    In simple terms:
    planned order - A procurement proposal generated by the system to meet a need, this can then be converted to a production / process order (for internal procurement) or into a purchase reqn & in-turn to Purchase order (for external procurement)
    Purchase order - A firmed procurement proposal which is sent to your vendor (external procurement) to supply the items as per your order
    process order - A firmed procurment proposal which is used for in-house procurement, this is used in process industries eg: chemicals, oil & gas etc 
    production order - A firmed procurment proposal which is used for in-house procurement, this is used in discrete production industries
    Based on the above am quite sure you should be able to figure out the differenced. If any doubts revert.
    Regards,
    Vivek

  • What is equivalent ASCP report for Planned Order&Order Reschedule Report

    What is equivalent report for Supply Chain Planned Order Report & Supply Chain Order Reschedule Report
    We are currently on MRP and running Supply Chain Planned Order Report successfully. We are planning to go to ASCP(Decentralized) next month ,what is the equivalent reports in ASCP?
    Edited by: SanDan on Jan 9, 2013 1:57 PM

    Hi ,
    You can explore the Planning Detail Report which you can run against your ascp plan. However there are few standard reports available in ascp. I suggest you can explore option of building custom report which will be best suited to your business needs (i.e. using Discoverer or if you are also implementing obiee you can build a custom report based on standard views or noitex views (- for ascp)
    Regards
    narendra

  • Bapi for sfg dependent dem,snp planned order qty, and ppds planned orde qty

    Hi Gurus,
    I am not much familiar with APO, so please help me,
    Input details:
    Field                         Value     
    Planning Version     000     
    Source Location *     1001     Single/Multi Value
    Product *                          1000061     Single/Multi Value
    Production Planner *     PRC     Single/Multi Value
    Start Date *          
    End Date *          
    o/p:
    Source Location     Date     Semi-Finished Material     Material Description     SFG Dependent Demand     SNP Planned Orders qty     PPDS Planned order Qty     Total SFG Variance due to Lot size     Total SFG Variance reference to dependent demand
    1001     15-Jul-10     1000041PP     PRIMARY FF MILK  3% FAT     340     412     420     8     80
    1001     15-Jul-10     1000041PP     PRIMARY FF MILK  3% FAT                         
    1001     15-Jul-10     1000041PP     PRIMARY FF MILK  3% FAT                         
    Is there any bapi to fetch the data as shown in o/p.
    Thanks

    Hi Phani,
    Tryout the below BAPIs
    IF10503 (object)
    BUS10503
    Regards
    R. Senthil Mareeswaran.

Maybe you are looking for

  • Macbook can find every network except my own (iPhone,PC and other device can)

    I used to have long hair, but now it's short from me trying to wrap my head around this problem.. My new Macbook Pro have decided to ignore my router and it's driving me nuts! My iPhone 3gs, PC, Xbox360, 3DS, Printer and Wii are all connected to the

  • Simple mail program

    dear friends , i am new to this api and i tried to execute one simple program , which compiled well , but reported exception , it was some thing related to host i am attaching the source code, the problem it related to String host and string from , i

  • Problem Generating Document/Literal Web Service

    Hi folks.. I am currently using JDeveloper 10.1.3 (Preview Edition) and I am having trouble getting the Create Java Web Service wizard to work correctly when generating a document/literal web service. After going through the wizard selecting the appr

  • No button in 11g?

    Hi, In reports 6i , we could add buttons to the report (in the layout editor).... Is this not possible in Reports 11g Thanks. N.

  • Require SQL to get week information

    Hi, i need to get the week start date and end date in my report as a report break. Can you assist me? How would i go about doing this? This is the spec: Week Start Date The Report prints the Start Date of the week. Company has indicated that the star