Skip to Content
avatar image
Former Member

Agentry development - surveys

Hi experts,

I have seen in the SAP CRM Service Manager and SAP Sales Manager apps that there are surveys. I'm wondering how they are built - are they static - pre-built screens with questions and answers? or they can be dynamically built upon information coming from a backend (table with questions and types of answers)?

That's a case with a custom app and custom Java backend.

Looking forward to your feedback!

Denis

Tags edited by: Michael Appleby

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 28, 2014 at 05:08 PM

    Denis,

    The screens are dynamically built with the survey information downloaded from SAP to the client in the form of complex tables.  The complex table data is then converted into object data when the surveys are accessed to be more easily dsiplayed in the various screen controls.  If you load one of those applications using the Agentry Test Environment (ATE) you can inspect the CT and Object collection structures to see how they are structured.

    Jason Latko - Senior Product Developer at SAP

    Add comment
    10|10000 characters needed characters exceeded

    • Denis,

      I didn't work on the survey piece and haven't studied it much, but my answer to why the flow is complex would be both because of the nature of survey data and the many steps required in Agentry to handle replicating that data into objects for easier consumption.  Agentry screen controls are lacking when it comes to displaying or allowing manipulation of complex table data.  Complex tables cannot be a data source for a list tile control, only object data can serve that purpose.  Most of the complexity comes in replicating the complex table data into the object store before a survey is taken on the client so it can easily be displayed and manipulated with Agentry transactions.  That is the typical approach that is taken, involving multiple looping actions and transactions to get the data out of the CTs.  We store them initially in complex tables to handle the sheer volume of data because those are indexed and much more efficient, but then need to duplicate the data into objects before interacting with it on tile controls.  We handle reference objects in Service Manager in a similar way, keeping the thousands of potential records in a CT, then working with the data as replicated objects.

      Jason Latko - Senior Product Developer at SAP.