Ansicht
Dokumentation

_AM_EP_RFLTEMPL - Define Job Nets

_AM_EP_RFLTEMPL - Define Job Nets

CPI1466 during Backup   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

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.

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

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.
  1. If the report cannot be restarted after termination, choose Restart Not Possible as restart mode.
  2. 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.

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.

  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.

  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.





RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.

Length: 7436 Date: 20240523 Time: 163626     sap01-206 ( 62 ms )