COPA error while Sales order creation

Hi,
We are trying to create Sales order and getting error as below;
Inconsistency between a document field and the prof. segment number
Message no. KE396
Diagnosis
A line item was assigned to a profitability segment (number 046xxxxxx) which has the value 0000005xxx for characteristic Customer. The original document (FI document, sales order, internal order, etc.), however, contains Txxxx in this field. It is therefore inconsistent with the profitability segment found.
Can anybody please help me to resolve this?
Thanks,
Niki Shah.

What is the release you are working on? If it were < 4.6A, and you are trying to create an order with refenrence, thenit could be a program error as fixed by note 171064.
Also refer to this [thread|Error KE 396 in sales order;
You may need to fix a program error or add some coding.

Similar Messages

  • Replacing Profit Center value while sales order creation process - VA01

    Hi,
    Profit Center replacement   in Tcode VA01 and VA02
    I want to replace the profit center value (COBL- PRCTR) in Account assignment TAB in sales order creation time VA01 and VA02 by using custom logic (Line item Material Group and Sales District VBKD-BZIRK).
    Can anyone tell me what exit or BADI I can use for this ( I tried some of them and not working properly).
    1.     In Exit I need to have the value of Sales District VBKD-BZIRK and Line item u2013 Material Value  - These 2 field values I need in the exit.
    Thanks in advance.
    Rajesh.

    What do you mean this is not correct user exit. That is an include and there are user exits within that include.
    Have you tried save document prepare?  If yes, what have you done?
    Don't just blindly say 'that is not correct' or don't expect someone code for you. You better try in different way and learn how to do it. I just got it worked in my system just in 5 minutes in debug.
    You are not going to change COBL-PRCTR but you should change XVBAP-PRCTR.
    put a break point in userexit_save_document_prepare in include MV45AFZZ
    Loop through XVBAP and change PRCTR as per your logic.... This changed PRCTR carried till end (billing document/accounting document). I can see the profit center document with changed profit center.
    Good luck... if that solves. Mark this thread appropriately.
    Most importantly, you better close your previous threads if they are answered. if you solved by yourself post the solution so that others can benefit from that. 
    @moderator, please check this guy posts
    Edited by: Sampath Kumar on Apr 28, 2011 1:16 PM

  • Getting dump error in Sales order creation mode while going to item texts

    Hi,
    I'm getting an ABAP dump error while going to item text tab in the creation mode of a sales order. This issue is happening only when we make a manual entry in the item text field for a particular text type Y011 in the preceding document of the sales order. Otherwise everything is working fine.
    When I checked the settings in SPRO under SD - Text Control - Sales Doc - Item, the definition and assignment for the TEXT type Y011 is maintained correctly. Not sure why the issue is happening only with this text type.
    Please assist. Thank you
    Taiseer

    Thank you for the reply.
    We had tried this already. However, since the error is with standard program with many function modules. They are finding it difficult.
    There is strange side also for this error that I missed to update. When I replace the Text Id Y011 with a new one it is taking me to the line item text tab with out any error even though I'm using the same access sequence and other settings. However, after saving the order and displaying the order number, immediately it is going to dump again.

  • Runtime Error in CRM_EVENT_PUBLISH_OW while Sales Order Creation

    Hi,
    I am getting run time error when I try to copy the sales order from Existing one and Save it. ( in WEB UI)
    I am getting this error in the Function Module : CRM_EVENT_PUBLISH_OW
    Code Extract :
    IF ( iv_obj_name IS INITIAL ) OR
        ( iv_guid_hi IS INITIAL ) OR
        ( iv_kind_hi IS INITIAL ) OR
        ( iv_event IS INITIAL ).
    -- Fehlerhafte oder unvollständige Parameterübergabe bei Aufruf &1 ---*
       MESSAGE x028(crm_ssc) WITH 'FU CRM_EVENT_PUBLISH_OW'.
    ENDIF.
    Please help me, how can I solve this runtime error.
    Thanks,
    Sandeep

    Hi,
        The Event Publish itself might not be responsible for the error. Whenever you make a change in the order, the change is "published" in order to check if the change is acceptable to other objects of the order. You will have to analyze what might be possibly affected when you made the change or have to do a lot of debugging....
    Regards,
    Arun Prakash

  • Error saying to enter : Incoterms while sales order creation

    Hi,
    I am trying to create a sales order. Once the header data is entered, I am getting error saying "Enter Incoterms".
    But, after entering the item data, there is no error. They are determined.
    But, incoterms should get determine, based on header data.
    Could you please let me know, is it a standar behaviour or any note needs to be applied?
    Thanks,
    Sandeep

    Incoterms are picked up from the sales area data of the sold to party. Please check your sold to master data if the incoterm is maintained. I hope this helps.
    Regards,
    Gaurav Gera

  • Error in sales order creation

    I am trying to create sales order;
    While saving the sales order  it throws up the following error:
    "Version 0 is not defined for fiscal year 2007"
    error message no:GP626
    When I try to solve, the system is taking me the screen of "Tr.Code:OKEP"
    Here in the screen of this transaction, I am unable to do navigate because sytem
    is not allowing me to do
    It throws up following error:
    "Activation of the indicator is not permitted"
    error message no: KT253
    Pleas help

    Check the following thread
    Re: Error in account assignment for item
    Regards,
    Gauravjit.
    Reward points if solution is helpful.

  • Error in Sales Order Creation - Template material processing is deactivated

    HI,
    I am getting the following error in all clients in my server while creating the sales order. I am getting this after uploading the Patch 17,probably.
    what should i do! All settings given by message below are tried, but not helping.
    Template material processing is deactivated
    Message no. CB01412
    Diagnosis
    You attempted to enter a material in an SD document that is set as a template or one-time material. An error occurred that can have the following causes:
    Template and one-time material processing is not activated
    No determination routine is specified for the SD documents for the permitted combinations
    The combination of sales organization, document category, and document type or delivery type for the SD document is not permitted
    System response
    The system prevents you editing the document any further.
    Procedure
    Activate template and one-time material processing in the IMG activity Activate Dangerous Goods Checks.
    Edit the determination routines in the IMG activity Specify Determination Routines for Sales and Shipping Documents.
    Edit the IMG activities Specify Permitted Combinations for Sales Documents and
    Specify Permitted Combinations for Shipping Documents.
    Thanks in advance.

    Hi,
    Go to MM03 and check the material (you are creating sales order ) wheather sales views selected or not.
    Regards,
    Biju K

  • How to update VBFA while sales order creation using BAPI

    Hi,
    I am trying to create sales orders for each schedule line items while inquiry creation.
    This I have done in the user exit in the VA11 program MV45AFF using BAPI "BAPI_SALESORDER_CREATEFROMDAT2".
    along with the Inquiry, Sales orders are also getting created. But I am facing 2 problems.
    1) BAPI is not returning the sales order number to the program but when checked from SE37 it is returning the sales order   
        number.
    2) It is not updating the VBFA (SD flow) table.
    Regards,
    Krishna.

    Hello,
    1) BAPI is not returning the sales order number to the program but when checked from SE37 it is returning the sales order
    number.
    - are you passing simulation parameter (TESTRUN) as 'X'
    2) It is not updating the VBFA (SD flow) table.
    - Please use BAPI_SALESDOCUMENT_COPY for copying and updating VBFA table
    Thanks
    Krish

  • Errors in sales order creation

    Hi all,
    I want to know what r the common errors we will get while we create sales order.
    i am not able to find what r the possible errors that can be given by the system.
    My client want to know that error descriptions.
    Can anyone plz help me in this regard.
    Thanks in advance
    Venkat

    Hi Venkat,
      Goto Transaction Se91 and look for the messgae class V1. You will have all the related errors messages in sales document processing.
       Kindly reward points if it is useful.
    Regards,
    Leo

  • User exit - VA01 - Adding new line items while Sales Order Creation

    Hi All ,
    I have a requirement where : in VA01 , i have to add new line items using USER EXIT or BADI.
    The scenario is : we maintain Characteristics for Material. When we select a particular characteristics, Factor and length will be displayed in a Popup. we can specify the Factor and lenght.
    Here , if i specify Factor as 10 and lenght as 1000. the Material has to be cut / split into 10 items of 1000 mts each. and the ITEMs table control should get 10 ITEMS .
    How to add new items using User exit or Badi in VA01 while creating a sales order.
    i have identified the user exit . What code should be used to add new line items.
    kindly help me in solvng this.
    Waiting for your replies.
    Thanks in advance.
    Suki.

    hi
    wich user exit do you take for that ???

  • Error in sales order creation using FM IDOC_INPUT_ORDERS

    Hi experts,
    I am using  FM IDOC_INPUT_ORDERS for IDoc processing for creating sales order.
    I have added customized fields over VA03 screen and to VBAP table.
    I am using user exit EXIT_SAPLVEDA_001 for populating these additional fields.
    Here I am writing below code for customized segment:
      WHEN 'Z1EDP01'.
        x_Z1EDP01 = segment-sdata.
        xvbap-ZZNETWR   = x_Z1EDP01-ZZNETWR.
        xvbap-ZZTAX     = x_Z1EDP01-ZZTAX.
        xvbap-ZZGRSWR   = x_Z1EDP01-ZZGRSWR.
        Move-Corresponding xvbap to dxvbap.
    After this, sales order is getting created but these additional fields are not populated over the VA03 screen. Can you tell me whats wrong in code or any configuration error?
    Thanks,
    ~Sachin

    DXVBAP is an internal table for this exit, where do you modify the line of this itab. (can you post the code with the READ TABLE dxvbap and MODIFY wa/fs statements)
    ([Note 753153 - FAQ: Customer-functions in IDOC_INPUT_ORDERS|https://service.sap.com/sap/support/notes/753153])
    Regards,
    Raymond

  • Error in sales order creation using bapi

    Hi,
    Iam trying to create sales order by using BAPI_SALESORDER_CREATEFROMDAT1 and when iam trying to execute
    the function module by passing all th eparameters and iam getting the error as
    inspite of entering sold_to_party and ship_to_party details in table ORDER_PARTNERS
    "enter the sold_to_party or ship to party details"
    please help me out in this isue its an urgent.
    Thanks.
    sayed.

    Can you share the codes ?
    Thanks.
    Ashish

  • Runtime error in sales order creation

    Hai,When I am trying to create sales order one run time error is occured.The error is CALL_TRANSACTION_NOT_FOUND  TRANSACTION "%_GS" IS UNKNOWN.TRANSACTION "%_GS" IS NOT LISTED IN TABLE OF T.CODES.CURRENT ABAP PROGRAMME HAD TO BE TERMINATED BECAUSE ONE OF THE STATEMENT COULD NOT BE EXICUTED.THE CURRENT ABAP/4 SAPMV80Z PROGRAMME USES CALL TRANSCTION TO CALL THE  TRANSACTION"%_GS".TABLE TSTC CONTAINS NO ENTRY FOR"%_GS".THIS COULD BE DUE TO PROGRAMME ERROR.

    Hi,
    Did you call the correct transaction?
    Non-Catchable Exceptions
    Cause: Transaction is unknown
    Runtime Error: CALL_TRANSACTION_NOT_FOUND
    More info
    http://www.s001.org/ABAP-Hlp/abapcall_transaction.htm
    Cheers
    Wiparat

  • Shipping point error in sales order creation

    Dear Friends,
    I'm new into customizing in SD. I just crested a new plant, distribution channel, shipping point and have assigned the shipping point to the plant. while trying to create sales order i get this warning message "DOCUMENT /00010 HAS NO CHECKING GROUP (MATERIAL MASTER - PLANT DATA) MESSAGE N0 : W083.
    Also, if i edit for incomplete log it is indicating the following as being missing- SHIPPING/RECEIVING POINT, NO LOADING DATE, NO MATERIAL AVAILABLE DATE, TRANSPORT PLANNING DATE, NO GOODS ISSUE DATE.
    What else do i need to maintain in the customizing  to make it work well
    Thanks in advance

    Dear,
            It is showing because u have not maintained PLANT in MATERIAL MASTER DATA but no need to do so u can directly put into S.O. Iin each line item.
            It is just a warning nmessage just press enter and pass it.
            If still u want to do so then use TCODE ( MMO2) and select SALES ORG1 and under GENERAL DATA u will find PLANT FIELD
            where u can maintain PLANT for matarial but once u maintain data here MATERIAL is restricted to that PLANT so will not allow u to sell it from other PLANT thats why itb is always advisable to keep it blank if you are suppose to sell same MATERIAL from two or more PLANT.
    Regards
    AJIT K SINGH
    HAPPY TO HELP U

  • Problem in changing characteristics of material while sales order creation

    Hello,
    My requirement is to change the characteristics of the material in a sales order before the sales order is saved.
    I tried using 'BAPI_OBJCL_CHANGE' but it aint working. In the debugging mode it is found that the program is searching for entries in KSSK table which are not found. The object key passed to the BAPI is a combination of sales order number and the item number and the object table is VBPS.
    Is there any other way by which I can change the characteristics before the sales order is saved?
    Thanks in advance,
    Anurag

    Try to use CRM_STATUS_CHANGE_INTERN if it's system status
    and CRM_STATUS_CHANGE_EXTERN if it is user status

Maybe you are looking for

  • How to define additional virtual image directories for multi lingual app.

    Hi, In my ApEx application, for English language I want to use default image directory /i/, but for other languages I want to use seperate image directories like /i/fr/ for French etc. In - Translate Application -> Application Language Mapping , ther

  • Error-PDFDocumentRuntimeException: Failed to  UPDATEDATAINPDF

    Dear all,   I have tried to deployed a online adobe interactive form.If i put the codes belows in the wdDoInit() at the  controller, Zbapi_Alm_Notif_Create_Input input = new Zbapi_Alm_Notif_Create_Input();      input.setNotifheader(new Bapi2080_Nothd

  • Backing up synonyms and db links

    Hi All, I am in process of refreshing the one of our test database from other development box. here , I am thinking of creating a table , which would contain the names of name , status of db links and synonyms, when can be used to compare the status

  • Plugin Check Indicates Google Talk Version 2.7.5.6365 needs update, but no link to install

    Using the Plugin Check in Add-on Manager lists the subject Google plugin as "Outdated Version" as an Outdated Version but the Update button has no embedded link to download or install an update (the button is non-functional). Searching in here for "G

  • Can't enable eax effects in game with entertainment mo

    When I use creative alchemy and have my panel thing set for gaming mode the eax will stay highlighted in my ravenshield game. But when I try to use entertainment mode for the bass/ treble percents to work the eax is always greyed out. Any ways to fix