Start of Content Area

Syntax documentation End Routine Parameters  Locate the document in its SAP Library structure

Importing

      REQUEST: Request ID

      DATAPAKID: Number of current data package

Exporting

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

Changing

      RESULT_PACKAGE: Contains all data that has been processed by the transformation.

Raising

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

Caution

In the default setting, only fields that have a rule in the transformation are transferred from the end routine. Choose This graphic is explained in the accompanying text Change Update Behavior of End Routine to set the All Target Fields (Independent of Active Rules) indicator. Fields that are only filled in the end routine are then updated and not lost. This function is only available for standard DataStore objects, DataStore objects for direct writing, and for master data tables.

 

Caution

If only the key fields are updated for master data attributes, all the attributes are initialized, regardless of the settings described here. For more information, see SAP Note 1096307.

Note

If key fields are filled in the end routine, they are also filled in the DataStore object. This happens regardless of the settings for the end routine field list.

 

End of Content Area