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

Sending of Questionnaire to prospect failed

Hello Experts,

Im trying use the WD wda_e_suco_sreg to self prospect registration in ROS.

Actually we use the SRM_SERVER 713 with SP 0002.

01. Create the SERVICE user in SU01 with roles:

  • /SAPSRM/SUCO_ANON_REG
  • SAP_EC_BBP_CREATEUSER
  • SAP_EC_BBP_CREATEVENDOR

02. Activate the WD component wda_e_suco_sreg and asign the service user.

03. Able the product category to wda_e_suco_sreg

04. I dont want to use Questionnaire in my process. Just get the basic information in SUCO and create a prospect in ROS Client.

05. When I try to send the prospect data, the system show me a pop-up with error "Sending of Questionnaire to prospect failed".

How can I solve this error?

Rgs,

Gonzalez.

QUESTIONNARY.jpg (35.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Feb 26, 2014 at 05:45 AM

    Hello Peter,

    Please put a breakpoint in the following method and debug:

    Class: /SAPSRM/CL_SUCO_QSTNR_PUBLISH

    Method: EXECUTE

    The issue occurs due to the exception "error_qstnr_send". This exception is raised at three places:

    1. For communication language (if language for quentionnaire cannot be found)

    2. For receipient's email address (if email address or user is not found)

    3. For product categories (if no product category is found)

    Please check the customizing to ensure correct entries are maintained for 1 and 3.

    As far as point two is concerned, business partner is created just before the sending of questionnaire. Therefore, if there is an issue during creation of business partner, the result of it will affect the sending of quesntionnaire.

    If you still dont' find anything in debugging, have a look at the last two calls in this method.

    1. Call to method "GET_QSTNR_FOR_PCAT" will raise an exception if no questionnaire is found or if no recipient is found.

    2. This method in turn calls another method "QSTNR_SEND" which also raises this exception. However, all the exceptions being raised in method "EXECUTE" are again raised from method QSTNR_SEND". So, the exceptions for the three reasons in method "QSTNR_SEND" are sorf of double check.

    Please share your findings and revert back.

    I believe that you have no questionnaire maintained in the system as you do not want to send any (even without nothing in it). For this case, a possible solution would be to create an internal enhancement in "EXECUTE" of class /SAPSRM/CL_SUCO_QSTNR_PUBLISH. Borrow any logic from this method (which I don't think you need any) and just "RETURN" from the method. Alternatively, you can overwrite this method and just return wihtout trying to send any questionnaire.

    Regards,

    Arun

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 25, 2014 at 04:17 PM

    Any idea?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 08, 2014 at 03:08 PM

    Hi

    Have you been able to correct this problem? If so, could you please share your solution with us. We are having the same issue.

    Thank you

    Miral

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi all

      I just met the same error: Sending of questionnaire to prospect failed

      And I debugged as above, while the error appears in program: SSFCOMP_OPEN

      I think maybe some smartform has error, but I can no fix it. Please help on this.

      Thanks.

      Regards,

      Hayashi

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.