Performance Issue, Unable to pull all production Orders in given statuses

HI All,
I have a requirement to pull all production orders that are in the created or released status and then action some different things in the program such as adjusting dates, etc. The issue I'm having is that as the volume of production orders grows the select statement stops being able to complete and pull these production orders. I've tweaked this before and it was able to work for a few weeks but has now reached it's limit again. I tried using the trace and SE30 to analyze the program as I've read suggested here, however it's been difficult to try adjustments as the program runs in about 3 second in the development environment. Our quality environment, which has roughly half the volume of the production system ran in about 15 seconds. So I am unable to duplicate the issue until the program is moved to production.
Here is the select statement:
  SELECT k~aufnr
    FROM aufk as k INNER JOIN afko as f ON f~aufnr = k~aufnr
      INNER JOIN jest as j ON k~objnr = j~objnr
    INTO CORRESPONDING FIELDS OF TABLE it_aufk
    WHERE k~aufnr IN s_aufnr     "Order Number select option
      AND k~werks IN s_werks             "Plant select option
      AND k~auart EQ u2018PP01u2019              "PP01 std orders only
      AND k~kokrs EQ u20181000u2019              "Seneca Controlling Area
      AND k~autyp EQ u201810u2019                "PP Production Order
      AND k~loekz EQ space                 "Deletion indicator
      AND ( j~stat EQ u2018I001u2019             "CTRD, created status
        OR  j~stat EQ u2018I002u2019 )           "REL, released status
      AND j~inact EQ space.              "status not inactive
There are a couple thoughts I have to try, but I don't know of any good way to verify if helping given the volume differences until in production so am looking for feedback. Here's the ideas:
1. Use the field IDAT2 in AUFK to determine if an order is not TECO'd , rather than using the JEST table. Testing this in Dev had increased run time versus how I have it written now, but may be helpful with larger volume and/or if an index is put on this field. Thoughts?
2. Separate the select statements to read AUFK and JEST separately and instead use the FOR ALL ENTRIES command. Seems to be a lot of conflicting thoughts on which works better, thoughts on this particular case?
Also, there is another program that pulls only production orders in Created status, and it doesn't have this same issue.
Thanks in advance for any help,
Kyndal
Edited by: Kyndal Copley on Oct 1, 2009 6:46 PM

I have three recommendations for your join.
1) Assuming that fields AUART and KOKRS are always known (constants) I recommend that you move them up in the where clause (like illustrated) to ensure that the system uses index C.
2) AUTYP EQ '10' seems superflous. In addition it seems to increase the search time. Check with your functional consultant if there could be a production order with AUART EQ 'PP01' and AUTYP NE '10'. If you will never encounter this situation it makes more sense to drop the clause AUTYP EQ '10'.
3) INTO CORRESPONDING FIELDS OF TABLE usually takes longer than INTO TABLE. Define the table with AUFK with just field AUFNR so that you can use the clause INTO TABLE.
SELECT k~aufnr
  FROM       aufk AS k
  INNER JOIN afko AS f
  ON f~aufnr EQ k~aufnr
  INNER JOIN jest AS j
  ON k~objnr EQ j~objnr
  INTO TABLE it_aufk
  WHERE k~auart EQ 'PP01'
  AND   k~kokrs EQ '1000'
  AND   k~aufnr IN s_aufnr
  AND   k~werks IN s_werks
  AND   k~loekz EQ space
  AND ( j~stat  EQ 'I001' OR j~stat EQ 'I002' )
  AND   j~inact EQ space.

