BAPI_BUPR_RELATIONSHIP_CREATE ??

Hello experts ,
I need to upload the data to BP transaction using bapi BAPI_BUPR_RELATIONSHIP_CREATE.
I have some fields like
department
telephone
extension
fax
email
which also needs to be uploaded .
But these feilds are not there in IMPORT PARAMETERS of BAPI_BUPR_RELATIONSHIP_CREATE.
it has
BP number
bp relationship category
bp number
valid date from
valid date to .
I can upload above feilds but how to uplaod the following fields
department
telephone
extension
fax
email
for relationship in bp transaction ?
Any ideas are welcome.
Regards
Abhi..

Hello,
These fields will be at the business partner-BP and not at the BP relationships. Please check.
Refer the below documentation on BP:
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABP/CABP.pdf
Regards,
Shiva

Similar Messages

  • Creation of BP relationship using BAPI_BUPR_RELATIONSHIP_CREATE

    Hi,
    Needed  help.
    I am trying to create a Business Partner relationship using standard BAPI "BAPI_BUPR_RELATIONSHIP_CREATE" , but it is not updating the table BUT050 even after calling BAPI_TRANSACTION_COMMIT.
    can anybody help me out????
    Regards
    Bhanu.

    Hi Nanduri!
    I am also trying to create Business Partner Rel. with Bapi.
    Did it finaly work with BAPI BAPI_BUPR_RELATIONSHIP_CREATE ?
    Or did you find another BAPI??
    Best regards,
    Cristina

  • BAPI_BUPR_RELATIONSHIP_CREATE both bp are vendor's creates relat in both?

    Hi Folks,
    I have written a program that copies vendors and their partner functions from ecc6 into our crm system.  It all works perfectly fine until the partner function is another vendor.  when this is the case, it creates the relationship in both vendors rather than just the one it should.
    I am using the following code:
          CALL FUNCTION 'BAPI_BUPR_RELATIONSHIP_CREATE'
            EXPORTING
              BUSINESSPARTNER1     = lv_part1
              BUSINESSPARTNER2     = lv_part2
              RELATIONSHIPCATEGORY = lv_relat_cat
              XDFREL               = 'X'
            TABLES
              RETURN               = lt_RETURN.
    where lv_part1 is the original vendor and lv_part2 is the partner vendor.  Also the relationship category is a z relationship.
    It should be noted that when the partner function is  an employee it works fine.
    Has anyone encountered anything similar?  can anyone shed any light?
    Thanks in advance,
    Liz.
    Edited by: Liz O'Leary on Jan 10, 2012 5:59 PM

    Hi Tzanko,
    Maybe in online as cache group policies, relationship is not available.
    1) change cache group policies other than online, such as DCN, OnDemand or Scheduled
    2) or use no relationship but load parameter, in this case you give the same parameter to Two mbo.
    I tried the following condition and got the same phenomenon.
      SUP 2.0.1
      MBO JDBC Customer-Sales_order (whichi is sampledb)
      Customer-Sales_order (one to many relation)
    Thanks,

  • Creation of BP relationship " Has the responsible Scrapper" in CRM BP

    Hi,
    I am trying to create a BP relation ship " Has the responsible Scrapper" using the BAPI: BAPI_BUPR_RELATIONSHIP_CREATE between two BPs say BP1 to BP2 with the rel.type code as CRMS03. However it is creating the relation ship as "IS responsible scrapper". Is there a way or code to be used to create the correct relationship without interchanging the BPs.
    Thanks in Advance.

    Hi Ayaz,
      BP1 has relation 'Is the Responsible Scrapper For' with BP2 where as BP2 has relation 'Has the Responsible Scrapper' with BP1. So interchange your partners while passing them to FM.
    Regards,
    Lakshmi.Y

  • BAP for Creation of new BP Relationship

    I am attempting to create a new relationship as a part of a data conversion task.  I have used function modules:
    BAPI_BUPR_RELATIONSHIP_CREATE
    and
    BUPR_RELATIONSHIP_CREATE
    In both instances I specify the following:
    Partner 1 = existing Sold-to BP
    Partner 2 = existing employee (BP role employee)
    Relationship = BUR011 (Responsible Employee)
    Dates default and when using BUPR_RELATIONSHIP_CREATE
    GUI is left blank
    When I run the function modules there are no errors and the messages: 
    Warning: Not time constraints: Date specifications will be ignored
    Success: Relationship was transferred. 
    However, when I view the Sold to BP or the Employee BP record in transaction BP (Relationships button), there are no new relationships and BUT050 has no additional entries.
    I am not sure if something else needs to be done or if I have the wrong function module all together!
    Can anyone assist?
    Thanks

    Hi Katrina,
    You can use BAPI_BUPR_RELATIONSHIP_CREATE and just pass 3 values:
    partner1
    partner2
    relationship category
    However if successful you then need to call
    BAPI_TRANSACTION_COMMIT
    or it won't be saved to the database.
    That is why your tests are not working.
    Cheers
    Andrew

  • BP assignment issue

    I have two Business partners for a user, example 1 and 2.
    Currently BP 2 has org structure relationship in PPOMA_BBP.But i need the assignment for BP 1.How to do this.I have checked in BP transaction under Identification tab for employee data,It contains only User name and it do not have Personnel Number.I have tried by deleting the BP 2.It is not working.
    Please suggest me how to assign Personnel number for BUP003 for the user.
    With Regards
    Ram

    Hi
    Check with these FMs
    BAPI_BUPA_CREATE_FROM_DATA BAPI for business partner creation as Organization,Person or Group in general role. Same BAPI can be used to create Contact Person for the Business Partner
    BAPI_BUPR_RELATIONSHIP_CREATE Function module to establish the Business Partner
    and Contact Person Relationship. Pass the Relationship Category as u2018BUR001u2019
    BAPI_BUPA_ROLE_ADD Add Role to Business Partner for e.g. Sold to Party u2018CRM001u2019, Contact Person u2018BUP001u2019
    BAPI_BUPA_CENTRAL_CHANGE
    Regards,
    Sachin

  • How to insert / Update value for PFAKT in BP Relationship

    Hi Friends / Experts,
    How to insert the value for PFAKT ( Function value ) in BP Relationship in BP tcode , in SAP CRM.
    I have tried it but it BAPI_BUPR_CONTP_CREATE. But I need it with BAPI_BUPR_RELATIONSHIP_CREATE Function Module.
    Please help me out.
    Any Enhancement points in BAPI_BUPR_RELATIONSHIP_CREATE or any user exists. Please let me know.
    Regards,
    KMF.

    you can also acheive this using MERGE( available in sql 2008 and above).
    also, you are referring to DTS. DTS is legacy solution now..are you using sql 2000,  you can use ssis, if you want and it available in sql 2005. as said, there are multiple ways you can do this.. it find the below one a easy solution, since your are
    talking about only one table.. 
    try this example..
    create table test1(sno int primary key,sname varchar(20),scity varchar(20))
    go
    create table test2(sno int primary key,sname varchar(20),scity varchar(20))
    go
    insert into test1
    values(1,'stan','atlanta'),(2,'william','newyork')
    go
    insert into test2
    values(1,'robin','orlando')
    go
    --set this in you sql job and let it run for every half an hour
    MERGE test2 t2
    USING test1 t1
    ON t2.sno = t1.sno
    WHEN MATCHED THEN
    UPDATE
    SET t2.sname = t1.sname,t2.scity=t1.scity
    WHEN NOT MATCHED by target THEN
    Insert(sno,sname,scity)
    values (sno,sname,scity);
    go
    --check this table and clean up
    select * from test2
    go
    drop table test1
    go
    drop table test2
    Hope it Helps!!

  • Poss. to have different invoicing partys on 1 vendor for diff purch. orgs?

    Hello!
    We are running SRM 5.00.
    I am a rather techy person and was given the task to link the invoicing vendor to a purchasing vendor on purchasing org level.
    Everything I have found so far (table BUT050 and FM BAPI_BUPR_RELATIONSHIP_CREATE/CHANGE/GET/..) there is no way to link invoicing party on purchasing vendor on purch org. level, without mod's, because it is not part of standard functionality.
    Could this be correct? Does all vendors in SRM have the same invoicing party regardless of purchasing org?
    Thansk
    nam
    Message was edited by: Nam Fritz

    Hi Nam,
    As per SRM 5.0 standard funtionality, you can have different invoicing party. You need to follow below steps-
    1. logon to admin and click on 'manage business partners' and maintain here possible invoicing parties for that vendor.
    2. You extend this vendor data to 'purchasing group'
    In this way you can define same invoicing party for all vendors.
    Thanks
    Vikram

  • FM for creating relations bewtween 2 BP (IS-U)

    Hi,
    how i can create relation between 2 bp?
    thank you.
    Lechoo

    RESOLVED:
    CODE FROM SWO1 METHOD DEFINITION:
    BEGIN_METHOD CREATE_BP_FROM_CIC CHANGING CONTAINER.
    DATA: db_update      TYPE REGEN-DB_UPDATE,
          EXIT_TYPE      TYPE REGEN-EXIT_TYPE,
          muster_kun     TYPE EKUND-MUSTER_KUN,
          TYPE           TYPE BUS000FLDS-TYPE,
          bpkind         TYPE BUS000FLDS-BPKIND,
          GROUP          TYPE TB001-BU_GROUP,
          PARTNER        TYPE BUT000-PARTNER,
          ROLETYPE       TYPE TBZ0-RLTYP OCCURS 0,
          upd_onl        TYPE REGEN-KENNZX,
          no_xinit       TYPE REGEN-KENNZX,
          xinit          type regen-kennzx,
          p              type isu01_partner_data,
          NAME_FIRST     TYPE BUT000-NAME_FIRST,
          NAME_LAST      TYPE BUT000-NAME_LAST,
          TEL_NUMBER     TYPE ADR2-TEL_NUMBER,
          EMAIL          TYPE ADR6-SMTP_ADDR,
          SOC_SECURE     TYPE EKUN-SOC_SECURE,
          rec_partner    type bapiisubpd,
          rec_partner_x  type bapiisubpdx,
          r_partner_new  type bapibppara-partner,
          rec_return     type bapiret2,
          rec_address    type bapiisubpa,
          rec_address_x  type bapiisubpax,
          rec_adruse     type bapiisubpau,
          rec_adruse_x   type bapiisubpaux,
          rec_bank       type bapiisubpb,
          rec_bank_x     type bapiisubpbx,
          rec_ccard      type bapiisubpc,
          rec_ccard_x    type bapiisubpcx,
          rec_email_on_a type bapiadsmtp,
          rec_extension  type bapiparex,
          rec_rltypes    type bapiisubpr,
          rec_tel_on_a   type bapiadtel,
          rec_tax        type bapibus1006tax,
          tab_adruse     like rec_adruse     occurs 0 with header line,
          tab_adruse_x    like rec_adruse_x   occurs 0 with header line,
          tab_address     like rec_address    occurs 0 with header line,
          tab_address_TMP like rec_address    occurs 0 with header line,
          tab_address_x   like rec_address_x  occurs 0 with header line,
          tab_bank        like rec_bank       occurs 0 with header line,
          tab_bank_x      like rec_bank_x     occurs 0 with header line,
          tab_ccard       like rec_ccard      occurs 0 with header line,
          tab_ccard_x     like rec_ccard_x    occurs 0 with header line,
          tab_email_on_a  like rec_email_on_a occurs 0 with header line,
          tab_extension   like rec_extension  occurs 0 with header line,
          tab_rltypes     like rec_rltypes    occurs 0 with header line,
          tab_tax         like bapibus1006tax occurs 0 with header line,
          tab_tel_on_a    like rec_tel_on_a   occurs 0 with header line,
          ls_auto         type isu01_partner_auto,
    LS_ADDRESS LIKE LINE OF LS_AUTO-T_ADDRESS,
          rltypes         like bup_partnerroles occurs 0 with header line,
          t_rltyp         like tbz0-rltyp occurs 0 with header line.
      SWC_GET_ELEMENT CONTAINER 'ReferenceCustomer'   muster_kun.
      SWC_GET_ELEMENT CONTAINER 'Type'                TYPE.
      SWC_GET_ELEMENT CONTAINER 'BusinessPartnerKind' bpkind.
      SWC_GET_ELEMENT CONTAINER 'Group'               GROUP.
      SWC_GET_ELEMENT CONTAINER 'Partner'             PARTNER.
      SWC_GET_ELEMENT CONTAINER 'FirstName'           NAME_FIRST.
      SWC_GET_ELEMENT CONTAINER 'LastName'            NAME_LAST.
      SWC_GET_ELEMENT CONTAINER 'EMailAddress'        email.
      SWC_GET_ELEMENT CONTAINER 'Telephone'           tel_number.
      SWC_GET_TABLE   CONTAINER 'RoleType'            t_rltyp[].
      SWC_GET_ELEMENT CONTAINER 'UpdateOnline'        upd_onl.
      SWC_GET_ELEMENT CONTAINER 'NoFirstScreen'       no_xinit.
      SWC_GET_ELEMENT CONTAINER 'SS' soc_secure.
    if no_xinit = 'X'.
      clear xinit.
    else.
      xinit = 'X'.
    endif.
    refresh rltypes.
    loop at t_rltyp.
      rltypes-rolecategory = t_rltyp.
      append rltypes.
    endloop.
    * provide business partner data
    CLEAR: LS_aUTO, rec_partner, rec_partner_X.
          call function 'ISU_S_PARTNER_PROVIDE'
            exporting
              x_partner                      = PARTNER
              x_wmode                        = '1'
              x_no_dialog                    = 'X'
           importing
             y_auto                          = ls_auto
          exceptions
           not_found                       = 1
           partner_in_role_not_found       = 2
           foreign_lock                    = 3
           not_authorized                  = 4
           invalid_wmode                   = 5
           different_type                  = 6
           general_fault                   = 7
           others                          = 8.
    if sy-subrc = 0 and not ls_auto is initial.
    rec_partner-bpkind = LS_AUTO-ACT-BPKIND.
    rec_partner_x-bpkind = 'X'.
    rec_partner-name_first = NAME_FIRST.
    rec_partner_x-name_first = 'X'.
    rec_partner-name_last  = NAME_last.
    rec_partner_x-name_last  = 'X'.
    rec_partner-soc_secure = soc_secure.
    rec_partner_x-soc_secure = 'X'.
    CLEAR: TAB_ADDRESS_TMP, TAB_ADDRESS, TAB_ADDRESS_X.
    REFRESH: TAB_ADDRESS_TMP, TAB_ADDRESS, TAB_ADDRESS_X.
    *APPEND LINES OF LS_AUTO-T_ADDRESS TO TAB_ADDRESS_TMP.
    LOOP AT LS_AUTO-T_ADDRESS INTO LS_ADDRESS.
    tab_address_x-XDFADR     = 'X'.
    tab_address-XDFADR       = 'X'.
    tab_address_x-CITY1      = 'X'.
    tab_address-CITY1        = LS_ADDRESS-CITY1.
    tab_address_x-POST_CODE1 = 'X'.
    tab_address-POST_CODE1   = LS_ADDRESS-POST_CODE1.
    tab_address_x-STREET     = 'X'.
    tab_address-STREET       = LS_ADDRESS-STREET.
    tab_address_x-HOUSE_NUM1 = 'X'.
    tab_address-HOUSE_NUM1   = LS_ADDRESS-HOUSE_NUM1.
    tab_address_x-COUNTRY    = 'X'.
    tab_address-COUNTRY      = LS_ADDRESS-COUNTRY.
    tab_address_x-TEL_NUMBER = 'X'.
    tab_address-TEL_NUMBER   = tel_number.
    tab_address_x-E_MAIL     = 'X'.
    tab_address-E_MAIL       = EMAIL.
    APPEND TAB_ADDRESS.
    APPEND tab_address_x.
    CLEAR: LS_ADDRESS, TAB_ADDRESS, TAB_ADDRESS_X.
    ENDLOOP.
    endif.
    *upd_onl = 'X'.
    type = '1'.
    group = '0001'.
    *   ==============================================
        call function 'BAPI_ISUPARTNER_CREATEFROMDATA'
    *   ==============================================
             exporting
    *                    PARTNER      =
                        type         = type
                        group        = group
                        refcustomer  = 'SDKUNDE'
                        partnerdata  = rec_partner
                        partnerdatax = rec_partner_x
    *                   TESTRUN      =
                        accept_error = 'X'
             importing  return       = rec_return
                        new_partner  = r_partner_new
             tables  taddress              = tab_address
                     taddressx             = tab_address_x
                     tbankdata             = tab_bank
                     tbankdatax            = tab_bank_x
                     tccarddata            = tab_ccard
                     tccarddatax           = tab_ccard_x
                     rltypes               = tab_rltypes
                     extensionin           = tab_extension
                     ttaxdata              = tab_tax
                     telefondatanonaddress = tab_tel_on_a
                     e_maildatanonaddress  = tab_email_on_a
                     tadruse               = tab_adruse
                     tadrusex              = tab_adruse_x.
    if not rec_return-type = 'E'.
    call function 'BAPI_TRANSACTION_COMMIT'
         exporting
           wait = 'X'.
      CALL FUNCTION ' BAPI_BUPR_RELATIONSHIP_CREATE'
        EXPORTING
          businesspartner1               = partner
          businesspartner2               = r_partner_new
          relationshipcategory           = 'ZDISP2'
    *     RELATIONSHIPTYPE               =
    *     VALIDFROMDATE                  = SY-DATLO
    *     VALIDUNTILDATE                 = '99991231'
    *     DIFFERENTIATIONTYPEVALUE       =
    *     XDFREL                         =
    *   TABLES
    *     RETURN                         =
    call function 'BAPI_TRANSACTION_COMMIT'
         exporting
           wait = 'X'.
        call function 'ISU_S_PARTNER_CHANGE'
          exporting
            x_partner            = r_partner_new
    *        X_VALDT              =
            x_upd_online         = 'X'
    *        X_NO_DIALOG          =
    *        X_AUTO               =
    *        X_OBJ                =
    *        X_NO_OTHER           =
    *        X_REL_KZ             = 'X'
    *        X_MUSTER_KUN         =
    *        X_TESTRUN            =
    *      IMPORTING
    *        Y_DB_UPDATE          =
    *        Y_EXIT_TYPE          =
    *        Y_NEW_PARTNER        =
    *      TABLES
    *        XT_RLTYPES           =
    *      EXCEPTIONS
    *        NOT_FOUND            = 1
    *        FOREIGN_LOCK         = 2
    *        NOT_AUTHORIZED       = 3
    *        CANCELLED            = 4
    *        INPUT_ERROR          = 5
    *        GENERAL_FAULT        = 6
    *        OTHERS               = 7
    commit work and wait.
    else.
    endif.
    ** call change service function (no commit)
    *call function 'ISU_S_PARTNER_CREATE'
    *     exporting
    **          x_partner       = partner
    **          x_upd_online    = upd_onl
    *          x_upd_online    = SPACE
    *          x_type          = type
    *          x_group         = group
    **          x_first_screen  = xinit
    *          x_muster_kun    = muster_kun
    *          x_bpkind        = bpkind
    **           X_NO_DIALOG     =
    *           X_AUTO          = ls_auto
    **           X_WINDOW        =
    *          x_rel_kz        = 'X'
    *    importing
    **         y_db_update     = db_update
    *         y_exit_type     = exit_type
    *         y_new_partner   = p
    **    tables
    **         xt_rltypes      = rltypes
    *      exceptions
    *           existing        = 1
    *           foreign_lock    = 2
    *           not_authorized  = 3
    *           input_error     = 5
    *           general_fault   = 6
    *           others          = 7.
    *if sy-subrc <> 0.
    *  if sy-subrc = 1.
    **     existing
    *    exit_return 1000 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    *  elseif sy-subrc = 2.
    **     foreign lock
    *    exit_return 1001 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    *  elseif sy-subrc = 3.
    **     not authorized
    *    exit_return 1002 sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    *  else.
    **     other error
    *    swc_refresh_object self.
    **   set initial objectkey
    *    clear object-key.
    *    swc_set_objectkey object-key.
    *    exit_return 1003 text-s00 space space space.
    *  endif.
    *endif.
    if exit_type = 'CANC'.
    *   cacelled
      exit_cancelled.
    endif.
    swc_set_objectkey r_partner_new.
    * put export parameters to container
      SWC_SET_ELEMENT CONTAINER 'DatabaseUpdate' db_update.
      SWC_SET_ELEMENT CONTAINER 'Exit_type' EXIT_TYPE.
      SWC_SET_ELEMENT CONTAINER 'Partner' r_partner_new.
    * attributes may have changed, force new read from DB
    swc_refresh_object self.
    END_METHOD.
    IF YOU LIKE MY CODE, PLEASE GIVE ME STAR

  • ABAP interfacing to CRM

    Hi CRM Tech guys,
       plz tell me what are the reuirements in ABAP interfacing to CRM.  i want some function modules , bapis,  and needed middleware concepts.
    plz answer me.
    regards
    ram.

    Hi Ram Krishna,
    Some of the FM in CRM:
    GUID_CREATE     Create GUID for a Business Transaction
    BAPI_BUSPROCESSND_CREATEMULTI     Bapi to create Service Contracts programmatically. Pass the inputfields to be created in the contract.
    Note: BAPI_BUSPROCESSND_SAVE must be called after this function call to save the Service Contract.
    BAPI_BUSPROCESSND_SAVE     Bapi to save the Service Contracts.
    BAPI_ECRMISUTO_INIT     Initialize the creation of Ibase in CRM
    BAPI_ECRMISUTO_CREATEMULTIPLE     Create the Installed Base and its components.
    Note:
             Always call the function module 
             ‘BAPI_TRANSACTION_COMMIT’
             after call to any Bapi
    CRM_IBASE_INITIALIZE     Initialize the changes to be done in Ibase in CRM
    CRM_IBASE_SAVE     Call this FM to save the changes in the Ibase
    BAPI_BUPA_FRG0130_CREATE     Bapi to create Business Agreement for a customer
    BAPI_BUPA_ADDRESS_ADD      Add invoice address for business partner. Pass the address type as 'rechnung' to add invoice address
    BAPI_BUPA_BANKDETAIL_ADD        Add bank details for the business partner
    BAPI_BUPA_CREATE_FROM_DATA        BAPI for business partner creation as Organization, Person or Group in general role. Same BAPI can be used to create Contact Person for the Business Partner
    BAPI_BUPR_RELATIONSHIP_CREATE     Function module to establish the Business Partner and Contact Person
    Relationship. Pass the Relationship Category as ‘BUR001’
    BAPI_BUPA_ROLE_ADD        Add Role to Business Partner for e.g. Sold to Party ‘CRM001’, Contact Person ‘BUP001’
    BAPI_BUPA_TAX_ADD     BAPI Add Tax Number for the existing Business Partner
    BAPI_BUPA_FRG0040_CREATE     Create Classification Data for a Business Partner
    BAPI_BUPA_FRG0130_CREATE     Create Business Agreement
    BAPI_BUSPROCESSND_CREATEMULTI     BAPI to create Contract. Populate the Header and Line Item Details before calling the BAPI
    BAPI_BUPA_ADDRESSES_GET      Determine All Addresses
    BAPI_BUPA_ADDRESS_GETDETAIL        Read Address
    BAPI_BUPA_ADDRESS_GET_NUMBERS        Read Address Numbers
    BAPI_BUPA_BANKDETAILS_GET        Determine All Bank Details
    BAPI_BUPA_BANKDETAIL_GETDETAIL        Read Bank Details
    BAPI_BUPA_BANKDETAIL_NUMBERS        Read Bank Details Numbers
    BAPI_BUPA_CENTRAL_GETDETAIL        Read Central Data
    BAPI_BUPA_EXISTENCE_CHECK        Check Existence of Business Partner
    BAPI_BUPA_GET_NUMBERS        Read Business Partner Numbers
    BAPI_BUPA_RELATIONSHIPS_GET        Determine All BP Relationships
    BAPI_BUPA_ROLES_GET        Determine All Roles
    BAPI_BUPA_ROLE_EXISTENCE_CHECK        Check Existence of Role
    BAPI_BUPA_SEARCH        Search Business Partner for Telephone, E-Mail, Address
    BAPI_BUPA_STATUS_GETDETAIL      Business Partner: Read Status
    BAPI_BUPR_ACTIVITYP_EXISTCHECK      Check Existence of Contact Partner Relationship
    BAPI_BUPR_CONTP_ADDRESSES_GET        Read Contact Person Relationship Addresses
    BAPI_BUPR_CONTP_ADDR_GETDETAIL        Read Contact Person Relationship Addresses
    BAPI_BUPR_CONTP_GETDETAIL        Read Contact Person Relationship
    BAPI_BUPR_EMPLO_ADDRESSES_GET        Read Contact Person Relationship Addresses
    BAPI_BUPR_EMPLO_ADDR_GETDETAIL        Read Employee Relationship Address
    BAPI_BUPR_EMPLO_GETDETAIL        Read Employee Relationship
    BAPI_BUPR_RELATIONSHIP_GET        Read General Relationship
    BAPI_BUPR_RELSHIP_CHECKEXIST        Check Existence of General Relationship
    BAPI_BUPR_RELSHIP_GET_DETAIL        Read General Relationship
    BAPI_BUPR_RESP_EMPLO_CHEKEXIST        Read Relationship of Employee Responsible
    BUPA_PARTNER_CONTACT_SEARCH      Searches business partners for telephone, E-Mail, address
    ECRM_ISU_COMP_BY_ADDRESS     Check for Existence of Ibase
    CRM_ORDER_GET_HEADER_GUID     Get Header GUID for Item GUID pass ref_kind as b
    CRM_ORDERADM_H_READ_OW     Read the Header Details for a Business Transaction. Pass the Header guid.
    CRM_ORDERADM_I_READ_OW     Read the Line Item Details for a line item. Pass the line item guid.
    CRM_ORDER_READ     Get all the Service Contract details.
    Note: Pass the requested objects to fetch only the required details.
    This can also be used to get the details of activities/leads/opportunities etc.
    CRM_ORDER_GETSTATUS     Get status of the Service Contract
    Note: CRM_ORDER_READ Function Module
    1.     CRM_ORDER_READ is a function module which can be used to get the details of any business transaction based on the Header GUID, Item GUID or both.
    2.     Always pass the IT_REQUESTED_OBJECTS structure to this function module to fetch the required details only.
    3.     This function module can not be executed directly instead SAP has provided a report CRM_ORDER_READ for the same for testing purpose. We can pass Business Transaction Number (Object ID), Header GUID or Item GUID to this report to get the required details.
    For other Details: just go through : http://help.sap.com/saphelp_crm50/helpdata/en/1a/023d63b8387c4a8dfea6592f3a23a7/frameset.htm
    Hope it will help
    Regards,
    Arjun
    <b>Reward points if it helps</b>

  • Pop up with Express document 'update was terminated' received from author.

    Hi ,
    I am creating business partner in sold-to-party role and then creating another business partner in contact person role .
    after this I am creating relationship between those BPs by using FM  BAPI_BUPR_CONTP_CREATE (tried  FM BAPI_BUPR_RELATIONSHIP_CREATE  also).
    It creates relationship perfectly fine which we can see in BP transaction even we get the 'update was terminated' error.
    If we bypass the BAPI in debug mode to create the relationship we dont get that error anymore so we are sure that problem with this BAPI only or config related to that.
    Most importantly it is happening only with contact person relationship,it is not happening with bill-to-party relationship.
    In Transaction SM13 when we see it is displaying error "Reference with personal address: Field PERS_ADDR must have the value 'X'"
    Is this something config issues or code?
    Please see the attached file for the error which we are getting.
    Please let me know if anybody help us in this.

    I have checked ,the value is 'X' for the field pers_addr  in adrc table for the address number in table BUT020 for the ciontact person.
    Still I am getting same error.
    Please help.

  • Crm elm and employee responsible

    Hi Everyone
    I'm using ELM to update persons and organizations. I have to insert the employee responsible in the mapping format.
    Do you have any idea and suggestion to give me?
    thanks in advance.
    valentina

    I solved my issue using fm BAPI_BUPR_RELATIONSHIP_CREATE in metod CREATE ORGANIZATION in the badi CRM_MKTLIST_BADI.

  • Central person related

    Hi Experts
    I have assigned an user to a Purchasing group. I want to assign a buisness partner to the user i,e., Object ID CP but when i select the vendor it is not allowing assignment. In buisness partner creation the relationship is missing and when i go to change it it is in the display mode.
    Kindly help.
    Regards

    Hi,
    If I get you right... you need to add a relationship to a BP.
    Try using FM BAPI_BUPR_RELATIONSHIP_CREATE to create a relationship for a BP.
    Pass the BUSINESSPARTNER1, BUSINESSPARTNER2, RELATIONSHIPCATEGORY and XDFREL.
    Hope this helps!
    Regards,
    Saumya

  • BP Creation with BOL

    HI All,
    My Requirement is:
    1. Create New BP
    2. Assign Marketing Attribute to it.
    3. Create Relations with other BP's
    I am planning to use BOL Objects for this. if any body has any idea or done some thing similiar, please share your Ideas.
    I need to put my code in a FM.
    Just wondering whether to use FM modules for this like BAPI_BUPA_CREATE_FROM_DATA & BAPI_BUPR_RELATIONSHIP_CREATE  
    Dave
    Edited by: Dave on May 24, 2011 11:44 AM

    Hi Robert,
    after so many trial, my FM was not creating data for telephone and fax. to solve this i have used the BOL approach and it worked finally.
    now I need to assign Identification to the BP. for this I tried BOL but the data was not saving.
    I found one FM BUPA_IDENTIFICATION_ADD for this. My code is:
    CALL FUNCTION 'BUPA_IDENTIFICATION_ADD'
                EXPORTING
                  IV_PARTNER                      = I_BP_NUMBER
    *             IV_PARTNER_GUID                 =
                  IV_IDENTIFICATIONCATEGORY       = 'Y00001'
                  IV_IDENTIFICATIONNUMBER         = 'TEST NUMBER'
                  IS_IDENTIFICATION               = LS_ID_STRUC
    *             IV_X_SAVE                       = 'X'
    *             IV_IDENTIFICATIONTYPE           =
    *           TABLES
                   ET_RETURN                       =  lt_return
      LOOP AT lt_return TRANSPORTING NO FIELDS WHERE TYPE = 'E'
      OR    TYPE = 'A' .
        EXIT.
      ENDLOOP.
      IF sy-subrc = 0.
        EXIT.
      ENDIF.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    *         EXPORTING
    *           WAIT          =
    *         IMPORTING
    *           RETURN        =
    Its working fine and i am not geting any error in the LT_ERROR. but when i am checking in the BP transaction, it is not showing the ID type.
    Do you have any idea what I am doing wrong here.
    Dave

  • How to update general data tab, while creting rlationships?

    Hi Experts,
    I have created contact person relationship using FM:BAPI_BUPR_RELATIONSHIP_CREATE.
    I have to update the Function field of Address data in general tab of contact person relationship.
    Is there anu Fm to update this?
    Please help us.points will be given.
    Thanks,
    Adi.

    Hi
    of course, you can use BAPI_BUPR_CONTP_CHANGE.
    Regards
    Radek

