Restrict Automatic serial number calculation for Production order release

Hi,
I need the solution for following requirement.
Release production order(CO02) . Then go to Menu header-> Serial Numbers.
Here I am getting serial numbers automatically as the material used in production order is set for automatic serial number calculation.
But I want to restrict automatic serial number assignment based on production order type.
If order type is 'XYZ', I dont want to calculate serial numbers automatically.
Can anyone tell me how to do it?
Regards,
Manan Desai.

When you press Release Order button the BADI 'WORKORDER_UPDATE->AT_RELEASE' will be called.
At this point the internal tables for Serial numbers are filled by the program automatically.
So call function module 'SERIAL_INTTAB_REFRESH' which will refresh the internal tables for serial numbers generated before teh serial number window pops up.
Also at the BADI 'WORKORDER_UPDATE->AT_SAVE' call the same function module because before this BADI call when you press 'SAVE' the program again checks if automatic serial number is set for that material and if yes then check if no serial numbers are generated then it generates the serial numbers again and fills the internal tables. So clear the internal tables again based on the conditions.
In these BADI's we have access of header information which can be used to check condition.
I hope this will give you better idea.
Thanks for your efforts.
Manan Desai.

Similar Messages

  • Actual activity price calculation for production order

    Hi
    Can any one guide me in how many ways we can assign actual activity price calculation for production order?
    I knew only one way by assigning PPP2 costing variant?
    I have another doubt is: if we don't mention any material valuation indicator (moving average, standard) in valuation variant, how system will calculate material prices? is there any other way, to recognize the prices by system?
    regards,
    Ramesh B

    Dear,
    Costing variant PPP2 is linked to some valuation variant inn OPL1
    System will check the valuation of material and activity according to this valuation variant
    For material valuation there are many stg acceding to which system will take the price the raw material,
    Valuation strategy for material component
    Strategy sequence that determines the valuation of the materials used in the cost estimate.
    Use
    The materials are valuated using the price in the material master record or the values calculated in a material cost estimate.
    Procedure
    You can enter a single strategy, or you can enter multiple strategies in the form of a strategy sequence. If you enter multiple strategies, the priority of the strategy determines what price or what values are selected.
    Examples
    Assume that the following strategy sequence is entered for material valuation:
    1. Planned price 1
    2. Standard price
    3. Moving average price
    If the system finds a value in the Planned price 1 field (costing view), this value is taken as the value for valuating the material.
    If the system does not find a value, the value in the Standard price field (accounting view) is used.
    If the material does not have a standard price, the system uses the value from the Moving average price field.
    if you have not mentioned, then system will give error that "valuation stg not found"
    Valuation strategy for internal activities and processes-
    Strategy sequence that determines how internal activities and processes are valuated in costing.
    Use
    The activities and business processes used are valuated with the prices from Cost Center Accounting or Activity-Based Costing to determine the production costs or process costs. The prices can either be calculated iteratively through price calculation, or entered manually by the user.
    Procedure
    You can enter either a single strategy or more than one strategy in the form of a strategy sequence. If you enter more than one strategy, the priority of the strategy determines which price is selected.
    Examples
    The following strategy sequence is entered:
    1. Actual price of the previous period
    2. Plan price of the previous period
    3. The most current plan price
    If the system finds a price for the activity type, this price is used for valuating the internal activities. If no price was calculated for the previous period, the plan price from the previous period is used to valuate the activity type.
    If the system cannot find a plan price for the previous period, it looks for a future plan price, using the next price in the posting period to valuate the internal activities. For example, if plan prices have been entered for periods 2 and 3, and a plan price is calculated in period 1 for period 4, the system uses the price from period 3 in accordance with the valuation strategy Most up-to-date plan price.
    Again if you have not mentioned, then system will give error that "valuation stg not found".
    You can use any costing variant for actual (PPP2)and planned(PPP1) according to your requirement.. check in OPL1

  • Plantwise separate number range for Production order

    Hello SAP Expert,
      I my project our client require plantwise number range for Production order,order Confirmation for indentifiction purpose .
       Please give way to do this.
    Thanks in advance.
    Regards,
    Yogesh.

    Hi,
    As per standard SAP not possible because Order types are maintain at Client level and not at Plant Level, but as Sukender said use Different Order Types for different Plants.But I guess user will face one problem often during Manual Production / Process Order Creation , and that is if they select wrong order type then face a problem like no Order type dependent Parameter set for required Plant.
    Regards,
    Dhaval

  • Variance calculation for production order with settlement receiver as SDI

    Hi...
    I have one query reference to Variance calculation for production order with settlement receiver as SDI(Sales document item).
    I am working on Varaint configuration with strategy 25(Make-to-order for configurable material) with requirement class 046.
    I have created sales order ref. to configurable material,subsequently created planned order & then converted to production order.
    In production order settlement receiver is SDI(Sales document item).
    While doing production confirmation ,variance has been created.
    Now during variance calculation KKS2, I have got error message as no suitable settlement rule found for object Order no.
    Is there any way to come out of this?Or variance calculation KKS2 is not applicable with settlement receiver as SDI(Sales document item).
    Pl. guide
    Redards
    Tushar

    Hi
    In case of non valuated material, concept of variance does not apply...
    Variance is Actual Cost - Cost of Goods receipt posted in stock.. If the later value is zero, your entire actual cost is variance... That is one way of saying it
    But, in SAP, var not calculated in case of non valuated material and that makes sense as well.. Since you are in MTO scenario, it would make sense to analyse costs vs revenues @ sale order level as each SO will be unique in itself
    Regards
    Ajay M

  • Number range for Production order

    Dear All SAP PP Gurus,
    I am new to SAP PP and want to learn about number ranges for production order.
    Can anyone tell me step by step procedure for creating & Assigning
    number range.
    Thanks in advance.
    Regards.

    Hi MIHIR,
    I just chkd the blog spot of MR Siva.
    It is very much self expalnatory.
    Siva ,pls update more documents in ur blog,it is very much helpful
    THNX all

  • Number Range for production order / Planned order

    Number Range for production order / Planned order depends upon what?
    Plant, order type, mrp controller??

    Dear,
    Number Range for production order :- Client Specific assign to the order type You can check in CO82 and OPJH.
    Planned order  :- Plant specific OPPQ or OMI2.  Number ranges for Manual creation - OMI3
    Hope clear to you.
    Regards,
    R.Brahmankar

  • Variance calculation for production order

    Hello,
    I am clarifying what's the selection criteria for settled production orders so that we can carry out the following
    close and deletion flag activities.
    I am currently in release ECC605. Need to carify the below questions.
    1. For production order without header material (dismantle production order), no need to do variance calculation before
    settlement,right? Because I found system will respond green light but "no order was processed", this kind of production order
    won't possess "VCAL variance calcaulted" system status.
    2. For all production orders created with header material, vairance calculation is a must, even the variance is 0.
    So the production orders  will possess "VCAL" status after variance calculation transaction is done.
    Thanks for your help in advance.
    B. Regards,
    Nancy

    How does input variance and output varia.nce will be calculated on the settlement of production order after TECO.
    VARIANCE CALCULATION DEPENDS ON CONFIGURATION IN THE FOLLOWING AREAS,
    1) VARIANCE VARIANT -  DETERMINES WHAT VAREIANCE CATEGORIES ARE CALCULATED, E.G MATERIAL PRICE , USAGE, LABOUR RATE , USAGE VARIANCE ETC..
    2) TARGET COST VERSIONS
    3) VALUATION VARIANT FOR WIP  AND SCRAP
    Can we check in KOB3 or COOIS.
    KOB3 -  YES
    COOIS -  CHECK IN COST REPORT

  • User exit for Production Order release

    Hi Experts,
    Any User eixt for Prouction Order Mass processing.
    Before releasing the production order i have to do some checks. Can you please provide right user exit. More reward points with best solutions.
    Thanks
    Cris

    Hi,
              check the following userexits and BADI's for Production Order
    Enhancement/ Business Add-in Description
    Enhancement
    PPCO0010 Enhancement in make-to-order production - Unit of measure
    PPCO0012 Production Order: Display/Change Order Header Data
    PPCO0013 Change priorities of selection crit. for batch determinati
    PPCO0015 Additional check for document links from BOMs
    PPCO0016 Additional check for document links from master data
    PPCO0017 Additional check for online processing of document links
    PPCO0018 Check for changes to production order header
    PPCO0019 Checks for changes to order operations
    PPCO0021 Release Control for Automatic Batch Determination
    PPCO0022 Determination of Production Memo
    PPCO0023 Checks Changes to Order Components
    STATTEXT Modification exit for formatting status text lines
    PPCO0009 Enhancement in goods movements for prod. process order
    CCOWB001 Customer exit for modifying menu entries
    COIB0001 Customer Exit for As-Built Assignment Tool
    COZF0001 Change purchase req. for externally processed operation
    COZF0002 Change purchase req. for externally procured component
    PPCO0001 Application development: PP orders
    PPCO0002 Check exit for setting delete mark / deletion indicator
    PPCO0003 Check exit for order changes from sales order
    PPCO0004 Sort and processing exit: Mass processing orders
    PPCO0005 Storage location/backflushing when order is created
    PPCO0006 Enhancement to specify defaults for fields in order header
    PPCO0007 Exit when saving production order
    PPCO0008 Enhancement in the adding and changing of components
    Business Add-in
    AFABD_CHANGE Change Relationship
    CAUFVD_CHANGE BAdI: Overall Network Scheduling with Selection
    PPPI_SEL_ORD_EXT_REL
    SIDAT_UPDATE Change date of price simulation
    Regards

  • Enhancement for Production Order Release and Batch Fixing.

    Hi Experts,
    I have assigned a enhancement for production order.The user exit is also given in the req as PPCO0001 through which i have to call a Z-Program for Batch fixing using Trans CO01 and release the order before saving once it is assigned to components.
    Now my probs is where to start working for the enhancement -is it possible to use any BAPI instead of Batch (BDC) or I can use any BADI instead User Exit.
    So if you guys have similar scenario worked on it or have similar example approach to solve it.Please do help.I will reward for all helpful answers.

    I figured out thr friends !
    Thanks,
    SriRam

  • External Number range for Production Order with additional logic

    Hi gurus,
    My requirement is -
    I have two products - for my Local and Export
    I have made two Order type for local and Export - say LOCL and EXPO
    My LOCL order no will start with L and EXPO with E
    I can do this with external number range set for each order type..
    Now my question is -
    My client wants Production Order in this fashion -
    L20111------
    L is local, 2011 is year, 1 is jan (1 to 9 - Jan to Sept, A - Oct, B- Nov, C - Dec) followed by a serial number
    How can we address this in SAP?
    Any clues?
    Thanks for your suggestion in advance.
    Regards,
    Srinivas

    Hai,
    You need to use User exit for this.  kindly contact your ABAP team.

  • Error during variance calculation for production order "NO cost estimate "

    hi all,
    I'm gettin this error message while trying to calculate the variance for a production order. error is "No cost estimate for material xxxx for 01.10.2008.
    when i look at material xxx in MM02, under cost estimate for current period there is a value but nothing for previous period. So i'm guessing the the Cost estimate was not run of this material? am i correct here?
    Now if i try to run cost estimate for material for the missing periods using CK11N, i get an error "cannot save for past period"
    Could some one tell me how can i get a prior year estimate into the material master?
    I tried CK40N and CKN1 but just cant get it to work...
    Thanks heaps

    Hi Tom
    unfortunately there is no easy way to get a product cost estimate for a past date. One of the reasons for this would be inconsistant product valuation.
    You could in theory create a cost estimate in a current date and use an ABAP or manually adjust the valid from and to dates directly in the tables (e.g. KEKO). To do this in a production environment would be restrictive off course.
    The standard cost estimate is the basis for the target costs so as an alternative you could look to change the configuration of the target cost version in OKV6 to either of the following:
    - Plan Cost/Preliminary Costing (that is the plan calc done on your production order)
    - Alternative Material Cost Estimate (one that is not necessarily a product costing that is set for marking and release).
    I hope this is of some help.
    Elaine

  • Error in cost calculation for production order

    Dear All,
    I got error of cost calculation while release of Production Order due to price of some material is not mantain .
    What will happen if I release , save the Order with error & do Good Issue ???
    Ishwar

    Dear Ishwar,
    Check the log's created for costing and rectify the same.
    I feel its better to rectify the cost related errors and then release the production order and proceed to Good's Issue.
    Check whether there is a MAP for all the Raw-materials and an origin group in costing 1 view.
    The Finished product must be having a standard cost estimate that's valid for the current period.
    Revert back in case of any more help needed.
    Regards
    Mangalraj.S

  • Overhead calculation for production order

    Hi,
    I configured costing sheet and cost component structure. I have given the overhead rates for materials and production costs also. I have a doubt related overhead calculation.
    When i have to actual overhead calculation after CK11N or before CK11N.
    Please guide me series of steps
    Sateesh Kumar

    Hi Sateesh,
    Once you execute CK11N or CK40N Overhead is calculated for the material and Save.mark and release standard cost and  overhead part of your standard cost.
    To apply actual overhead to prodcution order,you should assign costing sheet to production order.once you issue goods to production order,you can run KGI2 transaction to apply overhead to prodcution order and credit to cost center/order/business process.
    If this helps,please assign points.
    Thanks,
    Rau

  • Number range for production order is running out! Please help..

    Hi,
    Our number range for the production order is running out, can anyone please guide me how to extend or create a new number range?
    I try to go to CO82, there is no where for me to add a new range. Also, I can't extend continuosly the number range cause the next number already assigned to another order type.
    What can I do?
    Kindly please help. Thank you.

    Hi,
    All i would suggest before fixing on the number of digits, look at your past pattern. Estimate the number of orders which you plan to create for a given order type, based on that select the number of digits.
    Now if you wish to increase from 7 to 8, its fine, it will not be an issue, once you define the number range, system will throw a message if it overlaps, so you can be rest assured about that. Assign the new number range to the order type & standard SAP will take care of the rest. However if you have any custom reports / developments, just ensure that there is no hard coding to read only 7 digits. Apart from that it should work fine.
    Hope the above resolves the issue.
    Regards,
    Vivek
    Added
    Please do not amend the existing number range or do any modifications to the same, it will lead to inconsistencies. So create a new range & assign the same to the order types
    Edited by: Vivek on Mar 13, 2009 10:43 AM

  • Label printing for serial numbers out of production order

    Dear PP experts,
    according to the standard help description, it should be possible to
    print a label with barcode for each serial number generated for production order when printing shop floor papers.
    As for the standard set up, the following forms are assigned for
    production order object, where none of them seems to be a label type.
    LF01 PRT overview
    LG01 Object list
    LG02 Op. control ticket
    LG03 Job Ticket
    LG04 Kanban ticket
    LK01 Pick list
    LK02 Goods issue slip
    LK03 Goods receipt list
    LP01
    LP02
    LV01 Time ticket
    LV02 Confirmation slip
    LV03 Document links
    LV04 Operation Splitting
    Some of the print programs contain the ser.number information though
    none of them is designed for label printing. Does anyone know
    further information how is the label printing intended to work for
    serial numbers in production order?
    Thanks.
    Peter --
    Message was edited by:
            Peter Hanak

    Hi,
    The process of scanning barcodes and label printing :
    First u have to define the output type which has tobe attached with or linked to a "form" or "Smart Form" which displays a label layout.Through ABAP coding u have to link the object (any of the mentioned by u) with the "form or smart form".
    So as u scan the barcode with serial number the label gets printed at the required stage of production order processing.
    This includes the pure Technical stuff of coding.
    Prakash

Maybe you are looking for

  • How can I raise the volume on a video clip in Premiere Elements 12?

    I want to raise the volume on a video clip in Premiere Elements 12. Can anyone help?

  • Oracle Home running out of space

    Hi, I have installed oracle application server 10g and oracle 10g on an Linux server. Both products have been installed on the /oracle partition which is about 11GB The database control and data files have been setup to another partition /oradata. Af

  • Oracle Service Bus Debugger: stepping an inexisting frame

    Hi, We are frequently getting below alert on production. The messages are not failing beucase of this. Does anybody face this error before? ..... not able to reproduce this on our test environment. <BEA-382004> <Failed to process request message for

  • How can I adjust my photosmart 8750 printer to properly frame print?

    My photosmart 8750 printer (Win XP on network) does not give consistent results when printing. When printing a photo with white borders, it will give an even border around the photo and cannot be adjusted accordingly. does anyone have a solution to t

  • Video playback stops while audio goes on

    After several month of not making any movies, I am trying a new project. Right of the start something is wrong, freshly imported unedited line of clips is not being played correctly in iMovie preview window - video stops in about 30sec or so, while a