Invalid total  [ORDR.DocTotal] Error when loading sales order

Hi Experts,
                 Our cutomer hass upgraded to SAP B1 2007A from SAP B1 2005A.When the customer is trying to load data into salesorder object using our add-on we are getting the following error called "Invalid total  [ORDR.DocTotal]" and also "Invalid BP Code" even though tthe corresponding Business partner is available.
                 Please help me in finding the issue. What may be the possible reason for this. This is a critical customer issue kindly help.
Regards,
Ranjani Sampath.

Hi,
First of all check with the addon vendor whether the addon is compatible with 2007.
Some changes might be required in the Addon to be compatible with 2007 version.
If its your own addon kindly check it in the test system,after verifying the functionality of the addon proceed with the live system,untill then i suggest you not to use that addon.
Also check note:[781944|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0000781944],[978706|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0000978706] might be related to your issue.

Similar Messages

  • SP01: DI error -5002 Invalid Total ORDR.DocTotal

    Hi All,
    i'm getting a strange error.
    i'm adding a sales order via DI.
    when the code is executed via the .net debugger it works great.
    when i create an installer and install the Addon i receive the error:
    -5002 Invalid Total [ORDR.DocTotal]
    do someone ever had this kind of error?
    btw i'm using SAPB12005A SP1 PL2
    thanks
    Moty Moshin

    Here is the code:
    oNewOrder = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                        'B1Connections.diCompany.StartTransaction()
                        Dim LinesAdded As Integer = 0
                        For i = 1 To intDupAmount
                            Try
                                ' this loop adds the different items to the Delivery object
                                oNewOrder.CardCode = strBPCode
                                oNewOrder.Series = strSeriesCode
                                oNewOrder.NumAtCard = strVendorRefNo
                                oNewOrder.Project = strProjectCode
                                oNewOrder.ShipToCode = strShipToCode
                                oNewOrder.DocDueDate = strDocDueDate
                                oNewOrder.Comments = strComments
                                oNewOrder.PaymentGroupCode = strPaymentTerms
                                oNewOrder.PaymentMethod = strPaymentMethod
                                'Currently not available thru the DI/UI
                                'oNewOrder.header = OQUTHeader
                                'oNewOrder.Footer = OQUTFooter
                            Catch ex As Exception
                                B1Connections.theAppl.MessageBox("In For Step 1")
                            End Try
                            Try
                                oNewOrder.Lines.SetCurrentLine(0)
                                'Line item fields that are visible on the sales order form
                                oNewOrder.Lines.ItemCode = currSalesFormLines.ItemCode 'As String '1     'ItemCode
                                oNewOrder.Lines.ItemDescription = currSalesFormLines.ItemDesc 'As String '1     'ItemDesc
                                oNewOrder.Lines.WarehouseCode = currSalesFormLines.WhsCode 'As String '24     'WhsCode
                                oNewOrder.Lines.UnitPrice = currSalesFormLines.UnitPrice 'As Double '14     'UnitPrc
                                oNewOrder.Lines.DiscountPercent = currSalesFormLines.DiscPct 'As Double '14     'DiscPct
                                oNewOrder.Lines.Price = currSalesFormLines.Price 'As Double '17     'Price
                                oNewOrder.Lines.Quantity = currSalesFormLines.Quantity 'As Double '11     'Quantity
                                'Line item fields that are not visible on the sales order form
                                oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_EstQty).Value = currSalesFormLines.EstQty  'As Double 'U_XX_EstQty
                                'oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_STCC).Value = currSalesFormLines.STCC.ToString    'As Double 'U_XX_STCC
                                'oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_HSC).Value = currSalesFormLines.HSC   'As String 'U_XX_HSC
                                'oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_CVal).Value = currSalesFormLines.CVal.ToString    'As Double 'U_XX_CVal
                                oNewOrder.Lines.TotalLc = currSalesFormLines.TotalLc 'As Double '21     'TotalLc
                                oNewOrder.Lines.Total()
                                oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_QtyMT).Value = currSalesFormLines.QtyMT  'As Double 'U_XX_QtyMT
                                oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_QtyST).Value = currSalesFormLines.QtyST   'As Double 'U_XX_QtyST
                                'oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_DGood).Value = currSalesFormLines.DGood.ToString    'As String 'U_XX_DGood
                            Catch ex As Exception
                                B1Connections.theAppl.MessageBox("In For Step 2 - Lines")
                            End Try
                            Try
                                'Header level UDF's
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_ConNum).Value = cLastUdfMD.ConNum
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_ConTyp).Value = cLastUdfMD.ConTyp
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_ConSta).Value = cLastUdfMD.ConSta
                                If cLastUdfMD.RefCon <> "" Then
                                    oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_RefCon).Value = cLastUdfMD.RefCon
                                End If
                                'Get Release number
                                'B1Connections.theAppl.MessageBox("Before Add Msg 2")
                                lngNextRelease = cReleaseNumber.GetNextNum(cUDinit.udoRn_ReleaseNumber, strSeries)
                                If lngNextRelease = -1 Then
                                    B1Connections.diCompany.EndTransaction(BoWfTransOpt.wf_RollBack)
                                    retVal = cReleaseNumber.UnLockNumbering(cUDinit.udoRn_ReleaseNumber, strSeries)
                                    B1Connections.theAppl.MessageBox("Error - Cannot Get Next Number from NNM1")
                                    Exit Sub
                                End If
                                releaseNumbers.Add(lngNextRelease)
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_RelNum).Value = lngNextRelease.ToString  'intRelNum
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_ShDtSt).Value = cLastUdfMD.ShDtSt
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_ShDtEn).Value = cLastUdfMD.ShDtEn
                                If cLastUdfMD.StrDt <> "" Then
                                    oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_StrDt).Value = cLastUdfMD.StrDt
                                End If
                                If cLastUdfMD.StrAmt <> "" Then
                                    oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_StrAmt).Value = cLastUdfMD.StrAmt
                                End If
                                If cLastUdfMD.AcrAmt <> "" Then
                                    oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_AcrAmt).Value = cLastUdfMD.AcrAmt
                                End If
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_CQTY).Value = cLastUdfMD.CQTY
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_LN).Value = cLastUdfMD.LN
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_STerms).Value = cLastUdfMD.STerms
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_Mode).Value = cLastUdfMD.Mode
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_Carrier).Value = cLastUdfMD.Carrier
                                If cLastUdfMD.PortEntry <> "" Then
                                    oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_PtEnt).Value = cLastUdfMD.PortEntry
                                End If
                                If cLastUdfMD.CBrok <> "" Then
                                    oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_CBrok).Value = cLastUdfMD.CBrok
                                End If
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_Fterm).Value = cLastUdfMD.FTerms
                                If cLastUdfMD.PriveEq <> "" Then
                                    oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_PrivEq).Value = cLastUdfMD.PriveEq
                                End If
                                If cLastUdfMD.Route <> "" Then
                                    oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_Route).Value = cLastUdfMD.Route
                                End If
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_TF).Value = cLastUdfMD.TF
                                'oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_Season).Value = cLastUdfMD.Season
                                'oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_STCity).Value = cLastUdfMD.STCity
                                'oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_STCtr).Value = cLastUdfMD.STCtr
                                'oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_STSt).Value = cLastUdfMD.STSt
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_TAmtIn).Value = cLastUdfMD.TAmtIn
                                oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_TAmtOr).Value = cLastUdfMD.TAmtOr
                            Catch ex As Exception
                                B1Connections.theAppl.MessageBox("In For Step 3 - Header Level UDF")
                            End Try
                            ' add sales order current quntity () from total (U_XX_TQTYR)
                            ' add sales order current dollar value() from total (U_XX_TAMTR)
                            ' Try to add the sales order object to the database
                            'B1Connections.theAppl.MessageBox("Before Add Msg 3")
                            lRetCode = oNewOrder.Add()
                            'B1Connections.theAppl.MessageBox("Before Add Msg 3.1")
                            If lRetCode <> 0 Then ' If the addition failed
                                B1Connections.diCompany.GetLastError(lErrCode, sErrMsg)
                                B1Connections.theAppl.MessageBox("Error - " & lErrCode & sErrMsg)
                                '   B1Connections.diCompany.EndTransaction(BoWfTransOpt.wf_RollBack)
                                Try
                                    B1Connections.diCompany.EndTransaction(BoWfTransOpt.wf_RollBack)
                                Catch ex As Exception
                                    B1Connections.theAppl.MessageBox("Error - Add Error:" & lRetCode & " - " & ex.Message)
                                End Try
                                retVal = cReleaseNumber.UnLockNumbering(cUDinit.udoRn_ReleaseNumber, strSeries)
                                'B1Connections.diCompany.GetLastError(lErrCode, sErrMsg)
                                'B1Connections.theAppl.MessageBox("Error - " & lErrCode & sErrMsg)
                                Exit Sub
                            Else
                            End If
                            LinesAdded = LinesAdded + 1
                            ' init the order object
                            oNewOrder = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                        Next i
                        'B1Connections.diCompany.EndTransaction(BoWfTransOpt.wf_Commit)
                        retVal = cReleaseNumber.UnLockNumbering(cUDinit.udoRn_ReleaseNumber, strSeries)

  • Getting error when creat sales order and Stock Posting

    Hi
    I have created enterprise structure, xd01, mm01, ovkk but I count't post stock.
    When create sales order getting error is that
    1.This material is not defined for sales area 1000, 10, 00.
    And if i use this T.Code MB1C,
    2. Parameters for plant 1000 not maintained in Inventory Mgt.,
    *3. Unit *** is not created in language EN.*
    Thanks in advance

    Dear selvi sankaran
    1)  Compare the sales organization, distribution channel and division of customer and material.  In your case, either of that should have been created differently.  Maintain the same sales area and retry
    2)  Go to omi8 and maintain the required parameters to your plant
    3)  Go to Material Master, select "Additional data" and click on "Descriptions".  There maintain "EN" under language.
    thanks
    G. Lakshmipathi

  • Error when creating sales order using BAPI_SALESORDER_CREATEFROMDAT2

    Hello!
    I am using BAPI_SALESORDER_CREATEFROMDAT2 for creating the Sales order. But I have a problem when Iu2019m trying to create configuration. I think that parameter order_items_in-material should be generated before calling BAPI described above. I try to use order_items_in-mat_entrd, but BAPI return error message id = V1, number = 320 (No item category available (Table T184 ZAPC  TEXT )).
    Help me please, How I can solve this problem?

    <P><STRONG>FUNCTION Z_SD_GET_TEH_COST.<BR>"----<BR>"  IMPORTING<BR>"     REFERENCE(IS_COST_ORDER) TYPE  ZWCLIF_COST_ORDER<BR>"  EXPORTING<BR>"     REFERENCE(EV_KBETR) TYPE  KBETR<BR>"----
    </STRONG></P>
    <P><STRONG>  DEFINE fill_prizn.<BR>    IF is_cost_order-&amp;1 IS NOT INITIAL.<BR>      CLEAR: ls_cfgs_value-charc,<BR>             ls_cfgs_value-value.<BR>      ls_cfgs_value-charc = &amp;2.<BR>      ls_cfgs_value-value = is_cost_order-&amp;1.<BR>*      ls_cfgs_value-valcode = '1'.<BR>      APPEND ls_cfgs_value TO lt_cfgs_value.<BR>    ENDIF.<BR>  END-OF-DEFINITION.</STRONG></P>
    <P><STRONG>DATA: ls_header_in TYPE bapisdhd1,<BR>      ls_header_inx TYPE bapisdhd1x,</STRONG></P>
    <P><STRONG>      lt_partners TYPE TABLE OF bapiparnr,<BR>      ls_partners TYPE bapiparnr,</STRONG></P>
    <P><STRONG>      lt_items_in TYPE TABLE OF bapisditm,<BR>      lt_items_inx TYPE TABLE OF bapisditmx,</STRONG></P>
    <P><STRONG>      ls_items_in TYPE bapisditm,<BR>      ls_items_inx TYPE bapisditmx,</STRONG></P>
    <P><STRONG>      ls_cfgs_ref TYPE bapicucfg,<BR>      lt_cfgs_ref TYPE TABLE OF bapicucfg,</STRONG></P>
    <P><STRONG>      lt_cfgs_value TYPE TABLE OF bapicuval,<BR>      ls_cfgs_value TYPE bapicuval,</STRONG></P>
    <P><STRONG>      lt_schedules_in TYPE TABLE OF bapischdl,<BR>      ls_schedules_in TYPE bapischdl,</STRONG></P>
    <P><STRONG>      lt_schedules_inx TYPE TABLE OF bapischdlx,<BR>      ls_schedules_inx TYPE bapischdlx,</STRONG></P>
    <P><STRONG>      lt_cfgs_inst TYPE TABLE OF bapicuins,<BR>      ls_cfgs_inst TYPE bapicuins,<BR>      lt_cfgs_partof TYPE TABLE OF bapicuprt,<BR>      ls_cfgs_partof TYPE bapicuprt,</STRONG></P>
    <P><STRONG>      lv_vbeln TYPE bapivbeln-vbeln,<BR>      lt_return TYPE TABLE OF bapiret2.</STRONG></P>
    <P><STRONG>* fill header<BR>  ls_header_in-doc_type = 'ZAPC'.<BR>  ls_header_in-sales_org = is_cost_order-vkorg.<BR>  ls_header_in-distr_chan = is_cost_order-vtweg.<BR>  ls_header_in-division = '01'.<BR>  ls_header_in-sales_off = '1011'.</STRONG></P>
    <P><STRONG>  ls_header_inx-updateflag = 'I'.<BR>  ls_header_inx-doc_type = 'X'.<BR>  ls_header_inx-sales_org = 'X'.<BR>  ls_header_inx-distr_chan = 'X'.<BR>  ls_header_inx-division = 'X'.<BR>  ls_header_inx-sales_off = 'X'.</STRONG></P>
    <P><STRONG>* fill partners<BR>  ls_partners-partn_role = 'AG'.<BR>  ls_partners-partn_numb = '1000000031'.   " фиктивный заказчик<BR>  APPEND ls_partners TO lt_partners.</STRONG></P>
    <P><STRONG>*  ls_items_in-material = is_cost_order-matnr.<BR>  ls_items_in-mat_entrd = is_cost_order-matnr.<BR>  ls_items_in-target_qty = '1'.<BR>  ls_items_in-itm_number = '000001'.<BR>  ls_items_in-po_itm_no = '000001'.<BR>  ls_items_in-item_categ = 'ZCRM'.<BR>  SELECT SINGLE meins INTO ls_items_in-target_qu<BR>    FROM mara<BR>    WHERE matnr = is_cost_order-matnr.<BR>  APPEND ls_items_in TO lt_items_in.</STRONG></P>
    <P><STRONG>  ls_items_inx-itm_number = '000001'.<BR>  ls_items_inx-item_categ = 'X'.<BR>  ls_items_inx-po_itm_no = 'X'.<BR>*  ls_items_inx-material = 'X'.<BR>  ls_items_inx-mat_entrd = 'X'.<BR>  ls_items_inx-target_qty = 'X'.<BR>  ls_items_inx-target_qu = 'X'.<BR>  ls_items_inx-updateflag = 'I'.<BR>  APPEND ls_items_inx TO lt_items_inx.</STRONG></P>
    <P><STRONG>* fill configuration<BR>  ls_cfgs_ref-posex = '000001'.<BR>  ls_cfgs_ref-config_id = '000001'.<BR>  ls_cfgs_ref-root_id = '00000001'.<BR>  APPEND ls_cfgs_ref TO lt_cfgs_ref.</STRONG></P>
    <P><STRONG> ls_cfgs_value-config_id = '000001'.<BR>  ls_cfgs_value-inst_id = '00000001'.</STRONG></P>
    <P><STRONG>  fill_prizn kod_prod 'KOD_PROD'.<BR>  fill_prizn tlot_min 'TLOT_MIN'.<BR>  fill_prizn tlot_max 'TLOT_MAX'.<BR>  fill_prizn shot_min 'SHOT_MIN'.<BR>  fill_prizn shot_max 'SHOT_MAX'.<BR>  fill_prizn dlot_min 'DLOT_MIN'.<BR>  fill_prizn dlot_max 'DLOT_MAX'.<BR>  fill_prizn marka 'MARKA'.<BR>  fill_prizn stndrt_marka 'STNDRT_MARKA'.<BR>  fill_prizn stndrt_prod  'STNDRT_PROD'.<BR>  fill_prizn tprk 'TPRK'.<BR>  fill_prizn grot 'GROT'.<BR>  fill_prizn vityazhka 'VITYAZHKA'.<BR>  fill_prizn krom 'KROM'.<BR>  fill_prizn chisl_st_pokr 'CHISL_ST_POKR'.<BR>  fill_prizn kls_tol_pokr  'KLS_TOL_POKR'.<BR>  fill_prizn proch_izg_t_lic_max 'PROCH_IZG_T_LIC_MAX'.<BR>  fill_prizn priz_zasch_pov 'PRIZ_ZASCH_POV'.<BR>  fill_prizn vid_pokr  'VID_POKR'.<BR>  fill_prizn mark_pokr 'MARK_POKR'.<BR>  fill_prizn mat_pokr_lic 'MAT_POKR_LIC'.<BR>  fill_prizn plsk 'PLSK'.<BR>  fill_prizn vid_postavki 'VID_POSTAVKI'.<BR>  fill_prizn dressir 'DRESSIR'.<BR>  fill_prizn travl   'TRAVL'.<BR>  fill_prizn fsfr_min 'FSFR_MIN'.<BR>  fill_prizn fsfr_max 'FSFR_MAX'.<BR>  fill_prizn krmn_min 'KRMN_MIN'.<BR>  fill_prizn krmn_max 'KRMN_MAX'.<BR>  fill_prizn mrgn_min 'MRGN_MIN'.<BR>  fill_prizn mrgn_max 'MRGN_MAX'.<BR>  fill_prizn almn_min 'ALMN_MIN'.<BR>  fill_prizn almn_max 'ALMN_MAX'.<BR>  fill_prizn cugl_min 'CUGL_MIN'.<BR>  fill_prizn cugl_max 'CUGL_MAX'.</STRONG></P>
    <P><STRONG>  ls_schedules_in-itm_number = '000001'.<BR>*  ls_schedules_in-req_date = sy-datum.<BR>  ls_schedules_in-sched_line = '0001'.<BR>  ls_schedules_in-req_qty = '1'.<BR>  APPEND ls_schedules_in TO lt_schedules_in.</STRONG></P>
    <P><STRONG>  ls_schedules_inx-itm_number = '000001'.<BR>  ls_schedules_inx-sched_line = '0001'.<BR>*  ls_schedules_inx-req_date = 'X'.<BR>  ls_schedules_inx-req_qty = 'X'.<BR>  ls_schedules_inx-updateflag = 'I'.<BR>  APPEND ls_schedules_inx TO lt_schedules_inx.</STRONG></P>
    <P><STRONG>  ls_cfgs_partof-parent_id = '00000001'.<BR>  ls_cfgs_partof-inst_id = '00000001'.<BR>  ls_cfgs_partof-class_type = '300'.<BR>  ls_cfgs_partof-obj_type = 'MARA'.<BR>  ls_cfgs_partof-obj_key = is_cost_order-matnr.<BR>  APPEND ls_cfgs_partof TO lt_cfgs_partof.</STRONG></P>
    <P><STRONG>  ls_cfgs_inst-config_id = '000001'.<BR>  ls_cfgs_inst-inst_id = '00000001'.<BR>  ls_cfgs_inst-obj_type = 'MARA'.<BR>  ls_cfgs_inst-class_type = '300'.<BR>  ls_cfgs_inst-obj_key = is_cost_order-matnr.<BR>  APPEND ls_cfgs_inst TO lt_cfgs_inst.</STRONG></P>
    <P><STRONG>  CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'<BR>    EXPORTING<BR>      order_header_in               = ls_header_in<BR>      order_header_inx              = ls_header_inx<BR>*      testrun                       =<BR>    IMPORTING<BR>      salesdocument                 = lv_vbeln<BR>    TABLES<BR>      return                        = lt_return<BR>      order_items_in                = lt_items_in<BR>      order_items_inx               = lt_items_inx<BR>      order_partners                = lt_partners<BR>      order_schedules_in            = lt_schedules_in<BR>      order_schedules_inx           = lt_schedules_inx<BR>      order_cfgs_ref                = lt_cfgs_ref<BR>      order_cfgs_inst               = lt_cfgs_inst<BR>      order_cfgs_part_of            = lt_cfgs_partof<BR>      order_cfgs_value              = lt_cfgs_value<BR>            .</STRONG></P>
    <P><STRONG>  READ TABLE lt_return TRANSPORTING NO FIELDS WITH KEY type = 'E'.<BR>  IF sy-subrc = 0.<BR>    CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'<BR>              .<BR>  ELSE.<BR>    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'<BR>      EXPORTING<BR>        wait          = 'X'<BR>              .<BR>  ENDIF.</STRONG></P>
    <P><STRONG>ENDFUNCTION.</STRONG></P>
    <P><STRONG></STRONG> </P>
    <P><STRONG></STRONG> </P>

  • Getting Error when creating sales order

    Hello expert,
    When i ma creating sales order In productive environment, not getting any error.
    While creating sales order in Quality system The Error is"Order Type ZSOS has not defined in sales area 0201,02.00.
    I checked customizing and both the system Quality and Productive system having following configuration and that is identical.
    Combine sales Org
    Sales Org                              Ref Sales org
    0201                                        Blank
    Combine Distribution Channel
    Sales Org                 D.Channel            Ref dist Channel
    0201                            02                            02
    Combine Division
    Sales org             Division            Ref Divison
    0201                      10                      00
    Assign permitted order type to he sales areas.
    Ref Sales org         Ref Distribution              Ref Division   Sales doc type
    0201                        02                                   00                     ZSOS
    Please can anyone assist me where we are missing.
    Regards
    Ajit jaiswal

    Hi Ajit,
    you have to make these assignments in img
    Combine sales organizations(ova0)
    Combine distribution channels(ovam)
    Combine divisions(ovan)
    Assign sales order types permitted for sales areas(ovaz)
    after these assignments the mentionwed error will be resolved
    Revert if helpful
    Mohit Singh

  • Error when replicate sales order from crm to r3

    Hello Guys,
    When I replicate a sales orders from a CRM system to R3 system the system does the following error in the smw01:
    queue name: R3AD_SAL_ERR
    error1:
    Please enter sold-to party or ship-to party
    Nº mensagem VP112
    error2:
    Sales document XXXX was not changed
    Nº mensagem V4219
    Any idea, why this happens?
    Mary

    Hello guys,
    I have solved my problem by my own.
    The problem was in the distribution of partner functions from crm to R3 (spro -> CRM->Basic Functions-> Partner processing->Data Transfer-> distribution of partner functions from crm to R3).
    The partner functions assigned to sales orders in R3 was the AG, WE, RE and RG, and in the CRM was SP, SH, BP, PY, the partner functions map wasn't correct
    I have had to map the correct partner functions between crm and r3. I have put in CRM the same partners functions that R3.
    Best regards
    Mary

  • Delivery Deleted, Showing error when deleting sales order. R3, Oracle9i

    Hi experts,
    One of my users deleted delevery document and when he is trying to delete sales order it is giving error.
    Also it is showing delivery archived. How to retrieve the document.
    Thnx in advance

    Hi Dhanush,
    I suppose there is no need to run any consistency jobs for this issue(as per my understanding).
    As specified above by Senthil just try first running //CCR for the LOC_PRODUCT with category as Sales Order (also tick the VBBE table option) and Purchase Order. I think this will solve your purpose. Also please make sure that the IMs for the LOC_PRODUCT is active.
    Do let us know your findings on the same.
    Thanks and Regards,
    PP.

  • Dump Error when creating sales order

    Dear Friends,
    When I am creating sales order after entering order quantity field value in item table giving dump error.
    INCLUDE LV03VF0B.
    INCLUDE LV03VFB4 inside below code trigger error.
    PERFORM VVBBD_AUFBAUEN USING WA_AVBBD
                                        WA_AVBBD-APOMOBILE
                                        DA_SUBRC
                                        DA_UPDKZ
                                        DA_VVBBD_TABIX
                                        0.

    Hello Praveen,
    checked this program in other systems.
    The weird thing in your code is the final parameter 0, it should not be there.
    The call should be:
    PERFORM VVBBD_AUFBAUEN USING WA_AVBBD
                                        WA_AVBBD-APOMOBILE
                                        DA_SUBRC
                                        DA_UPDKZ
                                        DA_VVBBD_TABIX.
    Hope it helps.

  • Error when entering sales order in procurement scenario

    I am trying to run the procurement demo using our DS. At step 1, I logged in as proc_sales, and trying to create a sales order. Got the following exception:
    Error: Exception: Server Error C6120 123 null T20000 40
    Any body knows what went wrong and how to fix it?
    Best Regards,
    Kevin

    I got this error for the product T20010.
    Solved with the solution described on note 1023661 point 3.
    Solution:
    - Goto TCode MM02. 
    - Change material T20010 with the following organizational levels data:
             Plant               BP01
             Sales Org.           BP01
             Distr. Channel       01
    - Open the view Sales: Sales Org 1.                                            
    - Change Delivering Plant to 'BP01'.

  • Error when creating sales order

    Hi Gurus,
    Please help me resolve the below error.
    "Invalid combination of Business Area   and Mat.Acc.Det.Group 01"
    Thank You
    Kumar

    RESOLVED MYSELF

  • Error message when updating Sales Orders

    Hi Experts
    Following an issue over the weekend when I was forced to perform a  hard reset we are now experiencing error message when trying to update some sales orders. 
    This entry already exists in the following tables " ADO1 (ODBC - 2035) [Message 131 - 183]
    it is not happening on all orders - i think only ones which were on the system prior to the reset.
    We also use webtools and the B1SyncService seems to be causing the SAP B1 system to become unusable - following each attempt to sync there is an error in the event log:
    Event Type:     Error
    Event Source:     B1SynchService
    Event Category:     None
    Event ID:     0
    Date:          29/06/2009
    Time:          13:42:38
    User:          N/A
    Computer:     SQL01
    Description:
    A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)
       at netpoint.api.data.DataFunctions.ExecuteScalar(String SQL, String connectionstring)
       at NetPoint.SynchSBO.SBOObjects.SBOUtility.SetCompany(Company TheCompany, SecurityTicket securityTicket)
       at NetPoint.SynchSBO.Synch.SetCompany()
       at NetPoint.SynchSBO.Synch..ctor(SecurityTicket ticket)
       at NetPoint.SynchSBO.Synch..ctor(SecurityTicket ticket, Int32 pricinginterval)
       at NetPoint.SynchService.NPSynchService.Synch(String profile, Mutex mutex)
       at NetPoint.SynchService.NPSynchService.Main(String[] args)
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    For now I have had to stop the SyncService to prevent B1 from becoming unusable (users are unable to start any AR module), but even after I have stopped the syncservice I still have the error when updating sales orders.
    Regards
    Jon

    Dear Johnny,
    the error reported sounds like a DB Corruption. I would advise you to log a message to SAP Support including all the details in order to obtain the error message. It is also a good idea and it will speed up the process if you include some print screens showing exactly the error message.
    Hope my reply helps you to solve the issue.
    Regards,
    Wesley Honorato

  • Error when loading data in Infopackage

    Hi Friends,
               I'm getting the following error when loading please help it is quite urgent.
    Value 'ZSATX #1 ' (hex. '436F6E7461696E6572202331 ') of characteristic ZSIGNI contains invalid characte BRAIN     
    Thnaks ,

    Hi Smily,
    It refers to an invalid char found in this InfoObject value. Does your system have anything maintained in RSKC?
    For good info you can refer to Eugene's blogs:
    /people/sap.user72/blog/2006/07/08/invalid-characters-in-sap-bw-3x-myths-and-reality-part-1
    /people/sap.user72/blog/2006/07/23/invalid-characters-in-sap-bw-3x-myths-and-reality-part-2
    Hope this helps...

  • Error when loading lower case

    Hi Friends,
               I getting an error when loading the Infopackage ,
    "Value 'sss ' (hex. '737373 ') of characteristic Zapple contains invalid characters"
    I used the formula "To upper" in my T/R  still I was getting the same error" and also I edited the value in PSA to "SSS" and loaded and still pointing to the same error. when I do a find for "sss" I dont see any value in PSA.
    Please advice, it will be really appreciated,
    thanks alot in advance

    Hi,
    U cont see the special characters in display mode in PSA...
    for that First the check the reason for error,
    it is from PSA, and the status in the monitor turned to red with errors or collection eneded with source system.. then go to manage of data target delete the red request... now go to PSA in modelling then select ur infosource right click select the option edit PSA data..
    Now u can see the some special characteristics in the record that error occured... once it is complete then save come back to PSA screen then once again right click on the Infosource select immeadiate update.. it will work fine..
    Siddhu

  • Invalid change to class error when deploying EJB

    We have EJBs that were built by Webgain Visual Cafe and successfully deploy
    to WLS 5.1. We then use the WLE EJB Deployer Tool to build WLE container
    classes and deploy the same EJBs in WLE 5.1.
    One EJB does not deploy in WLE. The ULOG error message is:
    133929.EA-LAWSTUC!JavaServer.517: main: IJENGINE_CAT:150: ERROR: Invalid
    change to class service.Request
    133929.EA-LAWSTUC!JavaServer.517: main: EJB_CAT:29: ERROR: While deploying
    jar ServiceEJB : com.beasys.weblogic.classloader.RedeploymentException:
    ERROR: Invalid change to class service.Request
    133929.EA-LAWSTUC!JavaServer.517: Finalizer: IJENGINE_CAT:152: INFO: Closing
    jar C:\aj\ServiceEJB_WLE.jar
    Does anyone know what can cause an "invalid change to class" error when
    deploying to WLE 5.1? Especially since the EJB deploys successfully in
    WLS.
    Carl Lawstuen

    Reason: database keeps a reference of the class in JAVA$CLASS$MD5$TABLE table. This table keeps a refrence to all java classes loaded in database, and is present in each schema you deploy classes. That's the reason why if you change the application module name, you can load this classes. It instead keeps a reference if you use DROP JAVA CLASS command to drop a java class from de database. Use DROP JAVA command to clear the reference of the dropped classes when dropping it.
    You can see this table as a class dictionary of the database, and you don't have to handle this records manually.

  • ORA-00054 error when loading Oracle table using Data Services

    Hello,
    we are facing ORA-00054 error when loading Oracle table using BO Data services
    (Oracle 10g database, BODS Xi 3.2 SP3)
    Test Job performs
    1- truncate table
    2- load table (tested in standard and bulk load modes)
    Scenario when issue happens is:
    1- Run loading Job
    2- Job end in error for any Oracle data base error
    3- When re-running the same Job, Job fails with following error
         ORA-00054: resource busy and acquire with NOWAIT specified
    It seems after first failure, Oracle session for loading the table stays active and locks the table.
    To be able to rerun the Job, we are forced need to kill Oracle session manually to be able to run the Job again.
    Expected behaviour would be : on error rollback modifications made on table and BODS stops Oracle session in a clean way.
    Can somebody tell me / or point me to any BODS best practice about Oracle error handling to prevent such case?
    Thanks in advance
    Paul-Marie

    the ora-0054 can occure depending how the job failed before. If this occures you will need the DBA to release the lock on the table in question
    Or
           AL_Engine.exe on The server it creates the Lock. Need to Kill Them. Or stop it..
    This Problem Occurs when we select The Bulkloading Option in orclae  We also faced the same issue,Our admin has Killed the session. Then everything alright.

Maybe you are looking for

  • Does anyone know how to fix Adobe Reader X?

    I use version 10.1.6 and have been having problems with it displaying blank pages (when they are not blank).  Initially when a document is opened from a network source, it displays correctly.  However, after having the document open for half an hour

  • What is Generate Process Interface in Oracle BPM Studio

    Hi, After right click on BPM process we can see the option like "Generate Process Interface" Can any please explain about it. Thanks&Regards, Bharath.

  • Assistance on the instllation of an AIP-SSM20

    What information do I need to collect in order to install and configure a AIP-SSM20

  • How to integrate media player in j2me polish

    Hi, I have create a media player in j2me. Now I want to integrate media player code into j2me polish project. I tried to integrate the media player with j2me polish project and audio file is playing fine. but while playing video I am not getting the

  • How will I know my existing DB is in Unicode or Non-Unicode

    I know you will get character set information with following query. select PARAMETER, value from nls_database_parameters where parameter = 'NLS_CHARACTERSET'; Result is : WE8MSWIN1252 (My DB is hosted on Windows server 2003 64Bit Machine and created