SET_SENSITIVITY SAP Method Set sensitivity









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

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


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

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

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


Parameters of Method SET_SENSITIVITY

.

NameTypeData TypeDescriptionDefault Value
IT_ATTA_HEXImportingTYPE
RCF_T_ATT4MAIL_HEX
E-Mail Attachments
IV_ACT_GUIDImportingTYPE
RCF_ACT_GUID
Global Key for Activities
IV_BODY_CImportingTYPE
SOLI_TAB
Objcont and Objhead as Table Type
IV_BODY_XImportingTYPE
SOLIX_TAB
GBT: SOLIX as Table Type
IV_DOC_TYPEImportingTYPE
SO_OBJ_TP
Code for document class
IV_LANGUImportingTYPE
SPRAS
Language Key
IV_RECEIVERImportingTYPE
AD_SMTPADR
E-Mail Address
IV_SENDERImportingTYPE
AD_SMTPADR
E-Mail Address
IV_SUBJECTImportingTYPE
STRING
IV_SENSITIVITYReturningTYPE
SO_OBJ_SNS
Object: Sensitivity (private, functional, ...)



Exceptions of Method SET_SENSITIVITY

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_HRRCF00_DET_EMAIL_SEN.
DATA: lv_IT_ATTA_HEX TYPE RCF_T_ATT4MAIL_HEX,
lv_IV_ACT_GUID TYPE RCF_ACT_GUID,
lv_IV_BODY_C TYPE SOLI_TAB,
lv_IV_BODY_X TYPE SOLIX_TAB,
lv_IV_DOC_TYPE TYPE SO_OBJ_TP,
lv_IV_LANGU TYPE SPRAS,
lv_IV_RECEIVER TYPE AD_SMTPADR,
lv_IV_SENDER TYPE AD_SMTPADR,
lv_IV_SENSITIVITY TYPE SO_OBJ_SNS,
lv_IV_SUBJECT TYPE STRING,
lv_other TYPE c.

CALL METHOD lo_class=>SET_SENSITIVITY(
EXPORTING
IT_ATTA_HEX = lv_IT_ATTA_HEX
IV_ACT_GUID = lv_IV_ACT_GUID
IV_BODY_C = lv_IV_BODY_C
IV_BODY_X = lv_IV_BODY_X
IV_DOC_TYPE = lv_IV_DOC_TYPE
IV_LANGU = lv_IV_LANGU
IV_RECEIVER = lv_IV_RECEIVER
IV_SENDER = lv_IV_SENDER
IV_SUBJECT = lv_IV_SUBJECT
RECEIVING
IV_SENSITIVITY = lv_IV_SENSITIVITY )



"Alternate coding for Method Call with returning parameter
lv_IV_SENSITIVITY = lo_class=>SET_SENSITIVITY(
EXPORTING
IT_ATTA_HEX = lv_IT_ATTA_HEX
IV_ACT_GUID = lv_IV_ACT_GUID
IV_BODY_C = lv_IV_BODY_C
IV_BODY_X = lv_IV_BODY_X
IV_DOC_TYPE = lv_IV_DOC_TYPE
IV_LANGU = lv_IV_LANGU
IV_RECEIVER = lv_IV_RECEIVER
IV_SENDER = lv_IV_SENDER
IV_SUBJECT = lv_IV_SUBJECT ).

Links to Related Class(s)

IF_EX_HR...
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!