Update partner in transaction iw22

hi all,
i have a bapi that should update the partner in trans.iw22
BAPI_ALM_NOTIF_DATA_MODIFY and it not work.
i filled: number,
notifpartner-partn_role = z1
notifpartner-partn_role_old = z1
notifpartner-partner = I053469300
notifpartner-partner_old = I053469300
notifpartner-partn_role = x
notifpartner-partn_role_old = x
notifpartner-partner = x
notifpartner-partner_old = x
and than use trans.commit.
is anyone know why not working?
thanks in advanced,
dana.

Did you save the changes using 'BAPI_ALM_NOTIF_SAVE'  before committing ?
If not, please do.
MODIFY
SAVE
COMMIT
Regards,
Srihari

Similar Messages

  • Unable to update Partner Unit in Eccs with Trading Partner from FI

    Hi,
    I had removed the Breakdown category from the FS item Master (CX14) for a reco Acct by mistake .Now when i update the master table in CX14 with the same Break down Category(0110 - Partner Unit (break down Type-4) + Translation Currency (break down type -2)) the sytem than gives a pop up window showing the "Report for Transaction Check" where it asks for the Default Value of Partner Unit to be entered.Once i maintain the default value of partner unit all the document for the reco account gets updated with default Partner unit.However in FI module each of the documents posted for this account have diffrent Trading Partner due to which im unable to do the Interunit Elimination.
    Kindly let me know how do i update Partner unit in all the documents in Consolidation with the trading Partner from FI module.
    thanks
    Karan

    Once i maintain the default value of partner unit all the document for the reco account gets updated
    this system behavior makes sense as you are trying to change configuration after loading transaction data. what happens if you go back to the underlying accounts and change TP back to what FI is showing? if u have to deal with a lot of documents u may want to set up a BDC session to do the mass update.

  • 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.

  • 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?

  • Error in creating business partner through transaction FPP1 in ECC6.0

    HI,
    We have upgraded our system from 4.7E to ECC6.0.Now when we are trying to create business partner through transaction FPP1 we are getting error as " Exception condition "NO_ACTIVE_TAB" raised."
    Can any one help us in rectifying the error and tell us the possible causes of error.. .??
    Regards,
    Shruti Singh

    Hello,
    Notes  696189 & 618123 may be of some help to you....:)
    Regards
    Olivia

  • No system assigned for partner in transaction DPCOMMON_MAP_P_S ( Dealer Portal)

    Hello all,
    Sorry to post a very basic question, but I am quite new to Dealer Portal and SD functional module. Request to help.
    I have deployed spare part business package on portal. BP documentaion link. http://help.sap.com/erp2005_ehp_04/helpdata/EN/c3/f71b9a69574d6c84ac33b68d2d03c3/frameset.htm
    I have configured as per the steps mentioned in the link below,but still facing issues..
    http://help.sap.com/erp2005_ehp_05/helpdata/en/e6/e58079420c4b7e87df4f9c3db04719/content.htm?frameset=/en/e6/e58079420c4b7e87df4f9c3db04719/frameset.htm
    As per the above link,below are the steps done.
    I have created logical system and assigned to RFC destination using transaction DPCOMMON_MAP_S_R.
    Then assigned the logical system created at the above step to partner, through transaction DPCOMMON_MAP_P_S
    And lastly also assigned users to partners through transaction DPCOMMON_MAP_U_P.
    However I am getting below errors when initial overview screen is accessed,I think there are some configurations missing.. Any help is appreciated.
    Personalization data not found.
    No system assigned for partner in transaction DPCOMMON_MAP_P_S
    Thanks
    San

    Issue is resolved.
    For the RFC destination , log on security tab. Ensure current user is ticked and no hard coded user id being passed here.
    Also ensure the personalization data is saved properly by navigating to personalization iview.

  • Update termination in Transaction ME9F

    Hello MM Guru’s,
    I would like to inform you that we are observing update termination in transaction ME9F for a particular user repeatedly in production environment.
    Error in Functional Module: RV_MESSAGE_UPDATE
    Error Message: WHT type Z4 missing in vendor master XXXXXXXX
    When I check in vendor master data Indicator for withholding tax type Z4 already maintained.
    It was strange why when users execute transaction ME9F the above updates terminate happens in the system.
    I got a similar issue earlier where at that time Indicator for withholding tax type not maintained in vendor master data and I have informed business to maintain and re execute the transaction ME9F.
    Request you to help me on this issue as I said this is a repeated one which is occurring for a particular user and I need to fix it by taking your valuable input.
    Revert back in case you need any information required from my end.
    Cheers,
    Kumar S

    Hello Bijay
    I was asking you about my analysis (2 different users access ME9F for the same PO) done along with ABAPer whether its correct or not.
    In your earlier response you have not responded to my analysis instead you are replying me that experts cant access my system.
    I very well understand that our Experts cant access my system but they are always helping me for my all issues with their valuable input.
    We just wanted to know whether we are deviating from the issue in this case.
    I have also checked what other experts like Jurgen/AKPT & Mallinath suggested me and the analysis given below,
    To inform experts that we never use custom print program and we are using standard SAPFM06P print program.But the layout is custom according to our business requirement.
    Let me know still you need any clarification from my end.
    Regards,
    Kumar.S

  • How to update the FB01L transaction using the FM  bapi_acc_document_post

    Hi All,
            How to update the FB01L transaction using the bapi_acc_document_post but there is no ledger group field in the bapi function module.
    Please help me how to do it.

    hi,
    use batch input method for the same.
    check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=19107237&messageID=884744]

  • Not updating  partner Emp Resp through CRM_PARTNER_MAINTAIN_SINGLE_OW

    Hi friends,
    I am facing a problem i'm not able to update Partner employee responsible through CRM_PARTNER_MAINTAIN_SINGLE_OW.
    If you have faced this situation earlier please help.
            CLEAR LS_PARTNER_COM.
              LS_PARTNER_COM-REF_GUID = WA_CRMD_ORDERADM_H-GUID.
              LS_PARTNER_COM-REF_HANDLE = '00000000001'.
              LS_PARTNER_COM-REF_KIND = 'A'.
              LS_PARTNER_COM-REF_PARTNER_HANDLE = '0000'.
              LS_PARTNER_COM-PARTNER_FCT = '00000014'.
              LS_PARTNER_COM-PARTNER_NO =  WA_INPUT_PC-EMP_RESP.
              LS_PARTNER_COM-DISPLAY_TYPE = 'BP'.
              LS_PARTNER_COM-NO_TYPE = 'BP'.
              LS_PARTNER_COM-MAINPARTNER = 'X'.
              APPEND LS_PARTNER_COM.
              CLEAR LT_INPUT_FIELD_NAMES.
              LT_INPUT_FIELD_NAMES-FIELDNAME = 'DISPLAY_TYPE'.
              LT_INPUT_FIELD_NAMES-CHANGEABLE = 'X'.
              APPEND LT_INPUT_FIELD_NAMES.
              CLEAR LT_INPUT_FIELD_NAMES.
              CLEAR LT_INPUT_FIELD_NAMES.
              LT_INPUT_FIELD_NAMES-FIELDNAME = 'KIND_OF_ENTRY'.
              LT_INPUT_FIELD_NAMES-CHANGEABLE = 'X'.
              APPEND LT_INPUT_FIELD_NAMES.
              CLEAR LT_INPUT_FIELD_NAMES.
              CLEAR LT_INPUT_FIELD_NAMES.
              LT_INPUT_FIELD_NAMES-FIELDNAME = 'NO_TYPE'.
              LT_INPUT_FIELD_NAMES-CHANGEABLE = 'X'.
              APPEND LT_INPUT_FIELD_NAMES.
              CLEAR LT_INPUT_FIELD_NAMES.
              CLEAR LT_INPUT_FIELD_NAMES.
              LT_INPUT_FIELD_NAMES-FIELDNAME = 'PARTNER_NO'.
              LT_INPUT_FIELD_NAMES-CHANGEABLE = 'X'.
              APPEND LT_INPUT_FIELD_NAMES.
              CLEAR LT_INPUT_FIELD_NAMES.
              CALL FUNCTION 'CRM_PARTNER_MAINTAIN_SINGLE_OW'
                EXPORTING
                  IV_REF_GUID          = LS_PARTNER_COM-REF_GUID
                  IV_REF_KIND          = LS_PARTNER_COM-REF_KIND
                  IS_PARTNER_COM       = LS_PARTNER_COM
                CHANGING
                  CT_INPUT_FIELD_NAMES = LT_INPUT_FIELD_NAMES[].
    Regrds,
    Navin
    Edited by: navin.c on Jun 8, 2010 1:53 PM

    HI Vikash,
    I tried this solution , still its not wrking. Have a doubt in your code
    How come you are passing partner guid in partner no field.
    it will throw an dump if size does not match.i placed a brkpoint in CRM_PARTNER_MAINTAIN_SINGLE_OW and passed the values as much as possible to original but still not able to crack.
    Anyways i'm pasting my code snippet for your reference please mention if im missing some key data.
      CLEAR LS_PARTNER_COM.
                LS_PARTNER_COM-REF_GUID = WA_CRMD_ORDERADM_H-GUID.
                LS_PARTNER_COM-REF_HANDLE = '00000000000'.
                LS_PARTNER_COM-REF_KIND = 'A'.
                LS_PARTNER_COM-REF_PARTNER_HANDLE = '0000'.
                LS_PARTNER_COM-REF_NO_TYPE = 'BP'.
                LS_PARTNER_COM-REF_DISPLAY_TYPE = 'BP'.
                LS_PARTNER_COM-PARTNER_GUID = WA_PARTNERGUID.
                LS_PARTNER_COM-PARTNER_FCT = '00000014'.
                LS_PARTNER_COM-PARTNER_NO =  WA_INPUT_PC-EMP_RESP.
                LS_PARTNER_COM-KIND_OF_ENTRY = 'C'.
                LS_PARTNER_COM-DISPLAY_TYPE = 'BP'.
                LS_PARTNER_COM-NO_TYPE = 'BP'.
                LS_PARTNER_COM-MAINPARTNER = 'X'.
                APPEND LS_PARTNER_COM.
                CLEAR LS_PARTNER_COM.
                CLEAR LT_INPUT_FIELD_NAMES.
                LT_INPUT_FIELD_NAMES-FIELDNAME = 'DISPLAY_TYPE'.
                APPEND LT_INPUT_FIELD_NAMES.
                CLEAR LT_INPUT_FIELD_NAMES.
                CLEAR LT_INPUT_FIELD_NAMES.
                LT_INPUT_FIELD_NAMES-FIELDNAME = 'KIND_OF_ENTRY'.
                APPEND LT_INPUT_FIELD_NAMES.
                CLEAR LT_INPUT_FIELD_NAMES.
                CLEAR LT_INPUT_FIELD_NAMES.
                LT_INPUT_FIELD_NAMES-FIELDNAME = 'NO_TYPE'.
                APPEND LT_INPUT_FIELD_NAMES.
                CLEAR LT_INPUT_FIELD_NAMES.
                CLEAR LT_INPUT_FIELD_NAMES.
                LT_INPUT_FIELD_NAMES-FIELDNAME = 'PARTNER_NO'.
                APPEND LT_INPUT_FIELD_NAMES.
                CLEAR LT_INPUT_FIELD_NAMES.
              CALL FUNCTION 'CRM_PARTNER_MAINTAIN_SINGLE_OW'
                  EXPORTING
                    IV_REF_GUID          = LS_PARTNER_COM-REF_GUID
                    IV_REF_KIND          = LS_PARTNER_COM-REF_KIND
                    IS_PARTNER_COM       = LS_PARTNER_COM
                    IV_POPULATE_MODE     = ' '
                  CHANGING
                    CT_INPUT_FIELD_NAMES = LT_INPUT_FIELD_NAMES[]
                  EXCEPTIONS
                    OTHERS               = 1.
    Regards,
    Navin

  • Add new fields in SAP transaction IW22

    Hello,
    I want to add 2 new fields in SAP standard transaction IW22. I checked the package for this transaction and it is IWOC. I searched the exits for package IWOC but was not able to find any screen exits for it.
    Kindly help me on how I should proceed with it.
    Regards,
    Parag

    Please check these
    User exit/ Business Add-in              Description
    User exit
    IWO10026                                User check on setting status 'Do not perform'
    IWO10027                                User exit: Generate user-defined settlement rule
    IWOC0001                                Create PM/SM notification: Determine reference object
    IWOC0002                                PM/SM notification: Check whether status change is allowed
    IWOC0003                                PM/SM authorization check of ref. object and planner group
    IWOC0004                                Change single-level list editing PM/QM/SM ALV settings
    Business Add-in
    IQS_MASS_CHANGE                         BadI for Mass Changes to Notifications
    IQS0_STATUS_MAINTAIN                    Control of Changeability of User Status
    NOTIF_AUTHORITY_01                      Additional Authorization Checks for the Notification
    WOC_FL_DETERMINE                        Determine Date for Determining Installation Loc. Equi.
    IWOC_OBJECTINFO_CHNG                    Changes to Data of Object Info Screen
    IWOC_LIST_TUNING                        Performance Tuning for Lists in PM/CS
    IWO1_SUBSCREEN_0170                     Display Additional Data on Object Screen 0170 PhysicalSample

  • Can we rollback the update query using Transaction?

    Can we rollback the Update query by writing the update query with in the transaction, as i am implementing different update queries, sometimes I am mistakenly updating the table without where criteria, which is messing up the table. Is there anyway where
    we can write the update query within a transaction and rollback that particular update query which I am writing. I do have a backup table, but that wont be useful because we are doing lot of updates in a span of minutes. I researches about Apex Sql logs too,
    but we do not have access to download such tools. So, can anyone give me a good solution for this?

    Sure, if you use transaction like this
    begin transaction
    update 1
    update 2
    rollback transaction
    both updates will be rollbacked.
    If you want to always be sure about rows you're about to change, always first try with SELECT statement and put each individual UPDATE into separate transaction with rollback at the end, e.g.
    begin transaction
       select ... where some condition
       update . where same condition
       select ... where same condition to verify update
    rollback transaction
    If your last select showed correct info, change ROLLBACK into COMMIT and re-run that script again to perform the actual update.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Is there any standard BAPI to update the standard transaction GS03 ?

    Is there any standard BAPI to update the standard transaction GS03 ?
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Jun 16, 2011 2:02 PM

    hi,
    I think this link will help you to find that.
    list of all bapis:
    http://www.planetsap.com/LIST_ALL_BAPIs.htm

  • Problem in executing update after rollback transaction

    Hi all
    I am using type4 driver oracle9i ,Stateless session Beans CMP. Problem is: after doing rollback i am trying to execute an update query on same id which was rolled back.System is not able to do the same.
    Manmeet

    got the solution.
    cannot rollback and do update in a transaction.

  • Modifications in field LONG TEXT in transaction IW22

    Hello friends!
    I have the following problem:
    I need to allow modifications in field LONG TEXT in transaction IW22 until the notification is realeased, the thing is that this field gets inactive and it doesn't accept further modifications, can anybody help me??
    Thanks in advance,
    Frinee

    Peculiar - I was just looking at this (for a different problem). Look at OSS note #876698.
    Rob

  • Applying mx kollection form validation wwithout using mx kollection insert or update or del transaction

    Is there a way to use the validate form without using the mx
    kollection insert or update or delete transaction, and use the
    default dreamweaver insert server behavior.

    short answer : no, MX Kollection´s (also applies to
    ADDT) form validation routines will only work for forms which have
    been generated with MX Kollection/ADDT
    >>
    and use the default dreamweaver insert server behavior.
    >>
    but if you´re going to insert a record anyway, you can
    as well use Kollection´s "Insert Record Form Wizard" to create
    that form for you, which in turn does provide the required
    validations.

