Configuration Steps: (from Vendor Evaluation: Configuration Release 500)
1. Create a survey in WebSurvey Cockpit bycopying a template survey, modifying it, and then saving it.
2. Activate the relevant DataSources.
3. Define the event incustomizing (BUS2206), and it points to the correct Survey andQuestionnaire.
4. Check and verify tables TWPIRLSVR andTUWS_SURVEY. The Questionnaire has the XSLT name assigned to it.
5. Activate BBP_VE_SERVICE and UWS_FORM_SERVICE (USW_FORMSERVICE).
But the pop-up survey is blank when clicking "Evaluate supplier" in the confirmation document. .
Technical Tips:
1. Check whether URL is returned. (Class:CL_BBP_VE_SERVICE_BSP Method:ON_INITIALIZATION)
If the gv_questionaire_url is empty hence the issue.
#######################Call Stack#######################
11##FORM#UPDATE_ATTR_AND_PUBLISH#SAPLBBP_VE_APP
10##FUNCTION#BBP_VE_QSTN_GET_URL#SAPLBBP_VE_APP
9##METHOD#ON_INITIALIZATION#CL_BBP_VE_SERVICE_BSP=========CP
8##METHOD#_ONINITIALIZATION
2. Include LBBP_VE_APPF08 Form UPDATE_ATTR_AND_PUBLISH
Check whether LT_HIERARCHY is empty.
##############Call stack##############
11##FORM#UPDATE_ATTR_AND_PUBLISH#SAPLBBP_VE_APP
10##FUNCTION#BBP_VE_QSTN_GET_URL#SAPLBBP_VE_APP
9##METHOD#ON_INITIALIZATION#CL_BBP_VE_SERVICE_BSP=========CP
3. CL_UWS_TARGET_HIERARCHY Method GET_NODE_DB
The attribute mt_node_db was empty and hence the issue.
Summary:
The FM UWS_GET_TARGET_NODES_DB is called with the parameters
ID_APPLICATION = SRM_VENDOR_EVALUATION
ID_SURVEY_ID = PLANT_SURVEY
The PLANT_SURVEY is a survey created by the customer.
This FM returns no values in the internal table et_nodes_db and this is the cause of the issue.
If we try executing the same FM with standard SAP survey like SURVEY_ID= SAP_VL, the node value is fetched.
The root casue of the issue was that the node of the target group was not being fetched and hence by changing the Target group to Target Group(mass data). You can verify it via t-code BBP_EVAL_SURVEY
In SRM_CONF(SRM Template), you can see the target group Bestätigung.
But for the survey which has problem, the target group is not assigned.
Debug tips:
Class:CL_BBP_VE_SERVICE_BSP
BADI:BBP_VE_QSTN_DET_BADI
Include:LBBP_VE_APPF08
127704 2010
216221 2009