Sales order field in production order

Hi Gurus,
I see there is a field sales order assigned to production order. In my scenario when we create a sales order production order gets created automatically in background due to the strategy group. So in production order, i see a field sales order and also i can see the sales order number in that field which is fine.
But when we create a sales order with reference to quote, then in production order i see the quote number displayed in sales order field in the production order.
My client wanted to have sales order number rather quote.
Please suggest.
Thanks,
Quantum.

Hi,
Please note that if sales order stock has already been assigned to a quotation, the stock of the resulting orders is also managed under the quotation number.
If you require to tag the sale order no to the production order then define the requirement type not as the make to order. This you can control at item category level also. While for sales order make requirement type make to order related.
While doing so please note that you have to use the special rule to determine the requirement type which will based on the item category and mrp type.
Hope this will help you.
Thanks and regards,
Atul

Similar Messages

  • Cost Center field in Production Order CO01 and PO tables

    Hi SAP Consultants,
    Is there any Cost Center field in Production Order transaction CO01 ?
    What are the tables where Production order data is stored/saved ?
    Any help would be appreciated.
    Thanks in advance.

    Need to understand your purpose first. Let's not make it any more technical than it should be, talking in terms of fields and layouts.
    All the replies given before mine are referring to the operational costs - which are what are passed on "for performing each operation" of the production order. These are the costs coming to the production order from the work center where the operation is performed. At the end of several operations, the production order would have collected all these costs of different operations, and also those of the materials used in the process. There may be other (overhead, etc) costs coming on to the production order too.
    If you're looking for one "cost center" for the entire production order, what cost center is this? Is it the department to which you want to settle the production costs? This is possible, that all the costs accumulated in the production order over the course of its life are finally "settled" to a different cost object, which can be an inventory account, or a sales order, an internal order, or a cost center etc. (There are exceptions, where a production order need not be settled but lets leave this to save us some complexity).
    What exactly are you looking for? What is the business purpose you are trying to achieve? Or is it just a purely technical reason to write a report or something? Even then we need to know the purpose and objective of the report/enhancement before being able to answer your question.
    -Ram

  • Sales Order Conversion to Production Order

    Dear All,
    I am from SD and have a doubt reg SD - PP ...
    If i have 3 sales orders and each sales order has 3 line items. Now i need to make a production order --- the production order to have 1 line item from each sales order so in all 3 production orders for the 3 sales orders and each production order has 3 line items and each line item is from diffrent sales orders i.e as above 3 sales orders.
    is it possible and how ?
    I am awaiting for a suitable solution ASAP...
    Thnks
    krishna

    Hi,
    In PP always 1 production order is for only 1 product ( if no co-product is added in BOM).
    In your scenario, If the PP settings & master data are maintained perfectly.
    System will create 9 production orders ( this may vary with respect to the lotsizing procedure used).
    Reward points if useful
    Thanks & regards
    Mahesh babu
    Edited by: Mahesh Babu MG on Jan 30, 2008 7:19 PM

  • Sales Order Text to Production Order Text

    Dear Experts,
    When creating a sales order in VA01, I added in some comments in the item level Texts tab.
    How can I configure the system so that when a production order is created from this sales order, the comments entered in the sales order will be automatically populated in the Long Text tab of Production Order header.
    This is because during the creation of sales order, there may be certain comments and/or instructions that need to be passed to the production line. We want the texts to flow through to the production order automatically.
    Any ideas?
    Thanks in advance.

    Hi,
    The problem is solved.
    In SD side, there's a transaction VOTXN. Change the configuration for Sales Order Item.
    Add a Text ID 0006 (Production Memo) in Textprocedure with Access Sequence 21 (Material Sales).
    In Access Sequence 21, map Text Object VBBP (Sales Order Item Text) to ID 0006 (Production Memo).
    Save it.
    When you create your sales order, in the item text level, you'll be able to see an additional text type of Production Memo. Enter your text here and save the sales order. When production order for this Sales Order is created, Production Memo tab will automatically appear (as mentioned by Peter earlier).
    Thanks.

  • How to compare sale order bom and production order bom.

    i would like to provide report with respect to comparation of sale order bom and production order bom, but i am not familiar with SD and PP, can anyone give me some clue? i only know sale order bom is created via 'CS61', afterwards run mrp to get production order, the process appears complicated, i needn't know the process detail, just want to know how to get sale order bom and relative production order bom. please guide me.

    Hi,
    Check Tcode:CS14 to SD/PP BOM's
    Chidambaram

  • Question about the rescheduling of a Sales Order and its Production Order

    Hello Everybody,
    I experience something strange with the rescheduling of a Sales Order and its corresponding Production Order.
    It will be easier to explain with an example...
    For a material, I have created a Sales Order.
    And from this Sales Order, I have now a Production Order converted from a Planned Order generated by the MRP Run.
    This is what I have in transaction MD04:
    SALES ORDER
    AV DATE: 20/02/2008
    GR DATE: 20/02/2008
    PRODUCTION ORDER
    AV DATE: 20/02/2008
    GR DATE: 18/02/2008    (GR process time is 2 days).
    ==> OK !
    Now, I have to reschedule the Sales Order one week sooner.
    SALES ORDER
    AV DATE: 13/02/2008
    GR DATE: 13/02/2008
    After transaction COHV to reschedule the Production Order, I have:
    PRODUCTION ORDER
    AV DATE: 15/02/2008
    GR DATE: 13/02/2008
    But I expected to have:
    PRODUCTION ORDER
    AV DATE: 13/02/2008
    GR DATE: 11/02/2008
    Do you have an idea about what is wrong?
    Thanks in advance for your help on this subject.
    Regards,
    Rudy

    Hello.
    Thank you for your reply.
    But in fact, I am doing some tests on a test platform, which is using an "old" copy of production database.
    So, there can't be data already scheduled for the dates I am using.
    Moreover, I just tried now to do the same with dates in November 2008, exactly with the same results.
    In production platform, they experience this problem too.
    Summary of my new test:
    Before rescheduling:
    SALES ORDER:
    AV. DATE = 20/11/2008
    GR. DATE = 20/11/2008
    PROD. ORDER:
    AV. DATE = 20/11/2008
    GR. DATE = 18/11/2008
    After rescheduling of one week sooner:
    SALES ORDER:
    AV. DATE = 13/11/2008
    GR. DATE = 13/11/2008
    PROD. ORDER:
    AV. DATE = 15/11/2008  (ipo  13/11/2008)
    GR. DATE = 13/11/2008  (ipo  11/11/2008)
    I really don't understand why I don't have the same kind of dates as the ones I get before the rescheduling...
    In my mind, I expect to have all these dates set back of one week...
    Regards
    Rudy
    Rudy

  • Updating Sales Order no in Production Order

    we have csenario for Sales Order :  Inquery - Quotation - Sales Order .
    In PP we have MTO scenarion . when i run MRP and convert the plan order to Production Order , in place of Sales Order it was updatin Quotation in Production Order .
    we have checked SD config for sales doc Item category =TAC and in Material Master we will used Item Category = NORM
    Please suggest is there any other setting for updating Sales Order no in Production Order .
    Thnx.

    Hi,
    I assume that you are using the strategy 20 (MTO). Go to OVZG here select the class 040 Indiv.cust.w/o cons., keep BLANK for account assignment consumption and rerun the whole cycle and check.
    Thanks
    Hrishi

  • Negative quantity in deliver field in production order - CO02

    Hi All,
    I am doing production confirmation and goods receipt for production order through back ground using standard BAPI.While doing GR for production order in background the following error occured.
      System is throughing dump - Arithmatical logical conversion problem.when we analysed through ST22 we came to know that negative quantity appearing in field of delivered in production order.
      Screen name.............. "SAPLCOKO1"
      Screen number............ 0120
      Screen field............. "CAUFVD-GWEMG"
    As per standard, delivered field in production order is always in display mode only. So there will not be any chance for user to change the delivered field.
    Pls guide me how to overcome the above issue and what is exact root cause for the above problem.
    System is throwing error in change mode ( Co02) and display mode ( CO03 ) for the respective production order number
    Thanks
    P.Srinivasan

    Hi,
    This inconsistency can be solved with the following correction report. If you want to try by yourself, then implement it manually in transaction SE38 and execute in test mode first to check if the inconsistency is found. And obviously, in a TEST system first.
    If you are NOT confident about it, I recommend you to submit a support message for SAP for further investigation since this is a database inconsistency.
    Regards,
    Marcelo
    <pre>
    *& Report  ZPCON_076B                                                  *
    *& This report checks goods receipt quantity (WEMNG) and value (WEWRT) *
    *& of an order item for consistency with the corresponding material    *
    *& documents. In UPDATE mode, the quantity and the value calculated    *
    *& from the material documents will be written to database table AFPO. *
    REPORT  zpcon_076b LINE-SIZE 90.
    INCLUDE lcokotyp.
    TABLES: afpo.
    SELECTION-SCREEN COMMENT /1(80) text1.                      "#EC NEEDED
    SELECTION-SCREEN COMMENT /1(80) text2.                      "#EC NEEDED
    SELECTION-SCREEN COMMENT /1(80) text3.                      "#EC NEEDED
    SELECTION-SCREEN COMMENT /1(80) text4.                      "#EC NEEDED
    SELECTION-SCREEN COMMENT /1(80) text5.                      "#EC NEEDED
    SELECTION-SCREEN ULINE.
    SELECTION-SCREEN COMMENT /1(80) texta.                      "#EC NEEDED
    SELECT-OPTIONS r_aufnr FOR afpo-aufnr.
    SELECTION-SCREEN ULINE.
    SELECTION-SCREEN BEGIN OF BLOCK block WITH FRAME TITLE title."#EC NEEDED
    SELECTION-SCREEN COMMENT /1(72) texty.                      "#EC NEEDED
    SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME.
    PARAMETERS: testmode RADIOBUTTON GROUP mode DEFAULT 'X'.
    PARAMETERS: update RADIOBUTTON GROUP mode.
    SELECTION-SCREEN END OF BLOCK block2.
    SELECTION-SCREEN COMMENT /1(72) textz.                      "#EC NEEDED
    SELECTION-SCREEN END OF BLOCK block.
    DATA: BEGIN OF ls_afpo.
            INCLUDE STRUCTURE afpo.
    DATA: END OF ls_afpo.
    DATA  lt_afpo LIKE ls_afpo OCCURS 0.
    DATA: BEGIN OF ls_mseg.
            INCLUDE STRUCTURE mseg.
    DATA: END OF ls_mseg.
    DATA  ls_mseg2 LIKE ls_mseg.
    DATA  lt_mseg LIKE ls_mseg OCCURS 0.
    DATA  ls_mkpf TYPE mkpf.
    DATA l_initial_ltrmi TYPE co_ltrmi VALUE IS INITIAL.
    DATA l_orders TYPE sytabix.
    DATA l_entries TYPE sytabix.
    DATA l_sum_wemng TYPE wemng.
    DATA l_sum_wewrt TYPE wewrt.
    DATA l_error TYPE xfeld.
    INITIALIZATION.
      text1 = 'This report checks goods receipt quantity (WEMNG) and'.
      text2 = 'value (WEWRT) of an order item for consistency with the '.
      text3 = 'corresponding material documents. In UPDATE mode, the'.
      text4 = 'quantity and the value calculated from the material'.
      text5 = 'documents will be written to database table AFPO.'.
      texta = 'Please specify order numbers of orders to be processed.'.
      texty = 'If TESTMODE is set, no database update will occur.'.
      textz = 'Set radio button UPDATE for updating the database entries.'.
      title = 'Mode'.
    AT SELECTION-SCREEN.
    orders specified?
      IF r_aufnr IS INITIAL.
        MESSAGE e889(co) WITH 'Please specify order numbers'.
      ENDIF.
    START-OF-SELECTION.
    select order items
      SELECT *
             FROM  afpo
             INTO  TABLE lt_afpo
             WHERE aufnr IN r_aufnr
             AND ( dauty = auftragstyp-fert
                OR dauty = auftragstyp-netw
                OR dauty = auftragstyp-inst
                OR dauty = auftragstyp-rma
                OR dauty = auftragstyp-bord ).
      DESCRIBE TABLE lt_afpo LINES l_orders.
    check order items
      LOOP AT lt_afpo INTO ls_afpo.
        REFRESH lt_mseg.
        CLEAR l_sum_wemng.
        CLEAR l_sum_wewrt.
        CLEAR l_error.
        SELECT *
               FROM  mseg
               INTO  TABLE lt_mseg
               WHERE matnr = ls_afpo-matnr
                 AND werks = ls_afpo-pwerk
                 AND aufnr = ls_afpo-aufnr
                 AND aufps = ls_afpo-posnr
                 AND kzbew = 'F'
               %_HINTS ORACLE 'rule'.
        IF NOT sy-subrc IS INITIAL.
        no goods movements --> nothing to do.
          DELETE lt_afpo.
          CONTINUE.
        ENDIF.
        LOOP AT lt_mseg INTO ls_mseg.
          IF ls_mseg-shkzg ='S'.
          inward movement
            IF NOT ls_mseg-dmbtr IS INITIAL.
              l_sum_wewrt = l_sum_wewrt + ls_mseg-dmbtr.
            ENDIF.
            IF NOT ls_mseg-bstmg IS INITIAL.
              l_sum_wemng = l_sum_wemng + ls_mseg-bstmg.
            ELSE.
              IF ls_mseg-erfme = ls_afpo-amein.
                l_sum_wemng = l_sum_wemng + ls_mseg-erfmg.
              ELSE.
                IF ls_mseg-meins = ls_afpo-amein.
                  l_sum_wemng = l_sum_wemng + ls_mseg-menge.
                ELSE.
                  WRITE: 'ERROR - Order', ls_afpo-aufnr COLOR 6.
                  DELETE lt_afpo.
                  l_error = 'X'.
                  EXIT.
                ENDIF.
              ENDIF.
            ENDIF.
            ls_mseg2 = ls_mseg.
          ELSE.
          outward movement
            IF NOT ls_mseg-dmbtr IS INITIAL.
              IF ls_mseg-dmbtr NE ls_mseg-bualt AND
                 NOT ls_mseg-bualt IS INITIAL.
                l_sum_wewrt = l_sum_wewrt - ls_mseg-bualt.
              ELSE.
                l_sum_wewrt = l_sum_wewrt - ls_mseg-dmbtr.
              ENDIF.
            ENDIF.
            IF NOT ls_mseg-bstmg IS INITIAL.
              l_sum_wemng = l_sum_wemng - ls_mseg-bstmg.
            ELSE.
              IF ls_mseg-erfme = ls_afpo-amein.
                l_sum_wemng = l_sum_wemng - ls_mseg-erfmg.
              ELSE.
                IF ls_mseg-meins = ls_afpo-amein.
                  l_sum_wemng = l_sum_wemng - ls_mseg-menge.
                ELSE.
                  WRITE: 'ERROR - Order', ls_afpo-aufnr COLOR 6.
                  DELETE lt_afpo.
                  l_error = 'X'.
                  EXIT.
                ENDIF.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDLOOP. "AT lt_mseg
      only continue if no error in the calculation occurred
        CHECK l_error IS INITIAL.
        IF ls_afpo-wemng = l_sum_wemng AND
           ls_afpo-wewrt = l_sum_wewrt.
        values are correct, no update necessary
          DELETE lt_afpo.
          CONTINUE.
        ENDIF.
        FORMAT: COLOR 1.
        WRITE: / 'Order', ls_afpo-aufnr, 'material', ls_afpo-matnr.
        FORMAT: COLOR OFF.
        WRITE: /3 'Order item data   : quantity',
                  ls_afpo-wemng UNIT ls_afpo-amein, ls_afpo-amein, 'value',
                  ls_afpo-wewrt CURRENCY ls_mseg-waers, ls_mseg-waers.
        WRITE: /3 'Material documents: quantity',
                  l_sum_wemng UNIT ls_afpo-amein, ls_afpo-amein, 'value',
                  l_sum_wewrt CURRENCY ls_mseg-waers, ls_mseg-waers.
        FORMAT: COLOR 2.
        WRITE: /3 'Material doc.  BWART', 30 'stock qty  UoM',
               52 'entry qty  UoM', 77 'value  Curr'.
        FORMAT: COLOR OFF.
        LOOP AT lt_mseg INTO ls_mseg.
          WRITE: /3 ls_mseg-mblnr, ls_mseg-zeile, ls_mseg-bwart,
                   ls_mseg-menge UNIT ls_mseg-meins, ls_mseg-meins,
                   ls_mseg-bstmg UNIT ls_mseg-bstme, ls_mseg-bstme,
                   ls_mseg-dmbtr CURRENCY ls_mseg-waers, ls_mseg-waers.
        ENDLOOP.
        IF NOT update IS INITIAL.
        set delivery date
          IF l_sum_wemng IS INITIAL.
          initial delivery quantity --> initial delivery date
            UPDATE afpo SET   ltrmi = l_initial_ltrmi
                        WHERE aufnr = ls_afpo-aufnr
                          AND posnr = ls_afpo-posnr.
          ELSE.
          read posting date from last valid goods receipt
            SELECT SINGLE * FROM  mkpf
                            INTO  ls_mkpf
                            WHERE mblnr = ls_mseg2-mblnr
                              AND mjahr = ls_mseg2-mjahr.
            IF sy-subrc IS INITIAL.
              UPDATE afpo SET   ltrmi = ls_mkpf-budat
                          WHERE aufnr = ls_afpo-aufnr
                            AND posnr = ls_afpo-posnr.
            ELSE.
            leave LTRMI untouched
            ENDIF.
          ENDIF.
        set quantity and value
          UPDATE afpo SET   wemng = l_sum_wemng
                            wewrt = l_sum_wewrt
                      WHERE aufnr = ls_afpo-aufnr
                        AND posnr = ls_afpo-posnr.
          FORMAT: COLOR COL_POSITIVE.
          WRITE: /3 'Order item data corrected from material documents.'.
          FORMAT: COLOR OFF.
        ENDIF.
        ULINE.
      ENDLOOP. "AT lt_afpo
      WRITE: / 'Number of checked order items     :', l_orders.
      DESCRIBE TABLE lt_afpo LINES l_entries.
      WRITE: / 'Number of inconsistent order items:', l_entries.
      IF NOT update IS INITIAL    AND
         NOT l_entries IS INITIAL.
        WRITE: / 'Inconsistencies were corrected from material documents.'
                  COLOR COL_POSITIVE.
      ENDIF.
      ULINE.
    </pre>
    Edited by: Wilian Segatto on Jan 25, 2011 12:27 PM

  • Make Scrap portion field in production order header as display only

    Hi Experts,
    We have a requirement to make scrap field(CAUFVD-GASMG) in production order header as display field only. We do not want users to enter any values here to denote the quantity scrapped in production orders. I am not aware of any configuration to make this field as display only. Please let me know which user exit or BADI available for this purpose. We do not want to use any screen variants and transaction variants and would like to restrict this at order type or plant level.
    Thanks
    Rijil

    Hello Rijil,
    If not with variants than check with enhancement.
    PPCO0006  Enhancement to specify defaults for fields in order head
    PPCO0012  Production Order: Display/Change Order Header Data
    PPCO0018  Check for changes to production order header
    Regards,

  • Profit center field in production order master data in KKF3

    Hi GUrus,
    is there any way of mass updating the profit center field in production order master data in KKF3 transaction. PLease help
    Anusha

    HI charlie,
    When i try to change the profit center, the system gave this message. We already have a profit center for a production order and we need to change the profit center, That is when we are getting the errror message.
    You have changed the profit center from AR00620800 to AR00620301. This is only allowed when the corresponding configuration was made in Customizing. Then this message is only a warning, which you can ignore.  PLease help
    Thanks
    Anusha

  • I have change some fields in  (Production order component )

    I have change some fields in (Production order component overview)

    Hi,
    do you want to hide or disable the fields or add new fields ??? by the way can you please let us know the transaction that you are referring to ??
    Regards,
    Santosh

  • Copy variant characteristics from Sales Order/Item to Production Order

    Dear All,
    I have a requirement wherein I have to copy variant characteristics fromSales Order/Item to Production Order. In this regard I was looking at Enhancement "CLFM0002". Is it possible to copy the variant characteristics automatically from the Sales Order/Item to Production Order?
    Thanks,
    Pravat.

    Pravant,
    If you are implementing Variant Configuration, or using configurable material in that case you will have to maintain
    Characteristics in CT04
    Classes in CL02
    Configuration Profile CU41
    The material that you are mentioning must have class and charcteristics activated or mentioned in material master. undre classification view. In production you maintain Configurable material BOM  we will be using the same material
    Regards
    Sathya

  • BAPI - Goods receipt and then create transfer order for a production order

    Hello Everyone
    We need to do goods receipt and then create transfer order for a production order (Material for WM scenario)
    We are using BAPI 'BAPI_GOODSMVT_CREATE'
          i_items-orderid = wa_afpo-aufnr .
          i_items-order_itno = wa_afpo-posnr.
          i_items-mvt_ind = 'F'.
          i_items-stge_loc   = wa_afpo-lgort.
         i_items-stge_type = '901'. "wf_styp.
         i_items-stge_bin = wf_sbin.
          i_items-entry_qnt  = wf_qty.
          i_items-entry_uom = wa_afpo-meins.
          i_items-entry_uom_iso = wa_afpo-meins.
          i_items-batch      = wa_zmobtag-charg.
          i_items-move_type  = '101'.
          i_items-move_reas  = wl_3131.
    We are passing i_items (like line of goodsmvt_item) along with other parameters to BAPI and its creating material document and Transfer order automatically. Problem is the TO created is showing destination storage bin as default storage bin( from material master).
    The field goodsmvt_item-stge_bin is just changing the Source bin details. There is no field for bin in the BAPI so that we can change the Destination storage bin as per our requirement.
    My requirement : Creating material doc and then TO. Material should move to specified storage bin.
    Please let me know any alternate way( No BDC) so that my requirement is achieved.
    Regards
    Swetabh

    Hi ,
    can u check these fields ,
    STGE_TYPE_PC     UBTYP     CHAR     3     0     Storage type for transfer posting
    STGE_BIN_PC     UBPLA     CHAR     10     0     Storage bin for transfer posting
    Regards
    Prabhu

  • Copy purchase order text to production order text

    Hello,
    purchase order text should be copied to production order text so that the end user can see and edit the text before saving the production order. I'm trying to do it with exit PPCO0006. I can read the purchase order text with read_text but cannot show it on prod order long text tab page. And cannot save it because the production order does not have a number yet.
    How should this be done? If I copy the text to clipboard can it be pasted to production order long text somehow? Or is there a long text object in production order which I could call and insert the text in it? Or what?

    Hi,
    The problem is solved.
    In SD side, there's a transaction VOTXN. Change the configuration for Sales Order Item.
    Add a Text ID 0006 (Production Memo) in Textprocedure with Access Sequence 21 (Material Sales).
    In Access Sequence 21, map Text Object VBBP (Sales Order Item Text) to ID 0006 (Production Memo).
    Save it.
    When you create your sales order, in the item text level, you'll be able to see an additional text type of Production Memo. Enter your text here and save the sales order. When production order for this Sales Order is created, Production Memo tab will automatically appear (as mentioned by Peter earlier).
    Thanks.

  • Transfer Order number for Production order

    Hi,
    what is the best way to get the transfer order number (LTAK-TANUM) for picking for a production order?
    Picking can occur first in IM (via MB1A for example) or in WM (via LP10). Requirement Tracking Number cannot be used as it has only a length of 10 characters (production order number up to 12 characters).
    Reservation number (LTAK-RSNUM) is only filled in case picking is done from IM first.
    Cheers
    Mathias

    Hi,
    how are other companies handling this if they want to pick from the warehouse (e.g. using CO27) for a production order and the production order number has 12 characters? The bin (LTAP-VLPLA) and the requirement number (LTAK-BENUM) only have up to 10 characters.
    Is there a standard way in SAP to print out the complete 12 character number on the picking list? I could not find another field where the production order number appears.
    P.S. There are already some production order types in use that have a number range with 12 characters.
    Cheers
    Mathias

Maybe you are looking for