cancel
Showing results for 
Search instead for 
Did you mean: 

Survey import via another interface besides CSV upload

hakan_kose
Contributor
0 Kudos

Greetings,

As it's explained here you can download survey responses from an external source (for instance Survey Monkey etc) and upload them to Hybris Marketing as interactions via CSV file.

The structure used for survey responses is CUAN_S_CE_IA_TAG_FLAT as it's shown here .

I wonder if there's any other interface (API/class/function module etc) that's using this structure and its table type CUAN_T_CE_IA_TAG_FLAT? Because we need to import surveys to Hybris Marketing periodically. It would be a time-consuming activity to prepare a CSV file every time. We're looking for an consistent integration.

Thanks in advance,

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member226
Employee
Employee

Hi,

Survey Response Import is nothing but a Interaction in yMkt. Hence you can very well use the standard o data Interface for Importing Survey Response and it will in result create a new Interaction with IA_TYPE as SURVEY_RESPONSE.

Thanks

Saurabh

krishnendu_laha
Active Contributor

Please check method "CUAN_S_CE_IA_TAG_FLAT" of class CL_CUAN_UPLOAD_HANDLER_SURVEY.

The package CUAN_DATA_UPLOAD contains all relevant handler class.

hakan_kose
Contributor
0 Kudos

Hi Krishnendu,

Thanks for the answer. Though I cannot quite understand which method you exactly refer to, I checked almost every method of CL_CUAN_UPLOAD_HANDLER_SURVEY. However the import/output parameters don't sound user-friendly.

I'm just looking for a way to upload surveys through consistent integration, however I want to get away with creating custom fields for the interaction root. I want to reserve those fields for other NON SAP external sources which will deliver us many industry specific fields

hakan_kose
Contributor
0 Kudos

Hi Saurabh,

Thanks for the reply. That's OK, but which standart fields do I have to use for survey name, questions and answers?

former_member226
Employee
Employee

Hi,

Survey Name will be stored in CUAND_CE_IA_RT-CONTENT_TITLE.

Survey Question and Answer will be stored in CUAND_CE_IA_TAG-TAG.

Here CUAND_CE_IA_TAG-PARENT_KEY= CUAND_CE_IA_RT-DB_KEY.

Thanks

Saurabh

hakan_kose
Contributor
0 Kudos

Hi Saurabh,

This is what I needed. Thanks a lot.