!--a11y-->
Template for Your Own Reports 
You can create your own reports using the following template:
REPORT ZCUSTOMER_REPORT.
INCLUDE:
bank_jc_constants.
DATA:
g_procid TYPE bank_dte_jc_proc_id,
g_return TYPE bank_dte_jc_rcd_appl.
START-OF-SELECTION.
* Do something
* ...
CALL FUNCTION 'BANK_MAP_PROCFL_IMPORT_ID'
IMPORTING
e_procid = g_procid.
IF ( NOT g_procid IS INITIAL ).
* This means that we are part of process flow:
* Determine returncode:
* ...
* (constants for returncodes can be found in BANK_JC_CONSTANTS).
* If the returncode is set to CON_JC_APPL_RC_FATAL succeeding
* jobs will not be started.
g_return = con_jc_appl_rc_ok.
* Set returncode
CALL FUNCTION 'BANK_MAP_PROCFL_SET_RC'
EXPORTING
i_procid = g_procid
i_rcd_appl = g_return.
ENDIF.
Variants
for asynchronous processing
Before call up of asynchronous processing, the return value must be set to asynchronous processing still active. The process ID must be transferred to asynchronous processing. At the end of processing, a return value less than asynchronous processing still active must be returned, meaning 0, 2, 4 or 9.
