Sd_partner_update

Hi experts,
can any one please help me out regarding this function module "sd_partner_update"  what exactly it do ? i dint find any documentation about this function module.. please help me out. and can any one explain me whats the input we need to give for this function module?
please its urgent..
thnaks and regards,
Anupama

Try to use the fm 'SD_PARTNER_UPDATE', to update the partner details in sales order.
Check the below code....
CALL FUNCTION 'SD_PARTNER_READ'
         EXPORTING
              f_vbeln  = vbeln
              object   = 'VBPA'
         TABLES
              i_xvbadr = i_xvbadr
              i_xvbpa  = i_xvbpa
              i_yvbadr = i_yvbadr
              i_yvbpa  = i_yvbpa
              i_xvbpa2 = i_xvbpa2
              i_yvbpa2 = i_yvbpa2.
    READ TABLE i_xvbpa WITH KEY parvw = 'SP  '.
    IF sy-subrc NE 0. "Delivery does not have any Forwarding Agent
      CLEAR i_xvbpa.
      i_xvbpa-vbeln = vbeln.
      i_xvbpa-parvw = 'SP  '.
      i_xvbpa-lifnr = lv_lifnr.
      i_xvbpa-updkz = 'I'.  "For Insert new row
      APPEND i_xvbpa.
      CALL FUNCTION 'SD_PARTNER_UPDATE'
           EXPORTING
                f_vbeln  = i_vbkok-vbeln_vl
                object   = 'VBPA'
           TABLES
                i_xvbadr = i_xvbadr
                i_xvbpa  = i_xvbpa
                i_yvbadr = i_yvbadr
                i_yvbpa  = i_yvbpa
                i_xvbpa2 = i_xvbpa2
                i_yvbpa2 = i_yvbpa2.
      IF sy-subrc = 0.
        COMMIT WORK.
      ENDIF.

