FLAVOR_READ SAP Method Retrieve an existing flavor.









Below is documentation, parameters and attributes of ABAP Method FLAVOR_READ within SAP class CL_PERSONAS. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_PERSONAS into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method FLAVOR_READ can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method FLAVOR_READ

.

NameTypeData TypeDescriptionDefault Value
FLAVORImportingTYPE
PRSNAS_FLAVOR_ID
Personas: The flavor ID
TCODEImportingTYPE
TCODE
Transaction Code
IV_FLAVORImportingTYPE
PRSNAS_E_FLAVOR_ID
Personas: The flavor ID
IV_TCODEImportingTYPE
TCODE
Transaction Code
AUTHORExportingTYPE
XUBNAME
User Name in User Master Record
CSSExportingTYPE
STRING
IS_DEFAULTExportingTYPE
XFELD
Checkbox
IS_PUBLICExportingTYPE
XFELD
Checkbox
JPGExportingTYPE
XSTRING
NAMEExportingTYPE
STRING
THEMEExportingTYPE
XSTRING
XMLExportingTYPE
XSTRING
EV_AUTHORExportingTYPE
XUBNAME
User Name in User Master Record
EV_CSSExportingTYPE
STRING
EV_IS_DEFAULTExportingTYPE
XFELD
Checkbox
EV_IS_PUBLICExportingTYPE
XFELD
Checkbox
EV_JPGExportingTYPE
XSTRING
EV_NAMEExportingTYPE
PRSNAS_E_FLAVOR_NAME
Personas: The Flavor Name
EV_THEMEExportingTYPE
XSTRING
EV_XMLExportingTYPE
XSTRING



Exceptions of Method FLAVOR_READ

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lv_AUTHOR TYPE XUBNAME,
lv_CSS TYPE STRING,
lv_FLAVOR TYPE PRSNAS_FLAVOR_ID,
lv_IS_DEFAULT TYPE XFELD,
lv_IS_PUBLIC TYPE XFELD,
lv_JPG TYPE XSTRING,
lv_NAME TYPE STRING,
lv_TCODE TYPE TCODE,
lv_THEME TYPE XSTRING,
lv_XML TYPE XSTRING,
lv_EV_AUTHOR TYPE XUBNAME,
lv_EV_CSS TYPE STRING,
lv_EV_IS_DEFAULT TYPE XFELD,
lv_EV_IS_PUBLIC TYPE XFELD,
lv_EV_JPG TYPE XSTRING,
lv_EV_NAME TYPE PRSNAS_E_FLAVOR_NAME,
lv_EV_THEME TYPE XSTRING,
lv_EV_XML TYPE XSTRING,
lv_IV_FLAVOR TYPE PRSNAS_E_FLAVOR_ID,
lv_IV_TCODE TYPE TCODE,
lv_other TYPE c.

CALL METHOD CL_PERSONAS=>FLAVOR_READ(
EXPORTING
FLAVOR = lv_FLAVOR
TCODE = lv_TCODE
IV_FLAVOR = lv_IV_FLAVOR
IV_TCODE = lv_IV_TCODE
IMPORTING
AUTHOR = lv_AUTHOR
CSS = lv_CSS
IS_DEFAULT = lv_IS_DEFAULT
IS_PUBLIC = lv_IS_PUBLIC
JPG = lv_JPG
NAME = lv_NAME
THEME = lv_THEME
XML = lv_XML
EV_AUTHOR = lv_EV_AUTHOR
EV_CSS = lv_EV_CSS
EV_IS_DEFAULT = lv_EV_IS_DEFAULT
EV_IS_PUBLIC = lv_EV_IS_PUBLIC
EV_JPG = lv_EV_JPG
EV_NAME = lv_EV_NAME
EV_THEME = lv_EV_THEME
EV_XML = lv_EV_XML ).

Links to Related Class(s)

CL_PERSO...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!