Error when closing a process order

Hi
I am getting an error when trying to close a process order.
The error is - KW407"No prices could be determined for object Activity type XXXX/XXXX/SET". I have checke the following:
1. KP26 the price has been maintained.
2. Have checked that the cost element assigned for the actuvuty is "43"
3. The Valuation variant is maintained correctly.
Please let me know what could be wrong and how the order can be closed.
Karthik

Hi Karthik,
Error message class KW relate to ABC costing. Did you use template and OH group and assigned in Materil master or in the costing sheet. if so
Have you correctly assigned the template to OH group KTPF?
If this is not the case, please check your MRP settings in the material master.
Hope you need to change the planning strategy? please check with PP guys.
Thanks
Velumani

Similar Messages

  • ABAP Programming Error when saving the Process Order confirmation in COR6N

    Hello,
    We have an issue related to Process Order confirmation using Tcode COR6N. When we enter all the inputs to confirm( Activity, yield and phase) and click on save it gives ABAP Programming Error (Exception condition "SEQ_NOT_FOUND" raised).
    Any inputs in this regard, would be appreciated.

    Hello
    I can observe that you have implemented the report ZOPSECRE and that an inconsistency was found.
    This repor corrects inconsistent orders which do not have an operation or a sequence, or the two of them.
    The report checks whether there is at least one operation or one sequence and creates both including status objects.
    Therefore, you need to have the default valus for the operation generation defined on OPJG for this order type/plant.
    BR
    Caetano

  • Allocation error when I create production order

    Hi guys:
       I met allocation error when I created production order with CO01.could you help me out?urgent!

    hi
    What is the excatly the error so that we can tell u the reason
    regards
    ramakant

  • Error when closing Workbench

    We're getting an error when closing workbench -- below is information from the log:
    !MESSAGE Bundle update@plugins/org.eclipse.emf.compare.diff_0.8.0.v200806180301.jar was not resolved.
    !MESSAGE Missing required bundle org.eclipse.emf.compare.match_0.0.0.
    Does anyone know why we would be getting this error?
    Thanks,
    Janis

    Could I know which version of Workbench you are using? Was it installed as a
    standalone or an Eclipse plugin? Any other plugins you have installed?
    Regards,
    Long Liu
    2011/3/26 Janis Wolf-Pittel <[email protected]>
    >
    We're getting an error when closing workbench -- below is information from
    the log:
    >
    !MESSAGE Bundle update@plugins/org.eclipse.emf.compare.diff_0.8.0.v200806180301.jar
    was not resolved.
    !MESSAGE Missing required bundle org.eclipse.emf.compare.match_0.0.0.
    >
    Does anyone know why we would be getting this error?
    >
    Thanks,
    Janis
    >

  • Error when closing down (NetworkUXBroker.exe)

    I get this error when closing down Win 10. Just to let you know...
    NetworkUXBroker.exe
    The instruction at 0x00007FFDA03BB070 referenced memory at 0x000000CA1AD04F0

    Error message when closing down computer
    Ainslie Collison - 09:03pm Sep 12, 2008 Pacific
    Adobe photoshop downloader boot will not shut down automatically when I close down the computer. What settings can I change. I cannot find anything to help in edit/preferences. I have the starter edition.

  • Error when closing Service Call

    Error message is occuring when trying to close / update a service call.
    'No related record found [Service Calls - Contact Person] [Message 60156-18]
    and
    'Removing activites from service call not allowed'
    Some history to the BP which may be linked
    1 business partner was created
    2 service messages and activities where created
    3.  Bp was accidently deleted
    4.  BP was reinstated
    5.  Old service messages have error when closing
    Any solutions on how to update the service call - so it can be closed?

    Hello Lisa,
    I have came across this issue before. I suggest that a messaged be logged with the SAP Support Team. They may need to get a copy of the database to verify this.
    Regards,
    Lorna Real

  • Configuration Validation error when booking an Sales Order.

    Hi,
    Getting an error when booking an sales order ie; "Configuration Validation error".
    We are upgrading from 11.5.8 to 12.1.1 and this issue is critical. Please provide your valuable suggestion and advice.
    Thanks in advance,
    Asif

    It seems you use configurator. Is this happening in production or in some test instance?
    If it is a test instance, when was it cloned from prod? Did you clone the configurator instance at the same time?
    1) You should publish the configurator model from the configurator developer to this new instance.
    2) Also, it is possible that the selections made during order entry earlier are not valid anymore due to ECO/BOM changes or due to configurator rule changes. Open the configuration, make any selections if necessary and then click ok.
    This will repopulate the order lines then you should be able to book the order.
    Hope this helps
    Sandeep Gandhi
    Independent Techno-functional Consultant

  • 'Invalid Currency' error when attempting to deliver order

    Hi Experts,
    I have a sales order which cannot be despatched or invoiced because whenever I try to convert the order into a delivery note or AR Invoice I get error message:
    Invalid Currency [Message 131-74]
    I have also tried adding a delivery note and the Copy From function with no success.
    The BP is set up to use All Currencies and the order is only in GBP.
    Thanks
    Jon

    What version of SAP Business One are you using?
    Have you had a look at SAP Note  # 1252328 ?
    Invalid currency error when copying a Sales Order
    Symptom
    You are managing an item with the FIFO valuation method. You have some open layers with zero cost. You create a Sales Order for this item and want to copy it to the next marketing document: a Delivery or an A/R Invoice. You receive the following error: Invalid currency [Message 131-74]
    Other terms
    OINM,FIFO, zero cost, sales order ,delivery ,invoice
    Reason and Prerequisites
    Application error
    example:
    1.Create item managed by FIFO.
    2.Goods Receipt for item ,quantity10, no price.
    3.Goods Receipt PO for item, quantity 10.price 5
    4.Sales Order for item ,quantity 11,
    5.e.g.copy it to Delivery or AR Invoice
    You will receive the error:Invalid Currency[Message 131-74]
    the same error message when you use the copy from function
    Solution
    SAP plans to fix this issue in a future patch. See the info.txt file on SAP Service Marketplace to verify when the fix was included.
    Apparently its affecting SAP Business One 2007 B Patch 13 and SAP Business One 2007 A Patch 47

  • Run time error while closing the CRM Order using BAPI

    Hi Experts,
    Need your invaluable suggestions here.Apologies for the lengthy mail, intention is to give clear idea of the issue.
    I am facing an issue while closing the CRM orders. According to our business process, when an issue is solved we will keep the order in resolved status only. We will not directly close the order from the CRM tool, instead we have created a custom program for the same purpose.
    For the custom program we will give input as the order number and execute it, this will close the order.
    Here close the order means assigning it to Close status as well assign the reason code.
    We have created some reason codes for closed status.
    So when the program is run the Order moves from resolved status to closed status along with reason code.
    But of late we are facing some problems with this program, it is giving run time error for some CRM orders.
    Run time error message : The ABAP/4 Open SQL array insert results in duplicate database records.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught in procedure "CRM_SERVICE_OS_UPD_OST_DU" "(FUNCTION)", nor was it propagated by a RAISING clause.
    Please find my code which have used in the custom program
    Closing the resolved SOs in the system
        CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN_OW'
            EXPORTING
              objnr                     = iv_guid
              user_status          = lc_status_closed
           EXCEPTIONS
             object_not_found          = 1
             status_inconsistent       = 2
             status_not_allowed       = 3
             OTHERS                        = 4.
        IF sy-subrc <> 0.
          WRITE :  'Error at maintaining status'.
        ENDIF.
    Set reason code
    build lt_subject
        ls_subject-ref_guid = iv_guid.
        ls_subject-katalogart = 'A2'.
        ls_subject-codegruppe = 'ZR000003'.
        ls_subject-code       = 'ZR33'.                      " Reason code
        ls_subject-mode       = 'A'.
        APPEND ls_subject TO lt_subject.
    build lt_ossset
        ls_osset-ref_guid        = iv_guid.
        ls_osset-subject_profile = 'ZREASON03'.
        ls_osset-profile_type    = 'G'.
        ls_osset-subject         = lt_subject.
        APPEND ls_osset TO lt_osset.
    build lt_service_os
        ls_service_os-ref_guid  = iv_guid.
        ls_service_os-ref_kind  = 'A'.
        ls_service_os-osset     = lt_osset.
        APPEND ls_service_os TO lt_service_os.
    build lt_input_fields
        REFRESH: lt_input_fields, lt_field_names.
        CLEAR  : ls_input_fields, ls_field_names.
        ls_field_names-fieldname    = 'CODE'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'CODEGRUPPE'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'KATALOGART'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'SERVICE_PROFILE'.
        APPEND ls_field_names TO lt_field_names.
        ls_input_fields-ref_guid    = iv_guid.
        ls_input_fields-ref_kind    = 'A'.
        ls_input_fields-objectname  = 'SERVICE_OS'.
        ls_input_fields-field_names = lt_field_names.
        APPEND ls_input_fields TO lt_input_fields.
         CALL FUNCTION 'CRM_ORDER_MAINTAIN'
          EXPORTING
            it_service_os     = lt_service_os
          CHANGING
            ct_input_fields   = lt_input_fields
          EXCEPTIONS
            error_occurred    = 1
            document_locked   = 2
            no_change_allowed = 3
            no_authority      = 4
            OTHERS            = 5.
        IF sy-subrc <> 0.
          WRITE :  'Error at maintaining reason'.
        ENDIF.
        CALL FUNCTION 'CRM_ORDER_SAVE'
          EXPORTING
            it_objects_to_save   = lt_header_guid
            iv_update_task_local = lv_update_task_local
          IMPORTING
            et_saved_objects     = lt_saved_objects
          EXCEPTIONS
            document_not_saved   = 1
            OTHERS               = 2.
        IF sy-subrc <> 0.
          WRITE : 'Error at saving'.
        ELSE.
          WRITE : 'Successfully Closed'.
          COMMIT WORK AND WAIT.
        ENDIF.
    Run time error is coming at COMMIT WORK AND WAIT statement.
    Please let me know any corrections are required in the above program.
    When I analyzed the run time error I have found that it trying to insert the record in CRMD_SRV_OSSET for that CRM order, but already one record is present in the table for the same CRM order number.
    For most of the CRM orders there is no entry in this table so they are closing successfully but for a few orders for which there is an entry we are getting the above run time error.
    There is nothing wrong with the orders which have an entry already in the table CRMD_SRV_OSSET, I need to close these kind of orders with out run time error.
    Kindly provide your feedback.

    Hi Dinakar,
    You posted this in APO PPDS forum. This question should go to PP forum where someone could answer it.
    Please close this thread and open a new thread in PP forum so that you could get help quickly from the relevant experts.
    Regards - Pawan

  • Error in Closing of Production Order

    Dear Gurus,
    I am getting following error whil closing Production order
    "Unprocessed Future change Recs for order ###  prevent deletion flag /completion "
    Can anybudy explain me what is this ?
    Ishwar

    Hi,
    Please check the following
    Prerequisites for Setting the Deletion Flag
    The following prerequisites must be fulfilled before a deletion flag can be set:
    Are there any more (manually added) purchase requisitions or purchase orders assigned to this order?
    If so, these must be deleted first.
    Is there a balance for this order?
    The deletion flag can only be activated if the order has already been settled or if no actual costs have been accrued in the order. This means that the actual costs for the order must be equal to zero.
    Are there any commitments for this order?
    If so, these must be deleted first.
    Are there any inspection lots in this order?
    If so, each lot must have the Completion of all inspections is set and the Usage decision made status.
    Are there any goods movements with errors for this order?
    If so, these must be processed first.
    Regards
    Kannan

  • Problem in TECOing/Closing the process order.

    Hi PP Gurus,
    We're facing a problem when trying to TECO the process order and system is generating the error message
    Message no. BS013 (System status CRCR is active (ORD 1000xxxxxx))
    We're using Browser based PI sheet here to process the order.
    If anybody faced the same, please reply.
    Regards,
    Abu Arbab

    Hi Rupesh,
    Thanks for reply
    Though we set 'Clear Reservation' in intial screen of COR6N/CORK/CO15/Co11N, it'll wok only for those components which are having Backflush indicator set. As in PI sheet, Goods Issues section is completely different and Ticket confirmation is different. And the components that we're using are not backflushed components, so it makes no sense though we put Clear Reservation in confirmation through PI sheet.
    Now the actual issue comes into picture when in Goods Issue table we put Issue indicator= final and it is properly updated for that component in MSEG table. But when we go and check in RESB table or COR3/COR2 there is no final indicator set in Component detail. Is this standard behavior of SAP or are we missing something here?
    Please help
    Regards,
    Abu Arbab

  • Regarding Error Message while releasing Process Order

    Dear friends,
                              While releasing process order i m getting following error message.
    " Storage location in PUB(loc1) is not same as storage location (loc2)''.
    how to remove this error and release the order.
    Thanks & regards,
    Sandip Sonar

    Hi Sandip,
    The error message LP 099 'Stor. location in PUB X is not the same as prod.stor. location Y' is issued when the system finds  inconsistancy in your customizing of the couple storage location - Production supply area for your components in your process order.                                                                               
    The logic of the storage location determination is the following ...
    The issuing storage location is determined in three steps:                                                                               
    1. First, the issue storage location of the material to be issued   (MARC-LGPRO) is transferred to the material master from the  MRP    data if it is filled.                                                 
    2. The system overwrites this value with the issue storage location from the bill of material (RC29P-LGORT, STPO-LGORT) if it is     filled.                                                               
    3. If the operation to which the component is assigned in production  order contains a work center with supply area, the storage    location is transferred from this supply area (PVBE-LGORT).     However, this transfer is only carried out if storage location  data (MARD) is maintained for this storage location for the    material.                                                                               
    The logic of the supply area determination:                              
    Priority of supply area determination for WM staging is as follows :     
    1. Supply Area of Work Center               (highest priority)   If no supply area defined look to                                     
    2. Supply Area in item of Bill of material  (second priority)   If no supply area defined look to                                     
    3. Material Master View MRP2                (third priority)         If no supply area defined -> Error message LP 099                                                                               
    I hope this helps in sorting the issue.  
    Regards,
    Mauro

  • Send Mail When Saving The Process Order

    Dear Experts,
    I want to send a Mail with some details whenever we Create & Save a new Process Order in COR1.
    I have written my code at the below location where i have all the required data stored in the IT'S.
    Enhancement - PPCO0001
    FM - EXIT_SAPLCOBT_001
    Include - zxco1u01
    I have the below code to send the Mail in the include.
    Send the document
        call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          exporting
            document_data              = wa_doc_chng
            put_in_outbox              = 'X'
            commit_work                = ""
          tables
            packing_list               = it_objpack
            contents_txt               = it_objtxt
            receivers                  = it_reclist
          exceptions
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 7
            others                     = 8.
        if sy-subrc = 0.
      To refresh SAP Work Office so that mail can be recieved immediataly.
          submit rsconn01 with mode = 'INT'
                          with output = ''
                           and return.
        else.
          message 'Problem in sending Email.' type 'I'.
        endif.              "  End of sy-subrc
    Here my exporting parameter "commit_work" is blank, i have not passed "X" in it.
    When i pass "X" in this, it gives me a dump as below.
    Short text
        Invalid COMMIT WORK in a COMMIT WORK or ROLLBACK WORK.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLSOI1" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        The call of a COMMIT WORK in a FORM, that will not be executed until
        the commit or rollback point of the caller using the variant
        PERFORM ... ON COMMIT or PERFORM ... ON ROLLBACK is not permitted.
    Trigger Location of Runtime Error
        Program                                 SAPLSOI1
        Include                                 LSOI1U32
        Row                                     154
        Module type                             (FUNCTION)
        Module Name                             SO_DOCUMENT_SEND_API1
    When i take out "X" from "commit_work", it does not send mail and also the transaction does not give any Dump.
    Can you please help out me with this?
    Thanks,
    Praveen

    Hi Antony,
    When i write the below code in FM = EXIT_SAPLCOBT_001 and include = zxco1u01, it does not work for sending the mail.
    Mail Data.
    types: begin of ty_mail,
            tcode type zmail-tcode,
            email type zmail-email,
            end of ty_mail.
    IT Creation.
    data:  it_mail type standard table of ty_mail.
    WA Creation.
    data:  wa_mail type ty_mail.
    Email Related Internal Tables.
    data:  it_reclist        type standard table of somlreci1,     "Recipients
            it_objpack        type standard table of sopcklsti1,
            it_objhead        type standard table of solisti1,
            it_objtxt         type standard table of solisti1 initial size 0 with header line,      "Body of EMail
            it_objbin         type standard table of solisti1,      "Attachment of EMail
            it_contents_hex   like standard table of solix,
            it_objbin1        type standard table of solisti1,      "Attachment of EMail
            it_contents_hex1  like standard table of solix.
    Email Related Work Area.
    data:  wa_doc_chng       type sodocchgi1.     "attributes of document to send
    data:  l_reclist               like line of it_reclist,
            l_objpack               like line of it_objpack,
            l_tab_lines             type i.
    data:  lv_answer   type string,
            w_msg1(100) type c,
            w_gamng     type string.
    select tcode email from zmail into table it_mail
            where tcode = 'ZQA15'.
       refresh it_objtxt[].
       it_objtxt = '-----------------------------------------------------------------------------------------------------'.
       append it_objtxt.
       concatenate 'Order Number - '  header_table-aufnr into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'Plant - '  header_table-werks into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'Material No. - '  position_table-matnr into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'Material Description - '  header_table-ktext into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'Batch No. - '  position_table-charg into it_objtxt separated by space.
       append it_objtxt.
       w_gamng = header_table-gamng.
       concatenate 'Batch Size - '  w_gamng into it_objtxt separated by space.
       append it_objtxt.
       concatenate 'MFG. Date - '  position_table-verid into it_objtxt separated by space.
       refresh it_reclist[].
       loop at it_mail into wa_mail.
         clear  l_reclist.
         l_reclist-receiver    = wa_mail-email.
         l_reclist-express     = 'X'.
         l_reclist-rec_type    = 'U'.
         l_reclist-no_forward  = 'X'.
         append l_reclist to it_reclist.
         clear wa_mail.
       endloop.
    Fill the document data.
       wa_doc_chng-doc_size = 1.
    Populate the subject/generic message attributes
       wa_doc_chng-obj_langu = sy-langu.
       wa_doc_chng-obj_name  = 'PO DETAILS'.
       wa_doc_chng-obj_descr = 'PO Details To QC'.
       wa_doc_chng-sensitivty = 'F'.          "  Send mail as a confidential
       wa_doc_chng-no_change  = 'X'.
    Describe the body of the message
       if it_objpack is initial.
         l_objpack-transf_bin = space.
         l_objpack-head_start = 1.
         l_objpack-head_num   = 1.
         l_objpack-body_start = 1.
         describe table it_objtxt lines l_objpack-body_num.
         l_objpack-doc_type   = 'RAW'.
         append l_objpack to it_objpack.
         clear  l_objpack.
         clear l_tab_lines.
       endif.
    Send the document
       call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         exporting
           document_data              = wa_doc_chng
           put_in_outbox              = 'X'
           commit_work                = ''
         tables
           packing_list               = it_objpack
           contents_txt               = it_objtxt
           receivers                  = it_reclist
         exceptions
           too_many_receivers         = 1
           document_not_sent          = 2
           document_type_not_exist    = 3
           operation_no_authorization = 4
           parameter_error            = 5
           x_error                    = 6
           enqueue_error              = 7
           others                     = 8.
       if sy-subrc = 0.
      To refresh SAP Work Office so that mail can be recieved immediataly.
         submit rsconn01 with mode = 'INT'
                         with output = ''
                          and return.
       else.
         message 'Problem in sending Email.' type 'I'.
       endif.              "  End of sy-subrc
    endif.                "  End of lw_answer
    But when i write the same above code in FM = EXIT_SAPLCOZV_001 and include = zxco1u06, it does work fine.
    I am not able to understand why it works at one place and does not at the other?
    Thanks,
    Praveen

  • CJ02 - Error when closing Message - CJ 824

    Hi,
    I am trying to close the project via CJ02, however when i change the status to IM40(Closed to Actual Cost) i am greeted with following error, The AUC is already settled, Don't know what's happing here, Can anyone  please advise
    Error when processing asset under construction (AuC) for WBS element xxx-xxxx-xxx-xx
    Message no. CJ 824
    Thanks

    The problem was the cost center entered in CJ02 was not in validity period. I have extended the validity period. Issue resolved

  • Error while creating a process order

    Dear Guru's
    While creating a process order ,i am facing an error.
    "Unable to create batch. Storage location BPSS is invalid for material 112100050
    Message no. 40116".
    How to assign specific storage loaction to that particular material.I have assigned in material master "work scheduling tab",But it was throwing an error while doing process order.Pls help me to solve this problem.
    Thanks in advance,
    Rgds,
    cherukuri

    Hi Cherukuri
    Are u using special procurement key "80"? It seems that storage location is not mentioned for the header material in the production plant.
    Maintain this using T Code MMSC. It will solve ur issue
    Rgds

