Order with CLSD status selected

Hey All
I am not sure if this is question in CO but While calculating variances the orders with status as CLSD are also being selected. The system in the output shows the orders with CLSD status which is causing long runtime issues. I am sure that orders with status as CLSD are excluded from processing . Can anyone help me on this
Thanks
Ankur

Hi ,
You need to regulary set the deletion flag in the closed process orders . Please refer Note 397110 - Performance: Archiving manufacturing orders.
Also refer Note : 393686 on other performance related issues in Cost Object Controlling..
Regards
Sarada

Similar Messages

  • Purchase order with HELD status

    Hi,
    After approval of shopping cart all my purchase order are created with held status.
    When controlling the purchase order i have the error message "Select a location to which a plant has been assigned"
    Could anyone please give some explanation.
    Thanks

    Hi
    Hope it would not allow to order a cart since you don thave a plant details?
    check it up. If Po created check why plant details are not copied into your PO.
    regards
    Muthu

  • How to create Internal Order with LKD status

    Hi All Experts ,
    Can anybody tell me how can we create IO directly in LKD status ? Or it is manual acitivity by clicking on Set / Rest button and then check LKD and save. I tried in KOT2_OPA but not no any option found. If any experts can guide for the following configuration would be great.
    1 ) Is it possible to create IO with LKD status directly ?
    2 ) Where that configuration needs to be done ?
    3 ) What is significance of JEST Table relating to Internal Order ?
    Exprerts help would be great !
    Regards,
    Sharvari Joshi.

    Hi Ajay,
    It worked fine exactly. Thank you !
    Can we have facility to create IO with LKD ststus in System Status ?
    Is it true that there are only 4 SAP Standard system status CRTD, REL, CLSD, TECO.
    Is it possible to add LKD in that ? When I clicked on to the up / down arrow I am getting only these four values.
    Can we define additional values to this point ?
    Regards,
    Sharvari Joshi.

  • 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

  • Orders with cancelled status

    Hello,
           I need to generate a report where I print those orders that are in cancelled status. I can fetch those orders that are in cancelled status in Oe_order_headers_all.
    whereas I need those orders whose status is CLOSED in Oe_order_headers_all and  flow_status_code = CANCELLED in oe_order_lines_all (only those orders whose ALL lines are in cancelled status). Can some one help me in this.
    Regards
    Abs

    Dear Jessica,
                              I have executed as you said but the query is keep on running with out any out put.
    /* Formatted on 2013/12/08 10:23 (Formatter Plus v4.8.8) */
    SELECT   *
        FROM (SELECT ooh.order_number order_number,
                     TO_CHAR (ooh.ordered_date, 'DD-Mon-YYYY ') AS ordered_date,
                     cmv.customer_number cutomercode,
                     cmv.customer_name customer_name,
                     ROUND ((SELECT SUM (  (  ool1.ordered_quantity
                                            * NVL (msi.internal_volume, 1000)
                                         / 100
                               FROM apps.mtl_system_items_b msi,
                                    apps.oe_order_lines_all ool1
                              WHERE msi.organization_id = 73
                                AND msi.inventory_item_id = ool1.inventory_item_id
                                AND ool1.header_id = ooh.header_id),
                            2
                           ) pallets,
                     ool.ordered_quantity ordered_quantity,
                     oel.meaning reason_of_cancellation,
                     cmv.channel_name channel_name,
                     ooh.flow_status_code flow_status_code
                FROM oe_order_headers_all ooh,
                     oe_order_lines_all ool,
                     abpom_customer_master_v cmv,
                     oe_reasons oer,
                     oe_lookups oel
               WHERE ool.header_id = ooh.header_id
                 AND ooh.ship_to_org_id = cmv.site_use_id
                  --AND ooh.ship_from_org_id =  fnd_profile.value('MFG_ORGANIZATION_ID') ---Added
                 -- AND ooh.ship_from_org_id =  :p_org_id
                 AND oer.header_id = ooh.header_id
                 --AND oer.line_id = ool.line_id
                 AND oer.reason_code = oel.lookup_code
                 --and ooh.order_number=20050
                 --AND cmv.channel_name = cmv.channel_name
                 AND ooh.org_id = fnd_profile.VALUE ('org_id')
                 --   AND nvl(cmv.channel_name ,1)= NVL (:P_CHANNEL,nvl(cmv.channel_name,1))
                    -- AND cmv.channel_name =' '
                 AND ooh.ordered_date BETWEEN :p_fromdate AND :p_todate
                      --and rownum<100
                 --      AND oel.meaning = NVL (:P_REASON, oel.meaning)
                    ---  AND ooh.flow_status_code = 'CANCELLED') gff
                 AND (   ooh.flow_status_code = 'CANCELLED'
                      OR ooh.header_id IN (
                            SELECT   header_id
                                FROM oe_order_lines_all
                            GROUP BY header_id
                              HAVING COUNT (*) =
                                        SUM (DECODE (flow_status_code,
                                                     'CANCELLED', 1,
                                                     0
                     )) gff
    GROUP BY pallets,
             order_number,
             ordered_date,
             cutomercode,
             customer_name,
             ordered_quantity,
             reason_of_cancellation,
             channel_name,
             flow_status_code

  • Sporadic Orders with Inappropriate Status

    Hi Experts,
        I am facing a weird issue. On rare occasions I find Service Orders that get stuck in an incorrect user status whereby they are 'Open' and cannot be changed (released or completed). If you enter the edit mode and try to change the user status, you can see that there is no option other than OPEN. Normally at an OPEN status, we  have the additional drop-down selections of "Dispatch", "Release", and "Wait - Parts Arrival". The individual items of the order are in released or completed state.
        The status profile has been correctly defined in config, so this is not the issue. I searched for other similar messages on this forum and found that user status of orders can be changed using function modules CRM_STATUS_CHANGE_EXTERN and CRM_STATUS_CHANGE_EXTERN_OW. However I am unable to determine why this happens to few orders while they work fine for the rest. Any help/tips to resolve this will be highly appreciated.
    Thank you,
    Nanda

    Hi Experts,
        I am facing a weird issue. On rare occasions I find Service Orders that get stuck in an incorrect user status whereby they are 'Open' and cannot be changed (released or completed). If you enter the edit mode and try to change the user status, you can see that there is no option other than OPEN. Normally at an OPEN status, we  have the additional drop-down selections of "Dispatch", "Release", and "Wait - Parts Arrival". The individual items of the order are in released or completed state.
        The status profile has been correctly defined in config, so this is not the issue. I searched for other similar messages on this forum and found that user status of orders can be changed using function modules CRM_STATUS_CHANGE_EXTERN and CRM_STATUS_CHANGE_EXTERN_OW. However I am unable to determine why this happens to few orders while they work fine for the rest. Any help/tips to resolve this will be highly appreciated.
    Thank you,
    Nanda

  • APO orders with error status 171 in SAPAPO/CCR

    Hi,
    We are creating orders in APO which are CIFed over to ECC. They get a number in R3 but are not fed back to APO. We reconcile using CCR where we get the error 171, which says that orders in ECC have storage location, and the ones in APO dont have them.
    Any ideas what we are doing wrong.
    Regards,
    Zeeshan.

    Hi,
    As Christian said if you have an empty source of supply in the apo order you might get this error. The other possible reason is that the S.Loc field in the SNP PPM for the O/P Product is blank. Kindly populate the value fo S.Loc in SNP PPM and create some orders and you won't see them in Delta. We have faced this faced and then corrected them.
    Regards,
    Senthil

  • Sales doc items with the status CLSD ARE being selected for month-end

    We are working to improve month-end processing time for Sales Orders  We use SAPKKA12 to set CLSD status on line items
    SAP Help states: be sure that the status CLSD (closed) is set for all sales document items that you do not want to include in the period-end closing process. The sales document items with the status CLSD are then not selected for processing in the period-end closing process. Use report program SAPKKA12 to set the status.
    This use to work (in 4.0). I have been on other projects and just brought back to this after several years (now in 5.0).  Testing today shows that orders with CLSD status are being selected for month-end process.
    Any ideas why this is so?  System is selceting over 300,000 orders when well over half of them are set to CLSD.  I do get a message that the order is not relevant to processing, but selecting the order and logging the message take time. and the logs are VERY long.
    thanks

    Does any one else have this issue  that Sales documents with status CLSD are selected by RA (KKAK)?
    In just one of our jobs, i get this Basic List
    Perform actual results analysis      31273      
    Not relevant                                                 103894
    Error                                                        2306      
    Objects Selected                                    137,473
    75% of the orders are CLSD.  and the system is still counting them. (we do not out put information messages)
    I do understand that the orders are not analyzed,  but all documentaion states that CLSD status is not selected, and in our 5.0 system, they are selected.  In our 4.0 system, they were not selected.
    Does this truely work for anyone in a 5.0 system?
    Thanks
    Althea

  • Error - Only partial orders with status ER, IG, WO and WR are allowed

    Hi,
    How to troubleshoot the distribution error "only partial orders with the status ER, IG,WO, WR are allowed"
    All other settings are made.
    BR,
    Anirudh,

    Hi Anirudh,
    Generally, logs in CVI9 with status 'PC' indicate the processing of the documents at the communication layer/server. You can also check the sending orders in transaction SCOT (Utilities > Overview Send requests). If, for example, the documents are in 'waiting' status, this indicates that it is not distributed due to improper SCOT settings.
    From DMS point of view please check the following settings on your system:
    1. Please activate the workflow templates again in transaction SWDD:
    - WS20000104
    - WS20000137
    2. Furthermore, please check whether the data processing distribution type (e.g.: INT) has been maintained with value "2" in SPRO customizing
    3. Verify that the event type linkage is set in SWE2 for BUS1082 INITATED. So,Go to swe2 transaction. In the line below set the 'Type linkage' flag:
    "BUS1082 INITATED WS20000104"
    Please see also SAP note 997428 for further information and check if the recieving user has maintained the full name (first and last name) in transaction SU01.
    Best regards,
    Christoph
    P.S.: Please reward points for useful information.

  • Issues in creating the sales order with oe_order_pub.process_order api

    Hi All,
    I am trying to create a sales order with BOOKED status using oe_order_pub.process_order api, and I am getting response as
    <X_RETURN_STATUS>E</X_RETURN_STATUS>
              <X_MSG_COUNT>1</X_MSG_COUNT>
              <X_MSG_DATA>ONTOE_LOCK_ROW_DELETED</X_MSG_DATA>
    Can any one help me in fixing this issue ..!
    Thanks,
    Vamsi…
    Edited by: user11147471 on Jul 9, 2009 2:02 AM

    When using the API, are you trying to create the order as booked using the booked flag or the book action?  I would recommend using the action if you are not. To troubleshoot, I would try the API without booking and then use the following article to determine the issue:
    Unable To Setup A Credit Card Bank Account For The Customer. CC Information On The Order Is Not Valid (Doc ID 1450936.1)

  • Error when creating planned orders with BAPI_POSRVAPS_SAVEMULTI3

    Hello,
    I am working on a program which duplicates planned orders from one planning version to another. To do this, I am using the BAPI BAPI_POSRVAPS_SAVEMULTI3.
    When I run the program, I get this error messae from the BAPI: A different planning version is being used.
    The flow of my program is the following:
    - Reading target planning version
    - Deleting orders with the same selection criteria than the orders to be duplicated
    - Reading source planning version
    - Creating read orders to target planning version (where it goes wrong)
    I worked before on another program which does the same but with manufacturing orders, and I did not encounter such a problem.
    Can someone help ?
    Thanks in advance.

    Hello Babu,
    I am facing the same error in BAPI_PIRSRVAPS_DELMULTI. Could you revert with the solution if you have got one.
    Thanks,
    Ankit

  • Ordering with Subquery Factoring

    Can I be assured that the results of this query will be ordered as defined by the 'order siblings by' clause?
    with hier as
       select ...
       from ...
       start with ...
       connect by ...
       order siblings by ...
    select ...
    from hier
    ;How about this one?
    with hier as
       select ...
       from ...
       start with ...
       connect by ...
       order siblings by ...
       subqry as
       select ...
       from ...
       where ...
    select ...
    from
       hier
       inner join subqry using ...
    ;I'm thinking I need something like this to ensure the proper order.
    with hier as
       select
          rownum rnum
       from ...
       start with ...
       connect by ...
       order siblings by ...
    select ...
    from hier
    order by rnum
    ;If not needed for the first query, is the above technique needed for the second?
    Thanks.

    It is true, the plan is changing but it is not really needed.
    Take a look at my queries and execution plans using the sample schema HR:
    with h as (
         select employee_id, first_name, last_name, department_id, manager_id
         from hr.employees
         start with manager_id is null
         connect by manager_id = prior employee_id
         order siblings by last_name
    select h.employee_id, h.first_name, h.last_name, h.department_id, h.manager_id, d.department_name
    from h join hr.departments d on d.department_id = h.department_id;
    | Id  | Operation                                  | Name        | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                           |             |    20 |  1900 |     4  (25)| 00:00:01 |
    |   1 |  NESTED LOOPS                              |             |       |       |            |          |
    |   2 |   NESTED LOOPS                             |             |    20 |  1900 |     4  (25)| 00:00:01 |
    |   3 |    VIEW                                    |             |    20 |  1300 |     4  (25)| 00:00:01 |
    |*  4 |     CONNECT BY NO FILTERING WITH START-WITH|             |       |       |            |          |
    |   5 |      TABLE ACCESS FULL                     | EMPLOYEES   |    20 |  1300 |     3   (0)| 00:00:01 |
    |*  6 |    INDEX UNIQUE SCAN                       | DEPT_ID_PK  |     1 |       |     0   (0)| 00:00:01 |
    |   7 |   TABLE ACCESS BY INDEX ROWID              | DEPARTMENTS |     1 |    30 |     0   (0)| 00:00:01 |
    with h as (
         select employee_id, first_name, last_name, department_id, manager_id, rownum
         from hr.employees
         start with manager_id is null
         connect by manager_id = prior employee_id
         order siblings by last_name
    select h.employee_id, h.first_name, h.last_name, h.department_id, h.manager_id, d.department_name
    from h join hr.departments d on d.department_id = h.department_id
    order by rownum;
    | Id  | Operation                                     | Name        | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                              |             |    20 |  1900 |     5  (40)| 00:00:01 |
    |   1 |  SORT ORDER BY                                |             |    20 |  1900 |     5  (40)| 00:00:01 |
    |   2 |   COUNT                                       |             |       |       |            |          |
    |   3 |    NESTED LOOPS                               |             |       |       |            |          |
    |   4 |     NESTED LOOPS                              |             |    20 |  1900 |     4  (25)| 00:00:01 |
    |   5 |      VIEW                                     |             |    20 |  1300 |     4  (25)| 00:00:01 |
    |   6 |       COUNT                                   |             |       |       |            |          |
    |*  7 |        CONNECT BY NO FILTERING WITH START-WITH|             |       |       |            |          |
    |   8 |         TABLE ACCESS FULL                     | EMPLOYEES   |    20 |  1300 |     3   (0)| 00:00:01 |
    |*  9 |      INDEX UNIQUE SCAN                        | DEPT_ID_PK  |     1 |       |     0   (0)| 00:00:01 |
    |  10 |     TABLE ACCESS BY INDEX ROWID               | DEPARTMENTS |     1 |    30 |     0   (0)| 00:00:01 |
    -------------------------------------------------------------------------------------------------------------

  • Proces Order TECO and CLSD status

    Dear All,
    I want to make user status TECO & then CLSD to my multiple process order.
    By the t code COHV user status TECo can possible with single transaction.
    But how can i make CLSD status to my multiple process order?

    Hi ,
    Enter production orders in COHV and select tab "Mass processing"
    in function field select "Complete" and execute.
    I have mentioned the Pre requites for closing order.
    Pre requites of settling order.
    1. Order status should be TECO.
    2. Order should have settlement rule.
    Once you have settled the order and no open quality inspection lot or any open error is pending then you can close the production order through above mentioned step.
    Regards,
    Vishal

  • Closing the Production Order with status PCNF

    Hi Experts,
    May I kindly ask if I can close an order with status Partially confirmed? If not, how can I cancel the confirmation if I had already reversed the goods movement in the confirmation thereby flagging an error of a deficit in the material quantity during cancellation of the confirmation?
    I really need your help since I need to close the production orders with this case.
    Hoping so much for your replies.
    Many thanks in advance.
    Sincerely,
    Ria

    Ria,
    I am not so clear about the exact situation.
    When you say you have reversed the goods movement with MIGO, is it reversal of the documents posted with confirmation or the individual documents?
    You can only cancle the document with MIGO which are independent of the confirmation.
    The  documents which are with the confirmation can not be reversed in any case with MIGO.
    I suggets you go this way,
    1. Check why system is giving you error as 'Deficit......'. The one thing I suspect that you must have performed auto GR & moved out the stock of FG from that location.
    If it's so then bring back the stock to it's original location & cancel the confirmation.
    While cancelling the confirmation where you might have executed goods issue with backflush this error won't arise as the stock will be bring back to storage location form the order.
    Don't reverse the cancellation of the of the documents youhave performed with MIGO for independent material posting on the order. Keep it as it is.
    This way the cancellation of confirmation & material movement will be done & now cost on the order will be zero.
    You can assign the status CLSD as well as DLFL to the order.
    2. In case you find the above activities can not be carried out for some reason then give status TECO to the order.
    Sttle the order so that the cost on the order will be zero, then give status CLSD.
    As far as possible stick to solution no. 1 only.
    Go for solution no. 2 when you don't have any other option.
    Hope this helps you.
    SmanS

  • Colective Settlement and "CLSD"Status for Production and Maintenance Orders

    Hi dear experts,
    Is that possible to use transaction KO8G for collective settlement of Production Orders? Apparently it only works for Maintenance Orders.
    The same applies for transaction CO99 for getting "Closed" status in Orders. Apparently it does not take the Production Orders, even if the selection "With CO Production Orders" is active. Is there any additional configuration we should do?!
    We would like to do settlement (and mass set "Close" status after) for Production and Maintenance Orders at the same time.
    Thanks in advance,
    Lígia Moreira

    Hi,
    You can use CO88 for settlement of production orders. Normally, CO99 should take production orders if the flag is switched. Do you receive any error when you do it?
    Regards,
    Eli

Maybe you are looking for

  • External Monitor - MacBook - Intel GMA 945

    Hey guys, I've run into a problem running Windows Vista Ultimate on my 1st gen Macbook with Intel GMA 945 chipset. I have upgraded to Leopard. Running a Mini-DVI to DVI converter and connecting to my LCD does not work any longer. * I have run the ext

  • Interface Matlab with java good links and info

    HI All i want to interface Matlab with java i did search through the net but i haven't got nay good links and info by that i mean the given links either not working or do work for old version of matlab ie R13 i have R14 IF you have already done that

  • Currency Translation GL R12

    When I run the currency Translation request It view no output Any one can provide Help. Regards, Mohammed Badry

  • PAP2T-NA will not make outgoing calls with Asterisk

    I have a PAP2T-NA connected to a Uniden cordless phone and an Asterisk server with working trunks. Inbound calls work fine - the phone rings and sound works both ways.  However I am unable to make outbound calls through the PAP2T, even to other local

  • Smart Folders are screwed for a start!

    So, I had leopard beta (bag of nails) and Mail packed in.. So when Leopard went RC I bought it and upgraded, everything is sweet, mail came back to life and decided its indexes were a mess and sorted them. I have 2 mailboxes:- 1 Exchange 1 Mac.com ma