FLAVOR_CREATE SAP Method Create a new flavor.









Below is documentation, parameters and attributes of ABAP Method FLAVOR_CREATE 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_CREATE can also be found below:

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


Parameters of Method FLAVOR_CREATE

.

NameTypeData TypeDescriptionDefault Value
CSSImportingTYPE
STRING
FLAVORImportingTYPE
PRSNAS_FLAVOR_ID
Personas: The flavor ID
IS_DEFAULTImportingTYPE
XFELD
Checkbox
JPGImportingTYPE
XSTRING
NAMEImportingTYPE
STRING
TCODEImportingTYPE
TCODE
Transaction Code
THEMEImportingTYPE
XSTRING
XMLImportingTYPE
XSTRING
IV_CSSImportingTYPE
STRING
IV_FLAVORImportingTYPE
PRSNAS_E_FLAVOR_ID
Personas: The flavor ID
IV_IS_DEFAULTImportingTYPE
XFELD
Checkbox
IV_JPGImportingTYPE
XSTRING
IV_NAMEImportingTYPE
PRSNAS_E_FLAVOR_NAME
Personas: The Flavor Name
IV_TCODEImportingTYPE
TCODE
Transaction Code
IV_THEMEImportingTYPE
XSTRING
IV_XMLImportingTYPE
XSTRING



Exceptions of Method FLAVOR_CREATE

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_CSS TYPE STRING,
lv_FLAVOR TYPE PRSNAS_FLAVOR_ID,
lv_IS_DEFAULT TYPE XFELD,
lv_JPG TYPE XSTRING,
lv_NAME TYPE STRING,
lv_TCODE TYPE TCODE,
lv_THEME TYPE XSTRING,
lv_XML TYPE XSTRING,
lv_IV_CSS TYPE STRING,
lv_IV_FLAVOR TYPE PRSNAS_E_FLAVOR_ID,
lv_IV_IS_DEFAULT TYPE XFELD,
lv_IV_JPG TYPE XSTRING,
lv_IV_NAME TYPE PRSNAS_E_FLAVOR_NAME,
lv_IV_TCODE TYPE TCODE,
lv_IV_THEME TYPE XSTRING,
lv_IV_XML TYPE XSTRING,
lv_other TYPE c.

CALL METHOD CL_PERSONAS=>FLAVOR_CREATE(
EXPORTING
CSS = lv_CSS
FLAVOR = lv_FLAVOR
IS_DEFAULT = lv_IS_DEFAULT
JPG = lv_JPG
NAME = lv_NAME
TCODE = lv_TCODE
THEME = lv_THEME
XML = lv_XML
IV_CSS = lv_IV_CSS
IV_FLAVOR = lv_IV_FLAVOR
IV_IS_DEFAULT = lv_IV_IS_DEFAULT
IV_JPG = lv_IV_JPG
IV_NAME = lv_IV_NAME
IV_TCODE = lv_IV_TCODE
IV_THEME = lv_IV_THEME
IV_XML = lv_IV_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!