SAP ABAP Class CL_GRPC_STMPLT_MODEL (DB encapsulation for Survey)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC-SPC (Application Component) Process Controls
     GRPC_SURVEY (Package) PC Survey
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_CUSTOMFIELD_MODEL Model extension to handle the custom fields 20080724
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_API_MODEL Interface for handling of GRC API models 20080407
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_GRFN_MODEL_STATUS Enable to retrieve MCF information for object from model 20091204
Properties
Class CL_GRPC_STMPLT_MODEL  
Short Description DB encapsulation for Survey    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRPC_SURVEY   PC Survey 
Created 20070711   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_GRPC_STMPLT_MODEL has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_GRFN_API_CUSTOMFIELD_MODEL Model extension to handle the custom fields 20080724
2 IF_GRFN_API_MODEL Interface for handling of GRC API models 20080407
3 IF_GRFN_MODEL_STATUS Enable to retrieve MCF information for object from model 20091204
Friends
Class CL_GRPC_STMPLT_MODEL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MR_CDF_MODEL Instance attribute Private Object reference (TYPE REF TO) CL_GRFN_UTIL_CDF_MODEL CDF Model utility class 20091130
2 MR_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_GRPC_STMPLT_MODEL DB encapsulation 20070711
3 MT_STMPLT Instance attribute Private Type reference (TYPE) YT_STMPLT 20070711
4 M_LANGU Instance attribute Private Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20070711
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20070711
2 CREATE_SURVEY Instance method Public Method Creates and locks new question in buffer 20070711
3 DELETE_SURVEY Instance method Public Method Delete locked question in buffer 20070711
4 GET_CUSTOM_FIELD Instance method Public Method 20071002
5 GET_CUSTOM_SCORE Static method Public Method Get customed score from table GRPCSSCORES 20120517
6 GET_INSTANCE Static method Public Method Get instance (no time dependency) 20070711
7 GET_SURVEY Instance method Public Method Retrieve question detail + lock 20070711
8 GET_SURVEY_LIST Instance method Public Method Return whole list 20070711
9 IS_SURVEY_LOCKED Instance method Public Method Am I locking the object? 20070711
10 LOAD_ALL Instance method Private Method Load the buffer 20070711
11 LOAD_SINGLE Instance method Private Method reload after locking 20070711
12 LOCK Instance method Private Method Locking 20070711
13 SAVE Instance method Public Method 20131023
14 SET_CUSTOM_FIELD Instance method Public Method 20071002
15 SET_SURVEY Instance method Public Method Update question in buffer 20070711
16 SURVEY_VALUATIONS Static method Public Method 20100407
17 WHERE_USED Instance method Public Method Where the question is used 20070711
Events
Class CL_GRPC_STMPLT_MODEL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_STMPLT Protected See coding 20070711 begin of ys_stmplt. include type grpcstmplt. types: t_question type grpc_t_question_id, t_score type grfn_t_srv_question_choice, t_mapping type grfn_t_srv_question_mapping, text type grpc_qtext, description type grpc_sdescription, bstat type grpc_buf_status, locked type as4flag, end of ys_stmplt
2 YT_STMPLT Protected See coding 20070711 yt_stmplt type standard table of ys_stmplt with default key
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LANGU Call by reference Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20070711

Method CONSTRUCTOR on class CL_GRPC_STMPLT_MODEL has no exception.

Method CREATE_SURVEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_SURVEY Call by reference Type reference (TYPE) GRPC_S_SURVEY 20070711

Method CREATE_SURVEY on class CL_GRPC_STMPLT_MODEL has no exception.

Method DELETE_SURVEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SURVEY_ID Call by reference Type reference (TYPE) GRPC_SURVEY_ID 20070711
# Exception Resumable Description Created on
1 IS_USED 20080109
2 NOT_LOCKED 20070711

Method GET_CUSTOM_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_FIELD Value transfer Type reference (TYPE) TY_NAMEVALUEASSTRING NAMEVALUEASSTRING 20071002
2 Importing I_SURVEY_ID Value transfer Type reference (TYPE) GRPC_SURVEY_ID 20071002

Method GET_CUSTOM_FIELD on class CL_GRPC_STMPLT_MODEL has no exception.

Method GET_CUSTOM_SCORE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_FIND Value transfer Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20120517
2 Exporting EV_SCORE Call by reference Type reference (TYPE) GRFN_SCORE Score 20120517
3 Importing IV_AKEY Call by reference Type reference (TYPE) GRFN_QUESTION_CHOICE_KEY Survey Question Choice Key 20120517
4 Importing IV_QUESTION_ID Call by reference Type reference (TYPE) GRPC_QUESTION_ID Question ID 20120517
5 Importing IV_SURVEY_ID Call by reference Type reference (TYPE) GRPC_SURVEY_ID Survey ID 20120517

Method GET_CUSTOM_SCORE on class CL_GRPC_STMPLT_MODEL has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ER_INSTANCE Value transfer Object reference (TYPE REF TO) CL_GRPC_STMPLT_MODEL DB encapsulation 20070711
2 Importing I_LANGU Call by reference Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20070711

