Ansicht
Dokumentation
OIRA_PROCESS_PREREQ_CHECK - Process Control - Execute prerequisite check
CL_GUI_FRONTEND_SERVICES - Frontend Services Vendor Master (General Section)This documentation is copyright by SAP AG.
Functionality
This function will determine and execute the SSR process prerequisite
check routine and pass the results (prerequisite status) back.
The prerequisite check workes in two steps:
- single process check - checks if the prerequisite process has been
executed for the specified key (location (object),date)
and returns the status.
- grouping check - checks if the process group has finished
successfully
The following flags can be set to control the update of the application
log:
- PI_APPL_LOG_WRITE_INSIDE - writes the log inside the function.
- PE_NO_STATUS_TABLE_UPD - stops the update of the check result into the corresponding table after the function has finished. This is necessary in case of cross object processing.
Example
Example call:
data: l_prereq_status like oiraprocstat-status,
l_no_status_table_upd type c value .
data: PI_APPL_LOG_WRITE_INSIDE TYPE C.
data: PE_PROCESS_STATUS LIKE OIRAPROCSTAT-STATUS.
data: PC_PC_OBJ type OIRA1_PC_REFOBJ.
data: PC_CE_OBJ type OIRA1_CE_REFOBJ .
data: PC_MM01_OBJ type OIRA1_MM01_REFOBJ .
data: PC_MR01_OBJ type OIRA1_MR01_REFOBJ .
data: PC_DR01_OBJ type OIRA1_DR01_REFOBJ .
data: PC_PR01_OBJ type OIRA1_PR01_REFOBJ .
data: PC_IS01_OBJ type OIRA1_IS01_REFOBJ .
data: PC_CC01_OBJ type OIRA1_CC01_REFOBJ .
data: PC_PRN1_OBJ type OIRA1_PRN1_REFOBJ .
data: PC_CR_OBJ type OIRA1_CR_REFOBJ .
...
CALL FUNCTION 'OIRA_PROCESS_PREREQ_CHECK'
EXPORTING
pi_appl_log_write_inside = c_flag_off
IMPORTING
pe_prereq_status = l_prereq_status
pe_no_status_table_upd = l_no_status_table_upd
CHANGING
pc_pc_obj = pc_pc_obj
pc_ce_obj = pc_ce_obj
pc_mm01_obj = pc_mm01_obj
pc_mr01_obj = pc_mr01_obj
pc_dr01_obj = pc_dr01_obj
pc_pr01_obj = pc_pr01_obj
pc_is01_obj = pc_is01_obj
pc_cc01_obj = pc_cc01_obj
pc_prn1_obj = pc_prn1_obj
pc_cr_obj = pc_cr_obj
EXCEPTIONS
unknown_error = 1
application_log_not_set_up = 2
prereq_check_rout_not_defined = 3
OTHERS = 4.
...
Notes
Further information
OIRA_PROCESS_EXECUTION
OIRA_PROCESS_STATUS_UPDATE
OIRA_STANDARD_PROCESSING
Parameters
PC_CC01_OBJPC_CE_OBJ
PC_CR_OBJ
PC_DR01_OBJ
PC_IS01_OBJ
PC_MM01_OBJ
PC_MR01_OBJ
PC_PC_OBJ
PC_PR01_OBJ
PC_PRN1_OBJ
PE_NO_STATUS_TABLE_UPD
PE_PREREQ_STATUS
PI_APPL_LOG_WRITE_INSIDE
Exceptions
APPLICATION_LOG_NOT_SET_UPPREREQ_CHECK_ROUT_NOT_DEFINED
UNKNOWN_ERROR
Function Group
OIRA_APP01rdisp/max_wprun_time - Maximum work process run time ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 3980 Date: 20240523 Time: 130144 sap01-206 ( 36 ms )