cancel
Showing results for 
Search instead for 
Did you mean: 

Sending of Questionnaire to prospect failed

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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 

Former Member
0 Kudos

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

Former Member
0 Kudos

Any idea?