Similar Messages

  • 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

  • Issue in committing material for production order

    Hi, we are facing an error situation that when we try to release production order there came an issue that few component committed quantity is less than required quantity. When we check the stock of the components they were having enough stock to consider for this production order.
    What could be the other reasons or cause for this situation. Can any one suggest for the correction action.
    would reservation cause this problem when i check the component availability overview it has ATP 0.   will it cause this.
    When i look in to the system there were several Orders that were in CRT state that were using same components as used in the current order under discussion.
    Edited by: kkr_chandran66 on Jan 6, 2011 3:16 AM

    Hi All
    Even MD04 also seems to be showing as if the material is available.  Pl. see the data against 13/12 hereunder.
    06.01.2011     Stock                                                            6,370/      6,370
    08.12.2010     Ord.DS     4604767106/00100                         80-/     6,290
    09.12.2010     OrdRes     420252                         2,740-/     3,550
    13.12.2010     OrdRes     420268                         3,420-/     130
    availability overview CO09 shows as follows for the component:
    13.12.2010     OrdRes     Totals record     3,420-(receipt/req)       0(confirmed)
    13.12.2010     OrdRes     420268                          3,420-(receipt/req)        0(confirmed)                       0(ATP quantity)
    scope of check:
    to include
    purchase order
    include dependent requirements
    sales requirements
    deliveries
    include shipment notifications
    all reservations
    check releases for transport orders only
    take all productions orders into account.
    With this scenario what can i do get it working.
    Edited by: kkr_chandran66 on Jan 6, 2011 6:46 AM
    Edited by: kkr_chandran66 on Jan 6, 2011 6:59 AM
    Edited by: kkr_chandran66 on Jan 6, 2011 7:00 AM

  • Issue regarding Batch determination in Production order as per Expiry date.

    Dear all,
                    first of all  happy Navratri.
    I have issue regarding batch determination in production order.
    I have to compare P.O header materialu2019s expiry date and issuing components expiry date at the time of batch determination.
    lets take example,  Material having self life is u201CXu201D years and batch determination against PO is based on FEFO with the help of self life we can determine Expiry date of manufacturing material  suppose it is u201CYu201D  I have to introduce restriction at the time of good issue if expiry date of issuing components u201CZu201D is less than expiry date u201CYu201D.
    Please give your valuable suggestions either standard or through SAP enhancements.
    thanks & Regards
    SIVA

    Dear
    Thanks for your reply, i am layman about batch derivation can u elaborate it.
    Thanks & Regard

  • To issue the component to the Production Order

    Hello All,
    I have assigned the component to the Operation of Production Order from Different plant(say 1100) of Same company code(1000).
    I want to issue that material from that plant to this plant (say 1000) of Production Order.
      So my question is the correct method of directly issuing the component to this Production Order of different plant.
    Shailendra

    Hi  HAdkar
    The correct procedure is .
    You have to assign special procurement key 80 in material master for which you want to procure from plant 1100. The material master of procuring material should exist for the plant 1100. While running MPR the procurement proposal will be automatically created in the 1100 plant. From 1100 plant you do stock transfer to your storage location. Then finally do GI for the header prod order in you plant.
    This is the procure in SAP. Eventhough both the plants exist in the same compound.
    Regards
    J . Saravan

  • Pulling all Purchase Order documents that where changed in last hour.

    What is the best method for pulling all purchase order documents that have changed in the last hour? We want to create this program and schedule it as a job that runs every hour.
    In the backend our server stores all documents in GMT Time while our users have several time zones. What function or module should we call to get the current time.
    Should we be using: sy-uzeit - 3600.
    Or will this not produce the required results.
    Regards

    Try prog :<b>RM07MIGO_PO_HISTORY</b>
    Hope this’ll give you idea!!
    <b>Pl... award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"
    PS.
    <b>Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
    Spread the wor(l)d!</b>

  • TS3694 I am using iphone 3gs, I upgraded my i-os to 6.0 from 5.1.1 however I am facing performance issue, along with this all the applications including settings or any other shuts down automatically. Is there any way by which I can use my phone in better

    I am using iphone 3gs, I upgraded my i-os to 6.0 from 5.1.1 however I am facing performance issue, along with this all the applications including settings or any other shuts down automatically. Is there any way by which I can use my phone in better way?

    No, downgrading from any version of iOS to an earlier version is not supported.

  • Goods Issue To Each Operation Of Production Order?

    As we know, in SAP ,when we create and realse the production order,we could posts good issue to the production order ,using MB1A. And in SAP , the components can be assigned to the operations of the finished product.
    But in our company, the production order will take long time,and during production,different materials will be used in different phase of the production order,that means different components will be used for different operations.
    And for some reason,we don't want our material to be backflushed during production.
    So I want to ask can we post goods issue to each operation of the production order,not to the whole production order? Can SAP support Post Goods Issue To Each Operation Of Production Order?
    What shall we do if we want do this?By ABAP development ? Or there is third party software
    can do this with SAP? 
    Thanks for any reply!
    Edited by: Fei Liu on Mar 14, 2009 4:56 PM

    Hi Fei,
    As explained above, i think the concept of releasing the individual operations instead of releasing the order at header level would work fine for your requirement.
    Steps:
    1. Go to operation page in co02.
    2. Select the first operation, at the bottom of the screen you would find a Green Flag, click on the same.
    3. You will now find that the status of the first operation has changed to REL, while the others are still not.
    4. At header level you will find a status PREL, indicating partial release.
    5. After completion of the first operation, confirm the same & select the second operation & click release, & the process follows in this manner
    6. Please do not click the green flag at the header level as this will release the entire order.
    Pre-requisite:
    1. You have assigned components to the respective operations.
    You might also want to consider the usage of trigger points. This you can assign to each operation, where-in if the status changes to CNF, you trigger the release of the following operation. But before opting for this flow, first do it manually to ensure it meets your need.
    Also if the components assigned to the same operation, needs to be issued at different date, then you can use the lead time offset in BOM. In cs02, go to item details, here you can specify the same. Eg: If your operation stats on 15th March & you want this component to be issue only on 17th March, then specify the offset as 2. But if you want the components to be issued 2 days in advance of 15th march, then specify as 2-.
    Hope the above helps.
    Regards,
    Vivek

  • Issuing a handling unit to production order

    Hi
    Is it possible to issue a handling unit to production order. Kindly through some tips in this regard.
    Thanks and Regards
    Saravana Kumar

    hi Sarvana,
    a handling unit consists of altogether several contents items that are listed as
    >full delivery items,
    >partial delivery items,
    >or even further handling units
    So from the above the handling unit consist of the items for delivery and are packed in one packaging
    material (box). The packaging material and the materials it contains form a handling unit that is
    assigned to a delivery and can be moved within the warehouse. The content of the handling unit is not significant for Warehouse Management. In fact, the contents can only be determined by referring to the delivery.
    So a HU can't be assigned to the production order within the same plant.
    for further assistance you can check the following link.
    http://help.sap.com/saphelp_47x200/helpdata/en/16/4bad1ba63611d2b44e006094b9b9dd/frameset.htm.
    hope this helps to answer your question,
    with regards,

  • MIGO Proposes Quantities even when the Production Order has DLV status

    Hi,
    In ECC 6.0 after my last operation has been confirmed with AUTO GR. MIGO proposes the planned Scrap quantity against the Production Order for Goods Receipt. Is there a way to stop this.
    Here is the scenario that I am facing this issue.
    I have a production order with Qty 103 with 3 QTY as planned Assembly scrap.
    At the last operation I do 98 yield, 2 rework and 3 scrap. My Rework Reason Code inserts a rework operation using trigger point in the production order. Now after I confirm Rework Operation when I got MIGO for Goods Receipt it proposes me 5 (i.e. 3 Planned Scrap plus 2 rework).
    Is there a way this behavior be stopped.

    Hi Aravind,
    I have a suggestion. Instead of having assembled scrap if you follow below way you can overcome from this issue.
    To produce 100 quantity, goods should be issued for 103 quantities. You should maintain this in BOM. So during production confirmation, if your yield is 98 then GR will happen only for 98 and you can enter 2 piece as scrap quantity. GR will not happen for scrap quantity. When you confirm the rework operation, system will propose only 2.
    Currently we are following this way. Try it out and see.
    If you need more information, do reply.
    Regards / US

  • In production order can the status of TECO ,in menu bar can be deactivated

    Hi
    In production order can the status of TECO /REVOKE TECO in menu bar can be deactivated .if it can be done where to do the setting and what is it implications
    regards
    madan

    Hi Sarvan,
    We are using the version ECC6.0. I want the authorisation of "revoke close" for some of the users only. Is it possible? If yes, what exactly is the authorisation object.I did not find any object as  SAP-Security.
    Is it possible to control it by any user exit.
    Kindly let me know ASAP.
    Regards,
    Satyajit

  • Import Production orders with released status

    We are using DTW to import production orders. It allows to import as "planned" status only and not as as "released status". We have hundreds of production orders per day and its a pain to update each production order to "released" status so that it can be available for reciepts from production and thereafter after recieving the items, changing each and every production order to "closed". Please advice

    Hi Mohamed,
    please use the following for the production order status in the template.                                                                               
    (1)Planned   :-> boposPlanned                                              
    (2)Released  :-> boposReleased                                             
    (3)Closed    :-> boposClosed                                               
    (4)Cancelled :-> boposCancelled                                                                               
    Please refer to the SDK DI help file for the details information.          
    hope it helps,
    Regards,
    Ladislav
    SAP Business One Forum Team

  • Issue more than Planned in Production Order

    Hi All,
    I have a problem with 2007B SP00 PL11 for Issue for Production.
    In 2005B, I can issue the BOM Components more than planned. But in 2007B version, I am unable to issue more than planned. When I right-click at Production Order to Issue Component or at Issue for Production and copy from Production order. no items are displayed.
    I have already issued in full at the 1st issue. Then subsequently, i need to issue some more qty for certain components. But i am unable to do that.
    Has this feature of issue more been changed in 2007B?
    What other method can be adopted without changing the planned qty?
    Please advise.
    Regards
    Jessie

    Hi guys,
    Thanks for the fast response.
    Duplicate the previous issue to create the over-issue is not a good solution. It is very troublesome. itis not a good procedure to ask customers to do this step.
    Changing of the planned qty will mean that i am not able to trace my initial plan and have to go back to the BOM. again, this is not logical. especially when the queries are using figures directly from production order tables.
    Since it can be done in 2005 version, why is SAP taking it out this feature in 2007?

  • Consumption acct of materia which issue to maint. ord. and production order

    Hi all,
    I have one problem with the cost report for maintenance orders.
    I have one material code, such as we call A.
    Mat. A is issued to production order and also maintenance order.
    For production order, consumption account is 123
    For maintenance order, consumption account is 456
    I have defined new movement type for issuing to Maintenance order is ZB1
    in OBYC:
          GBB - VRB --> 123
          ZB1  --> 456
    So for accounting purpose, I can slit these consumption accounts
    However, when  I go to maintenance order cost reports, systems slit these cost into 2 line
    Material  A        Acct. Cons 123        Plan cost 100        Actual cost 0
    Material   A        Acct. Cons  456       Plan cost 0            Actual cost 120
    How can I group into  1 line ?
    Edited by: Emily Nguyen on Jun 2, 2009 12:15 PM

    Hi Emily
    In OBYC you can configure GL accounts per valuation class.
    You cannot configure Movement type wise. Each General modifier is linked with movement types.
    We cannot give two consumption accounts for one valuation class in VBR.
    Run your plan cost again.
    Thanks
    Kiran A

  • No. range issue : at the time of production order settlement

    Hi expert,
    My user is unable to settle production order due no no range issue:
    Short text of error message:
    Document number 9000 20001 2008 was already assigned
    Technical information about the message:
    Diagnosis
         Document number 20001 in company code 9000 and fiscal year
         already been assigned.
    System response
         Termination of processing.
    Procedure
         Check document number range 02 in company code 9000 and fi
         2008 and correct the number range status if necessary.
    Message classe...... "F5"
    Number.............. 152
    Variable 1.......... 9000
    Variable 2.......... 20001
    Variable 3.......... 2008
    Variable 4.......... 02
    Variable 3.......... 2008
    Variable 4.......... 02
    Pl advise.
    Regards,
    Samar

    Hi experts,
    Thaks for the reply.
    Pl advise what is the configuration/T code to be maintained for no range
    Regards,
    Samar

