ADD_GOAL SAP Method Create New Target









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

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


Parameters of Method ADD_GOAL

.

NameTypeData TypeDescriptionDefault Value
IR_MESSAGE_HANDLERImportingTYPE REF TO
IF_HRBAS_MESSAGE_HANDLER
HR-PD Infotypes: Messages
ER_GOALExportingTYPE REF TO
IF_HAP_PMP_GOAL
Destination
EV_SUCCESSFULExportingTYPE
BOOLE_D
Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')



Exceptions of Method ADD_GOAL

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_HAP_PMP_GOAL_CATEGORY.
DATA: lv_ER_GOAL TYPE IF_HAP_PMP_GOAL,
lv_EV_SUCCESSFUL TYPE BOOLE_D,
lv_IR_MESSAGE_HANDLER TYPE IF_HRBAS_MESSAGE_HANDLER,
lv_other TYPE c.

CALL METHOD lo_class=>ADD_GOAL(
EXPORTING
IR_MESSAGE_HANDLER = lv_IR_MESSAGE_HANDLER
IMPORTING
ER_GOAL = lv_ER_GOAL
EV_SUCCESSFUL = lv_EV_SUCCESSFUL ).

Links to Related Class(s)

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