How to read the business partner activity

Hi experts,
How to get the business partner(role:employee) assigned activities  in crm and how to create the activity .my requirment is change the assiged from old employee(bp) to new employee(bp). i have to develop the program. i searched some BAPI's.
Please help on this.
thanks,
venu.

Pls use the FM CRM_REPORT_CALL_RF. Pass the partner function to the exporting parameter table ir_partner_fct_h and partner number to the partner number to  ir_partner_id_h . You will get all the guid and then use CRM_ORDER_MAINTAIN to change the partner.
CALL FUNCTION 'CRM_REPORT_CALL_RF'
    EXPORTING
      iv_stat_open            = 'X'
      iv_maximum_hits         = ' '
      ir_object_type_h        = it_act_objtype
      ir_partner_fct_h        = it_partner_fct_h
      ir_partner_id_h         = it_partner_id_h
    IMPORTING
      et_guidlist             = it_guid
    EXCEPTIONS
      parameter_error_partner = 1
      parameter_error_items   = 2
      parameter_error_ref_obj = 3
      OTHERS                  = 4.

Similar Messages

  • How to link the Business Partner with the SAP User ID.

    Hi,
    We are working on a scenario wherein the resources are created as Business Partners in R/3.
    now How to link the Business Partner with the SAP User ID.

    HI AP,
    Maintain the business partner in role Internet User - BUP005.
    Now assign the existing user to this BP .(you can make this assignment in tab "internet user'. Just enter the user name in the field User and save).
    You can now see the link in table HRP1001.
    Cheers,
    Rishu.

  • How to update the business partner title using the function module

    Hi ,
    I have to update the business partner title to Mr or Ms based on the gender.
    If BP is male title should be updated as Mr else Ms.
    Please provide some inputs on which function module to use to do it in mass update.I have to search the BP's whose title is not created and i have to change those titles to Mr or Ms.

    Hello,
    Try with BBP_USER_CHANGE_FIELDS :
    - set CHANGE_FORM_OF_ADDRESS,
    - put corresponding key you want (see TSAD3 table) in FORM_OF_ADDRESS_KEY.
    Regards.
    Laurent.

  • How to create the Business Partner Relationship

    Dear Sir,
    I would like to add the new  Business Partner RElationship , but I don't know how to do . Please kindly advise me the step to add the new business partner relationship.
    Thank you and  best regards,
    Vimol

    Hi Vimol,
    BP Relationship can be created in the Tcode - BP.
    Eg: If an Org, say SAP is defined as a BP (Org), and now u need to define some relationships for this org, say the Contact person, Employee responsible etc., then we nd to first create the separate BP's, for eg Contact PErson for SAP Org is Vimol S, then create Vimol S as an individual. and after doin this go to SAP Org BP and there click Relationship tab, on the TOP RIGHT hand side of the screen. Here it'll ask for the BP no. and the relationship u need to assign b/w this BP and the Org. There will be many relationships, choose the one which suits your requirement. This will take care of it.
    I hope my explanation and steps are clear. Pls revert if any isues.
    Suji

  • How to read the BOL of confirmed BP on IC?

    Hi Experts,
    Could you tell me (or send me a piece of code) how to read the business partner number and address of the confirmed BP on Interaction Center?
    What is the right BOL object? Where is this data stored? How can I gain this information in runtime?
    Thank you for your reply!
    Best regards,
    Levente

    hi levente,
    here my piece of code
    data:
       lv_number     TYPE BU_PARTNER,
       lo_gdc           TYPE REF TO IF_CRM_UI_DATA_CONTEXT,
       lo_customer  TYPE REF TO if_bol_bo_property_access.
    * get GDC
    lo_gdc = cl_crm_ui_data_context_srv=>get_instance( me ).
    check lo_gdc is bound.
    *  get confirmed customer of GDC
       TRY.
          lo_customer = mo_gdc->get_entity( if_iccmp_global_data_cont_con=>gdc_currentcustomer ).
          lv_number = lo_customer->get_property_as_string( 'BP_NUMBER' ).
         CATCH cx_root.
       ENDTRY.
    best wishes,
    hakan

  • Read the business role in the code

    Hi Gurus,
    My Requirement is to diffrenciate codes based on business role. More like below pseudo code
    if BRole1.
        code 1 will be executed
    elseif BRole2
       code 2 will be executed
    else.
       code 3 will be executed
    endif.
    Can you please let me know how to read the business role programatically in SAP CRM.
    Appreciate your help
    Regards
    Sudipto

    Hi Sudipto,
    Try to check here:
    Business Role of logged in user
    Kind regards,
    Garcia

  • How to get Activities  connected to the Business partner .

    Hi Gurus ,
    How can be get all the activities attached to the Business partner .
    Regards,
    Naval Bhatt .

    Hi,
    in tx genil_bol_browser please search for an existing activity with searchobject BTQAct.
    click thru the child relationships (BTOrderHeader / BTOrderPartnerset).
    Here in BTOrder Partnerset you will find all the partners, for example the contact partner in relationship:
    BTPartner_00000009
    Is this what you are looking for? Otherwise please detail your question.
    Best regards
    Manfred

  • Does anybody know how to check if the business partner has the authority

    Does anybody know how to check if the business partner has the authority to change business partner relationship?
    Best regards?
    Blake Le

    Hi,
    Do you mean that you would like to check if the user has the authorization to create a relationship, or change the validity of the relationship?
    As per SAP architecture, authorizations are assigned to users, not business partners.
    Business partners, could be assigned to users, who in turn have authorizations. This is typically seen for business partners, with the role, Employee.
    Hope this helps,
    Regards,
    Nelson.

  • How to switch off automatic creation of the business partner?

    Hello!
    Advise please why in erp after creation of the customer automatically form business partner? How to switch off automatic creation of the business partner? It very much disturbs, because business partner are created from crm. Because of automatic creation business partners are duplicated.

    Hi,
    I have made the following customizing settings to activate customer integration with business partner, but the problem is when I create a BP with a role (FI-Customer) the customer is not created automatically.
    1. Set BP Role Category for Direction BP to Customer
    Roles: FLCU00 - Business Partner FI Customer (FS: BP)
    FLCU01 - Business Partner Customer (FS: BP)
    2. Defined the Number assignment for Direction BP to customer
    4. Customer account group and numbering is also defined.
    3. Created a BP with BP Role FLCU00, I can see the Customer - General Data tab, but no customer was automatically generated by the system.
    Kindly let me know if any customizing I have missed.
    Regards
    Ameya

  • Urgently, how to use the EEWB to ad new field in the business partner page

    Hello All
    I am working on CRM 5.0 EEWB
    I am trying to add new field in the business partner page I followed the steps for creating the project and the extension but I faced some problems
    1-I chose the package BBP_BUPA_MAIN    BBP Business Partner General
    I created two transport requests for the workbench and the customizing
    2- I created an extension with EEW Bus. Object: BUPA and extension type: ADD_NEW_FIELDS
    3- I got an error that <b>"Object DOMA ZBU_009XN27S is in the name range reserved for customers. The object cannot be assigned to package BBP_BUPA_MAIN, since it belongs to a different name range or namespace"</b>
    I tried to change the package but the same problem occurs and if I choose a custom made business package I get a similar error but, before the wizard starts
    I want to know the exact steps to create new field using the EEWB
    Regards
    Jacopo Francois

    Hi,
    Error info: "Object DOMA ZBU_009XN27S is in the name range reserved for customers. The object cannot be assigned to package BBP_BUPA_MAIN, since it belongs to a different name range or namespace"
    Clearly states that you need to assign some different name to the package which is not reserved by SAP as Z### is already reserved by SAP and thus you will not be able to create the enhancement in the same.
    Best Regards,
    Pratik Patel
    <b>Reward with Points</b>!

  • 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

  • Business One 8.8 what is the DI property for Business Partner Active filed

    I cannot find the property for the Active ( and Inactive) field
    for the Business Partner for DI
    The item I am talkign abouts is in the bottom lefthand corner of General Tab of Business Partner
    for active the item number is  10002044
    for Inactive it is 10002045
    I need to set values for these using DI.
    Does anyone know what this property is ( or do you know if it is supported with 8.8 )
    I am on 8.8 Australian version SP00 PL12 planning to go PL14 soon.
    Thanks very much.

    Hello
    Use the Frozen property to set the BP to Inactive, and you may use the FrozenFrom/FrozenTo dates to specify a date range. Please Note, the date cannot be cleared via DI API (there is no possibility to set it to NULL):
    Regards
    János

  • 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 look for business partner number in GTS

    Hi Experts,
    How to look for the business partner number in GTS when we have the Customer Id number in r/3?
    Please let me know the path in GTS.
    Edited by: Anurag87 on Dec 9, 2010 2:17 PM

    Hello,
    just simple in GTS in transaction BP find by "3 External number" (which is yours R/3 number).
    Or in se16 table /SAPSLL/PNTBP type in field BPVSY you external number from R/3 system.
    Cheers,
    Gabriel.

  • How to read the content of formtypeEx="0" (messagebox)?

    hi,
    how can i check which systemform is currently shown.
    Now i use the following code to react of a message box
    If pVal.FormTypeEx = "0" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_LOAD
    But there are many messageboxes, all of them have the formtypeex set to 0, but is it possible to read the messageString?
    For example the service call, after validate the business partner there are 2 messages thrown. No credit limit and no contract.
    regards
    Markus

    Hi
    You could read the string from the message box. It is a static text item if i am not mistaken. You just need to assign the item to a static text to read the item.
    But alternatively, i think if you would want to validate the item after u press the 'ADD' button or something, you should use the action_success = true

Maybe you are looking for

  • My Macbook Air is running slow with Yosemite.

    My Macbook Air is running slow with Yosemite. I checked out most of the blogs and everything and have removed widgets from the notification center, but everything seems to run kinda slowly. Sure, i have the base model 2014 macbook air but that 4 gb r

  • Java Mapping using DOM

    Hi All, I need Java mapping help. I will get incomming payload as following <orders> <matnr>123</matnr> <qty>10</qty> </orders> i need to change the above payload as follows <ns0:orders> <ns0:matnr>123</ns0:matnr> <ns0:qty>10</ns0:qty> </ns0:orders>

  • Error serializing objectjava.io.UTFDataFormatException --Urgent

    Hi,           I am getting the following exception from JMS. I am trying to send Object           Message to JMS queue. The object message is created reading from XML.           I figured out one block in XML which is causing this exception. However,

  • Why won't my iPhone 4S hold a charge after updating to ios7 ?

    I accidental update my iPhone 4S to IOS 7 and now it won't hold a charge for a day? Why is that. I had no problems before the update ...

  • Confused about a purchase on eBay

    Hello,  I just purchased some dog toys for my upcoming puppy on eBay. I clicked 'Buy Now', logged into PayPal on the next screen and purchased through PayPal where my bank account was linked. It subtracted the money from PayPal on the side (like the