Maybe you are looking for

  • Crash report from Safari - Why can't I open it?

    Process:         Safari [1897] Path:            /Users/Desktop/Applications/Safari.app/Contents/MacOS/Safari Identifier:      com.apple.Safari Version:         5.1 (6534.50) Build Info:      WebBrowser-75345000~1 Code Type:       X86-64 (Native) Pare

  • Error building dll

    I am getting the following error when I try to build the dll in VC++. "Linking...    Creating library Debug/winport.lib and object Debug/winport.exp LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other libs; use /NODEFAULTLIB:libra

  • Swapping to a new machine

    I'm about to have to give up my corporate macbook for an iMac.  I have an external hard drive that has kept up as my time machine.  Can I use this to move out and move in?

  • Practical Enterprise Service Bus Use Cases for SOA & writing for Dev2Dev

    Dev2Dev has just published: Practical Enterprise Service Bus Use Cases for SOA http://dev2dev.bea.com/pub/a/2006/06/service-bus-use-cases.html "What is the role of an ESB within SOA? In this article, Kenny Shin provides some practical advice, illustr

  • Spry effect Appear/Fade don't toggle

    Ok. I have applied a simple, basic, no more basic then this cannot be possible, Appear/Fade using the effects behaviors menu in DW. I have turn on the Toggle option and I said: "appear from 0 to 100". Well the result is this: http://www.cantinho.org/