BDC for VA02 to update Sales Order

Hi,
I'm try to run a BDC to update partner data on the sales order header data but I get this error when I executed the BDC.
Field 'GVS_TC_DATA-REC-PARTNER(8) does not exist in the screen SAPMV45A 4002
Please advise. The code is as shown below:
REPORT zstd21  NO STANDARD PAGE HEADING
               LINE-SIZE 255.
INCLUDE bdcrecx1.
DATA:
  BEGIN OF itab OCCURS 0,
    vbeln  LIKE   vbak-vbeln,
    kunnr  LIKE   vbpa-kunnr,
  END OF itab.
PARAMETER: p_flname   LIKE   sopcpath-file  OBLIGATORY
                                            VISIBLE LENGTH 100.
START-OF-SELECTION.
  PERFORM read_data_from_file.
  PERFORM open_group.
  PERFORM update_order_salesrep.
  PERFORM close_group.
END-OF-SELECTION.
*&      Form  READ_DATA_FROM_FILE
      text
-->  p1        text
<--  p2        text
FORM read_data_from_file .
  DATA:
    lv_filename      TYPE    string.
  CONSTANTS:
    c_numeric        TYPE    char10    VALUE '0123456789'.
  CLEAR lv_filename.
  lv_filename = p_flname.
  CALL METHOD cl_gui_frontend_services=>gui_upload
    EXPORTING
      filename                = lv_filename
      filetype                = 'DAT'
      has_field_separator     = 'X'
      dat_mode                = 'X'
   CODEPAGE                = SPACE
    CHANGING
      data_tab                = itab[]
    EXCEPTIONS
      file_open_error         = 1
      file_read_error         = 2
      no_batch                = 3
      gui_refuse_filetransfer = 4
      invalid_type            = 5
      no_authority            = 6
      unknown_error           = 7
      bad_data_format         = 8
      header_not_allowed      = 9
      separator_not_allowed   = 10
      header_too_long         = 11
      unknown_dp_error        = 12
      access_denied           = 13
      dp_out_of_memory        = 14
      disk_full               = 15
      dp_timeout              = 16
      not_supported_by_gui    = 17
      error_no_gui            = 18
      OTHERS                  = 19 .
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
  IF itab[] IS INITIAL.
    MESSAGE i000(zv).
    STOP.
  ENDIF.
  CLEAR itab.
  LOOP AT itab.
    IF itab-vbeln CO c_numeric.
      UNPACK itab-vbeln TO itab-vbeln.
    ENDIF.
    IF itab-kunnr CO c_numeric.
      UNPACK itab-kunnr TO itab-kunnr.
    ENDIF.
    MODIFY itab.
  ENDLOOP.
ENDFORM.                    " READ_DATA_FROM_FILE
*&      Form  UPDATE_ORDER_SALESREP
      text
