END_OF_ACTION SAP Method Inserts correct status at end of action and closes log









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

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


Parameters of Method END_OF_ACTION

.

NameTypeData TypeDescriptionDefault Value
IT_DOCImportingTYPE
IHC_TTY_DOC
Reference Documents of a Status
I_ACTIONImportingTYPE
IHC_DTE_PROC_ACTION
IHC: Action
I_LOG_REFImportingTYPE REF TO
IHC_CL_UTIL_LOG
Central Logging in IHC
I_PN_REFImportingTYPE REF TO
IHC_CL_ENT_PN
Payment Order Entity



Exceptions of Method END_OF_ACTION

CX_IHC_PROC - Exceptions with Static and Dynamic Check of RAISING Clause

Example ABAP coding


DATA: lo_class TYPE REF TO IHC_CL_PROC.
DATA: lv_IT_DOC TYPE IHC_TTY_DOC,
lv_I_ACTION TYPE IHC_DTE_PROC_ACTION,
lv_I_LOG_REF TYPE IHC_CL_UTIL_LOG,
lv_I_PN_REF TYPE IHC_CL_ENT_PN,
lv_other TYPE c.

CALL METHOD lo_class=>END_OF_ACTION(
EXPORTING
IT_DOC = lv_IT_DOC
I_ACTION = lv_I_ACTION
I_LOG_REF = lv_I_LOG_REF
I_PN_REF = lv_I_PN_REF ).

Links to Related Class(s)

IHC_CL_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!