Production order for configurable subassemblies

Dear experts,
we have a situation with configurable end products with very complex multilevel BOM, were some of the assemblies and subassemblies on the lower levels (1, 2, 3 etc.) are configurable materials too.
The SOP planning strategy is 56 (or 89). The MRP planning run results in planned orders for the MTS details and PIR's for the configurable materials.
The question is: is it possible to manualy create planned (production) orders for the configurable subassemblies before the sales order? How can we manualy valuate the characteristics of the subassemblies?
Thank you in advance,
Peter

Hi,
Characteristics Based Planning will let you create demand for lower level assemblies to drive in inventory for commonly used components or raw materials prior to receiving a firm customer order for a finished assembly.
Please refer the following SAP link to know more about Characteristics Based Planning
http://help.sap.com/saphelp_erp2004/helpdata/EN/75/504853a39a11d191930000e8a5f6e6/frameset.htm
Regards,
Brahmaji D

Similar Messages

  • Production Order for variant subassemblies

    Hi all,
    I have a scenerio were there is header material called A. It has sub-assemblies C,D,E. Each subassemblies have lot of variations. So the User does not want to create individual Material Master for these variations.
    But the user wants to book the hours spend for these sub-assemblies individually for these variations.How to address this scenerio is SAP.
    With Regards,
    Afzal

    Hi Afzal,
    You have to go for variant configuration for the materials C, D, and E. 
    If the scenario demands for MTS then you have to define a new materail type
    like "STOCKABLE CONFIGURABLE MATERIAL"
    Regards
    Krishna

  • Creation of IBase with reference to sales order for Configurable product.

    Hi Experts,
            Can any one tell me How to create Ibase with reference to sales order for Configurable Products. I know we can create this using IB63, but what i need to do in this Transaction code and what settings i need to do in SPRO.
    pls send ur replies to [email protected]
    Thank you..

    Hi
      You can create IBase using T-Code-IB53 and in there you can give Parent and child products.
    A)Define Installed Base Category and Installation Rules-CRM
    B)Define Object Families
    C)Define default settings for equipment replication
    D)Define Serial Number Profiles-ECC
    E)Txn BF31-ECC
    F)Set up attributes for individual objects
    G)Set up set types
    H)Set up category
    I)Set up views
    J)Allow reference product for IO
    I hope it helps
    If you require further help let me know.
    Cheers
    Raj

  • CRM RMA orders for configurable products

    Hi Experts,
    We have configurable products created in ERP. We need the capability to place the configurable products in CRM RMA order. Any guidence on the steps that are needed to bring the configurable products to CRM is greatly appreciated.
    Also Is it possible to place a return order for Configurable product as a whole and individually on a single variant of the product? Serial numbers are associated at both the levels.
    Thank you
    Ram

    Tony,
    It looks more like an issue with the loading of the JCO properties before the logon. Can you go to XCM and try reentering the password and save the config. Once done do a test connection and restart the application.
    Then set a breakpoint in the BackendBusinessObjectBaseSAP class in the method getDefaultJCoConnection().
    Here when the current connection is invalid it tries to read the config properties from XCM. Just check if it is reading the correct values from the config ISA_COMPLETE which is read on the backend object.
    In case of mismatch, you need to fix that or you could try to build a new JCO connection with your own parameters.
    Pradeep
    Edited by: Pradeep Kumar on Mar 11, 2010 6:20 AM

  • Costing the production order for the configured material

    We are trying to cost the production order for a configurable item.  But the system is not calculating any cost in the production order.  Sales order related to this configurable material is costed.  What additional setting I need to cost the production order for the configured material ?

    Hi Niki
    If your SO is costed, thats enough from a System's perspective... Planned cost will be the sales order cost estimate because SO saves the Chars required for the Configurable material
    Planned cost in Prod order depends on the Costing variant you have assigned in the order type... Check the error log if there is any error in cost calculation in prod order
    br, Ajay M

  • Error while converting planned order to production order for config materia

    Hi experts,
    While converting a planned order to production order for a configurable material.I am getting the following error meassage. Message No.CO684,
    "You cannot make an assignment to make-to-order stock"
    ( DiagnosisThe component cannot be allocated to an individual stock because make-to-order production and engineer-to-order production cannot be executed with this order.
    A possible cause is that you are trying to create an order with reference to a sales-order/project, where an account assignment to a sales order/project is not allowed in the settlement profile that is assigned to the chosen order type. This is inconsistant.
    System ResponseThe following responses are possible:
    Order processing is cancelled.
    The system resets the special stock indicator back to the original value.
    Procedure
    Choose another order type).
    I have checked some of the threads related to this error. But no where there is any solution.Please tell me if there is any settings to make so as to work on this scenario.
    Thanks,
    Sham

    Hi,
    This will be a MTO scenario. Please check your requirement type,Requirement class and strategy type config along with your Item category and schedule line category from SD.
    Also check your Production order type config and settlement profiles.
    I mean to say that you need new production order type to be configured for specific above mentioned combination.
    Are you working on a production system..?? is it the first time you are creating the order for this config material..??
    Regards,

  • Make to Order for Configurable Material & Error in Confirmation

    Hello, PP Gurus,
                       I am doing one MTO for Fabric business but during the confirmation I am getting error that
    SALES order Stock does not Exist as well Please inform me Costing procedure in this scenario.
    *is it necessary to run MRP in this scenario?*
    Please see the all Details of Business so that U can give answer properly.
    One is raw fabric (Raw material) which has to passed different process to convert Colored fabric as my Finish product as well I can sale Raw fabric also.
    is it possible to maintain raw fabric and Colored fabric with same mat.code?
    I have configured the material as well all pricing BOM, Recipe its working properly.
    How can I assign the material to Operation? I am getting GRAY field in New Assignment in change recipe mode ..
    Is it possible to use Material type other than KMAT? I want to use Finish material type. If yes How?
    Right now I can create Process order from the Sales order but I am facing error in confirmation that Sales Order stock does not exist than I have to transfered stock to Sales order and error get solved temporarily but  I want to avoid this manual transaction to remove this error. Any configuration is required please inform.
    My configuration is given below.
    MRP Type : PD
    BOM item Category:  L Stock Item.
    In dependency & Profile I have set radio Button as Single level Bom explosion.
    Order Bom selection in profile.
    Strategy : 25 make to order for configure material.
    How can I do ? please suggest any changes
    I have only 9 months of SAP experience within short time I have gain lot knowledge from this site and other reading material as well my learning Learning thirst.
    thanks to all SAP gurus..
    THANKS IN ADVANCE .... Definitely I will reward points even if my some questions get solved...
    Regards,
    Bhavik dangi.

    Hi,
    You can use variant configuration for selling the colored fabric. Use the basic fabric as raw. and maintain variant configuarations to have many variants.
    Please use strategy 25. When you run MRP the planned orders will be generated and will be assigned to the sales orders. You can see it on the account assignment tab.
    In material master pleasse maintain Individual collective requirement indicator to 1-individual in the MRP-4 view.
    Then the stocks will be reserved to the specific sales orders.
    Thanks and regards
    Murugesan

  • Creating a production order for a semi finished product

    Hi
    I am having a multi level bom scenario over here.
    one of the bom components of the header material is a semi finished product.
    I am using the planing stratagy 40 for that material.
    in standard sap when i create a production order for  header material. the requirement gets transerd to all the components. if the components are not available then only  a requirement is placed. when i run MRP that requirement gets converted in to a planned order. which converts in to a purchase req or a production order,
    well for my semi finished product. its a Work in process item. there wont be any stock for that item in the storage location any time.
    what my requirement is. when i create a production order for my finished product it should automatically create a production order for the semi finished product.
    is this possible with some configuration settings.

    Dear Deepu,
    for ur requirement u need to maintain MRP type PD for FERT material and also for ur HALB.
    If u run  MRP  only, it will create planned order for FERT and for all its dependent requirement(for PD).
    If u create order manually for FERT material then it will not create order for HALB material, u need to create manualy for this also.
    sree

  • Production order for sales order

    Hello friends
    I need information about if there is a way limiting the created production orders for a sales order.
    Let me explain what my problem is:
    For a sales order item with quantity 100, I can create  unlimited production order with higher quantities and this cause problems.
    Users may create unnecessary production orders and this caused reproduction of an order item.
    In standart, is/are there any customizings/configurations (and how I can active this/these control(s)) or user exits to control which sales order item is converted to production order?
    Thanks in advance.

    Nurullah,
    Users do not convert Sales orders into Production orders. They may convert planned orders into production orders.  They may also create Production orders outright.
    Anyhow, your requirement can obviously be met ONLY in an MTO environment.  There is an enhancement PPCO0001 which can probably be tortured into meeting your requirement.
    In most companies, planners are made responsible for properly planning their products.  Most planners I know routinely review MD06 to see if there are any production orders that should be cancelled/deleted.
    Rgds,
    DB49

  • Production Order For Project with plant stock

    Hi,
    We have a scenario where in we are required to create a production order for a project.
    But the material(raw material) is in a storage location and is a stock item. Even the header material is also a stock item and it to stored in the storage location.
    But the order is to be created for Project and to be settled to the Project. Now the system is not allowing me to create the order.
    The error is :
    "Project  does not allow make-to-order stock
    Message no. CO746
    Diagnosis
    There is no project stock for the project.
    To create a production order with reference to a WBS element the project must allow project stock to be maintained.
    Procedure
    You should select a project that allows project stock."
    Now,
    I don't want to have a project stock. How to go forward...
    Regards
    Pavan

    Hi,
    What is the strategy you are using. If you are using strategy 20, then chnage it to 40.
    Also maintain individual/collective indicator to "1" - individual in MRP-4 view. So that when the order is created, the stock will be reserved as Q-project stock.
    thanks and regards
    Murugesan

  • Production Order for a material without BOM and Routing

    Is it possible to create a production order for a given material without routing and BOM, I know we can
    create a production order for a material without a BOM (with a default routing) just wanted to check with
    the above criteria
    Thanks in Advance!!

    Members:
    Thank you for your valuable replies and time
    Santosh:
    Tried what you have mentioned, but system still picks up a default routing
    Kaushik:
    Maintained Default values in OPJG for the given order type, but system still picks up
    default routing
    Mangalraj:
    have no issue in creating a production order without a BOM, but I am trying to see
    is there a way where I can create a production order without a BOM and routing (not
    even default operation )
    Any suggestions on how to create a production order for a material without a BOM
    and routing (not even default one )

  • How to get all production orders for a workcenter

    Hello ...
    I have a requirement to create a report of all production orders for a given workcenter.  The user enters the workcenter (CRHD-ARBPL), plant (CRHD-WERKS) and a date range, and wants to see a list of orders (AUFNR) that fall within that date range along with some other data from AFKO and AFPO. 
    I can't figure out a good, consistent way to get from workcenter to production orders.
    Any ideas?
    Thanks!
    Sharon

    Hi there check this program for relation between SO PO and Production order
    REPORT z_so_info.
    TABLES: vbak, vbap, afko, afpo.
    *Field catalog
    TYPE-POOLS: slis.
    DATA: lv_repid TYPE sy-repid VALUE sy-repid,
    xfield TYPE slis_t_fieldcat_alv,
    afield TYPE slis_fieldcat_alv.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(25) text-002.
    SELECT-OPTIONS: so_so FOR vbak-vbeln OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-003.
    PARAMETERS:
    p_kunnr LIKE vbak-kunnr, " sold-to
    p_kunwe LIKE vbak-kunnr. " ship-to
    SELECTION-SCREEN END OF BLOCK b2.
    *Constants
    CONSTANTS: c_zor TYPE vbak-auart VALUE 'ZOR',
    c_we TYPE vbpa-parvw VALUE 'WE',
    c_ag TYPE vbpa-parvw VALUE 'AG'.
    * c_space TYPE space.
    *Ranges
    RANGES: ra_parvw FOR vbpa-parvw,
    ra_kunnr FOR vbpa-kunnr.
    *Tables
    DATA: BEGIN OF gt_output OCCURS 0,
    vbeln LIKE vbak-vbeln, " sales order number
    posnr LIKE vbap-posnr, " SO item number
    matnr LIKE vbap-matnr, " material number
    sh LIKE vbpa-kunnr, " Ship-to
    sp LIKE vbpa-kunnr, " Sold-to
    lifnr LIKE ekko-lifnr, " Vendor
    bstnk LIKE vbak-bstnk, " PO number
    banfn LIKE vbep-banfn, " Purchase requi
    po_st TYPE char30, " PO status text
    pstyv TYPE vbap-pstyv, " Item catagory
    aufnr LIKE afpo-aufnr, " Production Order
    prd_stat TYPE string, " Prd order status
    END OF gt_output.
    DATA: wa_output LIKE gt_output.
    FIELD-SYMBOLS: <fs_output> LIKE gt_output.
    *Table for sales order and PO
    TYPES : BEGIN OF gs_data,
    vbeln TYPE vbak-vbeln,
    posnr TYPE vbap-posnr,
    pstyv TYPE vbap-pstyv,
    matnr TYPE vbap-matnr,
    END OF gs_data.
    DATA: gt_data TYPE STANDARD TABLE OF gs_data,
    wa_data TYPE gs_data.
    *Table for Production Orders
    TYPES: BEGIN OF gs_prd,
    aufnr TYPE afpo-aufnr,
    posnr TYPE afpo-posnr,
    kdauf TYPE afpo-kdauf,
    kdpos TYPE afpo-kdpos,
    wepos TYPE afpo-wepos, "Goods Receipt Indicator
    elikz TYPE afpo-elikz, "Delivery Completed Indicator
    objnr TYPE aufk-objnr, "Object number
    * getri TYPE afko-getri, "Confirmed Order Finish Date
    * gltri TYPE afko-gltri, "Actual finish date
    END OF gs_prd.
    DATA: gt_prd TYPE STANDARD TABLE OF gs_prd,
    wa_prd TYPE gs_prd.
    *Table for partner data
    TYPES: BEGIN OF gs_partner,
    vbeln TYPE vbak-vbeln,
    posnr TYPE vbap-posnr,
    parvw TYPE vbpa-parvw,
    kunnr TYPE vbpa-kunnr,
    END OF gs_partner.
    DATA: gt_partner TYPE STANDARD TABLE OF gs_partner,
    wa_partner TYPE gs_partner.
    TYPES: BEGIN OF gs_po,
    ebeln TYPE ekkn-ebeln,
    ebelp TYPE ekkn-ebelp,
    vbeln TYPE ekkn-vbeln,
    vbelp TYPE ekkn-vbelp,
    END OF gs_po.
    DATA: gt_po TYPE STANDARD TABLE OF gs_po,
    wa_po TYPE gs_po.
    TYPES: BEGIN OF gs_preq,
    vbeln TYPE vbep-vbeln,
    posnr TYPE vbep-posnr,
    banfn TYPE vbep-banfn,
    END OF gs_preq.
    DATA: gt_preq TYPE STANDARD TABLE OF gs_preq,
    wa_preq TYPE gs_preq.
    TYPES: BEGIN OF gs_po_stat,
    ebeln TYPE ekko-ebeln,
    procstat TYPE ekko-procstat,
    lifnr TYPE ekko-lifnr,
    END OF gs_po_stat.
    DATA: gt_po_stat TYPE STANDARD TABLE OF gs_po_stat,
    wa_po_stat TYPE gs_po_stat.
    *Field symbols
    FIELD-SYMBOLS: <fs> TYPE tj02t-txt04,
    <fs_temp> TYPE tj02t-txt04,
    <fs_stat> TYPE char30.
    START-OF-SELECTION.
    PERFORM fr_build_range.
    PERFORM fr_get_data.
    PERFORM fr_build_fc.
    PERFORM fr_output.
    *& Form fr_get_data
    * text
    * --> p1 text
    * <-- p2 text
    FORM fr_get_data.
    *Get SO
    SELECT a~vbeln a~posnr a~pstyv a~matnr
    FROM vbap AS a
    JOIN vbak AS b
    ON a~vbeln = b~vbeln
    JOIN vbpa AS c
    ON b~vbeln = c~vbeln
    INTO TABLE gt_data
    WHERE b~vbeln IN so_so
    AND b~auart EQ c_zor "Only Sales Orders
    AND c~kunnr IN ra_kunnr. "from selection screen
    DELETE ADJACENT DUPLICATES FROM gt_data COMPARING vbeln posnr.
    *get data of the production order
    IF NOT gt_data[] IS INITIAL.
    SELECT a~aufnr a~posnr a~kdauf a~kdpos a~wepos a~elikz
    b~objnr
    FROM afpo AS a
    JOIN aufk AS b
    ON a~aufnr = b~aufnr
    INTO TABLE gt_prd
    FOR ALL ENTRIES IN gt_data
    WHERE a~kdauf EQ gt_data-vbeln
    AND a~kdpos EQ gt_data-posnr.
    ENDIF.
    *Get partner data
    IF NOT gt_data[] IS INITIAL.
    SELECT vbeln posnr parvw kunnr
    FROM vbpa
    INTO TABLE gt_partner
    FOR ALL ENTRIES IN gt_data
    WHERE vbeln EQ gt_data-vbeln.
    ENDIF.
    *Get Purchase Order
    IF NOT gt_data[] IS INITIAL.
    SELECT ebeln ebelp vbeln vbelp
    FROM ekkn
    INTO TABLE gt_po
    FOR ALL ENTRIES IN gt_data
    WHERE vbeln EQ gt_data-vbeln
    AND vbelp EQ gt_data-posnr.
    SELECT vbeln posnr banfn
    FROM vbep
    INTO TABLE gt_preq
    FOR ALL ENTRIES IN gt_data
    WHERE vbeln EQ gt_data-vbeln
    AND posnr EQ gt_data-posnr.
    ENDIF.
    IF NOT gt_po[] IS INITIAL.
    SELECT a~ebeln a~procstat a~lifnr
    FROM ekko AS a
    JOIN ekpo AS b
    ON a~ebeln = b~ebeln
    INTO TABLE gt_po_stat
    FOR ALL ENTRIES IN gt_po
    WHERE b~ebeln EQ gt_po-ebeln
    AND b~ebelp EQ gt_po-ebelp.
    ENDIF.
    *Move data to output table
    LOOP AT gt_data INTO wa_data.
    wa_output-vbeln = wa_data-vbeln.
    wa_output-posnr = wa_data-posnr.
    wa_output-pstyv = wa_data-pstyv.
    wa_output-matnr = wa_data-matnr.
    READ TABLE gt_po INTO wa_po WITH KEY vbeln = wa_data-vbeln
    vbelp = wa_data-posnr.
    IF sy-subrc EQ 0.
    wa_output-bstnk = wa_po-ebeln.
    READ TABLE gt_po_stat INTO wa_po_stat WITH KEY ebeln = wa_po-ebeln.
    IF sy-subrc EQ 0.
    wa_output-lifnr = wa_po_stat-lifnr.
    CASE wa_po_stat-procstat.
    WHEN '01'.
    wa_output-po_st = 'Version in process'.
    WHEN '02'.
    wa_output-po_st = 'Active'.
    WHEN '03'.
    wa_output-po_st = 'In release'.
    WHEN '04'.
    wa_output-po_st = 'Partially released'.
    WHEN '05'.
    wa_output-po_st = 'Released Completely'.
    WHEN '08'.
    wa_output-po_st = 'Rejected'.
    ENDCASE.
    ENDIF. "inner read subrc
    ENDIF. "outer read subrc
    READ TABLE gt_preq INTO wa_preq WITH KEY vbeln = wa_data-vbeln
    posnr = wa_data-posnr.
    IF sy-subrc EQ 0.
    wa_output-banfn = wa_preq-banfn.
    ENDIF.
    READ TABLE gt_prd INTO wa_prd WITH KEY kdauf = wa_data-vbeln
    kdpos = wa_data-posnr.
    IF sy-subrc EQ 0.
    wa_output-aufnr = wa_prd-aufnr.
    *get the purchase requisition for production order as well
    SELECT SINGLE banfn
    FROM ebkn
    INTO wa_output-banfn
    WHERE aufnr EQ wa_prd-aufnr.
    *Get the status of the production order
    PERFORM fr_get_prd_stat USING wa_prd-objnr
    CHANGING wa_output-prd_stat.
    ENDIF. " sy-subrc
    READ TABLE gt_partner INTO wa_partner WITH KEY vbeln = wa_data-vbeln
    parvw = c_we.
    IF sy-subrc EQ 0.
    wa_output-sh = wa_partner-kunnr.
    ENDIF.
    READ TABLE gt_partner INTO wa_partner WITH KEY vbeln = wa_data-vbeln
    parvw = c_ag.
    IF sy-subrc EQ 0.
    wa_output-sp = wa_partner-kunnr.
    ENDIF.
    APPEND wa_output TO gt_output.
    CLEAR: wa_data, wa_prd,wa_partner,wa_output.
    ENDLOOP.
    ENDFORM. " fr_get_data
    *& Form fr_build_range
    * text
    * --> p1 text
    * <-- p2 text
    FORM fr_build_range .
    *Range for partner function
    MOVE 'I' TO ra_parvw-sign.
    MOVE 'EQ' TO ra_parvw-option.
    MOVE 'SH' TO ra_parvw-low. " we
    APPEND ra_parvw.
    CLEAR ra_parvw.
    MOVE 'I' TO ra_parvw-sign.
    MOVE 'EQ' TO ra_parvw-option.
    MOVE 'SP' TO ra_parvw-low. " ag
    APPEND ra_parvw.
    CLEAR ra_parvw.
    *Range for ship-to and sold-to
    MOVE 'I' TO ra_kunnr-sign.
    MOVE 'EQ' TO ra_kunnr-option.
    MOVE p_kunnr TO ra_kunnr-low.
    APPEND ra_kunnr.
    CLEAR ra_kunnr.
    MOVE 'I' TO ra_kunnr-sign.
    MOVE 'EQ' TO ra_kunnr-option.
    MOVE p_kunwe TO ra_kunnr-low.
    APPEND ra_kunnr.
    CLEAR ra_kunnr.
    ENDFORM. " fr_build_range
    *& Form fr_build_fc
    * text
    * --> p1 text
    * <-- p2 text
    FORM fr_build_fc .
    * sales order number
    afield-fieldname = 'VBELN'.
    afield-seltext_s = 'Sales #'.
    afield-ref_tabname = 'VBAK'.
    APPEND afield TO xfield. CLEAR afield.
    * sales ITEM number
    afield-fieldname = 'POSNR'.
    afield-seltext_s = 'Item #'.
    afield-ref_tabname = 'VBAP'.
    APPEND afield TO xfield. CLEAR afield.
    * Material Number
    afield-fieldname = 'MATNR'.
    afield-seltext_s = 'Material #'.
    afield-ref_tabname = 'VBAP'.
    afield-outputlen = 10.
    APPEND afield TO xfield. CLEAR afield.
    *Vendor Number
    afield-fieldname = 'LIFNR'.
    afield-seltext_s = 'Vendor Num.'.
    afield-ref_tabname = 'EKKO'.
    APPEND afield TO xfield. CLEAR afield.
    * ship-to-party
    afield-fieldname = 'SH'.
    afield-seltext_s = 'Ship-to'.
    afield-ref_tabname = 'VBPA'.
    APPEND afield TO xfield. CLEAR afield.
    * sold-to-party
    afield-fieldname = 'SP'.
    afield-seltext_s = 'Sold-to'.
    afield-ref_tabname = 'VBPA'.
    APPEND afield TO xfield. CLEAR afield.
    *PO number
    afield-fieldname = 'BSTNK'.
    afield-seltext_s = 'PO NUM'.
    afield-ref_tabname = 'EKKO'.
    APPEND afield TO xfield. CLEAR afield.
    *PO status
    * afield-fieldname = 'PO_STAT'.
    * afield-seltext_s = 'Step'.
    * afield-ref_tabname = 'zbacklog_v2'.
    * APPEND afield TO xfield. CLEAR afield.
    *PO step status
    afield-fieldname = 'PO_ST'.
    afield-seltext_s = 'PO.Status'.
    afield-ref_tabname = 'zbacklog_v2'.
    APPEND afield TO xfield. CLEAR afield.
    *Purchase requisition
    afield-fieldname = 'BANFN'.
    afield-seltext_s = 'Pur. Req.'.
    afield-ref_tabname = 'VBEP'.
    APPEND afield TO xfield. CLEAR afield.
    *Item catagory
    afield-fieldname = 'PSTYV'.
    afield-seltext_s = 'Itm. Catg'.
    afield-ref_tabname = 'VBAP'.
    APPEND afield TO xfield. CLEAR afield.
    *Prodcution Order number
    afield-fieldname = 'AUFNR'.
    afield-seltext_m = 'Prod.Order'.
    afield-ref_tabname = 'AFKO'.
    APPEND afield TO xfield. CLEAR afield.
    *PRODCUTION status
    afield-fieldname = 'PRD_STAT'.
    afield-seltext_s = 'Prd. Step'.
    afield-ref_tabname = 'zbacklog_v2'.
    afield-outputlen = 20.
    APPEND afield TO xfield. CLEAR afield.
    *PRODUCTION step status
    * afield-fieldname = 'PRD_ST'.
    * afield-seltext_s = 'Prd. Status'.
    * afield-ref_tabname = 'zbacklog_v2'.
    * APPEND afield TO xfield. CLEAR afield.
    ENDFORM. " fr_build_fc
    *& Form fr_output
    * text
    * --> p1 text
    * <-- p2 text
    FORM fr_output .
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    * I_CALLBACK_PF_STATUS_SET = ' '
    * I_CALLBACK_USER_COMMAND = ' '
    * I_STRUCTURE_NAME =
    * IS_LAYOUT =
    it_fieldcat = xfield[]
    i_default = 'X'
    i_save = 'A'
    TABLES
    t_outtab = gt_output
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    ENDFORM. " fr_output
    *& Form fr_get_prd_stat
    * text
    * -->P_WA_PRD_OBJNR text
    FORM fr_get_prd_stat USING p_objnr CHANGING p_prd_stat.
    DATA: lt_status TYPE STANDARD TABLE OF jstat,
    wa_status TYPE jstat,
    lv_status TYPE tj02t-txt04,
    lv_temp2 TYPE char5,
    lv_buff TYPE string.
    CALL FUNCTION 'STATUS_READ'
    EXPORTING
    client = sy-mandt
    objnr = p_objnr
    only_active = 'X'
    TABLES
    status = lt_status
    EXCEPTIONS
    object_not_found = 1
    OTHERS = 2.
    LOOP AT lt_status INTO wa_status.
    IF wa_status-stat(1) EQ 'I'.
    SELECT txt04 FROM tj02t
    INTO lv_status
    WHERE istat EQ wa_status-stat
    AND spras EQ 'E'.
    ENDSELECT.
    lv_temp2 = lv_status.
    CONCATENATE lv_temp2 p_prd_stat INTO p_prd_stat
    SEPARATED BY ','.
    ENDIF.
    CLEAR: wa_status, lv_status, lv_temp2.
    ENDLOOP.
    lv_buff = p_prd_stat.
    *Status of Production Order
    IF lv_buff CS 'CRTD'.
    p_prd_stat = 'Not Active'.
    ENDIF.
    IF lv_buff CS 'REL'.
    IF lv_buff CS 'GMPS'.
    p_prd_stat = 'Printed In Prod'.
    ELSE.
    p_prd_stat = 'Printed'.
    ENDIF.
    ENDIF.
    IF lv_buff CS 'TECO'.
    p_prd_stat = 'Technically Compt.'.
    ENDIF.
    ENDFORM. " fr_get_prd_stat

  • How to get a list of production orders for a work center?

    Hello SDN Community, 
    I have an requirement to display in a pop-up window a list of production orders for a work center.
    Does anyone know which screens/transactions would show this relationship?
    Or better yet, does anyone know how to demonstrate this from the tables themselves?
    Thank you,
    Dean Atteberry.

    Hello Mangalraj.S
    >>Goto COOIS-->For the field List select PPIOO000 - operations and layout -->standard layout
    >>and execute,by this you will be able to see the operations for each order and to which
    >>work center they are assigned.
    The system I am working on is ECC 6.0.
    For this system the values in the dropdown for the "List" field are "Capacities, Items, Order Headers, Sequences, Trigger Points, etc".  But nothing that says PPIOO000 - operations and layout.
    >>Or else in the in input screen of COOIS,enter the work center for which you want to see which
    >>are the production order's assigned and execute.
    For system I am working in, I do get a grid display when entering a work center.  It has columns like "Order, Material, Icon, Order Type, MRP cntrlr, etc."   But no column with Work Center.
    Any further insight into how to use this transaction to display a list of production orders for a work center would be greatly appreciated.
    Thank you,
    Dean Atteberry.

  • Creation of Production order for FInished Product through Project

    Hi,
    Pls clear me on how we can create a Production Order for finished product.  
    If we confirm the production orders in PP, cant the same be confirmed in PS.. Should we consider the same activity types in both PS and PP
    Pls clarify

    hi srikanth,
    your answer has been very helpful... but could u clarify  why MRP is run in MD51 for WBS element and in MD02 for network..
    Pls clarify...  My scenario is like this ...                                                                               
    A
                            B                                                                                C
                    D  E F G H I                                                                                J K L M N O
    I have  a Assemblies B and C which are always delivered in sets.. under assemblies B and C,  we have 6 sub assemblies which has its own components.  I am assigning sub assemblies to differenet WBS elements 01 and 02. so, initially these sub-assemblies are produced to stock. this should happen in PP i.e., through production orders generated in MRP run ( MD51 ). In the next phase i will assign Assemblies B and C to another WBS element.  Again system should generate two Production orders thru MRP for this. Here the 6 sub-assemblies produced earlier will be consumed in confirmation of the production order...
    What i am doing is this correct...
    and the procurement for the components is happening thru the purchase requisition generated via MRP. the components themselves are not directly assigned to the project..
    Pls advise and clarify?

  • How do we Prevent Creation of Production Orders for Phantom materials.

    Dear Experts;
    We have some materials which are Phantoms.
    We have set "special procurement type" as 50 in MRP2 and "Strategy Group" as 59 in MRP3
    These are non stchable items, but have BOMS.
    We dont create orders for them, however at the mement the system allows order creation. How do we prevent creation of production orders for these items in the system.
    Thanks in Advance
    Richard.

    Dear Richard,
    Check using this BADI - WORKORDER_UPDATE using method IN_UPDATE or Release by including a check if MATNR and for
    WERKS combination if SOBSL = 50 from table MARC,then do not allow to save.
    Check whether this works or else you have to set a plant specific status using OMS4  for not allowing production order
    creation and assign this value in the material master of the phantom assemblies.
    Check and revert
    Regards
    Mangalraj.S

Maybe you are looking for