Below is documentation, parameters and attributes of ABAP Method SURVEY_VALUATIONS within SAP class IF_GRFN_API_SURVEY. There is also a number of example ABAP code snipts to help you implement this method.
This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name IF_GRFN_API_SURVEY into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.
SAP Class method belongs too
IF_GRFN_API_SURVEY Method Name
SURVEY_VALUATIONS
Method Type
Static Method: This is a Static Method so you can call it directly
Importing Parameters:
Below is a list of importing parameters associated with this method, including its name, description and data type
IV_LANGU " Language Key of Current Text Environment TYPE SYLANGU
IV_QCATEGORY " Question category TYPE GRPC_QCATEGORY
Returning Parameters:
RT_VALUATION " Valuations TYPE GRFN_T_API_VALUATION
Exceptions:
Example ABAP coding
DATA:
ld_IV_LANGU TYPE SYLANGU ,
ld_IV_QCATEGORY TYPE GRPC_QCATEGORY ,
ld_RT_VALUATION TYPE GRFN_T_API_VALUATION.
" ld_IV_LANGU = "
" ld_IV_QCATEGORY = "
- CALL METHOD IF_GRFN_API_SURVEY=>SURVEY_VALUATIONS(
- EXPORTING
- IV_LANGU = ld_IV_LANGU
- IV_QCATEGORY = ld_IV_QCATEGORY
- RECEIVING
- RT_VALUATION = ld_RT_VALUATION ).
"Alternate coding for Method Call with returning parameter
ld_RT_VALUATION = IF_GRFN_API_SURVEY=>SURVEY_VALUATIONS(
- EXPORTING
- IV_LANGU = ld_IV_LANGU
- IV_QCATEGORY = ld_IV_QCATEGORY ).
ld_RT_VALUATION = IF_GRFN_API_SURVEY=>SURVEY_VALUATIONS(
- EXPORTING
- IV_LANGU = ld_IV_LANGU
- IV_QCATEGORY = ld_IV_QCATEGORY ).