Which function creates an activity in CRM?

Hi,
We would like to create activities in CRM through a BAPI-like function but we can't seem to find a suitable one. Do you know which function / class method is used to create new activities in CRM ?
Thanks in advance,
George

Hi,
Please have Look into  the below LInk
Using BAPI_ACTIVITYCRM_CREATEMULTI.
[Link|Re: Creating Activities Programmatically in CRM]
Hope it will be HelpFul
Thanks
kalyan

Similar Messages

  • How to create an activity in CRM automaticly

    Hi
    I'm working in CRM 4.0 and try create an activity automatically when a BUPA_MAIN objects come from FI-CA.
    In the BDOC-flow I start an own developed FM to check if a new activity will be created, that's no problem but which FM/BAPI will I use to create the new activity and how to fill them?
    Thank for help//

    Hello Jan,
    To create a new Activity Document use BAPI BAPI_SLSTRANSACT_CREATEMULTI.
    To find out how to fill the parameters, create a documento directly in CRM and debug function module CRM_ORDER_MAINTAIN to see how you have to fill the parameters.
    Maybe there is an OSS note that explains how to use this BAPI.
    Regards,
    Mauricio

  • Unable to create followup activity in crm portal

    Hi All,
      When we are trying to create a follow-up document for an activity all the fields are
    getting grayed out and we are unable to create any follow-up document.But from GUI we
    are able to create it successfully.  We are using CRM 5.0
    I have given all the necessary authorizations and the sales representative role is also added still the issue is seen.
    please suggest
    Thanks & Regards,
    Swetha

    You need to maintain blueprint table entries for the Back End CRM roles that you have created. Goto Transaction CRMC_BLUEPRINT_C navigate to Navigation(URL generation) "Assign object Method to Role" .
    Add a new entry for your custom role if you have assigned the custom role in portal to the Enterprise Profile and under object type select the type of object you are trying to create followup(Example Opportunity,Order) , Method type is "Application" and Implementation Type : S - BSP as external Service and in ID Page/Service give the PCD location of the Portal Role that you are using.
    Regards,
    Swami
    Reward points if it helps.

  • How to get Apple ID and password that is different to iTunes store account which I have already activated and completed contracts, tax information and bank information I want to create a Paid Books Account use apple ID

    I was given this address from the Apple customer support team.
    I have an active existing iTunes store account and use the same Apple ID for signing into my iTunes Connect Account that distributes Apps.
    I have created some books using the iBook author and in order to distribute content on the iBookstore I have been told electronically that I need a new Apple ID and password that is different to iTunes store account which I have already activated and completed contracts, tax information and bank information valid until 2013?
    I want to create a Paid Books Account using the same email address, tax information and bank information. This has been most frustrating, as I cannot get passed the sign in section and there is no contact person I can speak to. I was of the understanding the iTunes connect account and the Developer programs which I paid good money for is all what I needed to be paid for selling iBooks on the iBookstore???
    I only have one email address and wish to also use it for the Paid Books Account. I have books ready to be exported and published.
    I am also having trouble locating and downloading iTunes Producer. I understand I need to have the Paid Books Account active to access the iTunes Producer program. Please help.
    See additional information below:
    What device did you use to connect to the store?  Mac computer
    Which operating system is installed?  Mac OS X v10.7.x
    What version of iTunes is installed on your computer?  iTunes 10.6
    Choose the iTunes Store or App Store for your country:  Other
    Please select your country:  Australia

    Hi Lrwill,
    If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
    Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
    Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
    Cheers,
    GB

  • For R/3 to CRM Scenario ,creating ABAP Proxy for CRM which is in Target

    In R/3 to CRM scenario it is ok creating ABAP Proxy for CRM which is Target system.if it is possible it is Client Proxy.it is correct or not

    Hi,
    Client Proxy. When you need to create Proxy for your Sender system then the proxy is generated on the client side and the Class created in Proxy generation is called in a report/FM etc.
    Server proxy. The server proxy is created when you are sending the data from SAP XI to the receiving system.
    The generation of proxy in both the cases happens on the sender or the receiver system.
    Regards
    Vijaya

  • SRM7.0, ext.classic - Which function is used to create PO in SRM?

    Hello,
    does someone of you know, which function will be used to create a PO in SRM out of a SC in an extended classic scenario?
    How can the creation of the SRM PO be debugged?
    Kind regards,
    Thomas

    Hello,
    Local PO creation occurs in BBP_PD_PO_CREATE. However, this process occurs in background and if you set an external breakpoint while ordering the cart, it won't stop.
    You can create a cart in held status, take its header GUID, set a BP at BBP_PD_PO_CREATE and execute BBP_PD_SC_TRANSFER to transfer the cart, providing the header cart GUID.
    Regards,
    Ricardo

  • Which function module could be used to create ACTIONs in transaction

    HI,
        when we open a transaction use TCODE CRMD_ORDER, there is always a tab named 'Action'. And Which function module could be used to create a new action?
    THS!

    Hi Gang,
    I am not sure about the Function Module but ya if you access through this link i belive you will be able to create ACTION for your Transaction.
    Link:[Action|http://help.sap.com/saphelp_crm70/helpdata/en/54/238e39e1ba3541e10000000a11402f/frameset.htm].
    Let me know in case you need any more help.
    Vijayata

  • Where to see activities, which are created for the campaign with target group

    Hi
    I have created a Communication Method in SPRO -> CRM -> Marketing -> Marketing Planning & Campaign Management -> Campaign Executtion - Define Communication Method : Activity has been configured
    Activities are not appearing after creation of campaign with target group.
    Where to see activities, which are created for the campaign with target group?
    Regards
    Hamid

    Hello,
    alternatively to check  table CRMD_ORDERADM_H directly you can use the related transactions search for the campaign:
    This should bring all activities generated by the campaign. If this is empty first check the job log of the campaign execution job again:
    This gives information if any target group members have business transactions created. If the log does not contain the required information you can debug from SM37. The business transactions (activities, leads, sales orders) are generated from function module CRM_MKTTGGRP_PROC_CREATE.
    best regards,
    Johannes

  • Create a activity on creation of an oppurtunity

    I was trying to create an activity automatically when i save an opportunity in sap crm. I have made used of order_save badi for the purpose.But when i save the newly created activity using crm_order_save function the GUI hangs(as the save function calls order_save badi internally and recursion is taking place). Please help me out of this situation.

    Hi,
    you have to determine, if current processing is called for the first time (and then create document) or second time (or more)
    - then you should avoid creating document.
    If you are not able to check this situation using method parameters, than use EXPORT TO / IMPORT FROM MEMORY ID with some value. First try to IMPORT the value, if it is missing, than export the value and create document (when your badi will be call next time, you will not execute the code again).
    Regards,
    Przemysław

  • How to create Lease Contract in CRM using CRMXIF_ORDER_SAVE

    Hi All,
    I need to upload CRM Lease contract from Legacy data in a flat file. I have created a test program where I call function module "CRMXIF_ORDER_SAVE".
    When I run this FM, it is creating a BDoc of type BUS_TRANS_MSG and I can see them in Txn SMW01
    Couls anyone please tell me:
    1. What next steps I need to follow to create a Lease Contract. Do I need to do some setting for BDoc consumoption.
    2. Is there any other alternative way like BAPI etc to create lease contract in CRM.
    <b>Reward point is gurranted for REAL HELPFUL answers.</b>
    -Regards
    Ashim
    I am also attching the code of my test program
    *& Report  YTESTCRMXIF_ORDER_SAVE
    REPORT  YTESTCRMXIF_ORDER_SAVE.
    DATA WA_CRMXIF_BUSTRANS_T TYPE CRMXIF_BUSTRANS_T.
    DATA WA_CRMXIF_BUSTRANS TYPE CRMXIF_BUSTRANS.
    DATA WA_CRMXIF_ORGMAN   TYPE CRMXIF_ORGMAN.
    DATA: WA_CRMXIF_STATUS   TYPE CRMXIF_STATUS,
          ITAB_STATUS LIKE TABLE OF WA_CRMXIF_STATUS.
    DATA:  WA_BAPIRETM TYPE BAPIRETM,
           WA_BAPIRETI TYPE BAPIRETI .
    DATA: WA_BAPIRETC TYPE BAPIRETC.
    DATA: WA_PARTNER TYPE CRMXIF_PARTNER,
          ITAB_PARTNER LIKE TABLE OF WA_PARTNER.
    DATA: BEGIN OF WA_TEMP_PARTNER,
          PARTNER_NO(10) TYPE C,
          PARTNER_FCT(8) TYPE C,
          PARTNER_PFT(4)    TYPE C,
          PFT_SUBTYPE(4) TYPE C,
          END OF WA_TEMP_PARTNER,
          ITAB LIKE TABLE OF WA_TEMP_PARTNER.
                  FILLING THE STRUCTURE OF THE PARTNER                    *
               WA_TEMP_PARTNER-PARTNER_NO = '0010000002'. WA_TEMP_PARTNER-PARTNER_FCT = '00000035'.
          WA_TEMP_PARTNER-PARTNER_PFT = '0012'.       WA_TEMP_PARTNER-PFT_SUBTYPE = 'CRM '.
          APPEND WA_TEMP_PARTNER TO ITAB.
          WA_TEMP_PARTNER-PARTNER_NO = '0010000002'. WA_TEMP_PARTNER-PARTNER_FCT = 'Z0000002'.
          WA_TEMP_PARTNER-PARTNER_PFT = '0029'.       WA_TEMP_PARTNER-PFT_SUBTYPE = 'CRM '.
          APPEND WA_TEMP_PARTNER TO ITAB.
          LOOP AT ITAB INTO WA_TEMP_PARTNER.
          MOVE-CORRESPONDING WA_TEMP_PARTNER TO  WA_PARTNER.
          APPEND WA_PARTNER TO ITAB_PARTNER.
          ENDLOOP.
           END    FILLING THE STRUCTURE OF THE PARTNER                    *
                  FILLING THE STRUCTURE OF THE ORDER HEADER               *
    WA_CRMXIF_BUSTRANS-OBJECT_TASK    = 'I'.
    WA_CRMXIF_BUSTRANS-PROCESS_TYPE   = 'LEAS'.
    WA_CRMXIF_BUSTRANS-OBJECT_TYPE    = 'BUS2000114'.
    WA_CRMXIF_BUSTRANS-POSTING_DATE   =  20061026.
    WA_CRMXIF_BUSTRANS-DESCR_LANGUAGE = 'E'.
    WA_CRMXIF_BUSTRANS-CREATED_AT     = 20061026203200.
    WA_CRMXIF_BUSTRANS-CREATED_BY     = 'DUTTAK'.
    WA_CRMXIF_BUSTRANS-CALC_SCHEMA    = 'Z00050'.
    WA_CRMXIF_BUSTRANS-SCENARIO       = 'A'.
    WA_CRMXIF_BUSTRANS-LOGICAL_SYSTEM = 'CDTCLN400'.
    WA_CRMXIF_BUSTRANS-CRM_RELEASE    = 'BBPCRM 500'.
    WA_CRMXIF_BUSTRANS-CLIENT         =  400.
           END FILLING THE STRUCTURE OF THE ORDER HEADER                  *
                  FILLING THE STRUCTURE OF THE ORGMAN                     *
    WA_CRMXIF_ORGMAN-SALES_ORG      = 'O 50000000'.
    WA_CRMXIF_ORGMAN-SALES_ORG_RESP = 'O 50000000'.
    WA_CRMXIF_ORGMAN-DIS_CHANNEL    = '10'.
    WA_CRMXIF_ORGMAN-DIVISION       = '20'.
           END FILLING THE STRUCTURE OF THE ORGMAN                        *
                  FILLING THE STRUCTURE OF STATUS                         *
    WA_CRMXIF_STATUS-STATUS = 'I1282'.
    WA_CRMXIF_STATUS-ACTIVE = 'X'.
    WA_CRMXIF_STATUS-TXT04  = 'CONH'.
    WA_CRMXIF_STATUS-TXT30  = 'Contract Header'.
    APPEND WA_CRMXIF_STATUS TO ITAB_STATUS.
           END FILLING THE STRUCTURE OF THE STATUS                        *
    MOVE WA_CRMXIF_ORGMAN TO WA_CRMXIF_BUSTRANS-ORGDATA-DATA.
    MOVE ITAB_STATUS TO WA_CRMXIF_BUSTRANS-STATUS-DATA.
    MOVE ITAB_PARTNER TO WA_CRMXIF_BUSTRANS-PARTNER-DATA.
    APPEND WA_CRMXIF_BUSTRANS TO WA_CRMXIF_BUSTRANS_T.
    *LOOP AT WA_CRMXIF_BUSTRANS_T INTO WA_CRMXIF_BUSTRANS.
    *LOOP AT WA_CRMXIF_BUSTRANS-PARTNER-DATA INTO WA_PARTNER.
    WRITE: / WA_PARTNER-PARTNER_NO,WA_PARTNER-PARTNER_PFT,WA_PARTNER-PARTNER_FCT.
    ENDLOOP.
    *ENDLOOP.
    CALL FUNCTION 'CRMXIF_ORDER_SAVE'
    EXPORTING DATA = WA_CRMXIF_BUSTRANS_T
    IMPORTING RETURN = WA_BAPIRETM.
    IF SY-SUBRC = 0.
    WRITE 'CONTRACT CREATED SUCCESSFULLY'.
    ELSE.
    WRITE: 'SY-SUBRC =', SY-SUBRC.
    ENDIF.
    LOOP AT WA_BAPIRETM INTO WA_BAPIRETI.
    LOOP AT WA_BAPIRETI-OBJECT_MSG INTO WA_BAPIRETC.
    WRITE: / WA_BAPIRETC-MESSAGE , WA_BAPIRETC-TYPE,WA_BAPIRETC-NUMBER.
    WRITE: / WA_BAPIRETC-MESSAGE_V1,WA_BAPIRETC-MESSAGE_V2.
    ENDLOOP.
    ENDLOOP.

    hi, it looks the crm pricing configuration doesn't suitable to the order data you inbounding.
    You can try to input a order according to your inbound data in SAP GUI or WEB UI order screen,  to check if the same error will also appear like IDOC inbound.  If so, then the configuration is in problem.  
    You can check the pricing related configure,  like pricing procedure,  procedure assign,  pricing condition record ,types,  and IPC if it is activated or not.
    If not,  you can check the data your filled in idoc,  maybe it is a data problem.

  • How to create an activity using business partner of document flow

    hi guys,
    Can anybody help me how to create an activity by using the business partner of document flow.
    i am using the function module BAPI_ACTIVITYCRM_CREATEMULTI but it was giving some sort of error in level based.
    so if anybody used above type of scenario can help me out. if you have an sample code please post it which is very much usefull..
    thnaks
    viswam

    Hi Viswa,
    I used this function module to create activity with the doc flow in my case successfully.
    CALL FUNCTION 'CRMXIF_ORDER_SAVE'
        EXPORTING
          data   = lt_contract
        IMPORTING
          return = lt_return.
    Regards
    Andy

  • Create an Activity Record

    Hi All
    I am trying to create an Interaction record Business Transaciton from code on the Web Ic.
    I am using the function module crm_order_maintain, but I am getting errors.
    Does anyone know if this is the correct fm to create the activity. 
    Any help would be greatly appreceiated.

    Hi Darren,
    Have you use function crm_order_maintain before?
    Because it is quiet complicated that you have to prepare
    each of group tables (Orgman, Partner, Order_h, Order_I etc...) depending upon your requirement.
    For the error, can you more specific on the error.
    At which step this error occurr?
    Yes you can create Activity using this function module.
    The only thing you need to do is to fit necessary parameters (tables) to this function (which are some quiet
    trick and complex).
    Rgds,
    Gun.

  • Replicating partner function (VE=sales employee) from CRM to ECC

    Hello, we managed to replicate the ECC customers and contact persons to SAP CRM.
    Now we also want to replicate to CRM the partner functions (VE = sales employee) of ECC that are linked to the customer in the sales view. When I replicate the object customer_rel they are not synchronised to CRM. I have maintainted the 'distribution of partner functions from SAP ECC into CRM and vice versa in SPRO.
    What are the different steps that I need to do? What am I missing?
    Should we be alble to see those relationships on BP in CRM once synchronised? If yes, in which relationship? Since the employee responsible is already filled manually for another function.
    Thanks for your help on replicating partner functions from CRM to ECC?
    Kr, Anouck

    Hi Anouck.
    If I've understood correctly, for that you must pass the employees from ECC to CRM first.
    You can do this by running report RHALEINI at ECC side, but you must configure some things first (like creating a CRM grouping to indicate the number range for employees, and to activate at CRM side this integration)
    Kind regards,
    Garcia

  • How to create idoc in sap-crm?

    hi all,
    I want to send data from SAP CRM Server to it's own port so that SAP Adapter read data from SAP CRM port .so pls anyone give the process for this with screen shots so that i can do my work successfully.
    Thank
    pankaj goyal

    Dear Suma,
    Why do you need BAPI for creating Business Partner. You can do that by using standard transaction "BP"..you can create the business partner of type "Person", "Group" or organization.
    You need to do some of the following configurations (as applicable) for the Business Partner:
    <b>Number Range:</b>
       Define Number ranges
       Assign Standard Number Range to Groupings
    <b>Middleware Setting for Transferring BP from CRM to R/3</b>     
           Setup the Function Modules in the table CRMC_BUT_CALL_FU through transaction SM30 transaction in CRM
           Setup the Function Modules in the table COM_BUPA_CALL_FU through the transaction SM30 transaction in R/3
    <b>Set up of Custom Roles and Relationships</b>     
            Define the BP view
         Create BP Roles
         Creation of Role Categories
         Creation of Relationships
         Configure Field Attributes for Each BP <b>Relationship Category
    Creation of Partner Functions     
    Creation of Access Sequence</b>     
    <b>Maintain Title     
    Define Salutation     
    Define Partner Determination Procedure     </b>
         Assign Partner Determination procedure to Transaction Type
         Assign procedure to item categories
    <b>Define cutomer price group (Customer Credit Tier)     
    Define Customer Group     </b>
    <b>Business Agreement     </b>
         FI CA Activation in CRM
         Define No. Range for Business Agreement
         Define Business Agreement Class
    Thanks,
    Atin
    <b><b>Reward points if it helps.</b></b>

  • Which functional module

    Hello all,
    How will I find which Functional module is triggered if I click Define Document Templates.
    SPRO > CRM > Basic Function > Content Management > Define Document Templates.
    regards,
    Muralidhar Prasad.c

    Hello Prasad
    Within the IMG display the key of the IMG activity (menu: <i>Additional Information -> Additional Information -> Display Key -> IMG Activity</i>).
    Take this key and run function module <b>S_CUS_IMG_ACTIVITY_READ</b>. The exported activity header contains the transaction which is called by the IMG activity.
    Regards
      Uwe

Maybe you are looking for