Problem in updating Partner function in ME21N

Hi All
In normal SAP if a vendor having more than one GS partners in vendor master and you are trying to create Purchase order using that vendor then a pop up will come. It will have list of  GS vendors and wil prompt you to choose one of them as PO requires 5 mandatory vendor partners.
Basic requirement is to hide that popup and populate that GS vendor automactically. I am having another custom table in my requirement where I need to check the vendor number against material number what I put in the item details. That custom table contains vendor numbers and material numbers.
So I tried to get one exit/badi/enhancement spot where I could get the item details and Partner details. But did not get anything. I could manage to hide the pop up now. Now I need to populate the GS vendor.
If anyone know how to do it kindly help me. Its Urgent.
Thanks in advance.
Regards
Raj

Probles is solved by passing proper data in  opportunity , appointment and orderas_h , partner , status and input_filds in CRM_ORDER_MAINTAIN fm .

Similar Messages

  • Update partner function in KNVP table using FM sd_customer-maintain_all

    Hi All,
    I have to update Partner Function ‘PARVW’  in KNVP table using FM sd_customer_maintain_all.
    I had already created a BDC program for updating which is running successfully.
    But  my requirement is to create a BAPI using FM customermaintain_all.
    Ex:  Tcode VD02
              KUNNR          PARVW             KUNN2
    Old data      123          Z1          70006666
              123          Z2          70007777
    Req. output      123          Z1          70006666
              123          Z1          70007777
    PARVW ‘Z2’  should not exist after updation.
    When updating, I am getting the error message to my inbox as
    “ Error Info...   F2 802: System error in table KNVP ”
    The above error is triggered while committing work after execution of  ‘SD_CUSTOMER_MAINTAIN_ALL’.
    The options I tried while looping at internal table containing kunnr, parvw & kunn2
    CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
    EXPORTING
        I_KNA1                              = w_kna1
      I_KNB1                              =
        I_KNVV                              = w_knvv
      I_BAPIADDR1                         =
      I_BAPIADDR2                         =
      I_MAINTAIN_ADDRESS_BY_KNA1          = ' '
      I_KNB1_REFERENCE                    = ' '
      I_FORCE_EXTERNAL_NUMBER_RANGE       = ' '
      I_NO_BANK_MASTER_UPDATE             = ' '
      I_CUSTOMER_IS_CONSUMER              = ' '
      I_RAISE_NO_BTE                      = ' '
        PI_POSTFLAG                         = 'X'
      PI_CAM_CHANGED                      = ' '
      PI_ADD_ON_DATA                      =
      I_FROM_CUSTOMERMASTER               = ' '
    IMPORTING
      E_KUNNR                             =
      O_KNA1                              =
      E_SD_CUST_1321_DONE                 =
    TABLES
      T_XKNAS                             =
      T_XKNBK                             =
      T_XKNB5                             =
      T_XKNEX                             =
      T_XKNVA                             =
      T_XKNVD                             =
      T_XKNVI                             =
      T_XKNVK                             =
      T_XKNVL                             =
        T_XKNVP                             = I_XKNVP
      T_XKNZA                             =
      T_YKNAS                             =
      T_YKNBK                             =
      T_YKNB5                             =
      T_YKNEX                             =
      T_YKNVA                             =
      T_YKNVD                             =
      T_YKNVI                             =
      T_YKNVK                             =
      T_YKNVL                             =
        T_YKNVP                             = i_yknvp ***
      T_YKNZA                             =
      T_UPD_TXT                           =
    EXCEPTIONS
        CLIENT_ERROR                        = 1
      KNA1_INCOMPLETE                     = 2
      KNB1_INCOMPLETE                     = 3
      KNB5_INCOMPLETE                     = 4
      KNVV_INCOMPLETE                     = 5
      KUNNR_NOT_UNIQUE                    = 6
      SALES_AREA_NOT_UNIQUE               = 7
      SALES_AREA_NOT_VALID                = 8
      INSERT_UPDATE_CONFLICT              = 9
      NUMBER_ASSIGNMENT_ERROR             = 10
      NUMBER_NOT_IN_RANGE                 = 11
      NUMBER_RANGE_NOT_EXTERN             = 12
      NUMBER_RANGE_NOT_INTERN             = 13
      ACCOUNT_GROUP_NOT_VALID             = 14
      PARNR_INVALID                       = 15
      BANK_ADDRESS_INVALID                = 16
      TAX_DATA_NOT_VALID                  = 17
      NO_AUTHORITY                        = 18
      COMPANY_CODE_NOT_UNIQUE             = 19
      DUNNING_DATA_NOT_VALID              = 20
      KNB1_REFERENCE_INVALID              = 21
      CAM_ERROR                           = 22
        OTHERS                              = 23.
    IF sy-subrc eq ‘0’.
    Commit work and wait.
    Endif.
    All above tables have a field called ‘KZ’ which has options
    U-update
    D-delete
    I-insert
    E-………(I don’t know)
    Ex: T_XKNVP structure = KNVP Structure + Field ‘KZ’.
    Documentation for this FM is not Available in English or German
    1.  I tried sending Z2  KZ as ‘D’ first &  Z1 with KZ as ‘I’ with business partner of Z2 (KUNN2)
         as single update.
    Ex: T_XKNP table
    KUNNR          PARVW             KUNN2          KZ
    123          Z2          70007777     D
    123          Z1          70007777     I
    2.  I tried it as a separate delete record and insert record i.e calling the FM twice .
    3.  I tried passing table  T_YKNVP with old partner data + TXKNVP table new partner data
    Ex: T_YKNP table
    KUNNR          PARVW             KUNN2          KZ
    123          Z2          70007777     U or space (I tried both one after another)
    4. All combinations for field ‘KZ’  are tried.
    Please help me to overcome this problem.
    I )   I need which parameters are to be passed to FM for updating partner function in KNVP table .
    II)   Do I need to pass structure I_KNA1 or I_KNVV to FM ? (Blank or with values corresponding to   
         partner function ).
    III)  Any sample code which can guide me.
    Even a small hint or clue from you will certainly help me.
    Thanks in Advance.
    AJAX

    i have the same problem. I need to update the partner function PARVW thru a program that i created. I tried to use this FM but it didn't work. Anyone knows another FM that i can use to update the KNVP table?

  • How to update partner function in PO.

    Hi guys,
      Please help me, How to update partner function in PO.(Transaction ME23N),BAPI_PO_CHANGE is not updating this.it gives error like partner roles not change.

    DATA :  li_return         TYPE TABLE OF bapiret2 WITH HEADER LINE,
                 li_popartner    TYPE TABLE OF bapiekkop WITH HEADER LINE,
                 lv_error           TYPE  FLAG  .
    li_popartner-partnerdesc = X1.
      li_popartner-langu       = sy-langu.
      li_popartner-buspartno   = 'vendor1'.
      APPEND li_popartner.
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          purchaseorder = ebeln
        TABLES
          return        = li_return
          popartner     = li_popartner.
      LOOP AT li_return.
        WRITE / li_return-message.
    Check error
        IF li_return-type = lc_E OR li_return-type = lc_A.
          lv_error = 'X'.
        ENDIF.
      ENDLOOP.
      IF lv_error IS INITIAL.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
    Is there any config issues are there And also I am going to pass any values .
    HI,
      How to update the confirmation tab in PO item level.
    I write this code tell me i am going to pass any values or not.
    DATA:
        li_ekes               TYPE STANDARD TABLE OF uekes .
      CALL FUNCTION 'ME_CONFIRMATION_UPDATE'
                          EXPORTING
                            I_EBELN = lwa_z1confirmations-ebeln
                          TABLES
                            XEKES   = li_ekes.
                        IF sy-subrc EQ 0.
                        ENDIF.

  • How to update partner function in ME_PROCESS_PO_CUST

    Hi,
    does anyone know how to update the partner function in PO? transaction ME22N or ME21N.
    I have checked the BADI ME_PROCESS_PO_CUST and there is no way for me to set the partner.. there is a method get_partners but i didn't find a way to set it..
    I cannot just modify the table EKPA since when creating PO, there is no PO number yet.
    Can anyone help? Please.
    Thanks

    Hi Esaki,
    1) Define new field selection in configuration "Define screen layout at Document level"
    2) write code in fieldselection_item_refkeys as follow
    get item data
    if your condition
      ch_key0 = new field selection
    endif
    Hope it can help u.
    Grace

  • Short Dump 'ASSERTION_FAILED' during updating partner Functions

    Hi All,
    I am updating the Partner Functions for the Customers using FM 'SD_CUSTOMER_MAINTAIN_ALL' and passing the partner functions and numbers to the XKNVP structure.
    while running the program in am getting the short dump as ASSERTION_FAILED.
    Detailed Description:
    In the running application program, the ASSERT statement recognized a situation that should not have occurred.
    The runtime error was triggered for one of these reasons:
    - For the checkpoint group specified with the ASSERT statement, the   activation mode is set to "abort".
    - Via a system variant, the activation mode is globally set to "abort" for checkpoint groups in this system.
    - The activation mode is set to "abort" on program level.
    - The ASSERT statement is not assigned to any checkpoint group.
    The Dump is occuring in the method 'get_cvic_cust_to_bp1_line'.
    We have searched for a relevant SAP note but could not find any.
    can any one please help to solve this issue?
    Helpful answer will surely be rewarded.
    Thanks in Advance,
    Asif Ali Khan

    When you are (absolutely) sure you are using this function module in the correct way, only then opening a message for SAP is liable. However, most of the times this happens because not all (or all) parameters are not provided for the FM to work properly, or what ever reason that may be.
    It might be helpful to determine the checkpoint group and have a look at the log in transaction SAAB. This might give you a clue as to where the problems lies.

  • LSMW, CREMAS04, and updating Partner Functions

    I am involved with converting legacy data into SAP. To populate the SAP Vendor Master correctly will involve 3 passes using LSMW:
    Pass #1: use IDOC CREMAS04 and populate the majority of master record fields
    Pass #2: use BAPI: Business Object "BUS4001"; Method "SAVEREPLICA"; Message Type "ADRMAS"; Basic Type "ADRMAS03" to update Vendor record address data.
    Pass #3: use IDOC CREMAS04 and update Head Office, Alternate Payee, and related Partner Function data.
    The problem I am having is best explained using the following example:
    When a vendor record (ex: Vendor Number 300004) is first created, the following 3 Partner Functions are also created automatically to reference the same vendor number: OA, VN, & PI (Ordering Address, Vendor, & Invoicing Party):
    OA    Ordering Address    300004   Vendor A
    VN    Vendor                   300004   Vendor A
    PI      Invoicing Party        300004   Vendor A
    This particular vendor is actually one of many "plants" or "warehouses" of a larger vendor, and I need to configure the record to reflect that the Purchase Orders go to the Parent Vendor (Head office) and that the Invoice comes from the same source. Therefore, I need to remove or edit the existing OA and PI partner functions so that I only end up with the same 3 Partner Functions, but the linked vendor record for partner functions OA and PI needs to be that of Head Office.
    Example: if using Vendor Number 300005 "Head Office Vendor"
    OA    Ordering Address    300005   Vendor A
    VN    Vendor                   300004   Vendor A
    PI      Invoicing Party        300005   Vendor A
    What I am actually seeing when I post the IDOC is the following:
    OA    Ordering Address    300004   Vendor A
    OA    Ordering Address    300005   Vendor A
    VN    Vendor                   300004   Vendor A
    PI      Invoicing Party        300004   Vendor A
    PI      Invoicing Party        300005   Vendor A
    Can anyone shed some light on this?

    Don,
    I am trying to work with the same data that you discussed in this thread.  Can you send me some additional details on your Pass #2?  I was successful in Pass #1, particularly in adding new PI vendors when necessary and deleting the existing internally created PI vendors.  But I'm stuck on Pass #2 where I want to add the extended address information that you mention using the SAVEREPLICA BAPI.  I can certainly use the recording method, but would like to leverage the power of the BAPI approach.
    Thanks in advance!
    Wes

  • How to update partner functions in customer master

    Hi all,
    I want to update the partner functions for the customer master using transaction code XD02. I created the LSMW by means of recording but it doesn't work because the partner functions for the customer changes.
    for example , certain customers have shipto paty, sold to party , bill to party payer and forwarding agent. some customers wont have all the above mentioned category.they may have only ship to party, sold to paty & bill to party.
    Is there any other alternative way to update the partner functions for the customer. 
    Regards,
    A.Rathinaprakash

    Hi A.Rathinaprakash,
    Please use the FM 'SD_CUSTOMER_MAINTAIN_ALL' to maintain the partner functions in the customer.
    Pass the partner details in the TABLES parameter T_XKNVP.
    Regards
    Chetan

  • Updating partner function when creating customer XD01/XD02

    Hello all, I have the following requirement to do:
    When creating a customer for a certain account group in XD01/XD02, I need to update the partner functions associated to this customer.
    I have tried, the ENHACEMENT  SAPMF02D with function EXIT_SAPMF02D_001, but when changing table content T_KNVP, this content is not taken into account and the values are not stored in DB.
    I have tried too BADI's CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CS, but the content of T_KNVP in CUSTOMER_ADD_DATA cannot be changed.
    I would like to avoid BTE's for now.
    Can someone give me a hand on this?
    Thanks in advance!

    Solution: BAPI CUSTOMER_UPDATE

  • 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

  • Update partner function before saving Customer (XD01/XD02)

    Hello Experts,
           I need to update my partner function table in Sales Area Data of Customer Master (XD01/XD02)
    before saving the customer. Is there any exit where I can do that.
           I tried using Enhancement SAPMF02D. Exit - EXIT_SAPMF02D_001. Where I modified the table T_KNVP. But, it again defaults to its original value.
    Any help is appreaciated.
    Regards,
    DNP

    I rephrase the question -
    I can do an update after a Customer is created but is it possible to trigger a program everytime after a Customer(XD01/XD02) is being created.
    Regards,
    DNP

  • BAPI_EQUI_CHANGE - Update Partner Function

    Hello,
    We are trying to update equipment partner function by using BAPI_EQUI_CHANGE, but its not happening.
    Please provide your valuable inputs on this.
    Thanks,
    Amit.

    Hi,
    I think these will work for your scenario,
    BAPI_BPCONTACT_CHANGE
    SD_SALES_PARTNER_MAINTAIN.
    Regards,
    Ravi shankar

  • Update partner function using DEBMAS06

    Hi
    I am using DEBMAS06 to add partner to partner function of  a customer. As I need to update only the partners i am passing partner no and partner function to e1knvpm segment.
    But the Idoc actually tries to delete the existing partners of the customer.
    I just want to add a new partner.

    no1 answered

  • How to update Partner function tab in ME21N Transaction

    Dear Guru's,
    I have a requirement to call a selection screen in ME21N transaction which will show list of vendors available. the selected vendor in the selection screen should be updated with parnter function 'CR' in the Parnter function tab of ME21N Transaction and EKPA table also.
    Thanks & Regards,
    Sridhar R Perumalla.

    Hi,
    Use the function module MM_UPDATE_PARTNERS  for updation ....and wite the code in ME_PROCESS_PO_CUST badi in process_header method...
    in PROCESS_HEADER method use GET_DATA to get the entered vendor number in PO.
    Thanks,
    Shailaja Ainala.

  • Problem in Update PO Function module in SRM

    Hi all,
    I am updating the existing PO with the Function Module 'bbp_po_app_update_po' in SRM system.When i execute this in my program , I am not getting any errors.
    After this function module call, I committed using 'Commit work and wait'. But my records are not updated. This function module Contains ''BBP_PD_PO_UPDATE''
    function module. It returns the value e_changed = 'X'. But records not updated in table. Please Advice.

    Hi
    I have built a FM to update the PO with a new line item I am getting the same error "update was terminated" when I executed this FM. I am giving here the code can you suggest something.
    FUNCTION Z_ADD_CR_TO_PO.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(CR_NUMBER) TYPE  CRMT_OBJECT_ID_DB
    *"  TABLES
    *"      MESSAGES STRUCTURE  BBP_PDS_MESSAGES
    DATA: lv_text(80)     TYPE c.
    DATA: ls_header_d     LIKE bbp_pds_po_header_d,
          lt_item_d       LIKE bbp_pds_po_item_d OCCURS 0 WITH HEADER LINE,
          lt_account_d    LIKE bbp_pds_acc OCCURS 0 WITH HEADER LINE,
          lt_partner_d    LIKE bbp_pds_partner OCCURS 0 WITH HEADER LINE,
          lt_orgdata_d    LIKE bbp_pds_org OCCURS 0 WITH HEADER LINE,
          lt_status       like   bbp_pds_status occurs 0 with header line ,
          wa_status       type bbp_pds_status,
          new_item_data       LIKE bbp_pds_po_item_d  ,
          new_account_data    LIKE bbp_pds_acc ,
          new_partner_data    LIKE bbp_pds_partner ,
          new_orgdata_data    LIKE bbp_pds_org,
          new_longtext_data   LIKE bbp_pds_longtext,
          new_tax_data        LIKE bbp_pds_tax,
          ls_header_c     LIKE bbp_pds_po_header_ic,
          lt_item_c       LIKE bbp_pds_po_item_icu OCCURS 0 WITH HEADER LINE,
          lt_account_c    LIKE bbp_pds_acc OCCURS 0 WITH HEADER LINE,
          lt_partner_c    LIKE bbp_pds_partner OCCURS 0 WITH HEADER LINE,
          lt_orgdata_c    LIKE bbp_pds_org OCCURS 0 WITH HEADER LINE,
          lt_messages     LIKE bbp_pds_messages OCCURS 0,
          lv_counter      TYPE i,
          lt_longtext_d   LIKE bbp_pds_longtext OCCURS 0 WITH HEADER LINE,
          lt_longtext_c   LIKE bbp_pds_longtext  OCCURS 0 WITH HEADER LINE,
          ls_new_header   LIKE bbp_pds_po_header_d,
          lt_tax like bbp_pds_tax occurs 0 with header line,
          lt_tax_c like bbp_pds_tax occurs 0 with header line,
          changed type c,
          newpoheader type BBP_PDS_PO_HEADER_D.
    DAtA :   new_item_guid type crmd_orderadm_i-guid,
              lin type i,
              new_number type i.
    tables : crm_jest.
    data : status_table type crm_jest occurs 0 with header line,
            original_status like   bbp_pds_status occurs 0 with header line.
    data : wa_req_details like zchg_req_details.
    data:   no_items(4)  .
    data : lineno(4).
    IF sy-batch = 'X'.
      MESSAGE i088(sf) WITH 'Beginn des Performancetests'(102).
    ENDIF.
    CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
      EXPORTING
        i_object_id       = cr_number
        i_attach_with_doc = ' '
        i_with_itemdata   = 'X'
        i_read_be_data    = ' '
      IMPORTING
        e_header          = ls_header_d
      TABLES
        e_item            = lt_item_d
        e_account         = lt_account_d
        e_partner         = lt_partner_d
        e_longtext        = lt_longtext_d
        e_orgdata         = lt_orgdata_d
        e_status          = lt_status
        e_tax             = lt_tax.
    IF sy-batch = 'X'.
      MESSAGE i088(sf) WITH 'GetDetail abgeschlossen'(105).
    ENDIF.
    original_status[] = lt_status[].
    describe table lt_status lines  lineno.
    *preapring header data....
    *Header Data ...
    MOVE ls_header_d TO ls_header_c.
    *CLEAR ls_header_c-object_id.
    *MOVE 'A' TO ls_header_c-guid.
    CONCATENATE 'Kopie von PO '(099) ' mit '(101) no_items ' Positionen'(100)
                INTO ls_header_c-description  .
    LOOP AT lt_partner_d WHERE p_guid = ls_header_d-guid.
      MOVE-CORRESPONDING lt_partner_d TO lt_partner_c.
      lt_partner_c-p_guid = ls_header_c-guid.
    *  CLEAR lt_partner_c-partner_guid.
      APPEND lt_partner_c.
    ENDLOOP.
    LOOP AT lt_orgdata_d WHERE p_guid = ls_header_d-guid.
      MOVE-CORRESPONDING lt_orgdata_d TO lt_orgdata_c.
    *  CLEAR lt_orgdata_c-guid.
      lt_orgdata_c-p_guid = ls_header_c-guid.
      APPEND lt_orgdata_c.
    ENDLOOP.
    LOOP AT lt_longtext_d WHERE guid = ls_header_d-guid.
      MOVE-CORRESPONDING lt_longtext_d TO lt_longtext_c.
    *  CLEAR lt_orgdata_c-guid.
      lt_longtext_c-guid = ls_header_c-guid.
      APPEND lt_longtext_c.
    ENDLOOP.
    DATA: ls_header_u TYPE  bbp_pds_po_header_u .
    MOVE-CORRESPONDING ls_header_c TO ls_new_header.
    MOVE-CORRESPONDING ls_new_header TO ls_header_u.
    ls_header_u-be_log_system = 'ESAPD12125'.
    loop at lt_status.
    status_table-objnr = lt_status-p_guid.
    status_table-stat = lt_status-stat.
    status_table-inact = lt_status-inact.
    modify crm_jest from status_table.
    endloop.
    * Item data ...
    * Fill the new item into item table
    describe table lt_item_d lines lin.
    new_number = lin + 1.
    CALL FUNCTION 'GUID_CREATE'
    IMPORTING
       EV_GUID_16       = new_item_guid.
    new_item_data-guid = new_item_guid.
    new_item_data-number_int = new_number.
    *move ls_header_u-guid to new_item_data-parent.
    new_item_data-description = 'test item'.
    new_item_data-category_id = lt_item_d-category_id.
    new_item_data-quantity = '2'.
    new_item_data-unit = lt_item_d-unit.
    new_item_data-subtype = lt_item_d-subtype.
    new_item_data-price = '10'.
    new_item_data-price_unit = lt_item_d-price_unit.
    new_item_data-deliv_date = sy-datum.
    new_item_data-product_type = lt_item_d-product_type.
    new_item_data-gross_price = '10'.
    *new_item_data-be_obj_item = new_number.
    new_item_data-be_object_type = lt_item_d-be_object_type.
    new_item_data-be_object_id = lt_item_d-be_object_id.
    new_item_data-be_plant = lt_item_d-be_plant.
    new_item_data-be_pur_group = lt_item_d-be_pur_group.
    new_item_data-be_pur_org = lt_item_d-be_pur_org.
    new_item_data-be_co_code = lt_item_d-be_co_code.
    new_item_data-be_doc_type = lt_item_d-be_doc_type.
    new_item_data-be_log_system = 'ESAPD12125'.
    new_item_data-src_object_type = 'ZBUS9000'.
    append  new_item_data to lt_item_d.
    *filling partner data for the new item.
    loop at lt_partner_d where p_guid = lt_item_d-guid.
    move-corresponding lt_partner_d to new_partner_data.
    clear new_partner_data-p_guid.
    clear new_partner_data-partner_guid.
    move new_item_guid to new_partner_data-p_guid.
    append new_partner_data to lt_partner_d.
    clear new_partner_data.
    endloop.
    *filling the account data for the new item.
    new_account_data-p_guid = new_item_guid.
    new_account_data-distr_perc = '100'.
    new_account_data-acc_no = '0001'.
    new_account_data-acc_cat = 'NET'.
    *new_account_data-g_l_acct = wa_req_details-gl_account.
    *new_account_data-network = wa_req_details-acc_number.
    new_account_data-g_l_acct = '0000402611'.
    new_account_data-network = '000090001903'.
    new_account_data-activity = '0010'.
    new_account_data-co_area = '1000'.
    append new_account_data to lt_account_d.
    *filling the tax data
    new_tax_data-p_guid = new_item_guid.
    new_tax_data-tax_code = 'U1'.
    new_tax_data-tax_code_origin = 'F'.
    new_tax_data-currency = 'USD'.
    append new_tax_data to lt_tax.
    *filling Org data for the new item.
    loop at lt_orgdata_d where p_guid = lt_item_d-guid.
    move-corresponding lt_orgdata_d to new_orgdata_data.
    clear new_orgdata_data-p_guid.
    clear new_orgdata_data-guid.
    move new_item_guid to new_orgdata_data-p_guid.
    append new_orgdata_data to lt_orgdata_d.
    clear new_orgdata_data.
    endloop.
    no_items = new_number.
    *updation of data to new tables.
    loop at lt_item_d.
    lv_counter = lv_counter + 1.
    MOVE-CORRESPONDING lt_item_d TO lt_item_c.
    MOVE ls_header_u-guid TO lt_item_c-parent.
    append lt_item_c.
      LOOP AT lt_partner_d WHERE p_guid = lt_item_d-guid.
        MOVE-CORRESPONDING lt_partner_d TO lt_partner_c.
    *    CLEAR: lt_partner_c-partner_guid.
        MOVE lt_item_c-guid TO lt_partner_c-p_guid.
        APPEND lt_partner_c.
      ENDLOOP.
      LOOP AT lt_account_d WHERE p_guid = lt_item_d-guid.
        MOVE-CORRESPONDING lt_account_d TO lt_account_c.
    *    CLEAR lt_account_c-guid.
        MOVE lt_item_c-guid TO lt_account_c-p_guid.
        APPEND lt_account_c.
      ENDLOOP.
      LOOP AT lt_orgdata_d WHERE p_guid = lt_item_d-guid.
        MOVE-CORRESPONDING lt_orgdata_d TO lt_orgdata_c.
    *    CLEAR lt_orgdata_c-guid.
        MOVE lt_item_c-guid TO lt_orgdata_c-p_guid.
        APPEND lt_orgdata_c.
      ENDLOOP.
      LOOP AT lt_longtext_d WHERE guid = lt_item_d-guid.
        MOVE-CORRESPONDING lt_longtext_d TO lt_longtext_c.
    *    CLEAR lt_orgdata_c-guid.
        lt_longtext_c-guid = lt_item_c-guid.
        APPEND lt_longtext_c.
      ENDLOOP.
        LOOP AT lt_tax WHERE p_guid = lt_item_d-guid.
        MOVE-CORRESPONDING lt_tax TO lt_tax_c.
    *    CLEAR lt_orgdata_c-guid.
       MOVE lt_item_c-guid TO lt_tax_c-p_guid.
        APPEND lt_tax_c.
      ENDLOOP.
    *endif.
    endloop.
    *ENDDO.
    CALL FUNCTION 'BBP_PD_PO_UPDATE'
      EXPORTING
        i_park     = 'X'
        i_header   = ls_header_u
      IMPORTING
        E_CHANGED  = changed
        ES_HEADER  = newpoheader
      TABLES
        i_item     = lt_item_c
        i_account  = lt_account_c
        i_partner  = lt_partner_c
        i_longtext = lt_longtext_c
        i_orgdata  = lt_orgdata_c
        e_messages = lt_messages
        i_tax      = lt_tax_c.
    messages[] = lt_messages[].
    *CALL FUNCTION 'BBP_PD_PO_SAVE'.
    CALL FUNCTION 'BBP_PD_PO_SAVE'
    EXPORTING
    **   IV_WORKITEM_ID               =
    **   IV_USERTYPE                  =
       IV_HEADER_GUID               = newpoheader-guid.
    * IV_CREATE_HIST_VERSION       = 'X'.
    CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.
    commit work and wait.
    ENDFUNCTION.

  • Various Photoshop problems (streaks, updates, zoom function)

    Hello there,
    since i switched from Mac to PC, i am encountering various Problems with my Version of Photoshop CS6.
    I am working on a i7 Mac, 32 GB Ram, Asus Sabertooth x79 Board and a GeForce 660 Card.
    Rightnow the biggest problem i am experiencing is this one:
    This is what pictures randomly look like when i am reopening them after saving.
    I have no idea where this comes from. Its happing with Pictures i shot with my Leica S2 and my Nikon D800E.
    Second Problem (no longer a porblem, got this one fixed):
    I am not able to update Photoshop
    Error code: U44M2P7
    Third Problem:
    Once i am using the magnifier in Photoshop the pictures window will resize. This can be pretty annoying. I have both options turned off, means it should not resize. Its working perfectly on my iMac.
    Thanks for helping,
    Nick

    Yes, you can get similar patterns from RAM or VRAM failures.
    If other applications that use OpenGL show similar problems, then you may need to replace the video card or RAM.
    IIRC that update error is because the updater can't find some components - as if they'd been deleted or moved since Photoshop was installed.  The usual solution to that is to reinstall 13.0 then reapply the updates.
    (and yes, I wish the updater/installer provided more useful error messages)

