Show TOC

Routine Parameters for Key Figures or CharacteristicsLocate this document in the navigation structure

Importing

  • REQUEST: Request ID

  • DATAPAKID: Number of current data package

  • SOURCE_FIELDS: Structure with the routine source fields defined on the UI

Exporting

  • MONITOR: Table for user-defined monitoring. This table is filled by means of row structure MONITOR_REC (the record number of the processed record is inserted automatically from the framework).

  • RESULT: You have to assign the result of the computed key figure or computed characteristic to the RESULT variables.

  • CURRENCY (optional): If the routine has a currency, you have to assign the currency here.

  • UNIT (optional): If the routine has a unit, you have to assign the unit here.

Raising

Exception handling by means of exception classes is used to control what is written to the target:

  • CX_RSROUT_SKIP_RECORD: If a raise exception type cx_rsrout_skip_record is triggered in the routine, the system stops processing the current row and continues with the next data record.

  • CX_RSROUT_SKIP_VAL: If an excep tion type cx_rsrout_skip_val is triggered in the routine, the target field is deleted.

  • CX_RSROUT_ABORT: If a raise exception type cx rsrout_abort is triggered in the routine, the system terminates the entire load process. The request is highlighted in the extraction monitor as having been Terminated. The system stops processing the current data package. This can be useful with serious errors.