SAP ABAP IMG Activity _AM_EP_RFLTEMPL (Define Job Nets)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   CA-GTF-TS-PPM (Application Component) Batch-Oriented Parallel Processing of Mass Data
     BANK_PP_JOBCTRL (Package) Parallel Processing and Job Control
IMG Activity
ID _AM_EP_RFLTEMPL Define Job Nets  
Transaction Code S_KBI_67000132   ... 
Created on 20010329    
Customizing Attributes _AM_EP_RFLTEMPL   Define Job Nets 
Customizing Activity _AM_EP_RFLTEMPL   Define Job Nets 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name _AM_EP_RFLTEMPL    

In this section you define the job nets that you want worked through in, for example, end-of-day processing.

In the first step you can define all the reports that you want to use in the context of job nets.

In the next step you can define a process flow template by assigning reports and defining the predecessor/successor relationships between the reports in this process flow template.

Example

Requirements

Standard settings

For all reports within an application, SAP supplies the required settings for the reports that you can use.

Recommendation

Activities

Maintain useable reports

If you wish to use your own reports in a job net, you must carry out the following steps:

  1. Choose New Entries.
  2. Enter the report name and the description.
  3. If the report can be restarted or started again after termination, choose Restart or Repeat Possible as restart mode.

    Set this mode both for reports not involved in parallel processing and those involved in parallel processing. However, if the report uses parallel processing, it must fulfill an additional requirement: The report supports an automatic restart via the external mass run ID and the external mass run ID is a required parameter for this report.

    The report transfers the I_FLG_FORCE_NEW_RUN (blank) and I_FLG_UNIQUE_EXTID (set) parameters to BANK_MAP_PP_START.

  4. If the report cannot be restarted after termination, choose Restart Not Possible as restart mode.
  5. If the report uses parallel processing, but does not support transfer of an external mass run ID, choose Restart in the Context of Parallel Processing as restart mode.

    In this case, the condition for restart mode Restart or Repeat Possible is not met, and a restart in the context of parallel processing is only possible via this setting.

Further notes

You can use the following code as template for creating your own reports:

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.

Identify reports for a process flow template.

  1. Open Process Flow Templates and select a process flow template.
  2. Open Reports in the Process Flow Template.
  3. Choose New Entries.
  4. Enter all the reports with the variant. Assign a unique report number for all reports in this process flow template.
  5. You can also enter a job name under which you want the report displayed in the processing chain. If you do not enter a name the report name - variant name is displayed.
  6. If you want the report started by a BAPI, select EXTERNA. To name this report in the BAPI, you need to enter an external ID.

Define predecessor/successor relationship for a process flow template

  1. Open Process Flow Templates and select a process flow template.
  2. Open Predecessor <-> Successor.
  3. Choose New Entries.
  4. Select the unique number of the reports for the predecessor and successor.

Business Attributes
ASAP Roadmap ID 105   Define functions and processes 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG _AM_EP_RFLTEMPL 0 ABA0000192 Batch-Oriented Parallel Processing of Mass Data 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
VC_TBANK_RFLTEMPL C - View cluster SM34 Define Job Nets 
History
Last changed by/on SAP  20021024 
SAP Release Created in 10