Error received while changing sales order.

Hi All,
while changing sales order we have received error message "An internal program error has occured.See note 44283".
So could you plesae explain me what needs to be done.
Thanks in advance.

To avoid to store inconsistent data in the future, activate the following method of the BADI                           BADI_SD_SALES:                                                          
> 1 - Transaction SE18                                         
> 2 - Definition name: BADI_SD_SALES Menu: Implementation -> Overview double-click on implementation: IM_CORE_CHECK
> 3 - Now you will get an overview on the methods and you see also that the implementation IM_CORE_CHECK is inactive    
> 4 - Press the change button and activate                                                                               
This check works in the following way:
> 1 - if the number of items is less than 10 and there is an inconsistency the system will not store the data and an A-message  will occur.
> 2 - If the number of items is greater than 10 and less than 50 and there is an inconsistency the data will be stored and an I-message will occur.
> 3 - if the number of items is greater than 50 there is no check because performance.
Edited by: Gerard Magorrian on Aug 6, 2010 4:01 PM

Similar Messages

  • Getting error in while changing sales order which is created using BAPI

    Hi All,
       I have created the sales order using BAPI ( BAPI_SALESORDER_CREATEFROMDAT1 ) and i am successfully creating sales order using this BAPI. But while i want to change sales order iam changing Shipping Conditions in Header Data of sales order .its giving an error .can any know any thing about this.
    Error mesage :    No status object is available for SDI 300082407/10    (Order Number/Item Number)
    In Header i  am passing these values ...
         wa_order_header_in-doc_type = vbak-auart.
        wa_order_header_in-sales_org = vbak-vkorg.
        wa_order_header_in-distr_chan = vbak-vtweg.
        wa_order_header_in-division = vbak-spart.
    Do i required to pass the below values ? in Header structure ( BAPISDHEAD1 ).
    REFOBJECTTYPE
    REFOBJECTKEY
    REFDOCTYPE
    Regards,
    Sudhakar Reddy A

    rectified

  • Error throwing while creating sales order

    Dear all,
    While on sales order creation,We have entered order type,sales organization,distribution channel,divison,
    on entering sold to party,presssing enter,error is throwing as
    No customer master record exists for sold-to party
    actually customer master record is already created,
    We need to extend the sales area then only system is allowing to create sales order,
    Is there is any setting missing in configuration ?
    Thanks
    Jeyakanthan

    hi,
    can be done in two ways
    1, only for the paticular customer
    goto XD01 and extend the customer by entering new sales area above
    and the already exisisting sales area in the reference
    2,common distribution channel and common division(this is for all the customer created in that particular sales area)
    IMG>sales and distribution>master data
    regards
    senya

  • Problem in updating Billing plan while changing Sales order

    Hi All,
            I am using the BAPI 'BAPI_SALESORDER_CHANGE' to change a Prepaid Sale order.After calling this BAPI ,I am calling the function module <b>'BILLING_SCHEDULE_SAVE'</b> to update the Billing plan of the changed Sale order(Billing plan dates for Billing type ZF1 are changed).
         The updated date values are getting reflected in the screen when I view through the transaction VA02 and the values are also updated in FPLT table but the values are not getting reflected in the table VKDFS.
       Since the values are not getting reflectedin the table VKDFS the billing date is not correct while we view in the transaction VF04.
       Please provide your valuable suggestions for updating the Billing date in VKDFS table.
        Thanks in advance for your help.
    Thanks and regards,
    Siva

    Hi,
    I had the same problem. Here is an example code to resolve it:
    REPORT  ytestfg.
    DATA: i_bsid LIKE bsid OCCURS 0,
          i_bsid2 LIKE bsid OCCURS 0.
    TABLES: bsid.
    DATA: doc     LIKE     vbak-vbeln,
          pos(6) TYPE n.
    DATA e_fpla     LIKE     fpla.
    DATA e_fplt     LIKE     fpltvb OCCURS 0 .
    DATA: zfpla     LIKE     fplavb OCCURS 0,
    zfplt     LIKE     fpltvb OCCURS 0.
    DATA zfplt2     LIKE     fpltvb OCCURS 0 WITH HEADER LINE.
    doc = 'G03060619'.
    pos = '000010'.
    CALL FUNCTION 'SD_SALES_DOCUMENT_READ'
      EXPORTING
        document_number = doc.
    CALL FUNCTION 'SD_SALES_BILLINGPLAN_READ'
      EXPORTING
        i_vbeln                = doc
        i_posnr                = pos
      IMPORTING
        e_fpla                 = e_fpla
      TABLES
        e_fplt                 = e_fplt
      EXCEPTIONS
        no_billingplan_allowed = 1
        no_billingplan_found   = 2
        OTHERS                 = 3.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Read the billing plan
    CALL FUNCTION 'BILLING_SCHEDULE_READ'
      EXPORTING
        fplnr          = e_fpla-fplnr
      I_VFKDAT       =
      I_BFKDAT       =
      TABLES
       zfpla          = zfpla
        zfplt          = zfplt
    Upddate the ZFPLT2 table with the new values
    MOVE zfplt[] TO zfplt2[].
    READ TABLE zfplt2 INDEX 1.
    zfplt2-afdat = '20080927'.
    Very important to set field updkz = 'U' ***
    zfplt2-updkz = 'U'. "--> UPDATE!!
    MODIFY zfplt2 INDEX 1.
    CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
      TABLES
        fpla_new = zfpla
        fpla_old = zfpla
        fplt_new = zfplt2 " --> NEW
        fplt_old = zfplt.
    CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Edited by: PHO_BA on Mar 9, 2009 5:28 PM

  • Error occurd while creating sales order, plz help

    while i am creating a sales order, i got a error like this, version 0 is not defined for the fiscal year 2008. when i press error msg it shows like this The version 0 is not defined in controlling area 1000 for the fiscal year 2008.
    You have to maintain the fiscal year-dependent version parameters for all actual versions for which multiple valuation is updated.
    System Response
    The version 0 cannot be used for fiscal year 2008.
    Procedure
    Maintain the fiscal year-dependent version parameters for the version 0.
    Execute function

    Hi
    Maintaining Versions
    Transactioncode
    SPRO
    Choose  SAP Reference IMG.
    Choose Controlling -> General Controlling -> Organization.
    Choose  for Maintain Versions.
    http://help.sap.com/saphelp_46c/helpdata/en/03/fb58b00d9611d3b65e0000e82d962e/content.htm
    Regards
    Jitesh Mehta

  • Error coming while creating sales order Thru' Assembly processing.u00A0

    Hi,
    I am working on assembly processing. when i am creating sales order if order qty when i am giving more then 999 means if i given 1000 kg it giving an error like the exection factor in the network is reduced to 1000 to 1 kg and confimed as 1 kg only and system is giving msg *Change not accepted (execution factor in network too large)* where i have tomodify this .
    In above context i would like to brief you that i can't extend quantity more then 999(Three alfabet).
    All suggestions will be apreciated with good points.
    Regards,
    Vishal Kr. Sharma

    Hi vishal
    Check in MMR the  following settings  :
    1) Base unit of measure
    2) sales unit
    3) Strategy group maintained  in MMR ->MRP 3 view
    4) Availability check(sales/general plant view in MMR ) and MRP type (MRP1 view in MMR)  has been maintained or not.
    5) Check the fields maintained in the MRP 3 view.
    Regards
    Srinath

  • Error message while printing sales order

    The following message was displayed while trying to print a sales order from a particular computer.  Logging in on another computer with the same credentials worked fine.  any thoughts?
    Error in file Temp (bea4fc21-346f-4d31-93d6-8260b04be0a4)-(B002A516-3EB2-47FF-BAE7-3941126D5257).rpt:
    Error in formula Record Selection:
    ‘(OCTG.GroupNum) = (?Pm=OQUT.GroupNum)’
    This field name is not known
    Details: errorKind

    Hi,
    Similar error found with different layout. Check SAP note,
    1830583 - Error message pops up when printing or previewing
    marketing documents with items managed by batches via CR layouts
    Thanks & Regards,
    Nagarajan

  • Error in while creating sales order

    HI
    Gyanendra  i have one error
               No customer master record exists for sold to party.
                plz explan how i ll do this with path .

    Hi,
    As I understood your issue, You came across this message then you try to enter a customer number in the Sold to party filed of VA01 sales order creation screen.
    Reason why you got this error is there is no such sold to party available from the number you entered there.
    You can check it by doing below steps.
    Go to XD02 transaction
    Enter the same number you enter in the VA01
    Press "Customer Sales area's" button
    Then system will through a error saying "Customer not exists"
    If you able to see a customer go in to that and check the Account group of his by clicking below menu.
    Extras -> Administrative Data
    If it's not equal to "Sold to Party" then you can get same error in the VA01 as well.
    In that case create a new customer from XD01 transaction
    Come back to VA01 and try with that new customer.
    You should be able to create the sales order now.
    If you don't want to create a new customer just press F4 key in the Sold to Party field and get an existing customer.
    Best regards,
    Anupa

  • An error occured while creating sales order "Enter sold-to in R/3"

    when creating a sales order using CRM even though we have passed Sold-to ship-to bill-to using partner table we are getting an error Enter Sold-to in R/3

    Hi
    I think you have both Variant configuration and BOM.
    Pls ensure the following.
    1. BOM masterdata is maintained for the variants
    2. Variant configuration is configured correctly
    Configuration profile is created for the material
    Knowledge base object and run time version are available
    3. Maintain materials as not relevant for delivery or dont give delivery quantity as 0
    Once you are sure that these are in proper shape, you can start creating order. The problem wont come.
    Reward points if it helps you.

  • Problem while changing Sales order using 'BAPI_SALESORDER_CHANGE'

    Hi all,
    Below is my code to update delivery block value:
    FORM call_bapi_salesorder_change .
    DATA:  iv_bapi_view  LIKE order_view.
    DATA: gt_sales_doc TYPE STANDARD TABLE OF sales_key, " Document Numbers to Be Selected
            gt_items TYPE STANDARD TABLE OF bapisdit. " Order Item Data for Document Numbers
    *************************************************************8
    DATA:order_headers_out LIKE bapisdhd OCCURS 0 WITH HEADER LINE.
    DATA:order_header_inx LIKE bapisdh1x.
      DATA: lv_salesdocument LIKE bapivbeln-vbeln.
      data: lv_matnr(10) type c.
      DATA:
    gt_schdule TYPE STANDARD TABLE OF bapischdl, " for gl date & load date
    gt_schdulex TYPE STANDARD TABLE OF bapischdlx, " for partner role and partner function.
            gt_return TYPE STANDARD TABLE OF bapiret2,
            gt_itemin TYPE STANDARD TABLE OF bapisditm,
            gt_iteminx TYPE STANDARD TABLE OF bapisditmx ,
            gt_bapisdh1 TYPE STANDARD TABLE OF  bapisdh1.
      DATA:gs_head_bapi TYPE bapisdh1x,
           gs_schdule TYPE bapischdl,
           gs_schdulex TYPE bapischdlx,
           gs_return TYPE bapiret2,
           gs_itemin TYPE bapisditm,
           gs_iteminx TYPE bapisditmx,
           gs_bapisdh1 TYPE bapisdh1.
      CLEAR : gt_schdule,gt_schdulex,gs_return.
      REFRESH gt_return.
      gs_head_bapi-updateflag = 'U'.
    SORT gt_final BY vbeln.
    CLEAR gs_vbep.
    REFRESH gt_vbep[].
      CLEAR gs_final.
      LOOP AT gt_final1 INTO gs_final.
        gs_itemin-itm_number = gs_final-posnr.
    *move gs_final-matnr to lv_matnr."qx94162
       gs_itemin-material = gs_final-matnr.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
          EXPORTING
            input  = gs_final-matnr
          IMPORTING
            output = gs_final-matnr.
       CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = lv_matnr
        IMPORTING
         output = lv_matnr.
       gs_itemin-material = lv_matnr.
        gs_itemin-material = gs_final-matnr.
        gs_iteminx-itm_number = gs_final-posnr.
        gs_iteminx-updateflag = 'U'.""changed to I
        gs_iteminx-material = 'X'.
        " gs_schdule-req_dlv_bl = gs_final-lifsp. " Delivery block
        gs_schdule-itm_number = gs_final-posnr.
        gs_schdulex-itm_number = gs_final-posnr.
        gs_schdule-sched_line = '0001'.
        gs_schdulex-sched_line = '0001'.
       MOVE gs_final-lifsp to gs_schdule-req_dlv_bl.
        gs_schdule-req_dlv_bl = gs_final-lifsp.
        gs_schdulex-req_dlv_bl = 'X'. " Delivery block
        gs_schdulex-updateflag = 'U'.
        gs_bapisdh1-sales_org = gs_final-vkorg.
        APPEND gs_schdule TO gt_schdule.
        APPEND gs_schdulex TO gt_schdulex.
        APPEND gs_itemin TO gt_itemin.
        APPEND gs_iteminx TO gt_iteminx.
       Append gs_BAPISDH1 to gt_BAPISDH1.
        lv_salesdocument = gs_final-vbeln.
        CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
          EXPORTING
            salesdocument               = lv_salesdocument     
           ORDER_HEADER_IN             = gs_BAPISDH1
            order_header_inx            = gs_head_bapi         
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
          TABLES
            return                      = gt_return            
       order_item_in               =    gt_itemin
       order_item_inx              = gt_iteminx
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
          schedule_lines                = gt_schdule           
          schedule_linesx               = gt_schdulex          
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
      NFMETALLITMS                =
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        REFRESH: gt_schdule, gt_schdulex, gt_itemin , gt_iteminx.
        LOOP AT gt_return INTO gs_return.
          WRITE / gs_return-message .
        ENDLOOP .
      ENDLOOP.
    ENDFORM.                    " CALL_BAPI_SALESORDER_CHANGE
    When I am using material value as 18342 using CONVERSION_EXIT_ALPHA_OUTPUT:
    ORDER_HEADER_IN has been processed successfully
    Material  is not defined for sales org.A101,  distr.chan.00,  language DE
    Error in ITEM_IN 000030
    SCHEDULE_IN has been processed successfully
    The sales document is not yet complete: Edit data
    Sales document 5010000715 was not changed
    and when I am using CONVERSION_EXIT_ALPHA_INPUT (000000000000018342)or  while debuging when I am changing value to  0018342 :
    I am getting below dump:
    Runtime Errors         DATA_LENGTH_0
    Exception              CX_SY_RANGE_OUT_OF_BOUNDS
    Date and Time          21.10.2010 07:22:17
    Information on where terminated
         Termination occurred in the ABAP program "SAPLVBAK" - in
          "MAP_VBAP_TO_BAPISDIT".
         The main program was "RS_TESTFRAME_CALL ".
         In the source code you have the termination point in line 168
         of the (Include) program "LVBAK001".
         The termination is caused because exception "CX_SY_RANGE_OUT_OF_BOUNDS"
          occurred in
         procedure "MAP_VBAP_TO_BAPISDIT" "(FORM)", but it was neither handled local
          nor declared
         in the RAISING clause of its signature.
         The procedure is in program "SAPLVBAK "; its source code begins in line
         99 of the (Include program "LVBAK001 ".
    The same dump I am getting while executing this above BAPI from SE37 tcode with the same test data.
    but I am able to change it though Va02 tcode.
    Edited by: Arora26 on Oct 21, 2010 7:58 AM

    Hi,
    have you searched for OSS notes? The note 1137897 looks like related to your problem. It mentions different BAPI but I assume that both BAPI reuse same routines and therefore it might solve your problem as well.
    Cheers

  • Getting error IMPORT_WRONG_END_POS while changing the order

    Hi All,
    in Capital investment order, i am trying to change the operation data for service (PM03) for which PR has been created already,
    i am getting abap runtime error.
    FM is active for order type and PO has not been created yet.
    Runtime Errors         IMPORT_WRONG_END_POS
    Except.                CX_SY_IMPORT_MISMATCH_ERROR
    and these are the problem lines.
      195       IMPORT BANF_HHM FROM MEMORY ID 'BANF_HHM'.            "956751
    >>>>>       IF l_order_fistl <> BANF_HHM-fistl OR                 "956751
      197          l_order_fipos <> BANF_HHM-fipos OR                 "956751
      198          l_order_fonds <> BANF_HHM-fonds OR                 "956751
      199          l_order_fkber <> BANF_HHM-fkber OR                 "956751
      200          l_order_grant <> BANF_HHM-grant.                   "956751
      201         l_FM_changed_to_original_value = YX.                "956751
      202       ENDIF.                                                "956751
      203       FREE MEMORY ID 'BANF_HHM'.                            "956751
      204       IF NOT flg_FM_changed IS INITIAL                  "note 767333
      205          OR NOT l_FM_changed_to_original_value IS INITIAL.  "956751
      206         IF CAUFVD-flg_hhm IS INITIAL.                  "note 767333
      207           CAUFVD-flg_hhm = YX.                        "note 767333
      208           PERFORM CAUFV_UPD(SAPLCOBH) USING CAUFVD.   "note 767333
      209         ENDIF.                                         "note 767333
      210 *           Check, if FM data are allowed for re-derivation"note 767333
      211 *           (->only allowed, when no purchase order exists)"note 767333
      212         PERFORM CHECK_PURCHASE_ORDER_EXISTS            "note 767333
      213                       CHANGING PURCHASE_REQUI_EXISTS   "note 767333
      214                                PURCHASE_ORDER_EXISTS.  "note 767333
      215 *           In case of existing purchase requisitions,     "note 767333
    We are using 604 release.
    Pls help.
    Sandeep

    Hi
    Did you get the solution. We got the same error and nothing we can think of.
    Any advise.

  • While saving sales order, deleted item resulting in error

    Dear All
    I am facing an issue while changing Sales Orders.
    I have set a check in a user exit that if batch is empty, display an error message. I add try to add a new line item which doesnt have batch. When i try to save, i get a message which is fine.
    But when I delete this line item and try to save again, I am still getting message. I am not sure how this is happening.
    Kindly advice.
    Regards
    Dinesh

    There's a field EKPO-LOEKZ (Deletion Indicator in Purchasing Document) for PO, but there's no such field for an SO as per my knowledge. So the only option left to you is to debug the your user-exit while saving the SO and check why its still triggering the error message. May be you can add another condition stating that the line item should have atleast material number filled, in that case if the material number is there and batch is missing, it will show an error msg.
    Regards,
    Raman.

  • Error while saving sales order

    Hi I am encountering below error message while saving sales order:
    Warehouse
    Specify export data in material master
    Then I go to material master to check foreign trade export tab, and I had maintained commodity code export group, country of origin and region of origin, what did I miss? Help.

    Hi,
    Check whether you have activated legal control data for the Sales Order type configuration in Foreign Trade.
    If the Order type is activated then the following error message can pop up unless you maintain in material master.
    See whether export legal control data is activated or not for the order type.
    In IMG Sales and Distribution>Foreign trade>Legal control section
    Regards,
    Saju.S

  • User Exit to check whether chapter id for Material and Plant combination is maintained while creating sales order

    Hello all,
    my requirement is, system should give error message while creating sales order, if chapter ID is not maintained for a material and plant combination.
    please suggest the user exit.

    Hi
    CASE 1 : All Plants are excisable.
    In Material master , Foreign Trade data tab-  mentioned Control code field mandatory. ( i.e nothing but Chapter ID)
    CASE 2 : Few Plants are excisable
    In the Case 2 you need to go for Enhancement
    Program Name : MV45AFZB 
    User Exit:            USEREXIT_CHECK_VBAP ( Item Level Check )
    By using above user exit you write a logic with the help of ABAPer
    Plant and Chapter ID combination table : J_1IMTCHID

  • Error while raising sales order

    Hi all,
    I have created a make-to-order material with item category group and general item cetegory group 0001.
    While raising sales order for that material (make-to-order) item category TAK.
    I got a error stating that plant is not assigned to controlling area.
    can anyone help me out in this regards.

    hi pavan,
    pl check this on settlement rule :
    The settlement rule consists of the sender and the settlement distribution rule which includes the settlement receiving accounts, distribution factor, settlement type, and validity period. You can change the settlement rule manually.
    There are two possibilities for settling sales orders. You can either:
    Settle to a business segment
    In this case, the settlement rule is determined automatically. You can only use this method of settlement if CO-PA is activated.
    Settle to a general ledger account
    In this case, you enter the settlement rule and the general ledger account number manually in the sales order.
    To change the settlement rule, choose Edit ® Settlement rule.
    For more detailed information about settlements and especially about processing settlement rules, see the CO Cost Object Controlling documentation.
    Please consult your FI guy so that he can help you configure a settlement profile.
    regards
    sadhu kishore

Maybe you are looking for

  • Why is the soundtrack broken in slideshows?

    Hello everyone, I'm burning a PAL DVD with iDVD which contains a movie and two slideshows, which I've done many times before without a problem. Now though, the sound is broken, generally when the picture changes in the slideshows. It just drops out.

  • How to reupdate web.xml

              hi,           I downloaded WLS 6.0, W2K for testing.           Whenever I updated web.xml for my new servlets, I need to stop and restart weblogic           server.           Is there any way for weblogic to detect that web.xml had changed

  • Looking for the InDesign tools in Bridge from Previous versions of CS (3?)

    Previous Versions of CS (3 I Believe) had a tool in Bridge where you could create a InDesign Page or Book from The Tools menu. This was similar to the Contact sheet option for Photoshop but created a book instead of individual pages. Whould  anyone k

  • Flash 9 and Final Cut Pro 6

    I am from an animation company, and we use Flash to animate. Our current version is Flash 9 and our sequences will be delivered as HD at 24fps. We are running tests at the moment, and have come into some problems. In Flash 9, we are exporting the seq

  • No Such Target - EM 10.2

    I have instaled Oracle Enterprise Manager Grid Console 10.2.0.2.1 with two instance of Oracle Database 11gR1. When i try to create a User-Defined Metric, click on TEST button, i receive the error "No Such Target". In the emoms.log: 2012-06-20 10:45:5