-->  p1        text
<--  p2        text
FORM update_order_salesrep .
  CONSTANTS:
    c_header    TYPE  vbpa-posnr    VALUE   '000000',
    c_srep      TYPE  vbpa-parvw    VALUE   'ZS',
    c_field     TYPE  bdcdata-fnam  VALUE   'GVS_TC_DATA-REC-PARTNER(',
    c_quote     TYPE  char1         VALUE   '''',
    c_bracket   TYPE  char1         VALUE   ')'.
  DATA:
    lit_vbpa    LIKE  vbpa OCCURS 0 WITH HEADER LINE,
    lv_field    TYPE  bdcdata-fnam,
    lv_pos(2)   TYPE  n.
  IF NOT itab[] IS INITIAL.
    SELECT mandt vbeln posnr parvw
    INTO   TABLE lit_vbpa
    FROM   vbpa
    FOR ALL ENTRIES IN itab
    WHERE  vbeln = itab-vbeln
    AND    posnr = c_header.
  ENDIF.
  SORT lit_vbpa BY vbeln posnr parvw.
  LOOP AT itab.
    CLEAR: lv_field,
           lv_pos.
    CLEAR lit_vbpa.
    LOOP AT lit_vbpa WHERE vbeln = itab-vbeln.
      lv_pos = lv_pos + 1.
      IF lit_vbpa-parvw EQ c_srep.
        CONCATENATE c_quote c_field lv_pos c_bracket c_quote
               INTO lv_field IN CHARACTER MODE.
        CONDENSE lv_field.
        EXIT.
      ENDIF.
    ENDLOOP.
    IF NOT lv_field IS INITIAL.
      PERFORM bdc_dynpro      USING 'SAPMV45A'    '0102'.
      PERFORM bdc_field       USING 'BDC_CURSOR'  'VBAK-VBELN'.
      PERFORM bdc_field       USING 'BDC_OKCODE'  '/00'.
      PERFORM bdc_field       USING 'VBAK-VBELN'  itab-vbeln.
      PERFORM bdc_dynpro      USING 'SAPMV45A'    '4001'.
      PERFORM bdc_field       USING 'BDC_OKCODE'  '=KPAR_SUB'.
      PERFORM bdc_dynpro      USING 'SAPMV45A'    '4002'.
      PERFORM bdc_field       USING 'BDC_OKCODE'  '=SICH'.
      PERFORM bdc_field       USING 'GV_FILTER'   'PARALL'.
      PERFORM bdc_field       USING lv_field      itab-kunnr.
      PERFORM bdc_transaction USING 'VA02'.
    ENDIF.
  ENDLOOP.
ENDFORM.                    " UPDATE_ORDER_SALESREP

Hi satyadev,
As per this error message "Field 'GVS_TC_DATA-REC-PARTNER(8) does not exist in the screen SAPMV45A 4002", screen does not have GVS_TC_DATA-REC-PARTNER(8) field.
It is obvious that your recording has this field but not the current screen.
Look at the screen and recording, if possible do a re-recording.
This is a general problem with  BDCs. Configuration / screen fields and screen order should be similar with the recording screen order and screen field.
One of the possible reason may be your functional team might have changed the screen number or they might have hide this field.
Hope this helps..
Mubeen

Similar Messages

  • BDC For Line Items In Sales Order

    Hello,
    I have an internal table of line items which i need it to pass it to BDC for sales order line items creation. Can anybody tell me how to do this like the logic which is used to pass the field names. I just have the material number and Quantity to be passed ..
    Thanks
    Viky

    See below code for Purchase Order :
    report zpochange.
    data : i_error like bdcmsgcoll occurs 0 with header line.
    data : i_bdcdata like bdcdata occurs 0 with header line.
    tables : ekko, ekpo.
    data :c1(10) value 'ME22',
          c2(1) value ',',c3(10).
    data : var1(20). " LIKE EKKO-EBELN.
    data : var2 like ekko-ebeln.
    data : begin of i_ekko occurs 0,
              header(2),
              ebeln like ekko-ebeln,
              end of i_ekko.
    data : begin of i_ekpo occurs 0,
    item(2),
            ebeln like ekpo-ebeln,
            ebelp like ekpo-ebelp,
            menge(10), " LIKE EKPO-MENGE,
           end of i_ekpo.
    data : v like ekpo-ebelp.
    data: begin of itab occurs 0,
             text(300),
            end of itab.
    parameters: p_file like ibipparms-path.
    *PARAMETERS: PONUMBER LIKE EKPO-EBELN.
    at selection-screen on value-request for p_file.
    call function 'F4_FILENAME'
      exporting
        program_name        = syst-cprog
        dynpro_number       = syst-dynnr
       FIELD_NAME          = ' '
      importing
        file_name           = p_file
    start-of-selection.
    *SELECT EBELN FROM EKKO INTO TABLE I_EKKO WHERE EBELN = PONUMBER.
          SELECT EBELN EBELP MENGE FROM EKPO INTO TABLE I_EKPO WHERE EBELN
    *= PONUMBER.
    perform get_data.
    *LOOP AT ITAB.
    WRITE :/ ITAB.
    ENDLOOP.
    loop at itab.
    var1 = itab-text+0(1).
    if var1 = 'H'.
    *I_EKKO-EBELN = ITAB-TEXT.
    split itab at c2 into i_ekko-header
                           i_ekko-ebeln.
    SPLIT  ITAB AT ',' INTO I_EKKO-EBELN.
                        " I_EKPO-EBELP
                        " I_EKPO-MENGE
                        " var1.
    append i_ekko.
    else.
    split itab at c2 into i_ekpo-item
                            i_ekpo-ebeln
                            i_ekpo-ebelp
                            i_ekpo-menge.
    append i_ekpo.
    endif.
    *var2 = i_ekpo-ebeln.
      MOVE VAR1 TO I_EKPO-EBELN.
      MOVE VAR1 TO I_EKKO-EBELN.
    APPEND: I_EKPO.
    *if not var1 is initial.
        split var1 at ',' into i_ekpo-ebelp
                               i_ekpo-menge.
      i_ekpo-ebeln = var2.
    append i_ekpo.
    *endif.
    endloop.
    loop at i_ekpo.
    write :/ i_ekpo.
    endloop.
    loop at i_ekko.
    perform fill_data. " TABLES I_EKPO.
    endloop.
    LOOP AT I_EKPO.
    WRITE :/ I_EKPO.
    ENDLOOP.
    *&      Form  GET_DATA
          text
    -->  p1        text
    <--  p2        text
    *LOOP AT I_ERROR.
    WRITE :/ I_ERROR.
    ENDLOOP.
    form get_data.
    call function 'WS_UPLOAD'
    exporting
       codepage                      = ' '
       filename                      = p_file
       filetype                      = 'ASC'
       headlen                       = ' '
       line_exit                     = ' '
       trunclen                      = ' '
       user_form                     = ' '
       user_prog                     = ' '
       dat_d_format                  = ' '
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = itab
    exceptions
       conversion_error              = 1
       file_open_error               = 2
       file_read_error               = 3
       invalid_type                  = 4
       no_batch                      = 5
       unknown_error                 = 6
       invalid_table_width           = 7
       gui_refuse_filetransfer       = 8
       customer_error                = 9
       others                        = 10
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    endform.                    " GET_DATA
    *&      Form  FILL_DATA
          text
         -->P_I_EKPO  text
    form fill_data. " tables   i_ekpo .
    perform bdcscreen using 'SAPMM06E' '0105'.
    perform bdcfield using 'RM06E-BSTNR' i_ekko-ebeln.
    perform bdcfield using 'BDC_OKCODE' '/00'.
    loop at i_ekpo where ebeln = i_ekko-ebeln.
      V = I_EKPO-EBELP.
    perform bdcscreen using 'SAPMM06E' 0120.
    perform bdcfield using 'BDC_CURSOR' 'RM06E-EBELP'.
    perform bdcfield using 'RM06E-EBELP' i_ekpo-ebelp.
    perform bdcfield using 'BDC_OKCODE' '/00'.
    perform bdcscreen using 'SAPMM06E' 0120.
    perform bdcfield using 'BDC_CURSOR' 'EKPO-MENGE(01)'.
    perform bdcfield using 'RM06E-EBELP' i_ekpo-ebelp.
    perform bdcfield using 'EKPO-MENGE(01)' i_ekpo-menge.
    perform bdcfield using 'BDC_OKCODE' '/00'.
    *PERFORM BDCSCREEN USING 'SAPMM06E' 0120.
    *PERFORM BDCFIELD USING 'BDC_CURSOR'  'RMO6E-EBELP'.
    *CLEAR V.
    endloop.
    perform bdcfield using 'BDC_OKCODE' '=BU'.
    call transaction  c1 using i_bdcdata mode 'A'
                                       messages into i_error.
    refresh i_bdcdata.
    endform.                    " FILL_DATA
    *&      Form  BDCSCREEN
          text
         -->P_0140   text
         -->P_0120   text
    form bdcscreen using    p_program p_screen.
    i_bdcdata-program = p_program.
    i_bdcdata-dynpro = p_screen.
    i_bdcdata-dynbegin = 'X'.
    append i_bdcdata.
    clear i_bdcdata.
    endform.                    " BDCSCREEN
    *&      Form  BDCFIELD
          text
         -->P_0145   text
         -->P_I_EKPO_EBELN  text
    form bdcfield using    fnam fval.
    i_bdcdata-fnam = fnam.
    i_bdcdata-fval = fval.
    append i_bdcdata.
    clear i_bdcdata.
    endform.                    " BDCFIELD
    I hope same thing for sales order ,i mean both has Table control
    Reward Points if it is helpful
    Thanks
    Seshu

  • Update sales orders for MPS

    Hi Gurus,
    We have the following problem. The project I am working in has 2 phases. In the first phase SD module was implemented. Now in the second phase we have implemented MPS in PP.
    The point is that for all the new sales orders that are created in the system a  customer independent requirement is generated by the MPS but we do not know how to update all the old open sales orders to generate a requirement.
    Is there any standard program or way to do so?
    Thanks and regards,
    Miguel

    Hi Shivan,
    Thanks for your reply. I have tested the program SDRQCR21 and works fine for all the orders I have created since I have activated the MPS becuase as far as I have seen the program checks the entries in table VBBE. The problem is that all the sales orders I create before the MPS was running has no entries in that table so it does not work for them.
    Do you know if there is a way to get them in?
    Kind regards,
    Miguel

  • Update Sale Order Header Text through Enhancement

    Hi Experts,
             I Have a requirement to update the sale order Header Text , when the sale order is opened in VA02 and saved.
    Here in I tried using edit_text, it updates sale order header text  directly in DB during run time even before the save action is completed.
    But I need to just fill the header text and that has to be saved during the save action only.
    I tried coding the same in the user exit (userexit_save_document) but this user exit gets triggered only when there is some changes made to the document when opened in VA02 & Saved.
    Is there any  user exist to pass sale Order Header text and save when save button is clicked irrespective of the document been changed or not.
    Thanks in advance
    Sathish

    Hi Brad Bohn,
        My actual requirement is to trigger an Idoc when the user goes to VA02 transaction and clicks save.
    IDoc gets triggered only when there is some changes to that document, that is through NAST table entry based on the output configurations in NACE transaction.
    Now that the user wants to trigger an IDoc even if there is no change (ie. to reprocess the IDoc) when he just opens a sale order in VA02 and click save.
    It is not possible to trigger an IDoc through configurations when there is no actual change in VA02 and saved.
    So it has to be forcefully sent by making some additions to the Order through coding, so I choose that Text box to fill some additional data and save .
    Kindly Let me Know any thing could be done for this scenario.
    Thanks in advance
    Sathish

  • LSMW for open notifications,open sales order & open service order

    Hi Gurus,
    Can anyone please tell me how to go about writing LSMW's for open notifications,open sales order & open service order.
    This is for service processing in CS ,where has the scenario is 
    Create Notification (IW51) --> create Sales Order(Multiple Line Items) ( VA02) --> Create Service Order ( IW32)
    Service order is automatically (Item Proposal) generated w.r.t Sales Order (multiple line items)
    How to I do the recording for transactions in such a scenario.
    Please suggest!
    Thanks!
    Vinod

    you can use the below LSMW IDOC method
    SALESORDER_CREATEFROMDAT2       Sales order: Create Sales Order
    SERVICENOTIFICATION_CREATEFROM  Create service notification
      SERVICE_CREATE                  Creation of a Service Master Record
    CARNOT                          Delivery: Shipping notification
    DESADT                          Shipping notification
    DESADV                          Delivery: Shipping notification
    INOTIF                          Notifications
    INTUPD                          Notification Status Update
    ISU_ADVICE                      IS-U Deregulation: Notification
    ISU_CHANGE_REQUEST              IS-U: Notification of Change to
    ISU_MAINT_SO                    IS-U Dereg.: Notification of Dev
    ISU_REMITTANCE_ADVICE           Transfer Notification

  • How to update Sales Order status using  BAPI_SALESORDER_CHANGE

    Hi,
    I want to update Sales Order status using BAPI_SALESORDER_CHANGE, this BAPI is called from middle ware, but there is no parameter to pass the status value to this function, please help me how to update sales order status using BAPI only.
    Thanks
    RK

    Hi,
    Can u give me details of what status u would like to update in sales order.
    If we are able to update the status from VA02, Then BAPI will assist for the same.
    Regards.

  • How to update sales orders using B1WS in SAP 8.8 PL18

    Hello all.
    We are having a problem updating sales orders using Sap Business One Web Service ( B1WS ).
    We are running SBO 8.8 PL18, MS-SQL 2008, and all is fine when using the SBO client.
    But when it comes to updating sales orders through B1WS we just cannot get it to work.
    We can add new orders easily without problems. Updating orders always gives this error:
    \[ORDR.PayDuMonth\]\[line: 0\] , 'Field cannot be updated (ODBC -1029)'
    We have checked and verified multiple times that our setup is correct.
    Also the WDSL files are verified.
    We can update orders just fine using the sboclient.
    And using B1WS we can basically do everything, besides updating.
    We have also tried this on different company db's, so we are quite sure this is not
    something related to some general setting we missed, but who knows?
    We have tried different ways to "assemble" the order before updating, but it always
    ends with the above error.
    Here is an example of one of the tests, where we load an order by docentry,
    increment the quantity of all open lines by '1', and then try to update it.
            protected void Page_Load(object sender, EventArgs e)
                // First we login
                string sessionId = "";
                LoginService.LoginService l_login = new LoginService.LoginService();
                LoginService.LoginDatabaseType l_dbtype = LoginService.LoginDatabaseType.dst_MSSQL2008;
                LoginService.LoginLanguage _lang = LoginService.LoginLanguage.ln_English;
                string _server = "SAP-8_8PL18";
                string _licserver = "SAP-8_8PL18:30000";
                string _db = "my_test_company";
                string _user = "manager";
                string _pass = "********";
                try
                    sessionId = l_login.Login(_server, _db, l_dbtype, true, _user, _pass,
                               _lang, true, _licserver);
                catch (Exception ex)
                    Response.Clear();
                    Response.Write(ex.Message);
                    Response.End();
                if (sessionId == "")
                    Response.Clear();
                    Response.Write("No sessionId");
                    Response.End();
                // We are logged in and have a sessionId
                // Now load a valid open order by docentry
                try
                    OrdersServiceRef.OrdersService orderService = new OrdersServiceRef.OrdersService();
                    orderService.MsgHeaderValue = new OrdersServiceRef.MsgHeader();
                    orderService.MsgHeaderValue.SessionID = sessionId;
                    orderService.MsgHeaderValue.ServiceName = OrdersServiceRef.MsgHeaderServiceName.OrdersService;
                    orderService.MsgHeaderValue.ServiceNameSpecified = true;
                    OrdersServiceRef.DocumentParams docParams = new OrdersServiceRef.DocumentParams();
                    docParams.DocEntry = 31; // Docentry of a known open order
                    docParams.DocEntrySpecified = true;
                    OrdersServiceRef.Document order = orderService.GetByParams(docParams);
                    OrdersServiceRef.DocumentDocumentLine line = null;
                    for (int i = 0; i < order.DocumentLines.Length; i++)
                        line = order.DocumentLines<i>;
                        if (line.LineStatus == OrdersServiceRef.DocumentDocumentLineLineStatus.bost_Open)
                            line.Quantity += 1;
                    orderService.Update(order);
                catch (System.Web.Services.Protocols.SoapException ex)
                    Response.Clear();
                    Response.Write(ex.Message);
                    Response.End();
                catch (Exception ex)
                    Response.Clear();
                    Response.Write(ex.Message);
                    Response.End();
                Response.Clear();
                Response.Write("All OK");
                Response.End();
    I hope that someone has an idea as to why this happens.
    The customer often changes quantity or adds lines on their orders,
    and the only way to solve it so far has been to make a new order and
    close the old one.
    Thanks in advance
    J. Thomsen

    Hi,
    Welcome you post on the forum.
    Have you checked if you only update a specific line instead of a loop?
    Thanks,
    Gordon

  • Credit Mgt - VKM4 not Updating sales orders

    Hi all,
    We have issue in credit management, we are using Dynamic Credit Management at sales order Level, once sales order is block for over credit we will release through VKM3 or VKM4 ,
    But Problem system is behaving differently with some credit account for example
    We created sales  order and it got block for credit and its got release through VKM3, but when are reviewing that order in VKM4
    using Overall credit status as D , this problem is happing for only few credit account but also not frequently, i mean to say some time its updating VKM4 after release.
    Can any one guide me what could be a issue
    Regards
    Nishad

    SAP Note 396791
    SAP Note 394392
    SAP Note 381685
    SAP Note 396338
    SAP Note 18613
    SAP Note 124571
    SAP Note 716141
    SAP Note 377165
    Please check these notes
    Hope this helps
    Regards
    Sai

  • Issue in Updating Sales Order Document flow

    Hi Experts,
    We have developed a Z Program for posting Material document for the deliveries of Sales Order. This program runs in Batch job everyday.
    Here we are getting an issue like in some of the cases it's not updating the Document flow of the Sales order though its Posting Material Document for the Delivery of Sales Order. If there will be a bulk amount of data then its creating issue in updating the Document flow ( Either the 1st set of record or last set of records).
    We are using BAPI 'BAPI_GOODSMVT_CREATE' for posting Material Document for the delivery and FM 'RV_DOCUMENT_FLOW_UPDATE_U' for updating the document flow.
    It seems it giving issue with bulk amount of data. Will it a time issue?
    If any one have faced such issue, please throw some pointers.
    Thanks in advance!
    Regards,
    Priyabrata.

    It could be a timing issue. After you create the material document, try to enque the material document and move to the next step  only if the enque is successful.  Keep trying to enque the material document until u are successful. But make sure you exit the loop after certain number of tries to avoid endless loops.  Here is a sample code:
      DO 20TIMES.
        CALL FUNCTION ;'ENQUEUE_EMMKPF'
          EXPORTING
            MODE_MKPF      = co_e
           MBLNR          = xxxxx
          MJAHR           = xxxx
          EXCEPTIONS
            foreign_lock   = 1
            system_failure = 2
            OTHERS         = 3.
        IF sy-subrc EQ 0.
    dequeue/unlock the notification again
          CALL FUNCTION DEQUEUE_EMMKPF
            EXPORTING
              MODE_MKPF= co_e
           MBLNR          = xxxxx
          MJAHR           = xxxx
         EXIT.
        ELSE.
    in case of no success, wait 1 seconds, before try again
          CALL FUNCTION 'RZL_SLEEP'
            EXPORTING
              seconds        = 1
            EXCEPTIONS
              argument_error = 1
              OTHERS         = 2.                               "#EC *
        ENDIF.
      ENDDO.
    Regards,
    Jitendar

  • Update sales order qty through BAPI_SALESORDER_CREATEFROMDAT2

    HI
    Can anybody help me out.  I have the requirement for creating sales order through BAPI_SALESORDER_CREATEFROMDAT2. The sales order is created but with 0 quantity.
    I am using fields RNDDLV_QTY and TARGET_QTY and REQ_QTY in schedule lines & also setting the update indicator to 'X'  in the corresponding itemx structures.
    In fact it used to work earlier and has stopped now. I am also checking if there could be any change in configuration but don't think this should be the reason.
    Can someone guide me as to which quantity fields of the BAPI are the right ones to update sales order qty?
    thanks

    Hi,
    You are using the correct fields i.e. TARGET_QTY and REQ_QTY. Just check if you are passing the same Item Number in both the tables.
    Hope it helps...
    Lokesh

  • Updating Sales Order Status in Batch

    Hi
    Please let me know if we can update Sales Order Line details like Ship To Address , Date , Status in a batch?
    We are using 11.5.10
    Thanks

    Use the Order management API or the OM interface tables.
    See irep.oracle.com for details.

  • Updating Sales Order no in Production Order

    we have csenario for Sales Order :  Inquery - Quotation - Sales Order .
    In PP we have MTO scenarion . when i run MRP and convert the plan order to Production Order , in place of Sales Order it was updatin Quotation in Production Order .
    we have checked SD config for sales doc Item category =TAC and in Material Master we will used Item Category = NORM
    Please suggest is there any other setting for updating Sales Order no in Production Order .
    Thnx.

    Hi,
    I assume that you are using the strategy 20 (MTO). Go to OVZG here select the class 040 Indiv.cust.w/o cons., keep BLANK for account assignment consumption and rerun the whole cycle and check.
    Thanks
    Hrishi

  • 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

  • Problem updating sales order partner addresses

    Hi all,
    iam trying to update addresses on sales order if there is any update on on the delivery.
    I update the VBPA-ADRNR and create the same ADRC-ADRNR.
    but when iam updating VBAP-VBELN for order using BAPI_SALESORDER_CHANGE there is a new ADRNR being created in VBPA as opposed to using the ADRNR i pass to the BAPI which is the delivery ADRNR.
    Can someone help me resove this...
    and one more small question..
    what do i pass to the paramter addr_handle in the fm ADDR_NUMBER_GET..

    i need to insert/update a record in adrc as soon as an address is updated in VBPA-VBELN of delivery.
    for this want to use ADDR_NUMBER_GET , ADDR_UPDATE/ADDR_INSERT.
    and after this process i am updating sales orders.
    but iam filling the tables u mentioned...the problem is teh new adrnr the bapi is generating instead of the one iam passing it in ADDRNUMBER(new ADRNR) in PARTNERCHANGES table and also iam passing ADDRLINK(old adrnr) field in PARTNERADDRESSES table.

  • User exit for partner tab on sales order

    Hi All,
    Is there any user exit available for partners tab on sales order which should trigger when ever user changes anything from that tab like add/change remove any of the partners.
    Thanks,
    Suman.

    Hi Guys,
    Any Updates.
    Thanks,
    Suman.

Maybe you are looking for