PROCESS_IDOC SAP Method User-Defined Inbound Processing; Can Replace The Standard









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

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


Parameters of Method PROCESS_IDOC

.

NameTypeData TypeDescriptionDefault Value
INPUT_METHODImportingTYPE
INPUTMETHD
Input Method
MASS_PROCESSINGImportingTYPE
MASS_PROC
Flag: Mass Processing
CALL_TRANSACTION_DONEExportingTYPE
CALLTRANS2
Flag: Application has Actually Performed Call Transaction
IDOC_PROCESSED_FLAGExportingTYPE
FLAG
Flat: IDoc Already Processed; Do Not Execute Standard
IN_UPDATE_TASKExportingTYPE
UPDATETASK
Flag: Application has Triggered Update Task
SUBRCExportingTYPE
SYSUBRC
subrc
IDOC_CONTRLChangingTYPE
EDIDC_TT
IDoc Control Record
IDOC_DATAChangingTYPE
EDIDD_TT
IDoc Data
IDOC_STATUSChangingTYPE
BDTIDOCSTA
Status Table for Updating Data
RETURN_VARIABLESChangingTYPE
BDTWFRETVA
Assignment Table - IDOC <-> Application Document
SERIALIZATION_INFOChangingTYPE
BDTI_SER
Serialization Information, if Required



Exceptions of Method PROCESS_IDOC

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_HRALE00INBOUND_IDOC.
DATA: lv_CALL_TRANSACTION_DONE TYPE CALLTRANS2,
lv_IDOC_CONTRL TYPE EDIDC_TT,
lv_IDOC_DATA TYPE EDIDD_TT,
lv_IDOC_PROCESSED_FLAG TYPE FLAG,
lv_IDOC_STATUS TYPE BDTIDOCSTA,
lv_INPUT_METHOD TYPE INPUTMETHD,
lv_IN_UPDATE_TASK TYPE UPDATETASK,
lv_MASS_PROCESSING TYPE MASS_PROC,
lv_RETURN_VARIABLES TYPE BDTWFRETVA,
lv_SERIALIZATION_INFO TYPE BDTI_SER,
lv_SUBRC TYPE SYSUBRC,
lv_other TYPE c.

CALL METHOD lo_class=>PROCESS_IDOC(
EXPORTING
INPUT_METHOD = lv_INPUT_METHOD
MASS_PROCESSING = lv_MASS_PROCESSING
IMPORTING
CALL_TRANSACTION_DONE = lv_CALL_TRANSACTION_DONE
IDOC_PROCESSED_FLAG = lv_IDOC_PROCESSED_FLAG
IN_UPDATE_TASK = lv_IN_UPDATE_TASK
SUBRC = lv_SUBRC
CHANGING
IDOC_CONTRL = lv_IDOC_CONTRL
IDOC_DATA = lv_IDOC_DATA
IDOC_STATUS = lv_IDOC_STATUS
RETURN_VARIABLES = lv_RETURN_VARIABLES
SERIALIZATION_INFO = lv_SERIALIZATION_INFO ).

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!