Skip to Content
author's profile photo Former Member
Former Member

campaign execution


In CA I defined process to send Email invitations...

So when customer receives email he will click on link and it will open a questionaire in a new window.

1Q. When he submits the questionaire he should get confirmation mail....I have maintained those settings in CA UI...But I'm not getting output...

2Q.In which table I will get details about survey?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2008 at 06:12 AM


    In SAP Standard when a customer answers a survey, a new activity with transaction type ‘0000’ will be created that automatically triggers the follow-up processes. In our business scenario we’re not using transaction type ‘0000’ but ‘Y004’ instead.

    To make the campaign automation survey scenario running for this transaction type as well you have to change a BAdI.

    The following procedure describes where and how to adapt the respective changes.

    In a real customer scenario this is a very likely procedure.

    Transaction Code SE18

    1. SAP Menu Architecture and Technology---->ABAP Workbench -

    >Utilities -

    >Business Add-Ins

    2. Enter the name of the respective BAdI CRM_MKTCA_SVY_PAI in the field Definition Name and choose Display first.

    3. Go to tab ‘Interface’ and double-click on the default implementation class CL_DEF_IM_CRM_MKTCA_SVY_PAI.

    4. Again, double-click on method IF_EX_CRM_MKTCA_SVY_PAI~PROCESS_SVY_PAI_FOR_CA and confirm the following dialog box with Yes.

    5. In the following you see the example implementation for transaction type ‘0000’.

    6. Now switch to change mode and search for ‘0000’ with the Find/Replace button.

    7. In the following replace the line

    iv_process_type = '0000' with the line

    iv_process_type = 'Y004'

    8. Save your settings and don’t forget to activate your coding again.

    now just try to understand it

    because as soon as customer repond to the survey you get an in bound activity

    this activity generation is crucial part of response analysing because this activity contains the info regarding the customer response

    you can also see the details of the sales activity automatically triggered in CRM when survey response is filled from customer

    in following tables


    Displays an activity by taking the Business Transaction Number for the same.


    Create call list for activities generated


    Header Details of an activity such as PRIORITY,

    OBJECTIVE, Address Details etc.


    Item Details of an activity.

    guess it will clear all your doubts

    best regards


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Ashish /Shalini,

      1. In our scenarion , we are creating ZCEF email activity transaction (cotains Survey URL ) through campaign.

      2. When consumer submits feedback , it should get updated in same transaction number of ZCEF of point 1.

      3. What code changes need to be done in BADI CRM_MKTCA_SVY_PAI , please suggest .

      Thanks & Regards,

      Anup Reche

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2008 at 11:43 AM

    Hi Ajay,

    1. As Ashish rightly said, that when the customer respond to the survey or Clicks on the Save/Submit Button, in the SAP CRM System an activity is generated with transaction type 0000. This has been hardcoded in the PAI Module CRM_MKTCA_SURVEY_MKT_PAI of the Questionaire.

    To change the transaction type we need to implement BADI CRM_MKTCA_SVY_PAI

    2. This activity also has the response of the customer which can be viewed in the Questionaire Tab of the activity.

    You need to maintain a customizing setting for Questionaire Determination.

    Customer Relationship Management -> Transactions-> Settings for Activities -> Questionnaires -> Define Determination for Questionnaires: Business Activity.

    Maintain an entry here. Put the Determiantion Id, Descr and transaction type (0000), keep the Questionaire Column Blank, and mark the Checkbox in the Active Column.

    3. At the database level two tables get updated based on the response.

    • CRMD_MKTRU_SVY: Assignment Business Partner / Surveys

    • CRMD_MKTCA_CT_IN: Table for Inbound Entry

    Also in transaction CRM_SURVEY_SUITE, select your survey and click on the Evaluation Button. It should also show the response of the customers.

    Wish the information is helpful.


    Shalini Chauhan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.