Maybe you are looking for

  • How do I back-up my iTunes library?

    I really don't know, but I'd like to. iTunes suggests it since I buy songs and stuff and well yea I have over 1,500 songs and I don't want to loose them. Can anyone tell me how? Thanks. Sony Vaio   Windows XP Pro   60GB iPod

  • Why does double-click no longer select a whole word?

    I am on the beta update channel and currently using FF 8.0, latest update as of the moment of this posting. I am not sure when it happened - I think since I started using 8.0 - but double-click no longer selects a whole word. It's the same effect as

  • Can I use Mavericks on an external drive?

    I need to keep 10.6.8 on my iMac to use AppleWorks, but I'd like some of the features of Mavericks denied me such as compatibility with OS7 on my iPad. Is it feasible to clone my hard disk to an external drive and upgrade that to Mavericks and switch

  • Appropriate file size in ADK

    Dear all, We are planning to archive a huge table, which is currently 65G.  Our initiative plan of each archiving session will archive about data of 10G.  We currently set file size as 100M.  We are not sure if this size is appropriate.  Can anyone g

  • Accessing Information From Sub-Reports

    I have a report with the following layout: Details a      Field from SQL Command Details b     Field from SQL Command Details c     Field from SQL Command Details d     Field from SQL Command Details e     SubReport A Report Footer b     SubReport B