Framework For Prallel Processing
Framework For Prallel Processing
Framework For Prallel Processing
new (object-oriented)
cloths
Intervals
Intervals Status management for parallel runs
Intervals
Status management for Intervals
Package FPP
IMPORT/EXPORT
ABAP (adjustment
RFDT could be necessary)
IMPORT/EXPORT
XML-Serialization
FPP_CLUST ABAP
Advance „MOVE-CORRESPONDING“
CL_DATA_CONTAINER
GPART
ParallelObject 2
VTREF VKONT
ParallelObject 1 ParallelObject 3
Inheriting from
This is mandatory
Data container
(replaces the
ADDONS)
CL_FPP_PARALLEL_OBJ
CL_DATA_CONTAINER
CL_FPP_INTERVAL
CL_FPP_INTERVAL
CL_FPP_INTERVAL
CL_FPP_BAL
Parallelization
object and interval Application Log
distribution
Viewcluster
• VC_FPP_CUST
• VC_NEW_MASS_ACT (Viewcluster for FI-CA)
Examples:
• Transaction FPP_SAMPLE
• Transaction FPP_SAMPLE_FICA
N=4
Job 1 End 1
Job 2 End 2
FPP: Start PPF: Start
Job 3 End 3
Job 4 End 4
Time
Class CL_FPP_RUNS:
Class CL_FPP_SERVICES:
Start of a run
BADI: FPP_BEFORE_RUN
Job1 Job2
End
BADI: FPP_AFTER_RUN
BADI: FPP_FPP_CREATE_INTERVALS
IMPORTING Run
parameter
ICL_RUN type ref to CL_FPP_RUNS
Application
ICL_APPL_LOG type ref to CL_FPP_BAL Log
EXPORTING
Complete,
failed, retry
EV_RESULT type FPP_RESULT
Application
EV_APPL_LOG type BALLOGHNDL Log
• open
• in process
• cancelled To be set by the interval function (EV_RESULT)
• completed
• retry
Restart possible if no. of cancelled intervals > 0 and/or no. of open intervals > 0
Intervals with status retry will be executed in the same run if there are no
more open intervals.
New Customizing:
retry
restart
ICL_APPL_LOG
DDIC structure
• Fieldname (without prefix) : Displayed as a simple field
• SEL_fieldname : Displayed as SELECT-OPTIONS
• FLG_fieldname : Displayed as a flag
Screen number
PBO:
lcl_run = cl_fpp_interaction_runs=>get_run( ). Get run data from
lcl_cont = lcl_run->get_data_container( ). interaction layer
PAI:
lcl_run = cl_fpp_interaction_runs=>get_run( ).
lcl_cont = lcl_run->get_data_container( ).