SAVE_DRAFT_FORM SAP Method Execute the SAVE_DRAFT event









Below is documentation, parameters and attributes of ABAP Method SAVE_DRAFT_FORM within SAP class IF_HRASR00_PROCESS_EXECUTE. 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_HRASR00_PROCESS_EXECUTE 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 SAVE_DRAFT_FORM can also be found below:

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


Parameters of Method SAVE_DRAFT_FORM

.

NameTypeData TypeDescriptionDefault Value
IT_SELECTED_FIELDImportingTYPE
HRASR00_FIELDLIST_TAB
List of Field Names
IV_OBJECT_KEYImportingTYPE
ASR_OBJECT_KEY
Object Key
IV_PROCESSImportingTYPE
ASR_PROCESS
Process
IV_STW_BO_IDImportingTYPE
STW_BO_ID
Streamwork BO ID
IV_WI_IDImportingTYPE
SWW_WIID
Work item ID
IV_PROC_GUIDImportingTYPE
SCMG_CASE_GUID
Technical Case Key (Case GUID)
EV_IS_OKExportingTYPE
ABAP_BOOL
CT_FIELD_UI_ATTRIBUTESChangingTYPE
HRASR_UIATTRIBUTE_PARAM_TAB
Internal Service Request: UI Attributes for a Field
CT_FORM_FIELD_VALUESChangingTYPE
HRASR_SPECIAL_PARAM_TAB
Internal Service Request: Values of the Special Fields
CT_INPUT_HELP_EXTENDEDChangingTYPE
HRASR00_FIELD_HELP_DATASET_TAB
Value Helps for Fields
CT_INPUT_HELP_VALUESChangingTYPE
HRASR_SPECIAL_PARAM_TAB
Internal Service Request: Values of the Special Fields
CT_MESSAGE_LISTChangingTYPE
HRASR_RETURN_TAB
Internet Service Request: Return Table



Exceptions of Method SAVE_DRAFT_FORM

CX_HRASR00_PROCESS_EXECUTE - Exception class for process execute

Example ABAP coding


DATA: lo_class TYPE REF TO IF_HRASR00_PROCESS_EXECUTE.
DATA: lv_CT_FIELD_UI_ATTRIBUTES TYPE HRASR_UIATTRIBUTE_PARAM_TAB,
lv_CT_FORM_FIELD_VALUES TYPE HRASR_SPECIAL_PARAM_TAB,
lv_CT_INPUT_HELP_EXTENDED TYPE HRASR00_FIELD_HELP_DATASET_TAB,
lv_CT_INPUT_HELP_VALUES TYPE HRASR_SPECIAL_PARAM_TAB,
lv_CT_MESSAGE_LIST TYPE HRASR_RETURN_TAB,
lv_EV_IS_OK TYPE ABAP_BOOL,
lv_IT_SELECTED_FIELD TYPE HRASR00_FIELDLIST_TAB,
lv_IV_OBJECT_KEY TYPE ASR_OBJECT_KEY,
lv_IV_PROCESS TYPE ASR_PROCESS,
lv_IV_STW_BO_ID TYPE STW_BO_ID,
lv_IV_WI_ID TYPE SWW_WIID,
lv_IV_PROC_GUID TYPE SCMG_CASE_GUID,
lv_other TYPE c.

CALL METHOD lo_class=>SAVE_DRAFT_FORM(
EXPORTING
IT_SELECTED_FIELD = lv_IT_SELECTED_FIELD
IV_OBJECT_KEY = lv_IV_OBJECT_KEY
IV_PROCESS = lv_IV_PROCESS
IV_STW_BO_ID = lv_IV_STW_BO_ID
IV_WI_ID = lv_IV_WI_ID
IV_PROC_GUID = lv_IV_PROC_GUID
IMPORTING
EV_IS_OK = lv_EV_IS_OK
CHANGING
CT_FIELD_UI_ATTRIBUTES = lv_CT_FIELD_UI_ATTRIBUTES
CT_FORM_FIELD_VALUES = lv_CT_FORM_FIELD_VALUES
CT_INPUT_HELP_EXTENDED = lv_CT_INPUT_HELP_EXTENDED
CT_INPUT_HELP_VALUES = lv_CT_INPUT_HELP_VALUES
CT_MESSAGE_LIST = lv_CT_MESSAGE_LIST ).

Links to Related Class(s)

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