Similar Messages

  • Regarding sample code to update partner function using SD_PARTNER_UPDATE

    Hi All,
    Please provide some sample code to update/add partner function using FM 'SD_PARTNER_UPDATE'.
    regards
    Vishnu

    A better option would be to use a break point on this FM while creating a sales order. That way you will know how standard uses this FM.
    Thanks,
    Vikram.M

  • Value Funciont SD_PARTNER_UPDATE

    I need use function <b>SD_PARTNER_UPDATE</b> to update partner in delivery header(VL02N) .Someone has never used this function? How Can I value to change partner "SP"?
    Thanks in advance.
    Massimiliano

    CALL FUNCTION 'SD_PARTNER_UPDATE'
             EXPORTING
                  F_VBELN  = F_VBELN
                  OBJECT   = 'VBPA'
             TABLES
                  I_XVBADR = FXSADR
                  I_XVBPA  = FXVBPA
                  I_YVBADR = DA_FYSADR
                  I_YVBPA  = DA_FYVBPA
                  I_XVBPA2 = FXVBPA2.
    While calling the FM, check the Partner Type is SP or not...

  • Updating Outbound Delivery Bill-to Using SD_PARTNER_UPDATE

    Hi everyone,
    I have a requirement to update the outbound delivery partners, specifically Bill-to and Payer.
    The customer system version is 4.6c, so the BAPI to update the delivery found in 4.7 onwards is out of the question for now.
    I found a function module SD_PARTNER_UPDATE, however I am having difficulty in making it work, even with the COMMIT statement.
    Does anyone have any experience in using the function module, and can you provide at least an idea on how to populate and properly use it?
    Thanks in advance.

    A better option would be to use a break point on this FM while creating a sales order. That way you will know how standard uses this FM.
    Thanks,
    Vikram.M

  • ABAP dump(SAPSQL_ARRAY_INSERT_DUPREC) while creating a delivery

    Hello Friends,
    I am getting the dump while creating the delivery .The error details are as follows.
    The ABAP/4 Open SQL array insert results in duplicate database record
    What happened?
    The current ABAP/4 program "SAPLV05I " had to be terminated because
    one of the statements could not be executed.
    How to correct the error
    Use an ABAP/4 Open SQL array insert only if you are sure that none of
    the records passed already exists in the database.
    If the error occurred in a non-modified SAP program, you may be
    able to find a solution in the SAP note system.
    If you have access to the note system yourself, use the following
    search criteria:
    "SAPSQL_ARRAY_INSERT_DUPREC"
    "SAPLV05I " or "LV05IU15 "
    "SD_PARTNER_UPDATE"
    Source code extract
    004500                                           POSNR = I_XVBPA-POSNR
    004510                                           PARVW = I_XVBPA-PARVW.
    004520               IF I_YVBPA-STCD1 <> I_XVBPA-STCD1 OR
    004530                   I_YVBPA-STCD2 <> I_XVBPA-STCD2 OR
    004540                   I_YVBPA-STCD3 <> I_XVBPA-STCD3 OR
    004550                   I_YVBPA-STCD4 <> I_XVBPA-STCD4 OR
    004560                   I_YVBPA-STCDT <> I_XVBPA-STCDT OR
    004570                   I_YVBPA-STKZN <> I_XVBPA-STKZN OR
    004580                   I_YVBPA-J_1KFREPRE <> I_XVBPA-J_1KFREPRE OR
    004590                   I_YVBPA-J_1KFTBUS <> I_XVBPA-J_1KFTBUS OR
    004600                   I_YVBPA-J_1KFTIND <> I_XVBPA-J_1KFTIND.
    004610                 MOVE-CORRESPONDING I_XVBPA TO WA_XVBPA3I.
    004620                 APPEND WA_XVBPA3I TO DA_XVBPA3I.
    004630               ENDIF.
    004640             ENDIF.
    004650           ENDIF.
    004660         WHEN UPDKZ_OLD.
    004670           IF DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_OLD   OR
    004680              DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_ADRC.
    004690             YADR-ADRNR = DA_VBPA-ADRNR. COLLECT YADR.
    004700           ENDIF.
    004710           IF DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_OLD   OR
    004720              DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_ADRC.
    004730             XADR-ADRNR = DA_VBPA-ADRNR. COLLECT XADR.
    004740           ENDIF.
    004750       ENDCASE.
    004760     ENDLOOP.
    004770     UPDATE (OBJECT) FROM TABLE DA_XVBPAU.
    004780     UPDATE VBPA3 FROM TABLE DA_XVBPA3U.
    004790
         >     INSERT (OBJECT) FROM TABLE DA_XVBPAI.
    004810     INSERT VBPA3 FROM TABLE DA_XVBPA3I.
    004820
    004830     IF SY-SUBRC > 0.
    Could you please suggest me ,what could be the reason for dump and how to avoid dump?
    <REMOVED BY MODERATOR>
    Thank you in advance,
    Arvind.
    Edited by: Alvaro Tejada Galindo on Apr 22, 2008 5:16 PM
    Edited by: Alvaro Tejada Galindo on Apr 22, 2008 5:16 PM

    Hello, I have very same error
    Runtime Errors         SAPSQL_ARRAY_INSERT_DUPREC
    Exception              CX_SY_OPEN_SQL_DB
    Transaction......... "VL01N "                                                                
    Program............. "SAPLV05I"                                                              
    Screen.............. "RSM13000 3000"                                                         
    Screen line......... 2   
    SAP kernel....... 700  
    Patch level. 75 
    Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"                             
    SAP database version. 700                                                                    
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2" 
    The ABAP/4 Open SQL array insert results in duplicate database records.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught  in procedure "SD_PARTNER_UPDATE" "(FUNCTION)", nor was it propagated by a RAISING clause.
    I use SAP_APPL SAPKH60006 Support Package
    The NUMBER RANGE OBJECT HAS NO ERRORS!
    I went trough the zillions of notes all of them affect the old releases.... Please advice.
    Patiently yours,
    SAP User

  • Run time error while doing VL10B transaction for STO

    Dear All,
    We are facing problem of run time error while creating Delivery (VL10B) for  STO .We have two company codes .For one company code its working fine .But we are trying for another company code ,this error coming.error detals
    Error in the ABAP Application Program
    The current ABAP program "SAPLV05I" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not cau
         in
        procedure "SD_PARTNER_UPDATE" "(FUNCTION)", nor was it propagated by a RAI
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        If you use an ABAP/4 Open SQL array insert to insert a record in
        the database and that record already exists with the same key,
        this results in a termination.
        (With an ABAP/4 Open SQL single record insert in the same error
    Kindly suggest as to how to resolve this asap.
    regards
    umesh

    These Kind of Errors Generally Occor for the wrong maitnaince of the partner functions. If you are using any user exits to detremine the partner functions. check the logic in that routine.
    Because we do frequently get this error, but only if we hae not maintained as per the rule written in the  user exit..
    The USer exits for partner Determiantion to check is Function Module EXIT_SAPLV09A_003.  THis gets activated, if you have give the source parner function as "X/Y/Z" in your partenr determiantion procedures.

  • Special stock partner data problem in ERP system during "Post Goods issue"

    Hi all,
    I have a (probably) customizing issue in an ERP 6.0 EhP4 test system which not occurs in the ERP 6.0 test system. There is a difference but no one could tell me, what causes the problem in this scenario:
    I have two customers, C1 and C2. C2 is the special stock partner (SB) of C1.
    I've created a Consignment Fill-up order, then a delivery document based on the order and posted it with "Post Goods Issue". During the update process, a function module (SD_PARTNER_UPDATE) receives partner data in an internal table which contains the sold-to, ship-to and special partner data.
    When we tried the same process in the ERP 6.0 EhP4 test system then special-partner data did not occur in the parameter table (I've used the same customers and materials). The special stock partner is probably not taken into consideration due to some customizing settings.
    My question is what should I change in the customization to run the process the same way as in the ERP 6.0 system? As far as I know there are no new modifications which have effect on this area, and the used test customers and materials are almost the same - there are no noticable differences.
    Thanks in advance.
    Akos

    I tried setting that field in the sale order this morning.  By defaulting it to "C"; I was able to get warning message for TAE line.  I was able to post goods with TAE and TAQ, being different quantities.  I need the check to determine if TAE and TAQ delivery quantity are different.  Using this fields seems to be line specific.  Thanks for the suggestion.  I now know what that field does to the delivery.
    I rewarded points.
    Thanks,
    Tony

  • Sales Order is not saved when defining a Print output and without Print output it will saved the SO.

    Hello,
    In VA01 when we create SO and define output type then Sales order is not saved,The error msg will display like " Order is not in the database or is been archived ".
    But without defining output type SO will be saved.
    So is there any ABAP Developement or enhancement?
    Kindly Suggest.
    Regards,
    Abhishek K.

    Hi,
    Its something like SD_PARTNER_UPDATE...
    Kindly see below screenshot for your reference.
    Regards,
    Abhishek .K

  • Error in EDI sales order creation.

    Hi SAP gurus,
    Presently we are having a scenario, While creating a sales order through EDI we are presently getting an error
    Status - 51 "Update Error, Transaction VA01".
    When I again reprocess the idoc, It is creating order successfully.
    This is a rare occrance and we are not able to get a concrete clue because out of 50 edi order only 2 orders are
    having this kind of issue. .
    T code - WE02 :
    When I click on the message information, it gives the below mentioned details :
    Message - No 00377 "Update error, transaction VA01"
    Diagnosis:
    An error occured in CALL TRANSACTION USING or CALL DIALOG USING during the synchronous update.
    The error is caused y the transaction VA01.
    *T code - SM13 *
    In SM13 - system gives the Error (no entry) in
    Functional module "RV_SALES_DOCUMENT_ADD".
    ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Status  : Update was terminated
    Could you please  provide some inputs for to fix the issue
    Thanks in advance
    Thanks&Regards,
    Pugal Stalin.

    hI,
      It's mentioned below :
    Information on where terminated
      Termination occurred in the ABAP program "SAPLV05I" - in "SD_PARTNER_UPDATE".
      The main program was "RSM13000 ".
      In the source code you have the termination point in line 480
      of the (Include) program "LV05IU15".
      The program "SAPLV05I" was started in the update system.
      The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
      procedure "SD_PARTNER_UPDATE" "(FUNCTION)", but it was neither handled locally
       nor declared
      in the RAISING clause of its signature.
      The procedure is in program "SAPLV05I "; its source code begins in line
      1 of the (Include program "LV05IU15 ".
    Source Code Extract
                                            POSNR = I_XVBPA-POSNR
                                            PARVW = I_XVBPA-PARVW.
                IF I_YVBPA-STCD1 <> I_XVBPA-STCD1 OR
                    I_YVBPA-STCD2 <> I_XVBPA-STCD2 OR
                    I_YVBPA-STCD3 <> I_XVBPA-STCD3 OR
                    I_YVBPA-STCD4 <> I_XVBPA-STCD4 OR
                    I_YVBPA-STCDT <> I_XVBPA-STCDT OR
                    I_YVBPA-STKZN <> I_XVBPA-STKZN OR
                    I_YVBPA-J_1KFREPRE <> I_XVBPA-J_1KFREPRE OR
                    I_YVBPA-J_1KFTBUS <> I_XVBPA-J_1KFTBUS OR
                    I_YVBPA-J_1KFTIND <> I_XVBPA-J_1KFTIND.
                  MOVE-CORRESPONDING I_XVBPA TO WA_XVBPA3I.
                  APPEND WA_XVBPA3I TO DA_XVBPA3I.
                ENDIF.
              ENDIF.
            ENDIF.
          WHEN UPDKZ_OLD.
            IF DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_OLD   OR
               DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_ADRC.
              YADR-ADRNR = DA_VBPA-ADRNR. COLLECT YADR.
            ENDIF.
            IF DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_OLD   OR
               DA_VBPA-ADRDA CA GCF_ADDR_IND_COMB_MAN_ADRC.
              XADR-ADRNR = DA_VBPA-ADRNR. COLLECT XADR.
            ENDIF.
        ENDCASE.
      ENDLOOP.
      UPDATE (OBJECT) FROM TABLE DA_XVBPAU.
      UPDATE VBPA3 FROM TABLE DA_XVBPA3U.
      INSERT (OBJECT) FROM TABLE DA_XVBPAI.
      INSERT VBPA3 FROM TABLE DA_XVBPA3I.
      IF SY-SUBRC > 0.
        MESSAGE A700 WITH OBJECT SY-SUBRC DA_XVBPAI(21).
      ENDIF.
    Sonderfall neue VBPA (VBPA2) für Rollen AA und AW
      LOOP AT I_XVBPA2.
        DA_VBPA2 = I_XVBPA2.
        CASE DA_VBPA2-UPDKZ.
          WHEN UPDKZ_NEW.
            IF DA_VBPA2-ADRDA CA GCF_ADDR_IND_COMB_MAN_OLD   OR
               DA_VBPA2-ADRDA CA GCF_ADDR_IND_COMB_MAN_ADRC.
              XADR-ADRNR = DA_VBPA2-ADRNR. COLLECT XADR.
            ENDIF.
            I_XVBPA-MANDT = SY-MANDT.
            IF I_XVBPA2-VBELN IS INITIAL.
              I_XVBPA2-VBELN = F_VBELN.
            ENDIF.
    Thanks in Advance
    Thanks & Regards,
    Pugal
    Edited by: Pugal Stalin on Feb 15, 2010 1:17 PM

  • Delivery split through VLSP along with JIT Calls with AW Partner profiles

    Hi SAP SD/LE Guru's,
    I have one critical issue to resolve immediately in my implementation of SAP 4.6C system in multinational automotive industry. It's in the area of Delivery split along with AW - Duns number partner profile and JIT calls.
    Here is the scenario:
    1. JIT(Just In time) calls will be created through EDI based on the ship-to, PO Nos, Duns number.
    2. The requirements will be updated in Scheduling Agreements JIT Delivery schedule.
    3. Picking is done based on the requirements.
    4. Packing, Deliveries and Handling units are created: Note: Each handling unit is linked to one JIT Call.
    5. Based on the Shipments, Deliveries needs to be split into further sub-deliveries.
        Ex. One Delivery has two HU's. This needs to be split into another delivery so that one HU need to be detached from original and attach to new delivery. At the same time corresponding JIT call also need to be detached from original delivery and attach to new delivery. This can be done through VLSP : Subsequent split(Outbound delivery). Split profile: 003 - split based on Quantities.
    The issue: When executing delivery split using VLSP and split profile: 003, the system is terminating and giving short dump.
    The error analysis says that AW - Duns number is creating the problem. The short dump occurs in SAPLV05I in Function module: SD_PARTNER_UPDATE.
    There is an SAP note: 154766 related to this problem says that Partner header should be used only once in copy control.
    But in customization of copy control from Sales order to Delivery, there is no VBPA Partner header.
    I appreciate if you can provide solution for delivery split and resolve this short dump issue.
    Thanks,
    Murali Chintakunta

    In reference to this change in the Custom Reports... Better experience when exporting data - to prevent customer confusion when exporting data from Mac computers, we have removed the export to excel option and exporting in CSV format by default.
    What is the customer confusion we are trying to stop here? I've got even more confused customers at the moment because all of a sudden they can't find the export to excel option but know it exists if they log in on a PC?
    Mark

  • Express document "Update was terminated" recev from auth  While BAPI change

    Hi.
       Iam  trring to change sales order  which is exist in the system provided to insert  a new item
      for a existing sales oder  and pass values to  header  and update flag as 'U'
    and item details and flags  for corresponding items.once it throws an error as
    "Express document "Update was terminated" recev from auth "
    while iam executing  bapi_salesorder_change  once control goes to the
    Bapi_transaction_commit  it throws  Error  .
    may i know what is problem and how pass values  to BAPI_SALESORDER_CHANGE
    Why that kind of errors occur oftenly.
    Thanks & Regards
    sivakumar kasa

    Thanks Mr.JP
    Error analysis:
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
         in
        procedure "SD_PARTNER_UPDATE" "(FUNCTION)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        If you use an ABAP/4 Open SQL array insert to insert a record in
        the database and that record already exists with the same key,
        this results in a termination.
        (With an ABAP/4 Open SQL single record insert in the same error
        situation, processing does not terminate, but SY-SUBRC is set to 4.)
    when i comment  partner  details  it works  but
    Iam not  getting  quantity  and partner  details   so  how to pass  Partner  Details   and item quantity
    to updated  existing line item number.
    Thanks & Regards
    sivakumar kasa

  • Function module to change the partner of partner function of an order

    Hi All,
          I want to change a partner of a particular partner function related to an order if a condition is satisfied. That is if a condition is satisfied then the earlier partner assigned to the partner function should be changed and new partner should be assigned to the partner function of the order. Is there any fucntion module to do this. I got the function module 'CRM_PARTNER_MAINTAIN_SINGLE_OW' but it adds one more partner of the same patner function but what i want is to add the new partner in place of the earlier partner. If anyone has some pointers plz post.
    Thanks in advance,
    Rahul.

    Hi,
    Did you try using functions like 'SD_PARTNER_UPDATE' ?
    Thanks
    Mark points if helpful.

  • Dump during inbound delivery creation with VL34

    Hi,
    when I try to create a inbound delivery for a Purchase order item with account assignment Q (project stock) I get the following dump
    Runtime Errors         SAPSQL_ARRAY_INSERT_DUPREC
    Except.                CX_SY_OPEN_SQL_DB
    Date and Time          28.07.2010 17:37:10
    Short text
         The ABAP/4 Open SQL array insert results in duplicate database records.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLV05I" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
          in
         procedure "SD_PARTNER_UPDATE" "(FUNCTION)", nor was it propagated by a RAISING
          clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         If you use an ABAP/4 Open SQL array insert to insert a record in
         the database and that record already exists with the same key,
         this results in a termination.
         (With an ABAP/4 Open SQL single record insert in the same error
         situation, processing does not terminate, but SY-SUBRC is set to 4.)
    Missing RAISING Clause in Interface
         Program                                 SAPLV05I
         Include                                 LV05IU15
         Row                                     1
         Module type                             (FUNCTION)
         Module Name                             SD_PARTNER_UPDATE
    Trigger Location of Exception
      Program                                 SAPLV05I
        Include                                 LV05IU15
        Row                                     480
        Module type                             (FUNCTION)
        Module Name                             SD_PARTNER_UPDATE
    When I try to create the inbound delivery with VL31N it works fine. I also tried a couple of BAPIs/FMs which gave me the same dump as VL34.
    Thanks in advance!!
    br
    Walter

    I also failed to find any OSS note relevant to this.
    If you are not using any exits / BADI, there's no standard modification, you should contact SAP AG and their responsibility is to correct the error.
    But it may happen that you are using your own logic (via user exit, BADI, standard modification), in this case you have to find out what causes the problem. If the error is becasue of your develoments, then you cannot ask SAP AG to correct the error, if the error is not caused by your developments then it's SAP AG's responsibility.
    Please read OSS note 575667 which says that:
    The most common cause for this runtime error is an incorrect logic in USEREXIT_SAVE_DOCUMENT_PREPARE or USEREXIT_SAVE_DOCUMENT in include MV50AFZ1.
    For this, read also notes 178328 and 415716.
    Edited by: Csaba Szommer on Nov 3, 2010 8:49 AM
    Edited by: Csaba Szommer on Nov 3, 2010 8:50 AM

  • Delivery job dumping VL10B

    Hello gurus,
    I am trying to create a delivery for an STPO (Stock transfer PO) using VL10B. When I execute it, it shows up the PO. Then when I select the PO and click back ground, its dumping.  The error is  -
    The termination occurred in the ABAP program "SAPLV05I" in "SD_PARTNER_UPDATE".
    The main program was "RVV50R10C ".
    The termination occurred in line 480 of the source code of the (Include)
    program "LV05IU15"
    of the source code of program "LV05IU15" (when calling the editor 4800).
    Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in
    the
    procedure "SD_PARTNER_UPDATE" "(FUNCTION)" but was not handled locally, not
    declared in the
    RAISING clause of the procedure.
    The procedure is in the program "SAPLV05I ". Its source code starts in line 5
    of the (Include) program "LV05I$15 ".
    line 480 -  INSERT (OBJECT) FROM TABLE DA_XVBPAI.
    Regards,
    Balu

    Hello Balu,
    Found an important SAP Note 456762 which should help you solve the problem.
    The details of the Note is below for your refernce.
    During the creation of deliveries in the dialog (Transactions VL01 or VL01N) or during collective processing (Transactions VL04 or VL10), runtime error SAPSQL_ARRAY_INSERT_DUPREC occurs when you make insertions to table VBPA. The termination point is in function module SD_PARTNER_UPDATE (LV05IU15).
    Additional key words
    SAPMV50A, SAPMV50S, RV50SBT1, VBPA, short dump, dump, DUPREC, partner, item partner
    Cause and prerequisites
    This problem is caused by a program error. The error can occur under unfavorable circumstances after the implementation of Note 448919 or the importation of one of the following Support Packages.
    Release Package name
    31I SAPKH31I92
    40B SAPKH40B70
    45B SAPKH45B48
    46B SAPKH46B36
    46C SAPKH46C27
    The cause of the error is the addition of an APPEND statement to the internal partner table XVBPA. As a result, the sorting of the partner table is destroyed. However, the correct sorting is absolutely necessary for the application to work correctly after implementation of Note 448919. In the standard system the error only occurs during the delivery of sales orders, in which additional partner functions exist at item level.
    Solution
    Implement the advance correction from the correction instruction in your system using the ABAP Editor (Transaction SE38).
    Important: if there are modifications during the transfer of the partner data and these modifications are processed during the creation of the delivery in your system, the correction of Note 448919 can cause runtime errors if the internal table XVBPA is enhanced without the corresponding sorting in the course of the modification. Make sure that the internal table XVBPA is always sorted in accordance with the primary key (MANDT VBELN POSNR PARVW).
    Source code corrections
    Thanks
    Murtuza

  • FM for updating Partner details in Sales order

    Hi,
    Pleaes let me know the FM to update partner functions in sales documents. FM is expected to only update partners and shouldnu2019t update pricing or incompletion or anything else. thanks

    Look at function group V09A - Partner processing SD. Also investigate module SD_PARTNER_UPDATE.

Maybe you are looking for