Hierarchy
⤷
⤷
Properties
| Class | CL_GRFN_SURVEY_UTIL | |
| Short Description | Survey utility functions | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRFN_SURVEY | GRC Survey |
| Created | 20131202 | SAP |
| Last change | 20141106 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_GRFN_SURVEY_UTIL has no forward declaration.
Interfaces
Class CL_GRFN_SURVEY_UTIL has no interface implemented.
Friends
Class CL_GRFN_SURVEY_UTIL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'ACTIVE' | 20131205 | |||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'ANSWER_TYPE' | 20131205 | |||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'ATYPE' | 20131205 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'CATEGORY' | 20131205 | |||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'CHOICE' | 20131205 | |||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'CHOICE_KEY' | 20131205 | |||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'COMMENT_REQUIRED' | 20131205 | |||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'COMMENT_REQUIRED_OPTION' | 20131205 | |||
| 9 | Constant | Public | Type reference (TYPE) | STRING | 'DEPENDENT_QUESTION' | 20131205 | |||
| 10 | Constant | Public | Type reference (TYPE) | STRING | 'DEPENDENT_QUESTION_ID' | 20131205 | |||
| 11 | Constant | Public | Type reference (TYPE) | STRING | 'DESCRIPTION' | 20131205 | |||
| 12 | Constant | Public | Type reference (TYPE) | STRING | 'LIST_OF_CHOICES' | 20131205 | |||
| 13 | Constant | Public | Type reference (TYPE) | STRING | 'QEXPLAIN' | 20131205 | |||
| 14 | Constant | Public | Type reference (TYPE) | STRING | 'QUESTION' | 20131205 | |||
| 15 | Constant | Public | Type reference (TYPE) | STRING | 'QUESTION_ID' | 20131205 | |||
| 16 | Constant | Public | Type reference (TYPE) | STRING | 'QUESTION_NAME' | 20131205 | |||
| 17 | Constant | Public | Type reference (TYPE) | STRING | 'SURVEY_CATEGORY' | 20131205 | |||
| 18 | Constant | Public | Type reference (TYPE) | STRING | 'SURVEY_ID' | 20131205 | |||
| 19 | Constant | Public | Type reference (TYPE) | STRING | 'TEXT' | 20131205 | |||
| 20 | Constant | Public | Type reference (TYPE) | STRING | 'TITLE' | 20131205 | |||
| 21 | Constant | Public | Type reference (TYPE) | STRING | 'AnswerType' | 20131205 | |||
| 22 | Constant | Public | Type reference (TYPE) | STRING | 'Mapping' | 20131205 | |||
| 23 | Constant | Public | Type reference (TYPE) | STRING | 'Questions' | 20131205 | |||
| 24 | Constant | Public | Type reference (TYPE) | STRING | 'Survey' | 20131205 | |||
| 25 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GRRM_UTIL_XLSX | Utility class for Handle XLSX | 20131205 | |||
| 26 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_FDT_XL_SPREADSHEET | 20131202 | ||||
| 27 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20131203 | |||
| 28 | Instance attribute | Private | Type reference (TYPE) | YT_CHOICE | 20131202 | ||||
| 29 | Static Attribute | Private | Type reference (TYPE) | GRFN_T_SRV_QUESTION_CHOICE | Survey Question Choices | 20131203 | |||
| 30 | Static Attribute | Private | Type reference (TYPE) | GRFN_T_SRV_QUESTION_CHOICE | Survey Question Choices | 20131203 | |||
| 31 | Static Attribute | Private | Type reference (TYPE) | YT_RATING | 20131203 | ||||
| 32 | Static Attribute | Private | Type reference (TYPE) | GRFN_T_SRV_QUESTION_CHOICE | Survey Question Choices | 20131203 | |||
| 33 | Static Attribute | Private | Type reference (TYPE) | GRFN_T_SRV_QUESTION_CHOICE | Survey Question Choices | 20131203 | |||
| 34 | Instance attribute | Private | Type reference (TYPE) | GRFN_T_API_OBJECT_ID | Table type of API object ID | 20131204 | |||
| 35 | Instance attribute | Private | Type reference (TYPE) | YT_MAPPING | 20131202 | ||||
| 36 | Instance attribute | Private | Type reference (TYPE) | GRPC_T_API_QCATEGORY | Question category | 20131203 | |||
| 37 | Instance attribute | Private | Type reference (TYPE) | YT_QUESTION | 20131202 | ||||
| 38 | Instance attribute | Private | Type reference (TYPE) | GRPC_T_API_SRV_QUESTION_DATA | Survey Question | 20131205 | |||
| 39 | Instance attribute | Private | Type reference (TYPE) | YT_Q_MAPPING | 20131204 | ||||
| 40 | Instance attribute | Private | Type reference (TYPE) | YT_SURVEY | 20131202 | ||||
| 41 | Instance attribute | Private | Type reference (TYPE) | GRPC_T_API_SURVEY_DATA | Survey Template | 20131205 |
Methods
Events
Class CL_GRFN_SURVEY_UTIL has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YS_CHOICE | Private | See coding | 20131202 | begin of ys_choice,
line type string,
atype_ex type char20,
atype type grpc_atype,
rtype type grfn_rtype,
choice_key type grfn_question_choice_key,
choice_text type grfn_question_choice_text,
end of ys_choice
|
||
| 2 | YS_MAPPING | Private | See coding | 20131202 | begin of ys_mapping,
line type string,
survey_id type grfn_api_object_id,
question_id type grfn_api_object_id,
choice_key type char20,
dependent_q_id type grfn_api_object_id,
end of ys_mapping
|
||
| 3 | YS_QUESTION | Private | See coding | 20131202 | begin of ys_question,
line type string,
question_id type grfn_api_object_id,
qcategory type grpc_qcategory,
atype_ex type char20,
atype type grpc_atype,
rtype type grfn_rtype,
comment_required type string,
text type grpc_qtext,
qexplain type grfn_qexplain,
link_q_id type grfn_api_object_id,
end of ys_question
|
||
| 4 | YS_Q_MAPPING | Private | See coding | 20131204 | begin of ys_q_mapping,
line type string,
survey_id type grfn_api_object_id,
question_id type grfn_api_object_id,
choice_key type grfn_question_choice_key,
parent_q_id type grfn_api_object_id,
end of ys_q_mapping
|
||
| 5 | YS_RATING | Private | See coding | 20131203 | begin of ys_rating,
rtype type grfn_rtype,
comp type grfn_app_component,
text type grpc_qtext,
t_choice type grfn_t_srv_question_choice,
end of ys_rating
|
||
| 6 | YS_SURVEY | Private | See coding | 20131202 | begin of ys_survey,
line type string,
survey_id type grfn_api_object_id,
isactive type grpc_isactive,
qcategory type grpc_qcategory,
text type grpc_stext,
description type grpc_sdescription,
end of ys_survey
|
||
| 7 | YT_CHOICE | Private | See coding | 20131202 | yt_choice type table of ys_choice
|
||
| 8 | YT_MAPPING | Private | See coding | 20131202 | yt_mapping type table of ys_mapping
|
||
| 9 | YT_QUESTION | Private | See coding | 20131202 | yt_question type table of ys_question
|
||
| 10 | YT_Q_MAPPING | Private | See coding | 20131204 | yt_q_mapping type table of ys_q_mapping
|
||
| 11 | YT_RATING | Private | See coding | 20131203 | yt_rating type standard table of ys_rating with default key
|
||
| 12 | YT_SURVEY | Private | See coding | 20131202 | yt_survey type table of ys_survey
|
Method Signatures
Method ADJ_CHOICE_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATYPE | Value transfer | Type reference (TYPE) | GRPC_ATYPE | Answer Type | 20131211 | |||
| 2 | IV_CHOICE | Value transfer | Type reference (TYPE) | STRING | 20131211 | ||||
| 3 | RV_CHOICE | Value transfer | Type reference (TYPE) | GRFN_QUESTION_CHOICE_KEY | Survey Question Choice Key | 20131211 |
Method ADJ_CHOICE_KEY on class CL_GRFN_SURVEY_UTIL has no exception.
Method CHECK_CHOICES Signature
Method CHECK_CHOICES on class CL_GRFN_SURVEY_UTIL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131203 |
Method CHECK_MAPPING Signature
Method CHECK_MAPPING on class CL_GRFN_SURVEY_UTIL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131203 |
Method CHECK_QUESTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CREATE_ALL | Call by reference | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20131205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131203 |
Method CHECK_SURVEYS Signature
Method CHECK_SURVEYS on class CL_GRFN_SURVEY_UTIL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131203 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_GRFN_SURVEY_UTIL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_GRFN_SURVEY_UTIL has no exception.
Method COLLECT_QUESTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PARENT_Q_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20131205 | |||
| 2 | IV_SURVEY_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20131205 | |||
| 3 | RV_CYCLE_FOUND | Value transfer | Type reference (TYPE) | AS4FLAG | Flag (X or Blank) | 20131205 |
Method COLLECT_QUESTIONS on class CL_GRFN_SURVEY_UTIL has no exception.
Method CREATE_QUESTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_COUNT | Value transfer | Type reference (TYPE) | I | 20131206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131203 |
Method CREATE_SURVEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_COUNT | Value transfer | Type reference (TYPE) | I | 20131206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131203 |
Method EXECUTE_QUESTION_DOWNLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_EXCEL | Call by reference | Type reference (TYPE) | XSTRING | 20131205 | ||||
| 2 | IT_QUESTION | Call by reference | Type reference (TYPE) | GRFN_T_API_OBJECT_ID | Table type of API object ID | 20131205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131205 |
Method EXECUTE_QUESTION_UPLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_COUNT | Value transfer | Type reference (TYPE) | I | 20131206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131205 |
Method EXECUTE_SURVEY_DOWNLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_EXCEL | Call by reference | Type reference (TYPE) | XSTRING | 20131205 | ||||
| 2 | IT_SURVEY | Call by reference | Type reference (TYPE) | GRFN_T_API_OBJECT_ID | Table type of API object ID | 20131205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131205 |
Method EXECUTE_SURVEY_UPLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_COUNT | Value transfer | Type reference (TYPE) | I | 20131206 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131205 |
Method GET_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VALUE | Call by reference | Type reference (TYPE) | ANY | 20131202 | ||||
| 2 | RV_KEY | Value transfer | Type reference (TYPE) | STRING | 20131202 |
Method GET_KEY on class CL_GRFN_SURVEY_UTIL has no exception.
Method GET_SURVEY_QUESTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SURVEY | Call by reference | Type reference (TYPE) | GRFN_T_API_OBJECT_ID | Table type of API object ID | 20131205 | |||
| 2 | RT_QUESTION | Value transfer | Type reference (TYPE) | GRFN_T_API_OBJECT_ID | Table type of API object ID | 20131205 |
Method GET_SURVEY_QUESTIONS on class CL_GRFN_SURVEY_UTIL has no exception.
Method GET_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VALUE | Call by reference | Type reference (TYPE) | ANY | 20131202 | ||||
| 2 | RV_TEXT | Value transfer | Type reference (TYPE) | STRING | 20131202 |
Method GET_TEXT on class CL_GRFN_SURVEY_UTIL has no exception.
Method OPEN_DOWNLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_GRFN_SURVEY_UTIL | Survey utility functions | 20131205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131205 |
Method OPEN_UPLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CONTENT | Call by reference | Type reference (TYPE) | XSTRING | 20131202 | ||||
| 2 | IV_FILE_NAME | Call by reference | Type reference (TYPE) | STRING | 20131202 | ||||
| 3 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_GRFN_SURVEY_UTIL | Survey utility functions | 20131202 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131202 |
Method READ_CHOICES Signature
Method READ_CHOICES on class CL_GRFN_SURVEY_UTIL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131203 |
Method READ_MAPPING Signature
Method READ_MAPPING on class CL_GRFN_SURVEY_UTIL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131203 |
Method READ_QUESTIONS Signature
Method READ_QUESTIONS on class CL_GRFN_SURVEY_UTIL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131203 |
Method READ_SURVEYS Signature
Method READ_SURVEYS on class CL_GRFN_SURVEY_UTIL has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131203 |
Method WRITE_MAPPING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SURVEY | Call by reference | Type reference (TYPE) | GRFN_T_API_OBJECT_ID | Table type of API object ID | 20131205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131205 |
Method WRITE_QUESTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_QUESTION | Call by reference | Type reference (TYPE) | GRFN_T_API_OBJECT_ID | Table type of API object ID | 20131205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131205 |
Method WRITE_SURVEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SURVEY | Call by reference | Type reference (TYPE) | GRFN_T_API_OBJECT_ID | Table type of API object ID | 20131205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20131205 |
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | V1100 |