Skip to Content
avatar image
Former Member

How to -C4C Survey- Reset using program

Dear Experts,

I have following situation :

Every first visit of a month should have a blank Survey. All the subsequent visits of the month should have survey answers copied from previous visit.

Then First visit of next month, again the survey should be blank and the same process continues.

In C4C Survey Configuration, we can use the "Previous Answers" checkbox. If ticked, then answers are always copied - Which is fine but I need to add a business logic somewhere such that when first visit of month, then reset the answer.

Any idea how can this be achieved ?

Many Thanks,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    May 17, 2017 at 01:54 PM

    Hello Suchita

    From my experience there is no way to perform this in a standard way, in that case you will have do design this by using a Custom code solution (PDI), you can do this by finding a partner to develop this feature or in case of urgency you may contact the SAP Cloud Service -

    Best Regards

    Gabriel Brage

    Add comment
    10|10000 characters needed characters exceeded

  • May 18, 2017 at 11:38 AM

    Hello Suchita,

    You need to locate the BO representing a visit. In C4C this should be the Activity from the namespace AP.PC.ActivityManagement.Global.

    In this BO you need to determine if the current instance is the first visit in this month (maybe a flag, maybe a query, ...)

    In that case you would reset the associated survey.

    . Horst

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Horst :-)

      Most of the nodes are PSM released but there is no action for RESET. ( Reset button is displayed on the survey runtime executiuon which is generated out of XML I believe)

      Also the Element & ElementValue structures of Valuation node are the fields with lock - No write access therefore I also can not clear them off in the backend.

      I am raising an incident. Let's see what SAP suggest.

      Thanks & Regards


  • Jun 23, 2017 at 04:36 AM

    Thanks Guys. SAP is providing a "RESET" action on valuation collection to help us on this requirement.

    This action will be PSM released on weekend of 8 July & thus will be helpful in future to anyone who want to Reset a survey via backend.



    Add comment
    10|10000 characters needed characters exceeded