Maybe you are looking for

  • BAPI_GOODS_MVMT_CREATE - for MIGO 101 movmt type with serial no on Delivery

    Dear Gurus, Scenario We have to transfer serialized Material from one plant to another via STO ST order --> Delivery --> PGI (with Serial Number) --> MIGO at recieving plant. For MIGO (101) movement we want to use BAPI_GOODSMVT_CREATE. Now we have tr

  • AVCHD/ MTS FILES ARE NOT SEPARATED IN CLIPS

    Adobe Premiere Elements 7 : I have clips from my AVCHD camera on my harddisk. I see the clips and I can drag them to the sceneline. However............every clip I drag to the sceneline is 'stagged' on to the first one! I donn't see the separate clip

  • Full screen video playback issue

    I'm using a dual monitor setup and watch a lot of live video streams on the secondary while running other programs. When the video is playing full screen I can normally click around in other windows/programs without the video switching to windowed mo

  • Passing the dynamic internal tables to the calling program

    Hello, From my user exit USEREXIT_MOVE_FIELD_TO_VBAP in program MV45AFZZ I am calling a routine to build dynamically an internal table. I get A DUMP in the perform statement. Please see below. *FORM USEREXIT_MOVE_FIELD_TO_VBAP.* *Global declarations

  • I cannot enter any letter of the serial number (just numbers). The num lock is not the problem.

    Dear all, as one of the installation steps I have been asked to enter my serial number. The problem is that my serial number has letters (not just numbers) as part of it. I cannot continue with the installation. Probably someone can help me. Regards