How to update partner in SRM ?

Hi expert,
i have a requirement for updating the requester field in the shopping cart.
Can u all please help me out on this.
If some program code u have please send me ..
Regards,
Rahul

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.

Similar Messages

  • 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

  • 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

  • How to update partner data in shopping cart ?

    Hi expert,
    My requirement is to update the requester field in the Shopping Cart with another requester as well as some other CUF field. Through BBP_PD_SC_UPDATE i am able to update the CUF item fields but i am unable to update the business partner.
    please help, its urgently...
    regards,
    Rahul

    use the BAPI
    'BAPI_BUPA_ADDRESS_CHANGE'.
    it works
    regards
    Giridhar

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

  • How to update multiple calling hours based on business partner

    Hi All,
    please help me in this issue : how to update multiple calling hours based on business partner in SAP CRM.
    Regards,
    Siva kumar.

    Check maintainance view V_TB49, add new scheduling type.

  • How can I know the GUID number of the business partner in SRM server?*

    hai friends
    How can I know the GUID number of the business partner in SRM server?
    regards
    vinaykrishna

    Hi,
    Go to transaction SE16, table BUT000... put in the number of Business Parnet and execute. Doble click in the line and you'll see the field PARTNER GUID with the number GUID.
    Rgs,
    Pedro Marques

  • How to update Factory Calendar in SRM

    Do we need to have Factory Calendar updated in SRM as currently it shows valid to 2010?
    My understanding is that this is only for ECC. What is Factory Calendar used for in SRM? How do I update/ extend it?

    Hi Jagdish, How are you? I'm sorry to trouble you,
                   Let me introduce, I'm Daniel, and I saw your fantastic asnwer in
    the topic "How to update Factory Calendar in SRM", and might I have the same
    problem. It's with the "factory calendar".
    In transaction va02 when I choose a Delivery Date, and I sent it to process, as
    a result in the "shipping tab" it calculated to the first item one date, and to
    the rest one date different.  I don't know What it happen?
    I debugged the program and I saw that to the first item use to calculate the
    date is the function  'APO_SCHEDULING', and to the rest item use
    'SD_SCHEDULING', and until here I come.
    How can I do to what the dates calculated are the same? or What would be the problem?
    I need the dates calculated are equal.
    I looked at it's using two "factory calendar" which are "J4" and "C2". Is this
    correct?
    Thanks In Advance,
    My best regards,

  • 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 field in table FAGLFLEXA/FAGLFLEXT

    Hi Gurus,
         we are stay in ECC 5.00. The new g/l have activated but we have not assigned the relevant scenario to the ledger (Refer note no 990612)
         now we have assinged following field:
         FIN_CCA: RCNTR (Cost center), SCNTR (Sender cost center)
         FIN_CONS: RASSC (Trading partner), RMVCT (Transaction Type)
         FIN_GSBER: RBUSA (Business area), SBUSA (Trading partner's business area)
         FIN_PCA: PRCTR (Profit Center), PPRCTR (Partner Profit Ctr)
         FIN_SEGM: SEGMENT (Segment), PSEGMENT (Partner segment)
         FIN_UKV: RFAREA (Functional Area), SFAREA (Partner Functional Area)
         our problem is the data was posted before that does not update fields in table FAGLFLEXA/FAGLFLEXT,How to update field in table FAGLFLEXA/FAGLFLEXT?
    Thanks,

    Hello Jenjira,
    Since this was a question asked few years back, I think you can share your experience with activation of a Scenario subsequent to Go-Live of new GL functionality (We are contemplating activation of one more scenario for Functional Area updation in new GL. 4 update scenarios were activated at time of New GL Implementation 4 years ago).
    Please share following:
    1. Impact of this subsequent activation on Open documents in the live system.
    2. How you addressed the issues arising on Point 1.
    3. Any support that you got from SAP Support Team on issues thereof.
    Any inputs will be of great help.

  • 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

  • How the business partner data is created in  EB

    Hi
    How the business partner data is created in EB ( SRM).
    thanks
    sankar

    Hi,
    I imagine you would like to synchronize business partner data, which are created in backend, into SRM.
    you can use Tcode BBPGETVD or BBPUPDVD or run/schedule  bbp_vendor_sync (need customizing).
    Regards,
    Bertrand

  • How to update ADRT-REMARK field (by which tcode)?

    How to update ADRT-REMARK field (by which tcode)?

    Hi,
    ADRT-REMARK basically stores the notes which you enter against any communication number such as Telephone Number, Fax number etc for any business partner.
    Say for example if you want to address details of a customer via XD01 or XD02; then in the communication tab enter the telephone number or fax number.
    Click the button to add more details or more telephone numbers.
    Over there you will find a field called as Comments.
    This field is ADRT-REMARK.
    You do not have a single transaction to maintain this field.
    It depends upon the business partner for whom you want to add the details.
    For a customer it is XD01 or XD02
    For a vendor it is XK01 or XK02.
    For a business partner it is BP.
    For a user it is SU01D.
    Regards,
    Ankur Parab

  • How to update link and import data of relocated incx file into inca file?

    Subject : <br />how to update link and import data of relocated incx file into inca file.?<br />The incx file was originally part of the inca file and it has been relocated.<br />-------------------<br /><br />Hello All,<br /><br />I am working on InDesignCS2 and InCopyCS2.<br />From indesign I am creating an assignment file as well as incopy files.(.inca and .incx file created through exporing).<br />Now indesign hardcodes the path of the incx files in inca file.So if I put the incx files in different folder then after opening the inca file in InCopy , I am getting the alert stating that " The document doesn't consists of any incopy story" and all the linked story will flag a red question mark icon.<br />So I tried to recreate and update the links.<br />Below is my code for that<br /><br />//code start*****************************<br />//creating kDataLinkHelperBoss<br />InterfacePtr<IDataLinkHelper> dataLinkHelper(static_cast<IDataLinkHelper*><br />(CreateObject2<IDataLinkHelper>(kDataLinkHelperBoss)));<br /><br />/**<br />The newFileToBeLinkedPath is the path of the incx file which is relocated.<br />And it was previously part of the inca file.<br />eg. earlier it was c:\\test.incx now it is d:\\test.incx<br />*/<br />IDFile newIDFileToBeLinked(newFileToBeLinkedPath);<br /><br />//create the datelink<br />IDataLink * dlk = dataLinkHelper->CreateDataLink(newIDFileToBeLinked);<br /><br />NameInfo name;<br />PMString type;<br />uint32 fileType;<br /><br />dlk->GetNameInfo(&name,&type,&fileType);<br /><br />//relink the story     <br />InterfacePtr<ICommand> relinkCmd(CmdUtils::CreateCommand(kRestoreLinkCmdBoss)); <br /><br />InterfacePtr<IRestoreLinkCmdData> relinkCmdData(relinkCmd, IID_IRESTORELINKCMDDATA);<br /><br />relinkCmdData->Set(database, dataLinkUID, &name, &type, fileType, IDataLink::kLinkNormal); <br /><br />ErrorCode err = CmdUtils::ProcessCommand(relinkCmd); <br /><br />//Update the link now                         <br />InterfacePtr<IUpdateLink> updateLink(dataLinkHelper, UseDefaultIID()); <br />UID newLinkUID; <br />err = updateLink->DoUpdateLink(dl, &newLinkUID, kFullUI); <br />//code end*********************<br /><br />I am able to create the proper link.But the data which is there in the incx file is not getting imported in the linked story.But if I modify the newlinked story from the inca file,the incx file will be getting update.(all its previous content will be deleted.)<br />I tried using <br />Utils<IInCopyWorkflow>()->ImportStory()<br /> ,But its import the incx file in xml format.<br /><br />What is the solution of this then?<br />Kindly help me as I am terribly stuck since last few days.<br /><br />Thanks and Regards,<br />Yopangjo

    >
    I can say that anybody with
    no experience could easily do an export/import in
    MSSQLServer 2000.
    Anybody with no experience should not mess up my Oracle Databases !

Maybe you are looking for