Method GET_INSTANCE on class CL_GRPC_STMPLT_MODEL has no exception.

Method GET_SURVEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_SURVEY Call by reference Type reference (TYPE) GRPC_S_SURVEY Survey 20070711
2 Exporting ET_MAPPING Call by reference Type reference (TYPE) GRFN_T_SRV_QUESTION_MAPPING Survey Question Mappings 20131003
3 Exporting ET_QUESTION Call by reference Type reference (TYPE) GRPC_T_QUESTION_ID Question 20070711
4 Exporting ET_SURVEY_CHOICE Call by reference Type reference (TYPE) GRFN_T_SRV_QUESTION_CHOICE Survey Question Choices 20100406
5 Exporting E_LOCKED Call by reference Type reference (TYPE) AS4FLAG Lock is successful 20070711
6 Exporting E_LOCKED_BY Call by reference Type reference (TYPE) SYUNAME User Name 20070711
7 Importing I_SURVEY_ID Call by reference Type reference (TYPE) GRPC_SURVEY_ID Survey ID 20070711
8 Importing I_WRITE Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20070711

Method GET_SURVEY on class CL_GRPC_STMPLT_MODEL has no exception.

Method GET_SURVEY_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_SURVEY Value transfer Type reference (TYPE) GRPC_T_SURVEY Survey 20070711

Method GET_SURVEY_LIST on class CL_GRPC_STMPLT_MODEL has no exception.

Method IS_SURVEY_LOCKED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_LOCKING Value transfer Type reference (TYPE) AS4FLAG Flag (X or Blank) 20070711
2 Importing I_SURVEY_ID Call by reference Type reference (TYPE) GRPC_SURVEY_ID Survey ID 20070711

Method IS_SURVEY_LOCKED on class CL_GRPC_STMPLT_MODEL has no exception.

Method LOAD_ALL Signature

Method LOAD_ALL on class CL_GRPC_STMPLT_MODEL has no parameter.
Method LOAD_ALL on class CL_GRPC_STMPLT_MODEL has no exception.

Method LOAD_SINGLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SURVEY_ID Call by reference Type reference (TYPE) GRPC_SURVEY_ID Survey ID 20070711

Method LOAD_SINGLE on class CL_GRPC_STMPLT_MODEL has no exception.

Method LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_LOCKED Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20070711
2 Exporting E_USER Call by reference Type reference (TYPE) SYUNAME User Name 20070711
3 Importing I_SURVEY_ID Call by reference Type reference (TYPE) GRPC_SURVEY_ID Survey ID 20070711

Method LOCK on class CL_GRPC_STMPLT_MODEL has no exception.

Method SAVE Signature

Method SAVE on class CL_GRPC_STMPLT_MODEL has no parameter.
Method SAVE on class CL_GRPC_STMPLT_MODEL has no exception.

Method SET_CUSTOM_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NAME Value transfer Type reference (TYPE) GRPC_API_CUSTOMFIELD_NAME Name of the custom field 20071002
2 Importing I_SURVEY_ID Value transfer Type reference (TYPE) GRPC_SURVEY_ID 20071002
3 Importing I_VALUE Value transfer Type reference (TYPE) GRPC_API_CUSTOMFIELD_VALUE Value of the customer defined field 20071002

Method SET_CUSTOM_FIELD on class CL_GRPC_STMPLT_MODEL has no exception.

Method SET_SURVEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_IS_CHANGED Call by reference Type reference (TYPE) AS4FLAG Flag (X or Blank) 20070716
2 Importing IS_SURVEY Call by reference Type reference (TYPE) GRPC_S_SURVEY Survey 20070711
3 Importing IT_MAPPING Call by reference Type reference (TYPE) GRFN_T_SRV_QUESTION_MAPPING Survey Question Mappings 20131003
4 Importing IT_QUESTION Call by reference Type reference (TYPE) GRPC_T_QUESTION_ID Question 20070711
5 Importing IT_SURVEY_CHOICE Call by reference Type reference (TYPE) GRFN_T_SRV_QUESTION_CHOICE Survey Question Choices 20100406
# Exception Resumable Description Created on
1 NOT_LOCKED 20070711

Method SURVEY_VALUATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGU Value transfer Type reference (TYPE) SYLANGU SY-LANGU Language Key of Current Text Environment 20100407
2 Importing IV_QCATEGORY Value transfer Type reference (TYPE) GRPC_QCATEGORY Question category 20100407
3 Returning RT_VALUATION Value transfer Type reference (TYPE) GRFN_T_API_VALUATION Valuations 20100407

Method SURVEY_VALUATIONS on class CL_GRPC_STMPLT_MODEL has no exception.

Method WHERE_USED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_USED Value transfer Type reference (TYPE) AS4FLAG 20070711
2 Importing I_SURVEY_ID Call by reference Type reference (TYPE) GRPC_SURVEY_ID Survey ID 20070711

Method WHERE_USED on class CL_GRPC_STMPLT_MODEL has no exception.
History
Last changed by/on SAP  20141106 
SAP Release Created in 250