Maybe you are looking for

  • Need Help about Certificate based Authentication

    Hi friends.. Currently, i'm trying to develop an applet that using Certificate Based Authentication.. i have looked at this thread : http://forums.sun.com/thread.jspa?threadID=5433603 these is what Safarmer says about steps to generate CSR : 0. Gener

  • Lockbox Issue with payment on exact day as Cash Discount Days 1 Due Date

    Dear Gurus We are running into an issue in as much as when we receive a payment against our Lockbox on the exact day as the Cash Discount Days 1 due date the system posts this as an on account posting as opposed to applying the cash against the open

  • Issue Using CreateInsert to Add Row to ADF Table

    I am using JDev 11.1.2 and have a pretty simple application. The application contains tabs and each tab displays a page fragment. In each page fragment, I have a panelstretch layout. In the top facet I have a form and in the center facet I have a tab

  • Retrieving full serial number

    I am trying to retrieve the full serial number on a SLS install. The serveradmin tool stars out the last 4 digits, and when try and get it via the command line serveradmin fullstatus info I get the same info.. is there another way to get the full ser

  • Must restart my computer each time I edit / merge an HDR photo in Photoshop CC...  Why is this?  Is there a fix?

    In Lightroom 5 I highlight 3 to 5 photos, right click, click "merge to HDR in Photoshop".  Photoshop launches & merges the photos.  When I save it, it's imported to my library in Lightroom ready to be edited.  In order to repeat this process for a se