Maybe you are looking for

  • IDoc Adapter configuration for very high volumes

    Hi PI Expert, I'd like to have some tips about Idoc Adapter configuration in case of very very hudge volumes in "file to Idoc scenario" (adressing ECC) : How to optimize Idoc transmission time PI -> ECC ? => parallelization PI -> ECC by using differe

  • TNS:protocol adapter error in oracle 9i

    hi, I am using Windows vista in my PC. I just installed Oracle 9i. When I put in my user-name and password to run SQL+ 9.0.1 it gives me the following error message : ERROR:ORA-12560: TNS:protocol adapter error. Please give me the steps how to fix th

  • Deleting Preview Files

    Sometimes when things seem too easy they make me wary:  I need to free up some space on my C: Drive.  Adobe Premier created a folder on my Desktop called Adobe Premier Pro Preview Files; from older projects.  Can I simply delete these files to free u

  • Video downloads process multiple times?

    I have downloaded two of the BCS Championship games and both are about 2 gigs in size. After the download completed the files started processing as expected. When processing was done the progress bar showed 100% complete but the status under the prog

  • SAP CRM - How does Communication Station work?

    Hi Experts, Can anybody tell how the communication station work in SAP CRM? For example if the service agent has performed the service at the field or customer location and uses the mobile client device to confirm the service, how does the data gets