Start of Content Area

Background documentation Error Handling in the Transfer Routine  Locate the document in its SAP Library structure

In a transfer routine, you have the option of transferring error messages and warnings to the monitor.

Note the following:

·        When you use the transfer routine to transfer messages to the monitor, you need to maintain in the scheduler the settings that control how the system behaves if an error occurs. See also Handling Data Records with Errors.

·        If, in your routine, you set the RETURNCODE <> 0, the record is transferred to error handling, but it is not posted.

·        If, in your routine, you set the RETURNCODE = 0, the record is posted. If you transfer X-messages, A-messages, or E-messages to the monitor, the record is written to the error request at the same time, because the monitor table contains error messages.

Caution

If you subsequently post this error request to the data target, records can be posted in duplicate. This does not happen if W-messages are transferred to the monitor.

 

End of Content Area